:root {
  --ivory: #F5F6F0;
  --travertine: #EFECE6;
  --stone: #9A9287;
  --charcoal: #161614;
  --charcoal-soft: #2A2A26;
  --bronze: #A8845C;
  --bronze-deep: #8C6E4A;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--ivory);
}

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

/* =========================================
   SVG BRAND MARK (Moonstone signature disc + bar)
   ========================================= */
.mark {
  display: block;
}

.mark .disc,
.mark .bar {
  fill: currentColor;
}

/* =========================================
   SECTION 1: HERO FULL SCREEN VIDEO
   ========================================= */
.hero-video-section {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  background-color: #0b0b0a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(14, 14, 13, 0.5) 0%,
    rgba(14, 14, 13, 0.08) 28%,
    rgba(14, 14, 13, 0.12) 68%,
    rgba(14, 14, 13, 0.65) 100%
  );
  pointer-events: none;
}

/* Hero Top Header */
.hero-header {
  position: relative;
  z-index: 3;
  padding: clamp(20px, 4vw, 40px) clamp(20px, 5vw, 64px);
  padding-top: max(20px, env(safe-area-inset-top));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
  transition: opacity 0.3s ease;
}

.hero-brand:hover {
  opacity: 0.85;
}

.hero-brand .mark {
  width: clamp(18px, 2.2vw, 24px);
  height: auto;
  color: #FFFFFF;
  flex-shrink: 0;
}

.hero-brand .wm {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: lowercase;
  color: #FFFFFF;
}

.hero-badge {
  font-family: var(--sans);
  font-size: clamp(9px, 1.1vw, 11px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}

/* Hero Bottom Bar */
.hero-footer {
  position: relative;
  z-index: 3;
  padding: 0 clamp(20px, 5vw, 64px) clamp(24px, 4.5vh, 44px);
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.hero-scroll-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: none;
  border: none;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  padding: 6px 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-scroll-btn:hover {
  opacity: 0.85;
  transform: translateY(2px);
}

.hero-scroll-text {
  font-family: var(--sans);
  font-size: clamp(9px, 1.1vw, 11px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.hero-scroll-line {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.32);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #FFFFFF;
  animation: scrollDown 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

.hero-ctrls {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.hero-ctrl-btn {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-ctrl-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.05);
}

/* =========================================
   SECTION 2: CONTACT DETAILS BELOW
   ========================================= */
.contact-section {
  position: relative;
  background-color: #F4F3ED;
  background-image: 
    radial-gradient(ellipse at 85% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 85%, rgba(220, 214, 202, 0.35) 0%, transparent 65%),
    radial-gradient(circle at 50% 50%, rgba(245, 243, 238, 0.95) 0%, #ECE8DF 100%);
  padding: clamp(60px, 10vh, 120px) clamp(20px, 5vw, 40px) clamp(50px, 8vh, 100px);
  padding-bottom: max(50px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.contact-container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 52px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-label .req {
  color: inherit;
  margin-left: 1px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(22, 22, 20, 0.32);
  font-family: var(--sans);
  font-size: 16px; /* 16px prevents iOS Safari from auto-zooming on focus */
  font-weight: 300;
  color: var(--charcoal);
  padding: 6px 0 10px 0;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
}

.form-textarea {
  min-height: 42px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  border-bottom-color: var(--charcoal);
}

.form-btn-wrap {
  margin-top: 6px;
}

.btn-send {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--charcoal);
  border-radius: 9999px;
  padding: 13px 46px;
  min-height: 46px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
}

.btn-send:hover {
  background: var(--charcoal);
  color: var(--ivory);
  box-shadow: 0 4px 16px rgba(22, 22, 20, 0.12);
  transform: translateY(-1px);
}

.btn-send:active {
  transform: translateY(0);
}

/* Success notification */
.form-notice {
  display: none;
  padding: 16px 20px;
  border: 1px solid rgba(22, 22, 20, 0.2);
  background: rgba(22, 22, 20, 0.04);
  font-size: 13px;
  line-height: 1.6;
  color: var(--charcoal);
  margin-top: 14px;
  border-radius: 4px;
}

.form-notice.is-visible {
  display: block;
  animation: noticeFadeIn 0.35s ease forwards;
}

@keyframes noticeFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Two Columns: SOCIAL & CONTACT */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  margin-bottom: 60px;
}

.details-col-head {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(22, 22, 20, 0.6);
  margin-bottom: 16px;
}

.details-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.details-link {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  width: fit-content;
}

.details-link:hover {
  opacity: 0.6;
}

/* Brand & Footer Section */
.contact-brand-footer {
  margin-top: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--charcoal);
}

.footer-brand .mark {
  width: 26px;
  height: auto;
  color: var(--charcoal);
  flex-shrink: 0;
}

.footer-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  line-height: 1.1;
  text-transform: none;
}

.footer-legal {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(22, 22, 20, 0.7);
}

.footer-by {
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.footer-copy {
  font-size: 12px;
  color: rgba(22, 22, 20, 0.55);
}

/* =========================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================= */
@media (max-width: 640px) {
  .hero-header {
    padding: 18px 20px;
    padding-top: max(18px, env(safe-area-inset-top));
  }

  .hero-footer {
    padding: 0 20px 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .contact-section {
    padding: 56px 20px 60px;
    padding-bottom: max(50px, env(safe-area-inset-bottom));
  }

  .contact-form {
    gap: 24px;
    margin-bottom: 44px;
  }

  .details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
    margin-bottom: 48px;
  }

  .details-link {
    font-size: 14px;
    word-break: break-word;
  }

  .btn-send {
    padding: 12px 42px;
    font-size: 12px;
    letter-spacing: 0.15em;
  }

  .footer-brand {
    gap: 12px;
    margin-bottom: 14px;
  }

  .footer-brand .mark {
    width: 22px;
  }

  .footer-title {
    font-size: 24px;
  }

  .footer-by {
    font-size: 13px;
  }

  .footer-copy {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
