/* =============================================================================
   Amelia Hart Photography — Design System
   Aesthetic: "Light & Airy Editorial" (luxury wedding magazine)
   -----------------------------------------------------------------------------
   GOOGLE FONTS — add these exact <link> tags to the <head> of every page,
   immediately before <link rel="stylesheet" href="css/styles.css">:

   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500&display=swap" rel="stylesheet">
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color */
  --ivory:    #FAF7F2;
  --cream:    #F3ECE4;
  --blush:    #EADAD2;
  --taupe:    #BBA999;
  --stone:    #8C7E72;
  --charcoal: #2B2723;
  --ink:      #1A1714;
  --gold:     #A98E6F;

  /* Type families */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Type scale (fluid) */
  --fs-eyebrow: 0.75rem;          /* 12px small labels */
  --fs-body: 1.0625rem;           /* 17px */
  --fs-body-sm: 0.9375rem;        /* 15px */
  --fs-h3: clamp(1.5rem, 2.4vw, 2rem);
  --fs-h2: clamp(2rem, 4.4vw, 3.25rem);
  --fs-h1: clamp(2.75rem, 7vw, 5.25rem);
  --fs-display: clamp(3.5rem, 9vw, 6.5rem);

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --section-pad: clamp(5rem, 10vw, 9rem);
  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 5vw, 3.5rem);

  /* Misc */
  --hairline: 1px solid rgba(43, 39, 35, 0.12);
  --radius: 2px;
  --shadow-soft: 0 18px 50px -28px rgba(26, 23, 20, 0.35);
  --header-h: 78px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --reveal-dur: 0.8s;
}

/* -----------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
video,
svg { display: block; max-width: 100%; }

img { height: auto; }

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: none; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--charcoal);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--blush);
  color: var(--ink);
}

/* -----------------------------------------------------------------------------
   3. SHARED PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.eyebrow--gold { color: var(--gold); }

.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}
.section-head .eyebrow { margin-bottom: var(--space-sm); }

.section-title {
  font-size: var(--fs-h2);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.section-intro {
  margin-top: var(--space-sm);
  color: var(--stone);
  font-size: var(--fs-body);
}

/* Decorative gold hairline accent */
.rule {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: var(--space-sm) auto 0;
  border: 0;
}

/* -----------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;          /* 13px */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.05rem 2.1rem;
  border: 1px solid var(--charcoal);
  border-radius: var(--radius);
  color: var(--charcoal);
  background: transparent;
  transition: background-color 0.45s var(--ease),
              color 0.45s var(--ease),
              border-color 0.45s var(--ease),
              transform 0.45s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--solid {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}
.btn--solid:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(43, 39, 35, 0.35);
  color: var(--charcoal);
}
.btn--ghost:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--ivory);
}

.btn--light {
  background: transparent;
  border-color: rgba(250, 247, 242, 0.6);
  color: var(--ivory);
}
.btn--light:hover {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--charcoal);
}

.btn--sm {
  padding: 0.7rem 1.4rem;
  font-size: 0.6875rem;          /* 11px */
  letter-spacing: 0.16em;
}

/* -----------------------------------------------------------------------------
   5. HEADER / NAV
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: transparent;
  transition: background-color 0.5s var(--ease),
              box-shadow 0.5s var(--ease),
              padding 0.5s var(--ease),
              border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--ivory);
  border-bottom-color: rgba(43, 39, 35, 0.08);
  box-shadow: 0 1px 24px -12px rgba(26, 23, 20, 0.3);
  padding: 0.65rem 0;
}

.nav-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Brand / logo */
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--ivory);
  transition: color 0.5s var(--ease);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.65rem;
  letter-spacing: 0.01em;
}
.brand-kicker {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.5625rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-top: 0.35em;
  padding-left: 0.1em;
  opacity: 0.85;
}
/* Transparent-over-hero text is light; scrolled text is dark */
.site-header.scrolled .brand { color: var(--charcoal); }

/* Nav links */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
}
.site-nav a:not(.btn) {
  position: relative;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: 0.25rem 0;
  transition: color 0.4s var(--ease), opacity 0.4s var(--ease);
}
.site-header.scrolled .site-nav a:not(.btn) { color: var(--charcoal); }

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.site-nav a:not(.btn):hover::after,
.site-nav a.is-current::after { transform: scaleX(1); }
.site-nav a.is-current { color: var(--gold); }
.site-header.scrolled .site-nav a.is-current { color: var(--gold); }

/* Nav CTA on the right inherits .btn--light over hero; flips when scrolled */
.site-nav .btn {
  border-color: rgba(250, 247, 242, 0.6);
  color: var(--ivory);
}
.site-nav .btn:hover {
  background: var(--ivory);
  color: var(--charcoal);
  border-color: var(--ivory);
}
.site-header.scrolled .site-nav .btn {
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.site-header.scrolled .site-nav .btn:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1100;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transform: translateX(-50%);
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -0.75px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.site-header.scrolled .nav-toggle span,
.site-header.scrolled .nav-toggle span::before,
.site-header.scrolled .nav-toggle span::after { background: var(--charcoal); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* -----------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--ivory);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media.ph-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-out forwards;
}
@keyframes heroDrift {
  from { transform: scale(1.1); }
  to { transform: scale(1.02); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26,23,20,0.42) 0%, rgba(26,23,20,0.18) 38%, rgba(26,23,20,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: var(--header-h) var(--container-pad) 0;
}
.hero-content .eyebrow {
  color: rgba(250, 247, 242, 0.85);
  margin-bottom: var(--space-md);
}
.hero-title {
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ivory);
}
.hero-sub {
  margin: var(--space-md) auto var(--space-lg);
  max-width: 540px;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.92);
}
.hero .btn { margin-top: 0.25rem; }

/* Scroll cue */
.hero-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 2;
  transform: translateX(-50%);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.8);
  animation: cueFloat 2.6s ease-in-out infinite;
}
@keyframes cueFloat {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.8; }
  50% { transform: translate(-50%, 6px); opacity: 0.4; }
}

/* -----------------------------------------------------------------------------
   7. SECTION SCAFFOLD
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--section-pad);
  background: var(--ivory);
}
.section--cream { background: var(--cream); }
.section--blush { background: var(--blush); }
.section--ink {
  background: var(--ink);
  color: var(--ivory);
}
.section--ink .section-title,
.section--ink h2, .section--ink h3 { color: var(--ivory); }
.section--ink .section-intro { color: rgba(250, 247, 242, 0.75); }
.section--ink .eyebrow { color: var(--taupe); }

/* -----------------------------------------------------------------------------
   8. FEATURED GALLERY (home) — editorial asymmetric grid
   -------------------------------------------------------------------------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
}
.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0;
  background: var(--cream);
}
.feature-card .ph-img,
.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.feature-card:hover .ph-img,
.feature-card:hover img { transform: scale(1.04); }

.feature-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.4rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(26,23,20,0.62));
  color: var(--ivory);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.feature-card:hover figcaption,
.feature-card:focus-within figcaption { opacity: 1; transform: translateY(0); }
.feature-card figcaption .cat {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.3em;
}
.feature-card figcaption .title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

/* Asymmetric spans */
.feature-card--tall { grid-row: span 2; }
.feature-card--wide { grid-column: span 2; }
.feature-card--big  { grid-column: span 2; grid-row: span 2; }
.feature-card--col3 { grid-column: span 3; }

/* -----------------------------------------------------------------------------
   9. PORTFOLIO — filter bar + grid
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.75rem);
  margin-bottom: var(--space-lg);
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color 0.4s var(--ease);
}
.filter-btn::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease);
}
.filter-btn:hover { color: var(--charcoal); }
.filter-btn.is-active { color: var(--charcoal); }
.filter-btn.is-active::after { transform: scaleX(1); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  aspect-ratio: 4 / 5;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.gallery-item.is-hidden {
  display: none;
}
.gallery-item.is-fading {
  opacity: 0;
  transform: scale(0.98);
}
.lightbox-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.lightbox-link .ph-img,
.lightbox-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.lightbox-link:hover .ph-img,
.lightbox-link:hover img { transform: scale(1.04); }

/* -----------------------------------------------------------------------------
   10. LIGHTBOX (built by JS)
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 23, 20, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7);
}
.lightbox-caption {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.7);
}
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 1px solid rgba(250, 247, 242, 0.35);
  border-radius: 50%;
  color: var(--ivory);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.lightbox-btn:hover {
  background: rgba(250, 247, 242, 0.12);
  border-color: var(--ivory);
}
.lightbox-prev { left: clamp(1rem, 4vw, 3rem); }
.lightbox-next { right: clamp(1rem, 4vw, 3rem); }
.lightbox-close {
  position: absolute;
  top: clamp(1rem, 4vw, 2.25rem);
  right: clamp(1rem, 4vw, 2.25rem);
  width: 48px; height: 48px;
  border: 1px solid rgba(250, 247, 242, 0.35);
  border-radius: 50%;
  color: var(--ivory);
  font-size: 1.5rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.lightbox-close:hover { background: rgba(250, 247, 242, 0.12); transform: rotate(90deg); }

/* -----------------------------------------------------------------------------
   11. ABOUT SPLIT
   -------------------------------------------------------------------------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.about-split--reverse .about-media { order: 2; }
.about-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--cream);
}
.about-media .ph-img,
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Three-up text columns (home "experience" block) */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.about-text .section-title { text-align: left; }
.about-text p { color: var(--stone); margin-top: var(--space-sm); }
.about-text p:first-of-type { color: var(--charcoal); }

.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--charcoal);
  margin-top: var(--space-md);
}
.signature-role {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.7em;
}

/* -----------------------------------------------------------------------------
   12. PRICING / INVESTMENT
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  border: var(--hairline);
  border-radius: var(--radius);
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.75rem, 3vw, 2.5rem);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.price-card--featured {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
  position: relative;
}
.price-card--featured .price-tier,
.price-card--featured .price-amount { color: var(--ivory); }
.price-card--featured .price-desc { color: rgba(250,247,242,0.75); }
.price-card--featured .price-list li { color: rgba(250,247,242,0.85); border-color: rgba(250,247,242,0.14); }
.price-card--featured .price-list li::before { color: var(--gold); }
.price-card--featured .badge {
  position: absolute;
  top: -0.85rem; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4em 1em;
  border-radius: 999px;
}

.price-tier {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--charcoal);
}
.price-amount {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.5em;
}
.price-amount strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--charcoal);
  margin-top: 0.15em;
}
.price-card--featured .price-amount strong { color: var(--ivory); }
.price-desc {
  color: var(--stone);
  font-size: var(--fs-body-sm);
  margin-top: var(--space-sm);
}
.price-list {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
  flex: 1;
}
.price-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.6rem;
  font-size: var(--fs-body-sm);
  color: var(--charcoal);
  border-bottom: var(--hairline);
}
.price-list li:last-child { border-bottom: 0; }
.price-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.price-card .btn { width: 100%; }
.price-card--featured .btn { border-color: var(--ivory); color: var(--ivory); }
.price-card--featured .btn:hover { background: var(--ivory); color: var(--charcoal); }

/* FAQ — native details */
.faq-wrap {
  max-width: 820px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: var(--hairline);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 2.5rem 1.5rem 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.35s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item > div {
  padding: 0 2.5rem 1.75rem 0;
  color: var(--stone);
  font-size: var(--fs-body-sm);
  line-height: 1.75;
}

/* -----------------------------------------------------------------------------
   13. TESTIMONIAL
   -------------------------------------------------------------------------- */
.testimonial {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.testimonial blockquote,
.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.35;
  color: var(--charcoal);
}
.section--ink .testimonial-quote,
.section--ink .testimonial blockquote { color: var(--ivory); }
.testimonial-cite {
  display: block;
  margin-top: var(--space-md);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.section--ink .testimonial-cite { color: var(--taupe); }
.testimonial-cite strong { color: var(--gold); font-weight: 500; }

/* -----------------------------------------------------------------------------
   14. CONTACT — form + aside
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.6rem;
}
.field label .req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  color: var(--charcoal);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(43, 39, 35, 0.22);
  padding: 0.75rem 0;
  border-radius: 0;
  transition: border-color 0.4s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--taupe); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { cursor: pointer; }
/* invalid feedback (JS toggles aria-invalid) */
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-bottom-color: #b4553f; }
.field .field-error {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: #b4553f;
}
.inquiry-form .btn { grid-column: 1 / -1; justify-self: start; margin-top: var(--space-sm); }

.form-success {
  grid-column: 1 / -1;
  display: none;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--blush);
  border-radius: var(--radius);
  text-align: center;
}
.form-success.is-visible { display: block; }
.form-success h3 {
  font-size: 1.9rem;
  font-weight: 500;
}
.form-success p { margin-top: var(--space-sm); color: var(--stone); }

/* Aside */
.contact-aside {
  border-left: 1px solid rgba(43, 39, 35, 0.1);
  padding-left: clamp(1.5rem, 4vw, 3rem);
}
.contact-aside .eyebrow { margin-bottom: var(--space-sm); }
.contact-block { margin-bottom: var(--space-md); }
.contact-block .label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.4em;
}
.contact-block a,
.contact-block p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--charcoal);
  transition: color 0.3s var(--ease);
}
.contact-block a:hover { color: var(--gold); }
.contact-note {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-style: italic;
  color: var(--stone);
  border-top: var(--hairline);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}
.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: var(--space-sm);
}
.social-links a {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.3s var(--ease);
}
.social-links a:hover { color: var(--gold); }

/* -----------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(250, 247, 242, 0.78);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.25rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--ivory);
}
.footer-brand .brand-kicker {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 0.5em;
}
.footer-tagline {
  margin-top: var(--space-md);
  max-width: 32ch;
  font-size: var(--fs-body-sm);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.62);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: var(--space-sm);
}
.footer-col a {
  display: block;
  font-size: var(--fs-body-sm);
  color: rgba(250, 247, 242, 0.78);
  padding: 0.35rem 0;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(250, 247, 242, 0.5);
}

/* -----------------------------------------------------------------------------
   16. REVEAL ANIMATION
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--reveal-dur) var(--ease),
              transform var(--reveal-dur) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* -----------------------------------------------------------------------------
   17. .ph-img FALLBACK (JS adds .ph-img--failed)
   -------------------------------------------------------------------------- */
.ph-img--failed {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 55%, var(--taupe) 130%);
}

/* -----------------------------------------------------------------------------
   18. UTILITIES
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.no-scroll { overflow: hidden; }
main { display: block; }
.page-intro {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: var(--space-lg);
  text-align: center;
}
.page-intro .hero-title,
.page-intro h1 {
  color: var(--charcoal);
  font-size: var(--fs-h2);
  font-weight: 400;
}

/* -----------------------------------------------------------------------------
   19. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .featured-grid { grid-auto-rows: 210px; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 860px) {
  /* Mobile nav drawer */
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl) var(--container-pad);
    background: var(--ivory);
    box-shadow: -20px 0 60px -30px rgba(26,23,20,0.4);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a:not(.btn) {
    color: var(--charcoal);
    font-size: 0.95rem;
  }
  .site-nav .btn {
    border-color: var(--charcoal);
    color: var(--charcoal);
    margin-top: var(--space-sm);
  }
  /* When over hero, brand stays light until scrolled — already handled */

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .feature-card--big,
  .feature-card--col3 { grid-column: span 2; }
  .feature-card--tall { grid-row: span 1; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .about-split { grid-template-columns: 1fr; }
  .about-split--reverse .about-media { order: 0; }
  .trio { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .price-card--featured { order: -1; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside {
    border-left: 0;
    border-top: var(--hairline);
    padding-left: 0;
    padding-top: var(--space-lg);
  }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .feature-card figcaption { opacity: 1; transform: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .inquiry-form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 88vh; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-btn { width: 44px; height: 44px; }
}

/* -----------------------------------------------------------------------------
   20. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-media img,
  .hero-media.ph-img { animation: none; transform: scale(1.02); }
  .hero-cue { animation: none; }
}
