/* ============================================================
   katrinscanon — Global Stylesheet
   Based on: 07_website-technical-spec.pdf + katrinscanon_brand_guide.pdf
   Fonts: Lora (display) + Poppins (body) — Google Fonts
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Primary palette — updated per brand revision (no pink tint) */
  --bg-linen:        #F2EDE4; /* Warm Linen — main background */
  --bg-white:        #FAF8F2; /* Warm White — cards, alt sections */
  --text-espresso:   #3A2E2A; /* Warm Espresso — all text (deep) */
  --accent-gold:     #C4A48C; /* Nude Gold — CTAs, links */
  --border-sand:     #E3D9CB; /* Warm Sand — dividers (no pink) */
  --muted-taupe:     #78675C; /* Muted Taupe — captions (darkened for WCAG AA 4.5:1 on linen) */
  --accent-deep:     #A8866E; /* Deep Nude — hover states */
  --dark-bg:         #3A2E2A; /* Warm Dark — footer, dark sections */

  /* Typography */
  --font-display: 'Lora', Georgia, serif;
  --font-body:    'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --max-width: 1280px;
  --section-pad-y: 120px;
  --section-pad-y-mobile: 64px;
  --container-pad-x: 32px;

  /* Transitions */
  --tr-fast: 0.3s ease;
  --tr-med:  0.4s ease;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-espresso);
  background: var(--bg-linen);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--tr-fast); }
a:hover { color: var(--accent-deep); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--text-espresso); }

.h-display { /* Hero headline */
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.h-display em, .h-display i { font-style: italic; }

.h-section { /* Section heading H2 */
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.h-sub { /* Poppins uppercase label */
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.body-copy { font-size: 15px; line-height: 1.75; color: var(--text-espresso); }
.body-copy p + p { margin-top: 1em; }

.caption { font-size: 10px; color: var(--muted-taupe); letter-spacing: 0.5px; }

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--text-espresso);
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- 4. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad-x);
}
.section {
  padding: var(--section-pad-y) 0;
}
.section--tight { padding: 80px 0; }
.section--alt   { background: var(--bg-white); }
.section--dark  { background: var(--dark-bg); color: var(--bg-white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--bg-white); }
.section--accent { background: var(--bg-linen); }

@media (max-width: 768px) {
  .section { padding: var(--section-pad-y-mobile) 0; }
  .section--tight { padding: 48px 0; }
  :root { --container-pad-x: 20px; }
}

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);
  text-align: center;
  line-height: 1;
}
.btn-primary {
  background: var(--accent-gold);
  color: var(--bg-white);
}
.btn-primary:hover { background: var(--accent-deep); color: var(--bg-white); }

.btn-secondary {
  background: transparent;
  color: var(--text-espresso);
  border-color: var(--accent-gold);
}
.btn-secondary:hover { background: var(--accent-gold); color: var(--bg-white); }

.btn-ghost {
  background: transparent;
  color: var(--bg-white);
  border: 1px solid var(--bg-white);
}
.btn-ghost:hover { background: var(--bg-white); color: var(--text-espresso); }

.link-arrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-deep);
  border-bottom: 1px solid var(--accent-gold);
  padding-bottom: 2px;
  transition: color var(--tr-fast), border-color var(--tr-fast);
}
.link-arrow:hover { color: var(--text-espresso); border-color: var(--text-espresso); }

/* ---------- 6. HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: transparent;
  transition: background var(--tr-fast), box-shadow var(--tr-fast), padding var(--tr-fast);
}
.site-header.scrolled {
  background: rgba(250, 248, 242, 0.96);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  box-shadow: 0 1px 8px rgba(58, 46, 42, 0.08);
  padding: 14px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: var(--text-espresso);
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.nav__logo span { font-style: italic; color: var(--accent-deep); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__menu a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-espresso);
  position: relative;
  padding: 4px 0;
}
.nav__menu a:not(.btn):hover { color: var(--accent-deep); }
.nav__menu a:not(.btn).is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent-gold);
}

/* Header on dark hero — light text variant */
.site-header:not(.scrolled).on-dark .nav__logo,
.site-header:not(.scrolled).on-dark .nav__menu a:not(.btn) { color: var(--bg-white); }
.site-header:not(.scrolled).on-dark .nav__logo span { color: var(--border-sand); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin: -8px -8px -8px 0; /* negative margin preserves visual density while keeping 44×44 tap */
}
.nav__toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text-espresso);
  transition: transform var(--tr-fast), opacity var(--tr-fast);
}
.site-header:not(.scrolled).on-dark .nav__toggle span { background: var(--bg-white); }

@media (max-width: 880px) {
  .nav__toggle {
    display: inline-flex;
    position: relative;
    z-index: 3; /* Above drawer + overlay so it's tappable when menu is open */
  }
  /* Backdrop overlay — appears with drawer, tap to close */
  .nav::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(58, 46, 42, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
  }
  .nav.is-open::before {
    opacity: 1;
    pointer-events: auto;
  }
  .nav__menu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 80%; max-width: 340px;
    background: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -8px 0 24px rgba(93,78,70,0.08);
    z-index: 2; /* Above overlay */
  }
  .nav.is-open .nav__menu { transform: translateX(0); }
  .nav__menu a { font-size: 14px; }
  .nav__menu .btn { width: 100%; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  /* When drawer is open, X icon must be dark (drawer bg is cream) */
  .nav.is-open .nav__toggle span { background: var(--text-espresso) !important; }

  /* Close link under Get in touch — extra affordance below the CTA */
  .nav__close-link {
    margin-top: 24px;
    align-self: flex-start;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted-taupe);
    background: none;
    border: none;
    padding: 6px 0;
    cursor: pointer;
    transition: color var(--tr-fast);
  }
  .nav__close-link:hover { color: var(--text-espresso); }
}
.nav__close-link { display: none; } /* Desktop: hidden */
@media (max-width: 880px) {
  .nav__close-link { display: inline-flex; align-items: center; gap: 8px; }
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark-bg);
  color: var(--bg-white);
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 46, 42, 0.18);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 0 var(--container-pad-x);
  max-width: 820px;
}
.hero__heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--bg-white);
  margin-bottom: 20px;
}
.hero__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--border-sand);
  margin-bottom: 36px;
}
.hero__cta { margin-top: 12px; }

.hero--compact { min-height: 70vh; }
.hero--page {
  min-height: 48vh;
  background: transparent;
  color: var(--text-espresso);
  padding-top: 140px;
  padding-bottom: 48px;
}
.hero--page .hero__heading { color: var(--text-espresso); font-style: normal; }

@media (max-width: 768px) {
  .hero__bg { background-attachment: scroll; }
  .hero__heading { font-size: clamp(26px, 8vw, 38px); }
  .hero__sub { font-size: 11px; margin-bottom: 28px; }
  .hero { min-height: 88svh; }
  .hero--compact { min-height: 60svh; }
  .hero--page { min-height: 36svh; padding-top: 110px; padding-bottom: 32px; }
}

/* ---------- 8. SECTION HELPERS ---------- */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .h-sub { display: block; margin-bottom: 14px; }
.section-head .h-section { margin-bottom: 12px; }
.section-head p { max-width: 640px; margin: 0 auto; color: var(--muted-taupe); }

/* ---------- 9. 3-COL CATEGORY GRID ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-sand);
}
.cat-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
  background: var(--dark-bg);
}
.cat-card__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease, filter var(--tr-med);
}
.cat-card:hover .cat-card__img { transform: scale(1.05); filter: brightness(1.08); }
.cat-card__label {
  position: absolute;
  bottom: 28px; left: 28px;
  z-index: 2;
  color: var(--bg-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.cat-card__label::after {
  content: '→';
  display: inline-block;
  margin-left: 10px;
  transform: translateX(0);
  transition: transform var(--tr-fast);
}
.cat-card:hover .cat-card__label::after { transform: translateX(6px); }
.cat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,46,42,0) 50%, rgba(58,46,42,0.45) 100%);
  z-index: 1;
}
@media (max-width: 768px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 4 / 3; }
}

/* ---------- 10. FEATURED WORK (6-image editorial grid) ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-grid__item {
  position: relative;
  overflow: hidden;
  background: var(--border-sand);
  aspect-ratio: 3/4;
}
.feat-grid__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter var(--tr-med);
}
.feat-grid__item:hover img { transform: scale(1.03); filter: brightness(1.05); }
@media (max-width: 880px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ---------- 11. ABOUT TEASER (2-col) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split__img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  background: var(--border-sand);
}
.split__content .h-sub { display: block; margin-bottom: 16px; }
.split__content .h-section { margin-bottom: 24px; }
.split__content .body-copy { margin-bottom: 32px; color: var(--text-espresso); }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- 12. PRICING SIGNAL (card-style, cream + gold accent) ---------- */
.pricing-signal {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 40px;
  background: var(--bg-white);
  border-top: 1px solid var(--accent-gold);
  border-bottom: 1px solid var(--accent-gold);
}
.pricing-signal .h-sub { display: block; margin-bottom: 24px; color: var(--accent-deep); }
.pricing-signal__line {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.6;
  color: var(--text-espresso);
  margin-bottom: 4px;
}
.pricing-signal__line em { font-style: italic; color: var(--accent-deep); }
.pricing-signal .btn { margin-top: 36px; }
@media (max-width: 768px) {
  .pricing-signal { padding: 48px 24px; }
}

/* ---------- 13. CTA BANNER ---------- */
.cta-banner {
  text-align: center;
  padding: 100px 0;
}
.cta-banner h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 12px;
}
.cta-banner p {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--muted-taupe);
  margin-bottom: 32px;
}
.section--dark.cta-banner h2 { color: var(--bg-white); }
.section--dark.cta-banner p { color: var(--border-sand); }

/* ---------- 14. GALLERY (Work, Weddings, Couples) ---------- */
.gallery {
  column-count: 3;
  column-gap: 16px;
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--border-sand);
}
.gallery__item img {
  width: 100%;
  transition: transform 0.6s ease, filter var(--tr-med);
}
.gallery__item:hover img { transform: scale(1.03); filter: brightness(1.05); }
.gallery__caption {
  position: absolute;
  left: 14px; bottom: 14px;
  color: var(--bg-white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--tr-fast), transform var(--tr-fast);
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.gallery__item:hover .gallery__caption { opacity: 1; transform: translateY(0); }

@media (max-width: 880px) { .gallery { column-count: 2; } }
@media (max-width: 480px) { .gallery { column-count: 1; } }

/* Filter tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-tabs button {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-taupe);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--tr-fast), border-color var(--tr-fast);
}
.filter-tabs button:hover { color: var(--text-espresso); }
.filter-tabs button.is-active { color: var(--text-espresso); border-color: var(--accent-gold); }

/* ---------- 15. LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(58, 46, 42, 0.96);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  color: var(--bg-white);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.35);
  transition: border-color var(--tr-fast);
}
.lightbox__close { top: 28px; right: 28px; }
.lightbox__prev  { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 28px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { border-color: var(--accent-gold); }

/* ---------- 16. PACKAGE CARDS (Weddings) ---------- */
.packages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pkg {
  background: var(--bg-white);
  border: 1px solid var(--border-sand);
  padding: 48px 40px;
  transition: border-color var(--tr-fast), transform var(--tr-fast);
}
.pkg:hover { border-color: var(--accent-gold); transform: translateY(-2px); }
.pkg__label { display: block; margin-bottom: 14px; }
.pkg__price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--text-espresso);
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-sand);
  padding-bottom: 20px;
}
.pkg__list li {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--text-espresso);
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-sand);
}
.pkg__list li:last-child { border-bottom: 0; }
.pkg-note {
  text-align: center;
  margin-top: 32px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted-taupe);
}
@media (max-width: 768px) { .packages { grid-template-columns: 1fr; } }

/* ---------- 17. TIMELINE (What to expect) ---------- */
.timeline { max-width: 760px; margin: 0 auto; }
.timeline__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-sand);
}
.timeline__num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--accent-gold);
  line-height: 1;
}
.timeline__step p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--text-espresso);
}

/* ---------- 18. VALUES GRID (About) ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.value__label { display: block; margin-bottom: 16px; }
.value h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 12px; }
.value p { font-family: var(--font-body); font-weight: 300; font-size: 14px; color: var(--text-espresso); line-height: 1.7; }
@media (max-width: 880px) { .values { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- 19. STATUS BANNER (Couples closed) ---------- */
.status-banner {
  background: var(--bg-white);
  border: 1px solid var(--border-sand);
  border-left: 4px solid var(--accent-gold);
  padding: 28px 32px;
  max-width: 780px;
  margin: 0 auto;
}
.status-banner__label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 10px;
}
.status-banner p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--text-espresso);
  line-height: 1.7;
}
.status-note {
  text-align: center;
  margin-top: 28px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted-taupe);
}

/* ---------- 20. FAQ ACCORDION ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-sand); }
.faq-item__q {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  color: var(--text-espresso);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color var(--tr-fast);
}
.faq-item__q:hover { color: var(--accent-deep); }
.faq-item__q .icon {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 22px;
  color: var(--accent-gold);
  transition: transform var(--tr-fast);
  flex-shrink: 0;
}
.faq-item.is-open .faq-item__q .icon { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}
.faq-item.is-open .faq-item__a { max-height: 400px; }
.faq-item__a p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-espresso);
  padding: 0 0 24px 0;
}

/* ---------- 21. CONTACT / FORM ---------- */
.contact-intro { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.contact-intro .h-display { font-style: normal; margin-bottom: 20px; }
.contact-intro p { color: var(--text-espresso); font-size: 15px; }
.contact-intro .meta { color: var(--muted-taupe); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 16px; }

.form-embed {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.form-embed > .form-embed__placeholder {
  background: var(--bg-white);
  border: 1px solid var(--border-sand);
  padding: 48px;
  display: block;
}
.form-embed__placeholder {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted-taupe);
  line-height: 1.7;
}
.form-embed__placeholder strong { color: var(--text-espresso); font-weight: 500; }

.backup-email {
  text-align: center;
  margin-top: 40px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted-taupe);
}
.backup-email a { color: var(--accent-deep); border-bottom: 1px solid var(--border-sand); }

/* ---------- 21b. CONTACT — WARM SAND EDITORIAL THEME ---------- */
body.page-contact {
  background: var(--border-sand);
  color: var(--text-espresso);
}
body.page-contact .hero--page,
body.page-contact .section { background: var(--border-sand); }
body.page-contact .section--alt { background: #D9CDB9; } /* slightly deeper sand for rhythm */

body.page-contact .contact-intro { margin-bottom: 40px; }
body.page-contact .contact-intro p { color: var(--text-espresso); font-size: 16px; }

/* Form embed — sits flush on sand bg (HoneyBook form bg matches page) */
body.page-contact .form-embed {
  background: transparent;
  padding: 0;
  box-shadow: none;
}
body.page-contact .form-embed::before {
  background: var(--border-sand);
  border-color: transparent;
  color: var(--muted-taupe);
}

/* Tighten gap between form section and bottom bridge */
body.page-contact .section:has(.form-embed) { padding-bottom: 32px; }
body.page-contact .section--alt { padding-top: 48px; padding-bottom: 64px; }

/* The "currently booking" status note */
.contact-note {
  margin-top: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--accent-deep) !important;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 21c. MOBILE NAV DRAWER FIX ---------- */
@media (max-width: 880px) {
  /* Mobile drawer always has cream bg, so links must be dark regardless of page theme */
  .nav.is-open .nav__menu a:not(.btn),
  .nav.is-open .nav__menu .nav__logo { color: var(--text-espresso) !important; }
  .nav.is-open .nav__menu .nav__logo span { color: var(--accent-deep) !important; }
}

/* ---------- 22. FOOTER ---------- */
.site-footer {
  background: var(--dark-bg);
  color: var(--bg-white);
  padding: 72px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--border-sand);
  margin-bottom: 20px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--bg-white);
  margin-bottom: 10px;
}
.footer-brand span { font-style: italic; color: var(--accent-gold); }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--border-sand);
}
.footer-col ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.footer-col ul li { padding: 6px 0; }
.footer-col ul a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--bg-white);
}
.footer-col ul a:hover { color: var(--accent-gold); }

.footer-social { display: flex; gap: 18px; margin-bottom: 18px; }
.footer-social a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bg-white);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
}
.footer-social a:hover { color: var(--accent-gold); border-color: var(--accent-gold); }

.footer-email {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--border-sand);
}
.footer-email a { color: var(--bg-white); border-bottom: 1px solid rgba(255,255,255,0.25); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-taupe);
  text-align: center;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; text-align: left; }
}

/* ---------- 23. INSPIRED BY (About film refs) ---------- */
.inspired {
  text-align: center;
  padding: 56px 0;
  border-top: 1px solid var(--border-sand);
  border-bottom: 1px solid var(--border-sand);
}
.inspired .h-sub { display: block; margin-bottom: 14px; }
.inspired p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--text-espresso);
  line-height: 1.8;
}

/* ---------- 24. ANIMATIONS (fade-in on scroll) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1.is-visible { transition-delay: 0.12s; }
.reveal--delay-2.is-visible { transition-delay: 0.24s; }
.reveal--delay-3.is-visible { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 16b. INVESTMENTS LIST (package rows) ---------- */
.invest-intro { max-width: 600px; margin: 0 auto; }
.invest-intro .h-sub {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-espresso);
  margin-bottom: 22px;
}
.invest-intro__lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--text-espresso);
  margin-bottom: 28px;
}
.status-pill {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid var(--border-sand);
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  color: var(--muted-taupe);
  letter-spacing: 0.3px;
}
.divider-short {
  width: 40px;
  height: 1px;
  background: var(--border-sand);
  margin: 56px auto;
}

.pkg-rows {
  max-width: 780px;
  margin: 0 auto;
}
.pkg-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 32px 0;
  border-top: 1px solid var(--border-sand);
}
.pkg-row:last-child { border-bottom: 1px solid var(--border-sand); }
.pkg-row__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--text-espresso);
  margin-bottom: 6px;
  line-height: 1.2;
}
.pkg-row__status {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-taupe);
  background: var(--border-sand);
  padding: 3px 10px;
  border-radius: 2px;
  vertical-align: middle;
}
.pkg-row__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: var(--muted-taupe);
  margin-bottom: 14px;
}
.pkg-row__desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted-taupe);
  line-height: 1.7;
}
.pkg-row__right { text-align: right; white-space: nowrap; }
.pkg-row__label {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-taupe);
  margin-bottom: 6px;
}
.pkg-row__price {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--text-espresso);
  line-height: 1;
}

.invest-outro { max-width: 560px; margin: 0 auto; }
.invest-outro__note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted-taupe);
  line-height: 1.8;
  margin-bottom: 32px;
}

@media (max-width: 600px) {
  .pkg-row { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
  .pkg-row__right { text-align: left; }
  .pkg-row__label { display: inline-block; margin-right: 8px; margin-bottom: 0; }
  .pkg-row__price { display: inline-block; font-size: 20px; }
  .divider-short { margin: 40px auto; }
  .invest-intro__lead { font-size: 17px; }
}

/* ---------- 24b. MOBILE REFINEMENTS (90% of traffic) ---------- */
@media (max-width: 768px) {
  .section-head { margin-bottom: 36px; }
  .section-head .h-sub { margin-bottom: 10px; }
  .cta-banner { padding: 72px 0; }
  .packages { gap: 16px; }
  .pkg { padding: 36px 28px; }
  .pkg__price { font-size: 24px; }
  .timeline__step { grid-template-columns: 56px 1fr; gap: 16px; padding: 16px 0; }
  .timeline__num { font-size: 22px; }
  .form-embed { padding: 28px 20px; }
  .filter-tabs { gap: 20px; margin-bottom: 32px; }
  .status-banner { padding: 22px 22px; }
}
@media (max-width: 420px) {
  .h-display { font-size: 30px; }
  .h-section { font-size: 22px; }
  .filter-tabs button { font-size: 10px; letter-spacing: 1.5px; }
  .pull-quote { font-size: 17px; }
}

/* ---------- 24c. FOCUS STATES (a11y — keyboard nav) ---------- */
.btn:focus-visible,
.nav__menu a:focus-visible,
.nav__logo:focus-visible,
.nav__toggle:focus-visible,
.link-arrow:focus-visible,
.faq-item__q:focus-visible,
.filter-tabs button:focus-visible,
.footer-col a:focus-visible,
.footer-social a:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}
/* Remove default focus ring only when we have our own visible one */
.btn:focus, .nav__menu a:focus, .nav__toggle:focus { outline: none; }

/* ---------- 24d. HONEYBOOK EMBED SKELETON ---------- */
.form-embed {
  position: relative;
  min-height: 560px;
}
.form-embed::before {
  content: 'Loading inquiry form…';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: 1px solid var(--border-sand);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-taupe);
  z-index: 0;
  animation: skeletonPulse 1.6s ease-in-out infinite;
}
.form-embed > * { position: relative; z-index: 1; }
.form-embed.is-loaded::before { display: none; }

@keyframes skeletonPulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

/* ---------- 24e. SCROLL-TO-TOP ---------- */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  color: var(--text-espresso);
  border: 1px solid var(--border-sand);
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(58,46,42,0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--tr-fast), transform var(--tr-fast), visibility var(--tr-fast), background var(--tr-fast);
  z-index: 90;
  cursor: pointer;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--accent-gold); color: var(--bg-white); border-color: var(--accent-gold); }
.scroll-top svg { width: 16px; height: 16px; }

/* ---------- 24f. PAGE BRIDGE ROW (cross-page links) ---------- */
.bridge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.bridge-row .btn { min-width: 180px; }
@media (max-width: 480px) {
  .bridge-row { flex-direction: column; gap: 12px; }
  .bridge-row .btn { width: 100%; }
}

.bridge-card {
  background: var(--bg-white);
  border: 1px solid var(--border-sand);
  padding: 40px 32px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.bridge-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  margin-bottom: 10px;
}
.bridge-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted-taupe);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ---------- 25. UTILITIES ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
