/* ==========================================================================
   NWI Wedding DJ — "After Hours" design system
   Warm ink + bone + signal vermilion, with a champagne accent for the
   wedding moments. Display: Big Shoulders Display (designed for Chicago —
   the 219's big neighbor). Accent: Cormorant Garamond italic. Body: Hanken Grotesk.
   ========================================================================== */

:root {
  /* Color tokens */
  --ink: #0d0b0a;
  --ink-2: #15120f;
  --ink-3: #1f1a16;
  --ink-4: #2a241e;
  --line: rgba(243, 236, 224, 0.12);
  --line-strong: rgba(243, 236, 224, 0.24);
  --bone: #f3ece0;
  --bone-2: #e9e0d0;
  --bone-3: #ddd2bf;
  --mute: rgba(243, 236, 224, 0.68);
  --signal: #ff5b35;
  --signal-hot: #ff7550;
  --signal-ink: #b5331a; /* signal used as text on bone (AA) */
  --gold: #d8b57a;
  --on-bone: #15120f;
  --on-bone-mute: #5a5047;

  /* Type */
  --f-display: "Big Shoulders Display", "Oswald", Impact, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --t-fast: 180ms;
  --t: 320ms;

  /* Layout */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --r-sm: 8px;
  --r: 16px;
  --r-lg: 28px;
  --header-h: 76px;

  /* z-index scale */
  --z-base: 1;
  --z-sticky: 40;
  --z-header: 100;
  --z-menu: 200;
  --z-cursor: 900;
  --z-curtain: 1000;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--signal); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: calc(var(--z-curtain) + 1);
  background: var(--signal); color: var(--ink); padding: 12px 18px; border-radius: 999px;
  font-weight: 700; transform: translateY(-160%); transition: transform var(--t) var(--ease-out);
}
.skip-link:focus { transform: none; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 28px; height: 28px; }

/* Film grain — gives photos an analog, un-plastic feel */
.grain::after {
  content: "";
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.09;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 2;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(88px, 12vw, 168px); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.section--bone { background: var(--bone); color: var(--on-bone); }
.section--ink2 { background: var(--ink-2); }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.005em;
}
.h1 { font-size: clamp(3.4rem, 11.5vw, 11rem); }
.h2 { font-size: clamp(2.7rem, 7vw, 6.4rem); }
.h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 0.95; }
.serif-i {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--gold);
}
.section--bone .serif-i { color: var(--signal-ink); }
.display .serif-i { font-size: 0.92em; line-height: 0.9; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--signal); }
.section--bone .eyebrow { color: var(--on-bone-mute); }

.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--mute); max-width: 58ch; }
.section--bone .lede { color: var(--on-bone-mute); }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--mute); max-width: 62ch; }
.section--bone .prose p { color: var(--on-bone-mute); }
.prose strong { color: var(--bone); font-weight: 600; }
.section--bone .prose strong { color: var(--on-bone); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--bone); --btn-bd: var(--line-strong);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out), border-color var(--t) var(--ease-out), color var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
  touch-action: manipulation;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--btn-fill, var(--bone)); transform: translateY(102%);
  transition: transform 420ms var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: scale(0.97); }
.btn__label { display: inline-block; overflow: hidden; height: 1.25em; line-height: 1.25em; }
.btn__label > span { display: block; transition: transform 420ms var(--ease-out); text-shadow: 0 1.25em 0 currentColor; }
.btn:hover .btn__label > span, .btn:focus-visible .btn__label > span { transform: translateY(-1.25em); }
.btn .icon { width: 18px; height: 18px; transition: transform var(--t) var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(3px) rotate(-45deg); }

.btn--signal { --btn-bg: var(--signal); --btn-fg: var(--ink); --btn-bd: var(--signal); --btn-fill: var(--bone); }
.btn--signal:hover { box-shadow: 0 14px 40px -12px rgba(255, 91, 53, 0.6); }
.btn--ghost:hover, .btn--ghost:focus-visible { --btn-fg: var(--ink); border-color: var(--bone); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--bone); --btn-bd: var(--ink); --btn-fill: var(--signal); }
.btn--ink:hover { --btn-fg: var(--ink); }
.btn--ghost-ink { --btn-fg: var(--on-bone); --btn-bd: rgba(21, 18, 15, 0.25); --btn-fill: var(--ink); }
.btn--ghost-ink:hover { --btn-fg: var(--bone); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600;
  border-bottom: 1px solid currentColor; padding-bottom: 4px; min-height: 44px;
  transition: gap var(--t) var(--ease-out), color var(--t);
}
.link-arrow:hover { gap: 16px; color: var(--signal); }
.section--bone .link-arrow:hover { color: var(--signal-ink); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  height: var(--header-h);
  transition: transform 500ms var(--ease-out), background-color var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(13, 11, 10, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 12px; line-height: 1; min-height: 44px; }
.logo__mark { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.logo__mark i { width: 4px; border-radius: 2px; background: var(--signal); animation: eq 1.1s var(--ease-io) infinite alternate; }
.logo__mark i:nth-child(1) { height: 40%; animation-delay: -0.2s; }
.logo__mark i:nth-child(2) { height: 90%; animation-delay: -0.6s; }
.logo__mark i:nth-child(3) { height: 60%; animation-delay: -0.9s; }
.logo__mark i:nth-child(4) { height: 100%; animation-delay: -0.4s; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { white-space: nowrap; font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; letter-spacing: 0.02em; text-transform: uppercase; }
.logo__sub { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }
@keyframes eq { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
.logo__mark i { transform-origin: bottom; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 0.9375rem; font-weight: 500; color: var(--mute); transition: color var(--t);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--signal);
  transform: scaleX(0); transform-origin: right; transition: transform 400ms var(--ease-out);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--bone); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9375rem; min-height: 44px; padding: 0 8px; font-variant-numeric: tabular-nums; }
.header__phone:hover { color: var(--signal); }
.header .btn { min-height: 46px; padding: 0 20px; }

/* Language switch — always visible, every page */
.lang {
  position: relative; display: inline-flex; align-items: center; padding: 4px; gap: 2px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(13, 11, 10, 0.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lang__icon { width: 16px; height: 16px; margin: 0 4px 0 8px; color: var(--mute); }
.lang__btn {
  position: relative; z-index: 1; min-width: 44px; min-height: 36px; padding: 0 10px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; color: var(--mute);
  transition: color var(--t);
}
.lang__btn[aria-pressed="true"] { color: var(--ink); }
.lang__pill {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 44px; border-radius: 999px; background: var(--bone);
  transition: transform 420ms var(--ease-out), width 420ms var(--ease-out);
}
.lang__hint { font-size: 0.75rem; color: var(--mute); margin-left: 4px; margin-right: 8px; }

.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--bone); transition: transform 400ms var(--ease-out), opacity var(--t); }
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--ink);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  clip-path: circle(0% at calc(100% - 40px) 38px); visibility: hidden;
  transition: clip-path 700ms var(--ease-io), visibility 0s 700ms;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; transition: clip-path 800ms var(--ease-io), visibility 0s; }
.menu-open .header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; z-index: calc(var(--z-menu) + 1); transform: none; }
.mobile-menu__links a {
  display: block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 15vw, 5rem); line-height: 1; padding: 6px 0;
  opacity: 0; transform: translateY(40px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out), color var(--t);
}
.mobile-menu__links a[aria-current="page"] { color: var(--signal); }
.menu-open .mobile-menu__links a { opacity: 1; transform: none; }
.menu-open .mobile-menu__links li:nth-child(1) a { transition-delay: 200ms; }
.menu-open .mobile-menu__links li:nth-child(2) a { transition-delay: 260ms; }
.menu-open .mobile-menu__links li:nth-child(3) a { transition-delay: 320ms; }
.menu-open .mobile-menu__links li:nth-child(4) a { transition-delay: 380ms; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 14px; }
.mobile-menu__foot .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 clamp(40px, 6vw, 80px); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.12); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 11, 10, 0.55) 0%, rgba(13, 11, 10, 0.1) 30%, rgba(13, 11, 10, 0.4) 62%, var(--ink) 100%),
    radial-gradient(130% 90% at 0% 100%, rgba(13, 11, 10, 0.92) 0%, rgba(13, 11, 10, 0.55) 45%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hero__title .line { display: block; overflow: hidden; padding: 0.1em 0.06em 0.06em 0; margin: -0.1em 0 -0.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .serif-i { padding-right: 0.08em; }
.hero__sub { text-shadow: 0 1px 18px rgba(13, 11, 10, 0.8); margin-top: 28px; max-width: 46ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: rgba(243, 236, 224, 0.84); }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.now-playing {
  width: 300px; padding: 20px; border-radius: var(--r); border: 1px solid var(--line-strong);
  background: rgba(13, 11, 10, 0.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.now-playing__top { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.now-playing__live { display: inline-flex; align-items: center; gap: 8px; color: var(--signal); }
.now-playing__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }
.now-playing__track { margin-top: 14px; font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; line-height: 1; min-height: 1.6rem; }
.now-playing__meta { margin-top: 6px; font-size: 0.875rem; color: var(--mute); }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 44px; margin-top: 16px; }
.eq i { flex: 1; background: linear-gradient(to top, var(--signal), var(--gold)); border-radius: 2px; transform-origin: bottom; animation: eq 0.9s var(--ease-io) infinite alternate; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mute); }
.scroll-cue::after { content: ""; width: 1px; height: 44px; background: linear-gradient(var(--bone), transparent); animation: cue 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Sub-page hero */
.page-hero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 64px) 0 clamp(48px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.page-hero .hero__media img { object-position: center; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 11, 10, 0.65) 0%, rgba(13, 11, 10, 0.45) 45%, var(--ink) 100%),
    radial-gradient(120% 90% at 0% 100%, rgba(13, 11, 10, 0.85) 0%, rgba(13, 11, 10, 0.4) 50%, transparent 75%);
}
.page-hero .lede { margin-top: 24px; color: rgba(243, 236, 224, 0.9); text-shadow: 0 1px 18px rgba(13, 11, 10, 0.8); }
.crumbs { display: flex; gap: 10px; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-bottom: 24px; }
.crumbs a:hover { color: var(--signal); }

/* ---------- Marquee ---------- */
.marquee-band { position: relative; z-index: 2; padding-block: 8px; overflow: hidden; }
.marquee {
  display: flex; overflow: hidden; user-select: none;
  background: var(--signal); color: var(--ink); transform: rotate(-2deg) scale(1.04); margin-block: 28px;
}
.marquee--bone { background: var(--bone); transform: rotate(1.5deg) scale(1.04); margin-top: -64px; }
.marquee__track { display: flex; flex: none; align-items: center; gap: 36px; padding: 18px 18px; white-space: nowrap; will-change: transform; }
.marquee__item { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.8rem); text-transform: uppercase; line-height: 1; }
.marquee__item--serif { font-family: var(--f-serif); font-style: italic; font-weight: 500; text-transform: none; }
.marquee__sep { width: 22px; height: 22px; flex: none; }

/* ---------- Statement (scroll-lit words) ---------- */
.statement { font-size: clamp(1.75rem, 4.3vw, 3.9rem); line-height: 1.1; font-weight: 500; letter-spacing: -0.025em; max-width: 22ch; }
.statement .w { opacity: 1; transition: opacity 0.2s; }
.statement em { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--gold); letter-spacing: -0.01em; }
.statement-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(64px, 9vw, 120px); }
.stat { padding: 32px 24px 0 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 0.9; color: var(--signal); font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 12px; color: var(--mute); font-size: 0.9375rem; max-width: 22ch; }

/* ---------- Section heads ---------- */
.head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: clamp(48px, 6vw, 88px); }
.head .eyebrow { margin-bottom: 22px; }
.head__aside { max-width: 40ch; color: var(--mute); }
.section--bone .head__aside { color: var(--on-bone-mute); }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.feature {
  position: relative; grid-column: span 6; min-height: 520px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
}
.feature:nth-child(1) { grid-column: span 7; }
.feature:nth-child(2) { grid-column: span 5; }
.feature:nth-child(3) { grid-column: span 5; }
.feature:nth-child(4) { grid-column: span 7; }
.feature__img { position: absolute; inset: 0; z-index: -2; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out); filter: saturate(0.85); }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 11, 10, 0.05) 20%, rgba(13, 11, 10, 0.92) 100%); }
.feature:hover .feature__img img { transform: scale(1.06); filter: saturate(1.1); }
.feature__num { position: absolute; top: clamp(24px, 3vw, 40px); left: clamp(24px, 3vw, 40px); font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(13, 11, 10, 0.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.feature h3 { margin-bottom: 12px; }
.feature p { color: rgba(243, 236, 224, 0.82); max-width: 44ch; }
.feature__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; border: 1px solid var(--line-strong); color: var(--bone); }

/* ---------- Timeline (horizontal pin) ---------- */
.timeline { overflow: hidden; }
.timeline__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.timeline__progress { width: 220px; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.timeline__progress i { position: absolute; inset: 0; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.timeline__track { display: flex; gap: 20px; margin-top: clamp(48px, 6vw, 80px); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: var(--gutter); width: max-content; will-change: transform; }
.moment { width: clamp(300px, 32vw, 460px); flex: none; }
.moment__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; }
.moment__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.moment__time { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.08em; }
.moment__body { padding-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.moment__n { grid-row: span 2; font-family: var(--f-display); font-weight: 800; font-size: 3rem; line-height: 0.8; color: var(--signal); }
.moment h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: 0.95; }
.moment p { color: var(--mute); font-size: 0.975rem; }

/* ---------- Packages ---------- */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pkg {
  position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-lg);
  background: var(--bone-2); color: var(--on-bone); border: 1px solid rgba(21, 18, 15, 0.08);
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.pkg:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(21, 18, 15, 0.45); }
.pkg--feature { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.pkg__badge { position: absolute; top: 24px; right: 24px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--signal); color: var(--ink); }
.pkg__tier { font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; text-transform: uppercase; line-height: 1; }
.pkg__hours { margin-top: 6px; font-size: 0.875rem; color: var(--on-bone-mute); }
.pkg--feature .pkg__hours, .pkg--feature .pkg__list li { color: var(--mute); }
.pkg__price { margin-top: 28px; display: flex; align-items: flex-start; gap: 4px; font-family: var(--f-display); font-weight: 800; line-height: 0.85; font-variant-numeric: tabular-nums; }
.pkg__price sup { font-size: 1.8rem; margin-top: 8px; }
.pkg__price span { font-size: clamp(4.5rem, 7vw, 6rem); }
.pkg__list { margin: 28px 0 32px; display: grid; gap: 12px; border-top: 1px solid rgba(21, 18, 15, 0.12); padding-top: 24px; }
.pkg--feature .pkg__list { border-color: var(--line); }
.pkg__list li { display: flex; gap: 12px; color: var(--on-bone-mute); font-size: 0.975rem; }
.pkg__list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--signal-ink); }
.pkg--feature .pkg__list .icon { color: var(--signal); }
.pkg .btn { margin-top: auto; }
.pkg-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--on-bone-mute); font-size: 0.9375rem; }
.pkg-note span { display: inline-flex; align-items: center; gap: 8px; }
.pkg-note .icon { color: var(--signal-ink); width: 18px; height: 18px; }

/* Ceremony / add-on rows */
.rows { border-top: 1px solid var(--line); }
.section--bone .rows { border-color: rgba(21, 18, 15, 0.14); }
.row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding var(--t) var(--ease-out); }
.section--bone .row { border-color: rgba(21, 18, 15, 0.14); }
.row:hover { padding-left: 12px; }
.row__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.9rem); text-transform: uppercase; line-height: 1; }
.row__desc { margin-top: 6px; color: var(--mute); font-size: 0.9375rem; max-width: 60ch; }
.section--bone .row__desc { color: var(--on-bone-mute); }
.row__price { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--signal); font-variant-numeric: tabular-nums; white-space: nowrap; }
.section--bone .row__price { color: var(--signal-ink); }
.row__price small { font-size: 0.5em; font-weight: 600; color: var(--mute); margin-left: 4px; letter-spacing: 0.04em; }

/* ---------- Estimator ---------- */
.estimator { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.est-group { border: 0; margin: 0 0 40px; padding: 0; }
.est-group legend { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; margin-bottom: 16px; padding: 0; }
.est-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.opt__box {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 18px 16px; border-radius: var(--r);
  border: 1px solid rgba(21, 18, 15, 0.16); background: var(--bone); transition: border-color var(--t), background var(--t), transform var(--t-fast) var(--ease-out), box-shadow var(--t);
}
.opt__title { font-weight: 700; font-size: 0.975rem; line-height: 1.3; padding-right: 26px; }
.opt__price { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: var(--signal-ink); font-variant-numeric: tabular-nums; }
.opt__check { position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(21, 18, 15, 0.3); display: grid; place-items: center; transition: background var(--t), border-color var(--t); }
.opt__check::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bone); transform: scale(0); transition: transform var(--t) var(--ease-out); }
.opt input[type="checkbox"] ~ .opt__check { border-radius: 6px; }
.opt input:checked ~ .opt__box { border-color: var(--ink); background: #fff8ee; box-shadow: 0 0 0 1px var(--ink); }
.opt input:checked ~ .opt__check { background: var(--ink); border-color: var(--ink); }
.opt input:checked ~ .opt__check::after { transform: scale(1); }
.opt input:focus-visible ~ .opt__box { outline: 2px solid var(--signal-ink); outline-offset: 3px; }
.opt:hover .opt__box { border-color: rgba(21, 18, 15, 0.45); }
.opt:active .opt__box { transform: scale(0.985); }

.stepper { display: inline-flex; align-items: center; border: 1px solid rgba(21, 18, 15, 0.2); border-radius: 999px; background: var(--bone); }
.stepper button { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; font-weight: 600; transition: background var(--t); }
.stepper button:hover { background: var(--bone-3); }
.stepper output { min-width: 48px; text-align: center; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.qty-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 18px; border: 1px solid rgba(21, 18, 15, 0.16); border-radius: var(--r); background: var(--bone); }
.qty-row + .qty-row { margin-top: 10px; }
.qty-row__label { font-weight: 700; }
.qty-row__label small { display: block; font-weight: 500; color: var(--on-bone-mute); font-size: 0.875rem; }
.est-help { margin-top: 10px; font-size: 0.875rem; color: var(--on-bone-mute); }

.summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: var(--r-lg); background: var(--ink); color: var(--bone); }
.summary__label { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.summary__total { margin-top: 10px; font-family: var(--f-display); font-weight: 800; font-size: clamp(4rem, 6vw, 5.6rem); line-height: 0.85; color: var(--signal); font-variant-numeric: tabular-nums; }
.summary__lines { margin: 24px 0; padding: 20px 0; border-block: 1px solid var(--line); display: grid; gap: 10px; font-size: 0.9375rem; }
.summary__lines li { display: flex; justify-content: space-between; gap: 16px; color: var(--mute); }
.summary__lines li span:last-child { color: var(--bone); font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary__fine { margin-top: 16px; font-size: 0.8125rem; color: var(--mute); }
.summary .btn + .btn { margin-top: 10px; }

/* ---------- Split / media blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev .split__media { order: 2; }
.media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.media img { width: 100%; height: 115%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 10; }
.media__cap { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(13, 11, 10, 0.65); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 0.8125rem; font-weight: 600; }
.split__body .eyebrow { margin-bottom: 22px; }
.split__body .h2 { margin-bottom: 28px; }
.split__body .btn, .split__body .link-arrow { margin-top: 32px; }

.checks { display: grid; gap: 14px; margin-top: 28px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .icon { color: var(--signal); margin-top: 3px; }
.section--bone .checks .icon { color: var(--signal-ink); }

/* Bilingual band */
.bilingual { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 560px; display: flex; align-items: center; isolation: isolate; padding: clamp(32px, 6vw, 88px); }
.bilingual__bg { position: absolute; inset: 0; z-index: -2; }
.bilingual__bg img { width: 100%; height: 120%; object-fit: cover; }
.bilingual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 11, 10, 0.94) 0%, rgba(13, 11, 10, 0.7) 55%, rgba(13, 11, 10, 0.25) 100%); }
.bilingual__inner { max-width: 640px; }
.bilingual .h2 { margin: 20px 0 24px; }
.bilingual .hero__ctas { margin-top: 32px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.gallery__col { display: grid; gap: 16px; }
.gallery__col:nth-child(2) { margin-top: 120px; }
.gallery__col:nth-child(3) { margin-top: 40px; }
.gallery figure { position: relative; border-radius: var(--r); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .tall { aspect-ratio: 3 / 4; }
.gallery .wide { aspect-ratio: 4 / 3; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 36px 32px 40px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--ink-2); position: relative; overflow: hidden; transition: border-color var(--t), transform 500ms var(--ease-out); }
.step:hover { border-color: var(--line-strong); transform: translateY(-6px); }
.step__n { font-family: var(--f-display); font-weight: 800; font-size: 5.5rem; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.step:hover .step__n { -webkit-text-stroke-color: var(--signal); }
.step h3 { margin: 28px 0 12px; font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.step p { color: var(--mute); }

/* Big CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 120%; object-fit: cover; opacity: 0.4; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(13, 11, 10, 0.4), var(--ink) 92%); }
.cta .h1 { font-size: clamp(3.4rem, 12vw, 12rem); }
.cta .lede { margin: 28px auto 0; }
.quick-form { margin: 48px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 10px; text-align: left; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.field label .req { color: var(--signal); }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--r-sm);
  background: rgba(243, 236, 224, 0.05); border: 1px solid var(--line-strong); color: var(--bone);
  font-size: 1rem; transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.input::placeholder, .textarea::placeholder { color: rgba(243, 236, 224, 0.42); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(243, 236, 224, 0.4); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--signal); background: rgba(243, 236, 224, 0.08); box-shadow: 0 0 0 3px rgba(255, 91, 53, 0.22); }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23f3ece0' stroke-width='1.8'><path d='M1 1.5l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.select option { background: var(--ink-2); color: var(--bone); }
.textarea { min-height: 140px; resize: vertical; }
.input[type="date"] { color-scheme: dark; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: #ff8a70; }
.field__error { font-size: 0.875rem; color: #ffa08a; min-height: 0; }
.field__help { font-size: 0.875rem; color: var(--mute); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-status { margin-top: 16px; padding: 16px 18px; border-radius: var(--r-sm); font-weight: 500; display: none; }
.form-status.is-ok { display: block; background: rgba(120, 200, 140, 0.12); border: 1px solid rgba(120, 200, 140, 0.4); color: #bfe8c8; }
.form-status.is-err { display: block; background: rgba(255, 91, 53, 0.12); border: 1px solid rgba(255, 91, 53, 0.4); color: #ffc0b0; }
.form-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.info-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--bone); color: var(--on-bone); }
.info-card .eyebrow { color: var(--on-bone-mute); }
.info-phone { display: block; margin: 14px 0 6px; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 0.9; color: var(--on-bone); transition: color var(--t); font-variant-numeric: tabular-nums; }
.info-phone:hover { color: var(--signal-ink); }
.info-list { margin-top: 28px; display: grid; gap: 20px; border-top: 1px solid rgba(21, 18, 15, 0.14); padding-top: 24px; }
.info-list li { display: flex; gap: 14px; }
.info-list .icon { color: var(--signal-ink); margin-top: 3px; }
.info-list strong { display: block; font-weight: 700; }
.info-list span { color: var(--on-bone-mute); font-size: 0.975rem; }
.map { margin-top: 16px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 7; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9) sepia(0.15); }

/* FAQ */
.faq { border-top: 1px solid rgba(21, 18, 15, 0.14); }
.faq details { border-bottom: 1px solid rgba(21, 18, 15, 0.14); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; min-height: 44px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.35rem, 2.2vw, 1.8rem); text-transform: uppercase; line-height: 1.05; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(21, 18, 15, 0.25); flex: none; transition: transform 400ms var(--ease-out), background var(--t); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 400ms var(--ease-out); }
.faq details[open] summary .plus { background: var(--ink); color: var(--bone); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--signal-ink); }
.faq__body { padding: 0 0 28px; max-width: 70ch; color: var(--on-bone-mute); }

/* ---------- Footer ---------- */
.footer { position: relative; padding-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); overflow: hidden; }
.footer__big { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(4rem, 17vw, 17rem); line-height: 0.8; letter-spacing: -0.01em; white-space: nowrap; }
.footer__big .serif-i { font-size: 0.9em; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-top: clamp(56px, 7vw, 96px); padding-bottom: 56px; }
.footer h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.footer ul { display: grid; gap: 4px; }
.footer ul a { display: inline-flex; align-items: center; min-height: 36px; color: var(--bone); transition: color var(--t); }
.footer ul a:hover { color: var(--signal); }
.footer__about p { color: var(--mute); max-width: 36ch; margin-top: 18px; }
.footer__phone { display: inline-block; margin-top: 22px; font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; line-height: 1; transition: color var(--t); }
.footer__phone:hover { color: var(--signal); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 32px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--mute); }

/* Emanna Digital credit pill — agency signature; gold glow stays hardcoded */
.footer-credit-bubble {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 1.1rem 0.45rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: rgba(243, 236, 224, 0.8);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 220ms var(--ease-out), border-color 220ms var(--ease-out), transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.footer-credit-bubble:hover, .footer-credit-bubble:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
  box-shadow:
    0 10px 28px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(169, 128, 63, 0.25),
    0 0 22px 4px rgba(169, 128, 63, 0.45),
    0 0 46px 10px rgba(169, 128, 63, 0.22);
}
.footer-credit-bubble:hover img, .footer-credit-bubble:focus-visible img { filter: drop-shadow(0 0 6px rgba(169, 128, 63, 0.65)); }
.footer-credit-bubble img { height: 24px; width: auto; display: block; transition: filter 220ms var(--ease-out); }
.footer-credit-bubble strong { color: var(--gold); font-weight: 700; }

/* ---------- Global chrome: progress, cursor, curtain, mobile bar, toast ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: calc(var(--z-header) + 1); background: var(--signal); transform: scaleX(0); transform-origin: left; pointer-events: none; }

.cursor { position: fixed; top: 0; left: 0; z-index: var(--z-cursor); pointer-events: none; display: none; }
.cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--signal); }
.cursor__ring { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid rgba(243, 236, 224, 0.5); transition: width 300ms var(--ease-out), height 300ms var(--ease-out), margin 300ms var(--ease-out), background 300ms, border-color 300ms; }
.cursor.is-link .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(255, 91, 53, 0.12); border-color: var(--signal); }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor { display: block; } }

.curtain { position: fixed; inset: 0; z-index: var(--z-curtain); pointer-events: none; display: grid; place-items: center; background: var(--ink); visibility: hidden; }
.curtain .logo__mark { height: 54px; gap: 6px; }
.curtain .logo__mark i { width: 8px; border-radius: 4px; }
.js .curtain { visibility: visible; }

.mobile-bar { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: var(--z-sticky); transform: translate(-50%, 160%);
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 999px;
  background: var(--bone); color: var(--ink); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  transition: transform 600ms var(--ease-out), visibility 0s 600ms; max-width: calc(100% - 32px); visibility: hidden;
  transform: translate(-50%, calc(100% + 140px));
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform 600ms var(--ease-out), visibility 0s; }
.toast p { font-weight: 600; font-size: 0.9375rem; }
.toast .btn { min-height: 44px; padding: 0 18px; }
.toast__x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.toast__x:hover { background: var(--bone-3); }

/* ---------- Reveal defaults (JS sets these in motion) ---------- */
.js [data-reveal] { opacity: 0; }
.js.no-motion [data-reveal], .js.motion-fallback [data-reveal] { opacity: 1; }
.js .hero [data-hero] { opacity: 0; }
.js.no-motion .hero [data-hero], .js.motion-fallback .hero [data-hero] { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header__phone span { display: none; }
  .lang__hint { display: none; }
}
@media (max-width: 1024px) {
  .nav, .header__phone, .header .btn--signal { display: none; }
  .menu-toggle { display: block; }
  .header__actions { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .now-playing { width: 100%; max-width: 360px; }
  .statement-wrap { grid-template-columns: 1fr; gap: 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 16px 28px 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
  .features .feature { grid-column: span 12 !important; min-height: 440px; }
  .pkgs { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .estimator { grid-template-columns: 1fr; }
  .summary { position: relative; top: 0; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .media { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .quick-form { grid-template-columns: 1fr 1fr; }
  .quick-form .btn { grid-column: 1 / -1; }
  .head { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  /* Timeline becomes a native swipe row on small screens */
  .timeline__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 12px; padding-left: var(--gutter); scrollbar-width: none; }
  .timeline__track::-webkit-scrollbar { display: none; }
  .moment { width: 78vw; max-width: 380px; scroll-snap-align: start; }
  .timeline__progress { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__col:nth-child(3) { display: none; }
  .gallery__col:nth-child(2) { margin-top: 60px; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; padding-bottom: 76px; }
  .logo__name { font-size: 1.3rem; }
  .logo { gap: 9px; }
  .header__inner { gap: 10px; }
  .logo__sub { display: none; }
  .lang__icon { display: none; }
  .lang__btn { min-width: 40px; padding: 0 8px; }
  .lang__pill { width: 40px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .now-playing { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .quick-form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .bilingual { min-height: 0; padding: 32px 24px; }
  .bilingual::before { background: linear-gradient(180deg, rgba(13, 11, 10, 0.6), rgba(13, 11, 10, 0.95)); }
  .map { aspect-ratio: 4 / 3; }
  .toast { bottom: 88px; }
  .feature { min-height: 400px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(13, 11, 10, 0.88);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { min-height: 52px; padding: 0 14px; letter-spacing: 0.06em; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero__media img { transform: none; }
  .moment__img img { transform: none; }
}

/* ---------- Language labels ---------- */
.lang__short { display: none; }
@media (min-width: 1025px) and (max-width: 1240px), (max-width: 480px) {
  .lang__long { display: none; }
  .lang__short { display: inline; }
}

/* ---------- Service cards (About) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { display: flex; flex-direction: column; gap: 14px; }
.svc__img { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 8px; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out); filter: saturate(0.85); }
.svc:hover .svc__img img { transform: scale(1.06); filter: saturate(1.1); }
.svc h3 { font-size: 1.9rem; line-height: 0.95; }
.svc p { color: var(--mute); }
.svc .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 1024px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .svc__img { aspect-ratio: 4 / 3; } }

/* ---------- Timeline: fit the pinned view on desktop ---------- */
@media (min-width: 900px) {
  .timeline { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 24px) 48px; }
  .timeline__track { margin-top: clamp(32px, 4vh, 56px); }
  .moment { width: clamp(280px, 40vh, 440px); }
  .moment__img { aspect-ratio: 1 / 1.05; }
}

/* ---------- Safety nets: if scripts never load, nothing stays hidden ---------- */
@keyframes safety-show { to { opacity: 1; } }
@keyframes safety-hide { to { visibility: hidden; } }
.js:not(.motion-ready) [data-reveal], .js:not(.motion-ready) .hero [data-hero] { animation: safety-show 0.4s ease 2.5s forwards; }
.js .curtain { animation: safety-hide 0s linear 3s forwards; }

/* Spanish headlines run longer — keep the hero on three lines */
html[lang="es"] .hero .h1 { font-size: clamp(2.9rem, 8.6vw, 8.6rem); }

/* Wedding hero: keep the bride centered at every width */
/* Wide screens: widen the photo and anchor it left so the couple lands right of the headline */
@media (min-aspect-ratio: 5/4) {
  .hero .hero__media img { width: 130%; max-width: none; object-position: 0% 32%; transform-origin: 35% 40%; }
}
/* Tall screens (phones, portrait tablets): keep the couple centered inside the flower arch */
@media (max-aspect-ratio: 5/4) {
  .hero .hero__media img { object-position: 52% 50%; transform-origin: 50% 35%; }
}

.footer__addr { display: inline-flex; align-items: center; min-height: 36px; color: var(--bone); }
/* Phones get a tall crop of the floral-arch photo; lift it so the couple clears the headline */
@media (max-width: 720px) {
  .hero .hero__media img { position: absolute; left: 0; bottom: 0; height: 116%; object-position: 47% 100%; transform-origin: 47% 30%; }
}

/* ---------- NWI badge logo ---------- */
.logo__img { width: 56px; height: 56px; flex: none; border-radius: 50%; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45)); transition: transform 900ms var(--ease-out); }
.logo:hover .logo__img, .logo:focus-visible .logo__img { transform: rotate(360deg); }
.logo__img--lg { width: 88px; height: 88px; }
.curtain__logo { width: 132px; height: 132px; border-radius: 50%; animation: spin-record 1.6s linear infinite; }
@keyframes spin-record { to { transform: rotate(360deg); } }
@media (max-width: 720px) {
  .logo__img { width: 48px; height: 48px; }
}
@media (max-width: 420px) {
  .header .logo__text { display: none; }
}

/* Bright daytime hero: darken the headline side so white type keeps its contrast */
.hero::before {
  background:
    linear-gradient(90deg, rgba(13, 11, 10, 0.78) 0%, rgba(13, 11, 10, 0.45) 40%, rgba(13, 11, 10, 0.05) 68%),
    linear-gradient(180deg, rgba(13, 11, 10, 0.55) 0%, rgba(13, 11, 10, 0.1) 28%, rgba(13, 11, 10, 0.35) 62%, var(--ink) 100%);
}
@media (max-aspect-ratio: 5/4) {
  .hero::before {
    background: linear-gradient(180deg, rgba(13, 11, 10, 0.5) 0%, rgba(13, 11, 10, 0.15) 25%, rgba(13, 11, 10, 0.55) 52%, rgba(13, 11, 10, 0.88) 78%, var(--ink) 100%);
  }
}
