/* ==========================================================================
   Lumière Moments — event film studio
   Editorial / cinematic system. No framework.
   ========================================================================== */

:root {
  --ivory: #f6f2ea;
  --paper: #fbf9f4;
  --paper-2: #f1ece1;
  --ink: #16130f;
  --ink-2: #332d26;
  --ink-soft: #6b6357;
  --champagne: #b08a5a;
  --champagne-soft: #d8c3a4;
  --line: rgba(22, 19, 15, 0.14);
  --line-soft: rgba(22, 19, 15, 0.08);
  --white: #fffdf9;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --nav-h: 78px;
}

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

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

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}

h1 { font-size: clamp(44px, 7.2vw, 104px); }
h2 { font-size: clamp(34px, 4.6vw, 68px); }
h3 { font-size: clamp(24px, 2.4vw, 34px); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--champagne);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
}

.serif-italic { font-family: var(--serif); font-style: italic; }

/* ---------- Layout ---------- */

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

.section { padding-block: clamp(72px, 10vw, 148px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--ivory); }
.section--dark .lede { color: rgba(246, 242, 234, 0.66); }
.section--dark .eyebrow { color: var(--champagne-soft); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 76px);
}
.section-head h2 { max-width: 16ch; }
.section-head .lede { max-width: 42ch; padding-bottom: 6px; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink);
  --fg: var(--ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 34px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bg);
  border-radius: 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
  overflow: hidden;
}
.btn:hover { background: transparent; color: var(--bg); }
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: rgba(22, 19, 15, 0.28);
}
.btn--ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--light {
  --bg: var(--ivory);
  --fg: var(--ink);
  border-color: var(--ivory);
}
.btn--light:hover { background: transparent; color: var(--ivory); }
.btn--line-light {
  --bg: transparent;
  --fg: var(--ivory);
  border-color: rgba(246, 242, 234, 0.34);
}
.btn--line-light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(22, 19, 15, 0.28);
  padding-bottom: 6px;
  transition: gap 0.4s var(--ease), border-color 0.4s var(--ease);
}
.link-arrow:hover { gap: 18px; border-color: var(--ink); }
.link-arrow::after { content: "→"; font-size: 13px; }

/* ---------- Top bar + nav ---------- */

.topbar {
  background: var(--ink);
  color: rgba(246, 242, 234, 0.78);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}
.topbar a { color: var(--champagne-soft); border-bottom: 1px solid rgba(216, 195, 164, 0.4); }

.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(246, 242, 234, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line-soft); }
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}
.brand__name {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.brand__sub {
  font-size: 8.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
}
.nav__links a {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-block: 6px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right 0.45s var(--ease);
}
.nav__links a:hover::after { right: 0; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__cta .btn { padding: 13px 24px; font-size: 10px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 1px; background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav__drawer {
  position: fixed;
  inset: calc(var(--nav-h) + 34px) 0 0;
  background: var(--ivory);
  z-index: 89;
  padding: 34px var(--gutter) 48px;
  display: none;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line-soft);
}
.nav__drawer a {
  font-family: var(--serif);
  font-size: 30px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.nav__drawer .btn { margin-top: 28px; }
body.nav-open .nav__drawer { display: flex; }

@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h) - 34px);
  display: flex;
  align-items: flex-end;
  background: #0e0c0a;
  color: var(--ivory);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media video,
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
  animation: heroDrift 26s var(--ease-soft) infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(0, -1.4%, 0); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 8, 6, 0.55) 0%, rgba(10, 8, 6, 0.12) 32%, rgba(10, 8, 6, 0.55) 72%, rgba(10, 8, 6, 0.88) 100%),
    radial-gradient(120% 80% at 50% 40%, transparent 40%, rgba(10, 8, 6, 0.5) 100%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: 2; opacity: 0.16; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: clamp(48px, 8vh, 96px) clamp(40px, 6vh, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.hero__title {
  font-size: clamp(44px, 6.3vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: italic;
  color: var(--champagne-soft);
}
.hero__copy { max-width: 38ch; }
.hero__copy p {
  font-size: clamp(15px, 1.25vw, 17.5px);
  line-height: 1.75;
  color: rgba(246, 242, 234, 0.82);
  font-weight: 300;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__meta {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 242, 234, 0.2);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.66);
}
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 34px;
  z-index: 3;
  writing-mode: vertical-rl;
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.6);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(246, 242, 234, 0.7), transparent);
  animation: scrollPulse 2.4s var(--ease-soft) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.5; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .hero { min-height: 88svh; }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: var(--paper);
  padding-block: 15px;
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
}
.marquee__track span::after {
  content: "✦";
  color: var(--champagne);
  font-size: 11px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Work grid ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 1.6vw, 26px);
}
.work-card {
  position: relative;
  grid-column: span 4;
  background: #0d0b09;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  color: var(--ivory);
  isolation: isolate;
}
.work-card--wide { grid-column: span 8; aspect-ratio: 16 / 10; }
.work-card--half { grid-column: span 6; aspect-ratio: 16 / 11; }
.work-card video,
.work-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), opacity 0.8s;
  z-index: 0;
}
.work-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0) 35%, rgba(10, 8, 6, 0.82) 100%);
  transition: opacity 0.6s;
}
.work-card:hover img,
.work-card:hover video { transform: scale(1.045); }
.work-card__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(18px, 2vw, 30px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.work-card__cat {
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--champagne-soft);
  margin-bottom: 8px;
  display: block;
}
.work-card__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.12;
}
.work-card__title small {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.6);
  margin-top: 8px;
}
.work-card__play {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(246, 242, 234, 0.5);
  display: grid; place-items: center;
  font-size: 14px;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s;
  backdrop-filter: blur(4px);
}
.work-card:hover .work-card__play { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.work-card__dur {
  position: absolute; top: 18px; right: 20px; z-index: 2;
  font-size: 9.5px; letter-spacing: 0.18em;
  color: rgba(246, 242, 234, 0.8);
  border: 1px solid rgba(246, 242, 234, 0.35);
  padding: 5px 10px;
  backdrop-filter: blur(6px);
}
@media (max-width: 860px) {
  .work-card, .work-card--wide, .work-card--half { grid-column: span 12; aspect-ratio: 4 / 3; }
}

/* ---------- Intro / split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure__cap {
  position: absolute; left: 0; bottom: 0;
  background: var(--ivory);
  padding: 12px 18px;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}
.stat span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.price {
  background: var(--paper);
  padding: clamp(24px, 2.4vw, 38px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.5s var(--ease);
}
.price:hover { background: var(--white); }
.price--featured { background: var(--ink); color: var(--ivory); }
.price--featured:hover { background: #1e1a15; }
.price__tag {
  font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--champagne); margin-bottom: 18px;
}
.price--featured .price__tag { color: var(--champagne-soft); }
.price__name {
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 27px);
  line-height: 1.15;
  margin-bottom: 10px;
  min-height: 2.3em;
}
.price__amount {
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1;
  margin-bottom: 4px;
}
.price__amount sup { font-size: 0.42em; vertical-align: super; letter-spacing: 0.02em; }
.price__note {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 22px;
}
.price--featured .price__note { color: rgba(246, 242, 234, 0.6); }
.price__list {
  list-style: none; margin: 0 0 26px; padding: 0;
  font-size: 13.5px; line-height: 1.55;
  color: var(--ink-2);
  display: grid; gap: 10px;
  flex: 1;
}
.price--featured .price__list { color: rgba(246, 242, 234, 0.82); }
.price__list li { display: flex; gap: 10px; }
.price__list li::before {
  content: "—";
  color: var(--champagne);
  flex: 0 0 auto;
}
.price .btn { width: 100%; padding: 15px 18px; font-size: 10px; }
.price--featured .btn { --bg: var(--ivory); --fg: var(--ink); border-color: var(--ivory); }
.price--featured .btn:hover { background: transparent; color: var(--ivory); }
@media (max-width: 1080px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .price-grid { grid-template-columns: 1fr; } }

.addons {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.addons span { display: inline-flex; gap: 8px; align-items: baseline; }
.addons b { color: var(--ink); font-weight: 500; }

/* ---------- Invitations ---------- */

.invite-section { overflow: hidden; }
.invite-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 940px) { .invite-layout { grid-template-columns: 1fr; } }

.phone {
  position: relative;
  width: min(330px, 78vw);
  aspect-ratio: 9 / 19.2;
  margin-inline: auto;
  background: #0b0a09;
  border-radius: 44px;
  padding: 11px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(246, 242, 234, 0.12) inset;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--paper);
}
.phone__notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; background: #0b0a09; border-radius: 20px; z-index: 5;
}
.phone--float { animation: phoneFloat 9s var(--ease-soft) infinite; }
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-14px) rotate(0.6deg); }
}

.tpl-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tpl-pill {
  border: 1px solid rgba(246, 242, 234, 0.28);
  background: transparent;
  color: rgba(246, 242, 234, 0.75);
  padding: 10px 16px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.tpl-pill.is-active, .tpl-pill:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line);
}
.step {
  background: var(--ivory);
  padding: clamp(22px, 2.4vw, 34px) clamp(18px, 2vw, 28px);
}
.step__no {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--champagne);
  margin-bottom: 26px;
  display: block;
}
.step h3 { font-size: clamp(20px, 1.8vw, 25px); margin-bottom: 12px; }
.step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: none; border: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.25;
}
.faq__q i {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  position: relative;
  transition: transform 0.45s var(--ease);
}
.faq__q i::before, .faq__q i::after {
  content: ""; position: absolute; background: var(--ink-soft); left: 50%; top: 50%;
}
.faq__q i::before { width: 13px; height: 1px; transform: translate(-50%, -50%); }
.faq__q i::after { width: 1px; height: 13px; transform: translate(-50%, -50%); transition: opacity 0.3s; }
.faq__item.is-open .faq__q i { transform: rotate(90deg); }
.faq__item.is-open .faq__q i::after { opacity: 0; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.4s;
  opacity: 0;
}
.faq__item.is-open .faq__a { max-height: 420px; opacity: 1; }
.faq__a p { max-width: 70ch; padding-bottom: 26px; color: var(--ink-soft); font-size: 15px; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  text-align: center;
  padding-block: clamp(80px, 12vw, 150px);
}
.cta-band__bg {
  position: absolute; inset: 0;
  opacity: 0.32;
  background-size: cover; background-position: center;
  filter: saturate(0.7);
}
.cta-band > .wrap { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(36px, 5.4vw, 76px); margin-bottom: 18px; }
.cta-band h2 em { font-style: italic; color: var(--champagne-soft); }
.cta-band p { color: rgba(246, 242, 234, 0.7); max-width: 46ch; margin: 0 auto 32px; }
.cta-band .hero__actions { justify-content: center; }

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

.footer {
  background: var(--ink);
  color: rgba(246, 242, 234, 0.72);
  padding-block: clamp(52px, 7vw, 88px) 32px;
  font-size: 13px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(38px, 5vw, 64px);
  border-bottom: 1px solid rgba(246, 242, 234, 0.14);
}
.footer .brand__name { color: var(--ivory); }
.footer .brand__sub { color: rgba(246, 242, 234, 0.5); }
.footer__blurb { margin-top: 20px; max-width: 34ch; color: rgba(246, 242, 234, 0.55); font-size: 12.5px; line-height: 1.7; }
.footer h4 {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.45);
  margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a:hover { color: var(--ivory); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  padding-top: 26px;
  font-size: 11px;
  color: rgba(246, 242, 234, 0.42);
  letter-spacing: 0.04em;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brandcol { grid-column: span 2; }
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media video, .hero__media img, .phone--float, .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Inner pages (order, legal, builder)
   ========================================================================== */

.page-head {
  padding-block: clamp(48px, 7vw, 92px) clamp(30px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.page-head h1 { font-size: clamp(38px, 5.4vw, 72px); margin-top: 16px; }
.page-head p { max-width: 56ch; color: var(--ink-soft); margin-top: 18px; }

.prose { max-width: 78ch; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 2.2em 0 0.6em; }
.prose h3 { font-size: 20px; margin: 1.8em 0 0.5em; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.1em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.prose a { border-bottom: 1px solid rgba(22, 19, 15, 0.3); }
.prose .muted { color: var(--ink-soft); font-size: 13px; }

/* ---------- Forms ---------- */

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 940px) { .form-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 26px; }
.field label, .field-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.field .hint { font-size: 11.5px; color: var(--ink-soft); margin-top: 7px; letter-spacing: 0; text-transform: none; }
.input, .select, .textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(22, 19, 15, 0.26);
  border-radius: 0;
  padding: 11px 2px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.3s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316130f' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 26px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  position: relative;
  cursor: pointer;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block;
  border: 1px solid rgba(22, 19, 15, 0.22);
  padding: 11px 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease);
  background: var(--paper);
}
.choice input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--champagne); outline-offset: 2px; }

.form-note { font-size: 12px; color: var(--ink-soft); line-height: 1.6; }
.form-status {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  font-size: 13.5px;
  display: none;
  background: var(--paper);
}
.form-status.is-error { display: block; border-color: #a4442f; color: #8c3826; background: #fdf5f2; }
.form-status.is-ok { display: block; border-color: #4a6b4f; color: #365138; background: #f3f8f3; }

.side-card {
  border: 1px solid var(--line);
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--paper);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.side-card h3 { font-size: 23px; margin-bottom: 16px; }
.side-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; font-size: 13.5px; color: var(--ink-soft); }
.side-card li { display: flex; gap: 10px; }
.side-card li::before { content: "—"; color: var(--champagne); }
.side-card .total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px;
}
.side-card .total b { font-family: var(--serif); font-size: 34px; font-weight: 400; }

/* ---------- Invitation builder ---------- */

.builder {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 1020px) { .builder { grid-template-columns: 1fr; } }

.builder__preview {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
@media (max-width: 1020px) { .builder__preview { position: static; order: -1; } }

.builder__tabs { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.panel { display: none; }
.panel.is-active { display: block; }

.tpl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
.tpl-card {
  border: 1px solid rgba(22, 19, 15, 0.16);
  background: var(--paper);
  padding: 0;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.tpl-card.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.tpl-card__swatch { display: block; height: 74px; position: relative; overflow: hidden; }
.tpl-card__swatch span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.1em;
}
.tpl-card__label { display: block; padding: 10px 11px 12px; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.4; }

.photo-drop {
  border: 1px dashed rgba(22, 19, 15, 0.28);
  padding: 20px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
}
.photo-drop:hover { border-color: var(--ink); background: var(--paper); }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-drop img { max-height: 70px; margin: 0 auto 8px; object-fit: cover; }

.share-box {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 16px;
  display: none;
}
.share-box.is-visible { display: block; }
.share-box input {
  width: 100%; border: 0; background: transparent; font-size: 13px;
  padding: 8px 0; border-bottom: 1px solid var(--line); margin-bottom: 12px;
}
.share-box__row { display: flex; gap: 8px; }
.share-box__row .btn { padding: 12px 16px; font-size: 9.5px; flex: 1; }

/* Invitation render (phone screen) */
.inv {
  --inv-bg: #fbf8f2;
  --inv-ink: #2a2620;
  --inv-accent: #b08a5a;
  height: 100%;
  overflow-y: auto;
  background: var(--inv-bg);
  color: var(--inv-ink);
  scrollbar-width: none;
  font-family: var(--sans);
}
.inv::-webkit-scrollbar { display: none; }
.inv__photo {
  position: relative;
  height: 46%;
  min-height: 210px;
  background: linear-gradient(150deg, #e8dfd3, #d9cdbd);
  background-size: cover; background-position: center;
  display: grid; place-items: center;
  color: rgba(42, 38, 32, 0.35);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
}
.inv__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.22));
}
.inv__body { padding: 26px 24px 40px; text-align: center; }

.inv--ivory { background: #fbf7ee; }
.inv--ivory .inv__kicker { font-family: var(--sans); font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; color: #a08a68; }
.inv--ivory .inv__names { font-family: "Cormorant Garamond", serif; font-size: 34px; line-height: 1.08; margin: 14px 0 4px; }
.inv--ivory .inv__rule { width: 46px; height: 1px; background: #c9b294; margin: 18px auto; }
.inv--ivory .inv__date { font-family: "Cormorant Garamond", serif; font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; }
.inv--ivory .inv__venue { font-size: 11.5px; letter-spacing: 0.06em; color: #6f6558; margin-top: 10px; line-height: 1.6; }
.inv--ivory .inv__msg { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 15px; color: #6b6153; margin-top: 20px; line-height: 1.6; }
.inv--ivory .inv__cta { border-color: #b9a184; color: #6b5a44; }

.inv--minimal { background: #ffffff; }
.inv--minimal .inv__body { text-align: left; padding-top: 30px; }
.inv--minimal .inv__kicker { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: #111; border-bottom: 1px solid #111; display: inline-block; padding-bottom: 5px; }
.inv--minimal .inv__names { font-family: var(--sans); font-size: 27px; font-weight: 600; letter-spacing: -0.02em; margin: 18px 0 6px; line-height: 1.1; text-transform: uppercase; }
.inv--minimal .inv__rule { display: none; }
.inv--minimal .inv__date { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #111; }
.inv--minimal .inv__venue { font-size: 11.5px; color: #555; margin-top: 14px; }
.inv--minimal .inv__msg { font-size: 12.5px; color: #444; margin-top: 18px; line-height: 1.7; }
.inv--minimal .inv__cta { border-color: #111; color: #111; }
.inv--minimal .inv__rsvp { border-top: 1px solid #eee; }

.inv--botanical { background: #f4f7f1; color: #24331f; }
.inv--botanical .inv__body { background-image: radial-gradient(circle at 0 0, rgba(84, 110, 66, 0.09), transparent 42%), radial-gradient(circle at 100% 100%, rgba(84, 110, 66, 0.12), transparent 46%); }
.inv--botanical .inv__kicker { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: #5d7550; }
.inv--botanical .inv__names { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 31px; line-height: 1.1; margin: 14px 0 6px; }
.inv--botanical .inv__rule { width: 60px; height: 1px; background: #7d9a6b; margin: 16px auto; position: relative; }
.inv--botanical .inv__rule::before { content: "❧"; position: absolute; left: 50%; top: -13px; transform: translateX(-50%); background: #f4f7f1; padding: 0 8px; font-size: 12px; color: #7d9a6b; }
.inv--botanical .inv__date { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #3f5233; }
.inv--botanical .inv__venue { font-size: 11.5px; color: #55664a; margin-top: 10px; }
.inv--botanical .inv__msg { font-family: "Cormorant Garamond", serif; font-size: 14.5px; font-style: italic; color: #4a5b40; margin-top: 18px; line-height: 1.65; }
.inv--botanical .inv__cta { border-color: #7d9a6b; color: #4c6340; }

.inv__rsvp { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.08); }
.inv__cta {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 11px 22px;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
}
.inv__meta { margin-top: 22px; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.45; }

.phone__screen .inv { height: 100%; }

.qr-wrap { display: grid; place-items: center; gap: 10px; }
.qr-wrap img, .qr-wrap canvas { width: 132px; height: 132px; background: #fff; padding: 8px; }

/* ---------- Small utilities ---------- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 22px; }
.mt-3 { margin-top: 34px; }
.muted { color: var(--ink-soft); }
.tiny { font-size: 11px; letter-spacing: 0.06em; }
.nowrap { white-space: nowrap; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--ivory); padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line);
  padding: 6px 11px;
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
}
.badge--gold { border-color: rgba(176, 138, 90, 0.4); color: #8a6a41; background: rgba(176, 138, 90, 0.07); }
