/* ==========================================================================
   Showcase Weddings — homepage prototype
   Design tokens mirror the planned Tailwind theme (see docs/01-discovery.md)
   ========================================================================== */

:root {
  /* Colour: house palette shared with the Showcase quote pack */
  --cream: #f6f1eb;         /* primary light surface */
  --white: #ffffff;         /* alternate light surface */
  --hairline: #e6ddd0;      /* rules on light, image placeholders */
  --gold: #a98a55;          /* brand gold: rules, buttons, text on ink (4.6:1) */
  --gold-light: #d9c9a8;    /* frames, secondary text on ink (9.2:1) */
  --gold-display: #9a7c48;  /* large gold text on cream/white (3.5:1, AA large) */
  --gold-ink: #7d6438;      /* small gold labels on cream/white (5.0:1, AA) */
  --ink: #2b2622;           /* primary dark surface + text on light */
  --ink-deep: #231f1c;      /* footer / alternate dark surface */
  --ink-soft: #3a342f;      /* placeholders on dark */
  --text: #2b2622;          /* body text on light (13:1) */
  --text-muted: #6e655c;    /* secondary text on cream (5.1:1). Quote-pack #7C7268 is 4.2:1, so too light for body copy */
  --on-ink: #f6f1eb;
  --on-ink-muted: #d9c9a8;
  --rule-dark: rgba(217, 201, 168, 0.22);
  --rule-light: #e6ddd0;

  /* Type: same pairing as the quote pack */
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.9rem, 1.6rem + 5.6vw, 6.6rem);
  --fs-h2: clamp(2.2rem, 1.5rem + 3vw, 4.2rem);
  --fs-h3: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --fs-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-eyebrow: 0.72rem;

  /* Space & layout */
  --gutter: clamp(1rem, 0.4rem + 3vw, 3rem);
  --section: clamp(5rem, 3rem + 8vw, 10rem);
  --max: 1440px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: 1100ms;
  --med: 500ms;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.on-light :focus-visible { outline-color: var(--gold-ink); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Shared type ------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 2.5rem; height: 1px;
  background: currentColor;
}
.on-light .eyebrow { color: var(--gold-ink); }

.h2 {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.h2 em, .display em {
  font-style: italic;
  color: var(--gold);
}
.on-light .h2 em { color: var(--gold-display); }

/* --- Buttons & links -------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--on-ink);
  --btn-bd: var(--rule-dark);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0 2rem;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--med) var(--ease), border-color var(--med) var(--ease);
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--med) var(--ease);
}
.btn:hover::after,
.btn:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.btn:hover,
.btn:focus-visible { color: var(--ink); border-color: var(--gold); }

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  --btn-bd: var(--gold);
}
.btn--gold::after { background: var(--cream); }
.btn--gold:hover,
.btn--gold:focus-visible { border-color: var(--cream); }

.btn--outline-gold { --btn-bd: var(--gold); --btn-fg: var(--gold); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding-block: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  transition: background-size var(--med) var(--ease), color var(--med) var(--ease);
}
.text-link .arrow { transition: transform var(--med) var(--ease); }
.text-link:hover .arrow,
.text-link:focus-visible .arrow { transform: translateX(6px); }
.text-link:hover { background-size: 35% 1px; }

.arrow { width: 22px; height: 10px; flex: none; }

/* ==========================================================================
   Prototype notice
   ========================================================================== */

.proto-note {
  position: relative;
  z-index: 60;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 0.78rem;
  line-height: 1.45;
  padding: 0.55rem var(--gutter);
  text-align: center;
}
.proto-note strong { font-weight: 700; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color var(--med) var(--ease), border-color var(--med) var(--ease), height var(--med) var(--ease);
  border-bottom: 1px solid transparent;
}
.has-note .site-header { top: var(--note-h, 0px); }
.site-header::before {
  /* soft scrim so links stay legible on any hero image */
  content: "";
  position: absolute; inset: 0 0 -40px 0;
  background: linear-gradient(rgba(33, 29, 26, 0.55), rgba(33, 29, 26, 0));
  pointer-events: none;
  transition: opacity var(--med) var(--ease);
}
.site-header.is-solid {
  background: var(--cream);
  border-bottom-color: var(--rule-dark);
  --header-h: 72px;
  top: 0;
}
.site-header.is-solid::before { opacity: 0; }

.header-inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 38px; width: auto; transition: height var(--med) var(--ease); }
.is-solid .brand img { height: 32px; }

.primary-nav ul {
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 2.2vw, 2.6rem);
}
.primary-nav a {
  position: relative;
  display: inline-block;
  padding-block: 0.6rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-ink);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.2rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--med) var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { min-height: 44px; padding: 0 1.4rem; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.85rem;
  min-height: 44px;
  padding: 0 0 0 0.75rem;
  background: none;
  border: 0;
  color: var(--on-ink);
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle .bars { position: relative; width: 26px; height: 10px; }
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform var(--med) var(--ease), top var(--med) var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 9px; left: 8px; }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--text);
  padding: 0 var(--gutter) 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--med) var(--ease), visibility 0s linear var(--med);
  overflow-y: auto;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--med) var(--ease);
}
.mobile-menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--rule-dark);
}
.mobile-menu__top img { height: 30px; width: auto; }
.menu-close {
  min-height: 44px;
  padding: 0 0 0 1rem;
  background: none; border: 0;
  color: var(--on-ink);
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}
.mobile-menu nav { padding-block: 2.5rem 2rem; }
.mobile-menu nav li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.mobile-menu.is-open nav li { opacity: 1; transform: none; }
.mobile-menu.is-open nav li:nth-child(2) { transition-delay: 50ms; }
.mobile-menu.is-open nav li:nth-child(3) { transition-delay: 100ms; }
.mobile-menu.is-open nav li:nth-child(4) { transition-delay: 150ms; }
.mobile-menu.is-open nav li:nth-child(5) { transition-delay: 200ms; }
.mobile-menu.is-open nav li:nth-child(6) { transition-delay: 250ms; }
.mobile-menu.is-open nav li:nth-child(7) { transition-delay: 300ms; }
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding-block: 0.45rem;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 9vw, 3rem);
  line-height: 1.15;
  text-decoration: none;
}
.mobile-menu nav a span {
  font: 500 0.7rem/1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--gold);
  min-width: 1.6rem;
}
.mobile-menu__foot {
  margin-top: auto;
  display: grid;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-dark);
  font-size: var(--fs-small);
  color: var(--on-ink-muted);
}
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__foot a:not(.btn) { text-decoration: none; }

@media (max-width: 1080px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .header-inner { grid-template-columns: auto 1fr; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform: scale(1.06);
  animation: hero-settle 2.8s var(--ease) forwards;
}
@keyframes hero-settle { to { transform: scale(1); } }
.hero__media::after {
  /* layered scrim: guarantees AA contrast for copy regardless of image */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(33, 29, 26, 0.86) 0%, rgba(33, 29, 26, 0.6) 45%, rgba(33, 29, 26, 0.12) 80%),
    linear-gradient(0deg, rgba(33, 29, 26, 0.92) 0%, rgba(33, 29, 26, 0) 60%),
    linear-gradient(180deg, rgba(33, 29, 26, 0.45) 0%, rgba(33, 29, 26, 0) 25%);
}

/* Hero slideshow: curtain reveal + slow drift */
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slides .slide { position: absolute; inset: 0; overflow: hidden; }
.hero-slides .slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  animation: none;
  transform: scale(1.1);
}
.hero-slides .slide.is-prev { z-index: 1; }
.hero-slides .slide.is-active { z-index: 2; }
.hero-slides .slide.is-active img,
.hero-slides .slide.is-prev img {
  animation: hero-drift calc(var(--slide-ms) + 2400ms) cubic-bezier(0.25, 0.1, 0.25, 1) both;
}
.hero-slides .slide[data-kb="right"].is-active img,
.hero-slides .slide[data-kb="right"].is-prev img { animation-name: hero-drift-right; }
@keyframes hero-drift {
  from { transform: scale(1.14) translate3d(-1.2%, 0.6%, 0); }
  to { transform: scale(1.02) translate3d(0.8%, -0.4%, 0); }
}
@keyframes hero-drift-right {
  from { transform: scale(1.14) translate3d(1.2%, 0.6%, 0); }
  to { transform: scale(1.02) translate3d(-0.8%, -0.4%, 0); }
}
.hero-slides .slide.is-entering {
  animation: hero-curtain 1700ms cubic-bezier(0.77, 0, 0.18, 1) both;
}
@keyframes hero-curtain {
  from { clip-path: inset(0 50% 0 50%); }
  to { clip-path: inset(0 0 0 0); }
}
.curtain-edges { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.curtain-edges span {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, var(--gold-light) 25%, var(--gold) 50%, var(--gold-light) 75%, transparent);
  box-shadow: 0 0 18px 2px rgba(217, 201, 168, 0.45);
  opacity: 0;
  animation: curtain-edge-left 1700ms cubic-bezier(0.77, 0, 0.18, 1) both;
}
.curtain-edges span + span { animation-name: curtain-edge-right; }
@keyframes curtain-edge-left {
  0% { left: 50%; opacity: 0; }
  12% { opacity: 1; }
  80% { opacity: 0.9; }
  100% { left: 0%; opacity: 0; }
}
@keyframes curtain-edge-right {
  0% { left: 50%; opacity: 0; }
  12% { opacity: 1; }
  80% { opacity: 0.9; }
  100% { left: 100%; opacity: 0; }
}

.hero__pause {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--rule-dark);
  border-radius: 50%;
  background: rgba(33, 29, 26, 0.45);
  color: var(--cream);
  cursor: pointer;
  transition: border-color var(--med) var(--ease), background var(--med) var(--ease);
}
.hero__pause:hover { border-color: var(--gold); background: rgba(33, 29, 26, 0.7); }
.icon-pause { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.icon-play { width: 0; height: 0; margin-left: 3px; border-block: 7px solid transparent; border-left: 11px solid currentColor; }
.hero__media::after { z-index: 2; }
.hero .wrap { z-index: 3; }

.hero__content {
  position: relative;
  padding-block: calc(var(--header-h) + 4rem) clamp(4rem, 9vh, 7rem);
}
.hero .eyebrow { margin-bottom: 1.75rem; }
.display {
  font-family: var(--serif);
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.display .line { display: block; }
@media (min-width: 900px) {
  .display .line { white-space: nowrap; }
}
.hero__lead {
  margin-top: 1.9rem;
  max-width: 34rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: var(--on-ink);
  opacity: 0.88;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(4rem, 9vh, 7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-decoration: none;
  color: var(--on-ink-muted);
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 64px;
  background: linear-gradient(var(--gold), transparent);
  animation: scroll-cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scroll-cue {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 720px) {
  .hero__scroll { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__media::after {
    background: linear-gradient(0deg, rgba(33, 29, 26, 0.95) 0%, rgba(33, 29, 26, 0.74) 50%, rgba(33, 29, 26, 0.5) 100%);
  }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding-block: var(--section); }
.on-light { background: var(--cream); color: var(--text); }
.on-white { background: var(--white); }
.on-charcoal { background: var(--ink-deep); }

.section-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.section-head--split {
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 4rem; }
}
.section-head > p { max-width: 32rem; color: var(--on-ink-muted); }
.on-light .section-head > p { color: var(--text-muted); }

/* --- Introduction ----------------------------------------------------- */

.intro {
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) {
  .intro { grid-template-columns: 5fr 1fr 6fr; gap: 0; align-items: start; }
  .intro__body { grid-column: 3; }
}
.intro__statement {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem);
  line-height: 1.1;
}
.intro__statement em { font-style: italic; color: var(--gold-display); }
.intro__body { display: grid; gap: 1.5rem; color: var(--text-muted); max-width: 36rem; }
.intro__body .lead {
  font-family: var(--serif);
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--text);
}
.intro__body .text-link { justify-self: start; margin-top: 1rem; color: var(--text); }

.intro__pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: clamp(4rem, 3rem + 4vw, 7rem);
  border-top: 1px solid var(--rule-light);
}
.intro__pillars li {
  padding: 2rem 2rem 0 0;
}
.intro__pillars li + li { padding-left: 2rem; border-left: 1px solid var(--rule-light); }
@media (max-width: 899px) {
  .intro__pillars li + li { border-left: 0; padding-left: 0; }
}
.intro__pillars h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.intro__pillars p { color: var(--text-muted); font-size: 0.95rem; }

/* --- Services -------------------------------------------------------- */

.services {
  display: grid;
  gap: clamp(0.75rem, 1.2vw, 1.25rem);
}
@media (min-width: 760px) {
  .services { grid-template-columns: 1fr 1fr; }
}
.service {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-soft);
  text-decoration: none;
  isolation: isolate;
}
@media (min-width: 760px) {
  .service:nth-child(2) { margin-top: clamp(3rem, 8vw, 8rem); }
  .service:nth-child(3) { margin-top: calc(clamp(3rem, 8vw, 8rem) * -1); }
}
@media (min-width: 1200px) {
  .service { aspect-ratio: 5 / 6; }
}
.service img,
.service .placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease), filter var(--slow) var(--ease);
  filter: saturate(0.9);
}
.service::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(33, 29, 26, 0.92) 0%, rgba(33, 29, 26, 0.25) 50%, rgba(33, 29, 26, 0.05) 100%);
  transition: opacity var(--slow) var(--ease);
}
.service:hover img,
.service:focus-visible img { transform: scale(1.05); filter: saturate(1); }

.service__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(1.5rem, 3vw, 2.75rem);
}
.service__num {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.service h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem);
  line-height: 1;
}
.service p {
  max-width: 26rem;
  margin-top: 0.9rem;
  color: var(--on-ink);
  opacity: 0.85;
  font-size: 0.95rem;
}
.service__more {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.service__more::before {
  content: "";
  width: 2rem; height: 1px;
  background: currentColor;
  transition: width var(--med) var(--ease);
}
.service:hover .service__more::before,
.service:focus-visible .service__more::before { width: 4rem; }
.service:focus-visible { outline-offset: 6px; }

/* Graceful frame for slots awaiting photography */
.placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 80% at 70% 20%, rgba(169, 138, 85, 0.16), transparent 60%),
    linear-gradient(160deg, #3a342f, #231f1c);
}
.placeholder::before {
  content: "";
  position: absolute; inset: 1.25rem;
  border: 1px solid rgba(169, 138, 85, 0.28);
}
.placeholder span {
  position: relative;
  margin-bottom: 30%;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}

/* --- Portfolio ------------------------------------------------------- */

.portfolio {
  display: grid;
  gap: clamp(2.5rem, 4vw, 4rem) clamp(1rem, 2.5vw, 2.5rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.project { grid-column: span 12; }
@media (min-width: 760px) {
  .project--a { grid-column: 1 / span 7; }
  .project--b { grid-column: 9 / span 4; margin-top: 18%; }
  .project--c { grid-column: 1 / span 4; }
  .project--d { grid-column: 6 / span 7; margin-top: 10%; }
  .project--e { grid-column: 2 / span 5; }
  .project--f { grid-column: 8 / span 5; margin-top: -6%; }
}
.project a { display: block; text-decoration: none; color: inherit; }
.project__media {
  position: relative;
  overflow: hidden;
  background: var(--hairline);
}
.project--a .project__media,
.project--d .project__media { aspect-ratio: 3 / 2; }
.project--b .project__media,
.project--c .project__media { aspect-ratio: 4 / 5; }
.project--e .project__media,
.project--f .project__media { aspect-ratio: 5 / 4; }
.project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}
.project__media::after {
  content: "View project";
  position: absolute;
  left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 7.5rem; height: 7.5rem;
  border-radius: 50%;
  background: rgba(33, 29, 26, 0.72);
  color: var(--cream);
  font: 600 0.62rem/1.3 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity var(--med) var(--ease), transform var(--med) var(--ease);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.project a:hover .project__media img,
.project a:focus-visible .project__media img { transform: scale(1.04); }
.project a:hover .project__media::after,
.project a:focus-visible .project__media::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.project__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.1rem;
  border-bottom: 1px solid var(--rule-light);
  padding-bottom: 1rem;
}
.project__caption h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem);
  line-height: 1.15;
}
.project__meta {
  flex: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.portfolio-foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(4rem, 6vw, 6rem);
}

/* --- Approach -------------------------------------------------------- */

.approach {
  display: grid;
  gap: 0;
  counter-reset: step;
}
@media (min-width: 900px) {
  .approach { grid-template-columns: repeat(4, 1fr); }
}
.step {
  position: relative;
  padding: 2.5rem 0 2.5rem;
  border-top: 1px solid var(--rule-dark);
}
@media (min-width: 900px) {
  .step { padding: 2.75rem 2.25rem 0 0; }
  .step + .step { padding-left: 2.25rem; border-left: 1px solid var(--rule-dark); }
}
.step::before {
  /* gold progress hairline that draws in when revealed */
  content: "";
  position: absolute;
  left: 0; top: -1px;
  height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1400ms var(--ease);
}
.step.is-visible::before { transform: scaleX(1); }
.step:nth-child(2)::before { transition-delay: 200ms; }
.step:nth-child(3)::before { transition-delay: 400ms; }
.step:nth-child(4)::before { transition-delay: 600ms; }
.step__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 3rem + 2vw, 5rem);
  line-height: 1;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.step h3 {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  margin-bottom: 0.9rem;
}
.step p { color: var(--on-ink-muted); max-width: 22rem; }

/* --- Venues ---------------------------------------------------------- */

.venues {
  position: relative;
  display: grid;
  gap: 3rem;
}
@media (min-width: 1000px) {
  .venues { grid-template-columns: 7fr 5fr; gap: 5rem; align-items: start; }
}
.venue-list { border-top: 1px solid var(--rule-light); }
.venue-list li { border-bottom: 1px solid var(--rule-light); }
.venue-list a {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1.6rem;
  text-decoration: none;
  transition: padding var(--med) var(--ease), color var(--med) var(--ease);
}
.venue-list .idx { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold-ink); font-weight: 600; }
.venue-list .name {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem);
  line-height: 1.1;
}
.venue-list .loc {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.venue-list a:hover,
.venue-list a:focus-visible,
.venue-list a.is-active { padding-left: 1rem; }
.venue-list a:hover .name,
.venue-list a.is-active .name { font-style: italic; }

.venue-preview {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--hairline);
}
.venue-preview img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 700ms var(--ease), transform 1400ms var(--ease);
}
.venue-preview img.is-active { opacity: 1; transform: scale(1); }
@media (max-width: 999px) {
  .venue-preview { display: none; }
}
.venues-note {
  margin-top: 1.5rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* --- Final CTA ------------------------------------------------------- */

.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 1px; height: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(transparent, var(--gold));
}
.cta__monogram {
  width: 92px; height: auto;
  margin: 0 auto 2.75rem;
}
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 1.6rem + 5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.015em;
  max-width: 14ch;
  margin-inline: auto;
}
.cta h2 em { font-style: italic; color: var(--gold-display); }
.cta p {
  max-width: 34rem;
  margin: 2rem auto 0;
  color: var(--on-ink-muted);
}
.cta .btn { margin-top: 2.75rem; }
.cta__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.5rem;
  margin-top: 3.5rem;
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  color: var(--on-ink-muted);
}
.cta__contact a { text-decoration: none; border-bottom: 1px solid var(--gold-light); padding-bottom: 2px; transition: border-color var(--med) var(--ease), color var(--med) var(--ease); }
.cta__contact a:hover { color: var(--text); border-color: var(--gold); }

/* --- Footer ---------------------------------------------------------- */

.site-footer {
  padding-block: clamp(4rem, 6vw, 6rem) 2rem;
  border-top: 1px solid var(--rule-dark);
  font-size: var(--fs-small);
  color: var(--on-ink-muted);
}
.footer-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 4rem; }
}
.footer-brand img { width: 170px; height: auto; }
.footer-brand p { margin-top: 1.75rem; max-width: 20rem; }
.site-footer h2 {
  margin-bottom: 1.25rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-footer li + li { margin-top: 0.55rem; }
.site-footer a { text-decoration: none; transition: color var(--med) var(--ease); }
.site-footer a:hover { color: var(--cream); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(3rem, 5vw, 5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.78rem;
}
.footer-base ul { display: flex; gap: 1.75rem; }
.footer-base li + li { margin-top: 0; }


/* ==========================================================================
   Light surfaces: solid header, mobile menu, framed CTA (quote-pack style)
   ========================================================================== */

.is-solid .primary-nav a,
.is-solid .menu-toggle { color: var(--text); }
.is-solid.site-header { border-bottom-color: var(--rule-light); }
.is-solid .header-cta { --btn-fg: var(--gold-ink); }
.is-solid :focus-visible { outline-color: var(--gold-ink); }

.mobile-menu :focus-visible { outline-color: var(--gold-ink); }
.mobile-menu__top { border-bottom-color: var(--rule-light); }
.menu-close { color: var(--text); }
.mobile-menu nav a span { color: var(--gold-ink); }
.mobile-menu__foot { border-top-color: var(--rule-light); color: var(--text-muted); }
.mobile-menu__foot .btn--gold::after { background: var(--ink); }
.mobile-menu__foot .btn--gold:hover,
.mobile-menu__foot .btn--gold:focus-visible { color: var(--cream); border-color: var(--ink); }

/* light-surface buttons: ghost/gold fill to ink */
.on-light .btn--gold::after { background: var(--ink); }
.on-light .btn--gold:hover,
.on-light .btn--gold:focus-visible { color: var(--cream); border-color: var(--ink); }
.on-light .text-link { color: var(--text); }

/* Final CTA: echoes the quote-pack cover's double gold frame */
.cta.on-light { padding-block: clamp(1rem, 3vw, 2.5rem); }
.cta__frame {
  position: relative;
  padding: clamp(4.5rem, 3rem + 6vw, 8.5rem) clamp(1.25rem, 4vw, 4rem);
  border: 1px solid var(--gold);
}
.cta__frame::after {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid var(--gold-light);
  pointer-events: none;
}
.cta.on-light::before { display: none; }
.cta.on-light p { color: var(--text-muted); }
.cta.on-light .cta__contact { color: var(--text-muted); }

/* italic gold ampersand, as used in the quote pack */
.amp { font-family: var(--serif); font-style: italic; color: var(--gold); font-weight: 500; }
.on-light .amp { color: var(--gold-display); }

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */

.wa-float {
  position: fixed;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1.25rem 0.5rem 0.5rem;
  border: 1px solid rgba(217, 201, 168, 0.35);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(33, 29, 26, 0.28);
  animation: wa-in 700ms var(--ease) 1.2s both;
  transition: transform var(--med) var(--ease), border-color var(--med) var(--ease);
}
.wa-float:hover { transform: translateY(-2px); border-color: var(--gold); }
.wa-float:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wa-float__icon {
  display: grid; place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #25d366;
}
.wa-float__icon svg { width: 24px; height: 24px; fill: #fff; }
.wa-float__text { display: grid; line-height: 1.25; }
.wa-float__status {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light);
}
.wa-float__dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #25d366;
}
.wa-float__dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: wa-pulse 2.2s ease-out infinite;
}
.wa-float__cta { font-family: var(--serif); font-size: 1.12rem; }
@keyframes wa-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3); opacity: 0; } }
@media (max-width: 640px) {
  .wa-float { right: 1rem; bottom: 1rem; padding: 0.4rem 1rem 0.4rem 0.4rem; gap: 0.6rem; }
  .wa-float__icon { width: 40px; height: 40px; }
  .wa-float__cta { display: none; }
  .wa-float__status { font-size: 0.66rem; color: var(--cream); }
}

/* ==========================================================================
   Reveal on scroll (progressive enhancement; JS adds .js to <html>)
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1000ms var(--ease), transform 1000ms var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .hero__media img { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
