/* =====================================================================
   Candid Expressions Photography — styles
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #f7f1e8;
  --bg-alt: #efe5d6;
  --surface: #fffaf3;
  --ink: #1f1611;
  --ink-soft: #5a483b;
  --muted: #6b5a4c;
  --line: rgba(31, 22, 17, 0.12);
  --line-strong: rgba(31, 22, 17, 0.22);
  --veil: rgba(247, 241, 232, 0.9);
  --veil-alt: rgba(239, 229, 214, 0.93);
  --veil-dark: rgba(20, 15, 11, 0.86);
  --backdrop-pos: 50% 10%;
  --accent: #8f4a1c;
  --accent-hover: #7a3f17;
  --accent-ink: #ffffff;
  --accent-soft: #f2dfca;
  --dark: #17110d;
  --dark-2: #241a14;
  --dark-ink: #f4eadd;
  --dark-muted: rgba(244, 234, 221, 0.66);
  --dark-line: rgba(244, 234, 221, 0.14);
  --wa: #15753a;
  --wa-hover: #10612f;
  --shadow-sm: 0 1px 2px rgba(31, 22, 17, 0.06), 0 2px 8px rgba(31, 22, 17, 0.05);
  --shadow: 0 10px 30px -10px rgba(31, 22, 17, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(31, 22, 17, 0.35);

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);

  --grain: 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='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14100d;
    --bg-alt: #1a1511;
    --surface: #1f1914;
    --ink: #f3e9dc;
    --ink-soft: #cdbba9;
    --muted: #9c8877;
    --line: rgba(243, 233, 220, 0.1);
    --line-strong: rgba(243, 233, 220, 0.2);
    --veil: rgba(20, 16, 13, 0.9);
    --veil-alt: rgba(26, 21, 17, 0.93);
    --veil-dark: rgba(10, 8, 6, 0.88);
    --accent: #d98a4e;
    --accent-hover: #e69b60;
    --accent-ink: #1a110b;
    --accent-soft: #3a2719;
    --dark: #0f0b08;
    --dark-2: #1a130e;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14100d;
  --bg-alt: #1a1511;
  --surface: #1f1914;
  --ink: #f3e9dc;
  --ink-soft: #cdbba9;
  --muted: #9c8877;
  --line: rgba(243, 233, 220, 0.1);
  --line-strong: rgba(243, 233, 220, 0.2);
  --veil: rgba(20, 16, 13, 0.9);
  --veil-alt: rgba(26, 21, 17, 0.93);
  --veil-dark: rgba(10, 8, 6, 0.88);
  --accent: #d98a4e;
  --accent-hover: #e69b60;
  --accent-ink: #1a110b;
  --accent-soft: #3a2719;
  --dark: #0f0b08;
  --dark-2: #1a130e;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
em, .italic { font-style: italic; }
h1 em, h2 em { font-style: italic; color: var(--accent); }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
/* Site-wide backdrop: the bride on the bougainvillea staircase (images/backdrop.jpg) stays fixed behind
   every page while the content scrolls over it. Sections sit on a light veil so text
   stays readable; .section--clear lets the backdrop show through, and .photo-window
   shows its own photo. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("../images/backdrop.jpg") var(--backdrop-pos) / cover no-repeat, #2a221b;
}
@media (max-width: 719px) { :root { --backdrop-pos: 55% 50%; } }

.section { padding-block: var(--section); position: relative; background: var(--veil); }
.section--alt { background: var(--veil-alt); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--dark { background: var(--veil-dark); color: var(--dark-ink); }
.section--clear { background: transparent; }
.section--dark .lead, .section--dark .muted { color: var(--dark-muted); }
.grain { position: relative; isolation: isolate; }
.grain::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.6; pointer-events: none; z-index: -1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: #e3a26f; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head.center { margin-inline: auto; }
.section-head h2 + .lead { margin-top: 18px; }
.split-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: end; justify-content: space-between; margin-bottom: clamp(36px, 5vw, 56px); }
.split-head .section-head { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-ink: var(--bg); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-ink); border: 1px solid var(--btn-bd);
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { --btn-bg: var(--accent); --btn-ink: var(--accent-ink); }
.btn--primary:hover { --btn-bg: var(--accent-hover); }
.btn--ghost { --btn-bg: transparent; --btn-ink: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: var(--dark-ink); --btn-ink: #1a120d; }
.btn--outline-light { --btn-bg: transparent; --btn-ink: var(--dark-ink); --btn-bd: rgba(244, 234, 221, 0.4); }
.btn--outline-light:hover { --btn-bd: var(--dark-ink); box-shadow: none; }
.btn--wa { --btn-bg: var(--wa); --btn-ink: #fff; }
.btn--wa:hover { --btn-bg: var(--wa-hover); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--accent);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center;
  transition: background-color 0.4s, box-shadow 0.4s, color 0.4s, transform 0.5s var(--ease), opacity 0.6s;
  color: var(--ink);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled, body:not(.has-dark-hero) .site-header {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
body.has-dark-hero .site-header:not(.is-scrolled) { color: var(--dark-ink); }
body.intro-playing .site-header { opacity: 0; transform: translateY(-12px); pointer-events: none; }

.brand { display: inline-flex; align-items: center; text-decoration: none; color: inherit; flex: none; }
.brand__logo { display: block; width: auto; height: 46px; max-width: none; }
.brand--footer .brand__logo { height: clamp(72px, 9vw, 96px); }
@media (min-width: 1080px) { .brand--header .brand__logo { height: 54px; } }
/* Header: colour logo on light backgrounds, light logo over dark ones. */
.brand__logo--on-dark { display: none; }
body.has-dark-hero .site-header:not(.is-scrolled) .brand__logo--on-light,
.menu-open .site-header .brand__logo--on-light { display: none; }
body.has-dark-hero .site-header:not(.is-scrolled) .brand__logo--on-dark,
.menu-open .site-header .brand__logo--on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__logo--on-light { display: none; }
  :root:not([data-theme="light"]) .brand__logo--on-dark { display: block; }
}
:root[data-theme="dark"] .brand__logo--on-light { display: none; }
:root[data-theme="dark"] .brand__logo--on-dark { display: block; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative; display: inline-block; padding: 8px 12px; font-size: 0.9rem; font-weight: 500; text-decoration: none; opacity: 0.85;
  transition: opacity 0.2s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { opacity: 1; }
.header-cta { display: none; }

.menu-toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: transparent;
  display: grid; place-items: center; color: inherit; opacity: 0.9;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: background 0.2s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--dark); color: var(--dark-ink);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s; overflow-y: auto;
}
.mobile-menu::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.6; pointer-events: none; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-open .site-header { color: var(--dark-ink); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mobile-menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; position: relative; }
.mobile-menu li { counter-increment: m; border-bottom: 1px solid var(--dark-line); }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.1;
  transform: translateY(16px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.2s;
}
.mobile-menu li a::before { content: "0" counter(m); font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.15em; color: #e3a26f; }
.mobile-menu li a[aria-current="page"] { color: #e3a26f; font-style: italic; }
.menu-open .mobile-menu li a { transform: none; opacity: 1; }
.menu-open .mobile-menu li:nth-child(1) a { transition-delay: 0.05s; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: 0.09s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: 0.13s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: 0.17s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: 0.21s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: 0.25s; }
.menu-open .mobile-menu li:nth-child(7) a { transition-delay: 0.29s; }
.mobile-menu__foot { position: relative; display: grid; gap: 14px; font-size: 0.95rem; color: var(--dark-muted); }
.mobile-menu__foot a { color: var(--dark-ink); text-decoration: none; }

/* Phones: a solid header instead of frosted glass, so moving content underneath
   (the photo stream, the ribbon) isn't re-blurred on every frame. */
@media (max-width: 1079px) {
  .site-header.is-scrolled, body:not(.has-dark-hero) .site-header {
    background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  /* With the menu open the header sits on the dark menu, so it must stay clear. */
  body.menu-open .site-header, body.menu-open .site-header.is-scrolled { background: transparent; box-shadow: none; }
}

@media (min-width: 1080px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ---------- Home hero (intro) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: var(--dark-ink);
  /* A warm, lifted base so the page reads light around the floating photos. */
  background: radial-gradient(120% 90% at 72% 28%, #5a4535 0%, #3b2d23 48%, #261d17 100%);
  overflow: hidden; isolation: isolate; display: flex;
}
.hero::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.7; pointer-events: none; z-index: 5; }

/* Intro: the name takes centre stage over the backdrop photo, then glides to the
   side and fades back as the page settles over the sliding photos. */
.hero__name {
  position: absolute; z-index: 4; top: 50%; right: clamp(8px, 3vw, 48px);
  transform: translate(var(--name-dx, 0px), -50%);
  display: flex; flex-direction: row-reverse; gap: 0.04em;
  font-family: var(--font-display); font-weight: 300; color: var(--dark-ink);
  font-size: min(10.4vh, 19vw, 128px); line-height: 0.92; letter-spacing: 0.04em;
  pointer-events: none; user-select: none;
  transition: transform 1.6s var(--ease-io), opacity 1.6s var(--ease);
}
.hero__name .col { writing-mode: vertical-rl; white-space: nowrap; }
.hero__name .col + .col { color: #e3a26f; }
.hero__name .l {
  display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(-0.35em);
  transition: opacity 1.3s var(--ease), filter 1.3s var(--ease), transform 1.3s var(--ease);
  transition-delay: calc(var(--i) * var(--stagger, 130ms) + var(--lead-in, 400ms));
}
.hero.is-ready .hero__name .l { opacity: 1; filter: none; transform: none; }
.hero.is-settled .hero__name { transform: translate(0, -50%); }

.hero__tag {
  position: absolute; z-index: 4; left: 50%; bottom: max(28px, 7vh); transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 32px);
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; white-space: nowrap;
  color: var(--dark-ink); text-shadow: 0 1px 10px rgba(15, 10, 7, 0.8);
  opacity: 0; transition: opacity 1.2s var(--ease) 3.4s;
}
.hero__flag { width: 34px; height: 17px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(244, 234, 221, 0.35), 0 4px 12px rgba(0, 0, 0, 0.45); }
.hero__tag > span { white-space: normal; text-align: center; }
.hero__best { font-weight: 700; color: #fed100; }
@media (max-width: 719px) { .hero__tag { font-size: 0.7rem; letter-spacing: 0.22em; gap: 10px; } }
@media (max-width: 380px) { .hero__tag { font-size: 0.64rem; letter-spacing: 0.16em; gap: 8px; } .hero__flag { width: 30px; height: 15px; } }
.hero.is-ready .hero__tag { opacity: 1; }
.hero.is-settled .hero__tag { opacity: 0; transition-delay: 0s; }


/* Intro backdrop: the photo fills the screen behind the name (under a light
   veil, with a shadow on the letters so the words stay the highlight), then fades
   away as the page settles. */
.hero__bg { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; transition: opacity 1.4s var(--ease) 0.15s; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; transform: scale(1.14); transition: transform 9s var(--ease); }
.hero.is-ready .hero__bg img { transform: scale(1.02); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(15, 10, 7, 0.06) 0%, rgba(15, 10, 7, 0.34) 78%), linear-gradient(0deg, rgba(15, 10, 7, 0.55) 0%, rgba(15, 10, 7, 0) 26%);
}
.hero.is-settled .hero__bg { opacity: 0; }
/* Phones show the photo's full height, so zoom a little more (anchored near the
   face) to push the photo's own watermark below the screen edge. */
@media (max-width: 719px) {
  .hero__bg img { transform-origin: 50% 30%; transform: scale(1.32); }
  .hero.is-ready .hero__bg img { transform: scale(1.2); }
}
.hero__name { text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.45); }

/* Photo stream: copies of the photos drift up across the hero in lanes of
   different sizes and speeds (like a slow parallax), starting after the intro. */
.hero__stream { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 1.8s var(--ease) 0.4s; }
.hero.is-settled .hero__stream { opacity: 1; }
.hero__lane { position: absolute; top: 0; left: var(--x); width: var(--w); opacity: var(--o); }
.hero__track { display: flex; flex-direction: column; animation: stream-up var(--s) linear infinite; animation-delay: var(--d); will-change: transform; }
.hero__tile {
  flex: none; margin: 0 0 var(--gap, max(9vh, 60px)); border-radius: 6px; overflow: hidden; aspect-ratio: var(--r, 2 / 3);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7); background: #2a211a;
}
.hero__tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
@keyframes stream-up { from { transform: translateY(0); } to { transform: translateY(-33.3333%); } }
.hero.is-offscreen .hero__track { animation-play-state: paused; }

.hero__scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(23, 17, 13, 0.7) 0, rgba(23, 17, 13, 0) calc(var(--header-h) + 50px)), linear-gradient(0deg, rgba(23, 17, 13, 0.8) 0, rgba(23, 17, 13, 0.72) 440px, rgba(23, 17, 13, 0.3) 520px, rgba(23, 17, 13, 0) 600px); opacity: 0; transition: opacity 1.4s var(--ease) 0.4s; }
.hero.is-settled .hero__scrim { opacity: 1; }

/* Lanes on phones: three lanes */
.hero__lane:nth-child(1) { --x: 3%;  --w: 26vw; }
.hero__lane:nth-child(2) { --x: 34%; --w: 20vw; }
.hero__lane:nth-child(3) { --x: 64%; --w: 28vw; }
.hero__lane:nth-child(n+4) { display: none; }
@media (min-width: 720px) {
  .hero__lane:nth-child(1) { --x: 2%;  --w: 15vw; }
  .hero__lane:nth-child(2) { --x: 22%; --w: 11vw; }
  .hero__lane:nth-child(3) { --x: 40%; --w: 16vw; }
  .hero__lane:nth-child(4) { display: block; --x: 62%; --w: 12vw; }
  .hero__lane:nth-child(5) { display: block; --x: 82%; --w: 15vw; }
}
@media (min-width: 1000px) {
  .hero__scrim { background: linear-gradient(180deg, rgba(23, 17, 13, 0.7) 0, rgba(23, 17, 13, 0) calc(var(--header-h) + 50px)), linear-gradient(90deg, rgba(23, 17, 13, 0.82) 0%, rgba(23, 17, 13, 0.72) 36%, rgba(23, 17, 13, 0.5) 52%, rgba(23, 17, 13, 0.12) 62%, rgba(23, 17, 13, 0) 68%); }
  .hero__lane:nth-child(1) { --x: 2%;  --w: min(11vw, 170px); }
  .hero__lane:nth-child(2) { --x: 17%; --w: min(8vw, 120px); }
  .hero__lane:nth-child(3) { --x: 32%; --w: min(12vw, 190px); }
  .hero__lane:nth-child(4) { --x: 47%; --w: min(12vw, 190px); }
  .hero__lane:nth-child(5) { --x: 63%; --w: min(15vw, 240px); }
  .hero__lane:nth-child(6) { display: block; --x: 82%; --w: min(14vw, 220px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__track, .hero__scroll::after { animation: none; }
}

.hero__content {
  position: relative; z-index: 6; width: 100%; max-width: var(--container); margin: 0 auto;
  padding: calc(var(--header-h) + 24px) var(--gutter) clamp(36px, 6vh, 72px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__copy { max-width: 600px; }
.hero__copy > * { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero.is-settled .hero__copy > * { opacity: 1; transform: none; }
.hero.is-settled .hero__copy > *:nth-child(1) { transition-delay: 0.8s; }
.hero.is-settled .hero__copy > *:nth-child(2) { transition-delay: 0.95s; }
.hero.is-settled .hero__copy > *:nth-child(3) { transition-delay: 1.1s; }
.hero.is-settled .hero__copy > *:nth-child(4) { transition-delay: 1.25s; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); }
.hero .eyebrow, .hero h1, .hero__lead { text-shadow: 0 1px 14px rgba(15, 10, 7, 0.9), 0 1px 3px rgba(15, 10, 7, 0.6); }
.hero h1 em { color: #e3a26f; }
.hero__lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--dark-muted); max-width: 46ch; margin: 18px 0 28px; }

/* Scroll cue: the word and a bouncing arrow, no box, with a soft shadow so it reads
   over the moving photos. */
.hero__scroll {
  position: absolute; z-index: 6; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 8px 12px;
  font-size: clamp(0.74rem, 0.7rem + 0.2vw, 0.86rem); font-weight: 700; letter-spacing: 0.3em; margin-right: -0.3em; text-transform: uppercase; color: var(--dark-ink);
  text-decoration: none; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 0 12px rgba(0, 0, 0, 0.6);
  opacity: 0; pointer-events: none; transition: opacity 1s 1.6s;
}
.hero__scroll:focus-visible { outline: 2px solid #e3a26f; outline-offset: 2px; border-radius: 8px; }
.hero__scroll::after {
  content: ""; width: 8px; height: 8px; margin-top: -4px; border: solid currentColor; border-width: 0 2px 2px 0; border-radius: 1px;
  transform: rotate(45deg); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7)); animation: scrollbob 1.6s ease-in-out infinite;
}
.hero__scroll:hover { color: #fff; }
@media (min-width: 1000px) { .hero__scroll { bottom: 22px; } }
@keyframes scrollbob { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(5px) rotate(45deg); } }
.hero.is-settled .hero__scroll { opacity: 1; pointer-events: auto; }

/* Below desktop the copy sits at the bottom, under the sliding photos, with room for the scroll cue. */
@media (max-width: 999px) {
  .hero__content { padding-bottom: 76px; }
}

/* Settled layout — mobile */
.hero.is-settled .hero__name { opacity: 0.07; }


/* Settled layout — desktop */
@media (min-width: 1000px) {
  .hero__content { justify-content: center; }
  .hero.is-settled .hero__name { opacity: 0.16; }
  .hero__name { right: max(16px, calc((100vw - var(--container)) / 2 - 20px)); }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; background: rgba(15, 10, 7, 0.72); color: var(--dark-ink); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(56px, 10vw, 120px)) 0 clamp(56px, 8vw, 96px);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.7; pointer-events: none; z-index: -1; }
.page-hero__word {
  position: absolute; right: clamp(-10px, 2vw, 40px); top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(5rem, 15vw, 11rem); line-height: 0.9; letter-spacing: 0.04em; color: rgba(244, 234, 221, 0.07);
  pointer-events: none; white-space: nowrap; z-index: -1;
}
.page-hero h1 { max-width: 14ch; }
.page-hero h1 em { color: #e3a26f; }
.page-hero .lead { color: var(--dark-muted); margin-top: 22px; }
.page-hero .btn-row { margin-top: 30px; }
.crumbs { display: flex; gap: 10px; font-size: 0.8rem; color: var(--dark-muted); margin-bottom: 26px; list-style: none; padding: 0; }
.crumbs a { text-decoration: none; color: var(--dark-ink); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: 0.5; }

/* ---------- Reveal on scroll ---------- */
.reveal { transition: transform 1.1s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-armed:not(.is-visible) { transform: translateY(22px); }
.reveal.is-visible { transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .hero__name .l, .no-js .hero__copy > * { opacity: 1; filter: none; transform: none; }
.no-js .hero__name { opacity: 0.3; }

/* ---------- Photo window (home wedding band, images/wedding-bg.jpg) ---------- */
.photo-window {
  position: relative; min-height: 82vh; min-height: 82svh; display: flex; align-items: flex-end; color: #fff;
  padding-block: clamp(72px, 12vw, 140px);
  /* Phones: dark from the bottom up behind the text; the top of the photo stays bright. */
  background: linear-gradient(0deg, rgba(15, 10, 7, 0.86) 0%, rgba(15, 10, 7, 0.66) 44%, rgba(15, 10, 7, 0.16) 66%, rgba(15, 10, 7, 0) 84%),
    url("../images/wedding-bg.jpg") 55% 50% / cover no-repeat, #2a221b;
}
@media (min-width: 1000px) {
  /* Desktop: dark on the left behind the text; the arch and sea stay bright on the right. */
  .photo-window { background: linear-gradient(90deg, rgba(15, 10, 7, 0.8) 0%, rgba(15, 10, 7, 0.56) 36%, rgba(15, 10, 7, 0.08) 58%, rgba(15, 10, 7, 0) 72%), linear-gradient(0deg, rgba(15, 10, 7, 0.3) 0%, rgba(15, 10, 7, 0) 34%), url("../images/wedding-bg.jpg") 50% 50% / cover no-repeat, #2a221b; }
  .photo-window__copy { max-width: 560px; }
}
.photo-window .container { width: 100%; }
.photo-window__copy { max-width: 640px; }
.photo-window .eyebrow { color: #f3b47f; }
.photo-window h2 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.photo-window h2 em { color: #f3b47f; }
.photo-window__copy > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.9); max-width: 48ch; margin: 18px 0 26px; font-size: 1.05rem; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }

/* ---------- Statement / marquee ---------- */
.statement { font-family: var(--font-display); font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.18; font-weight: 400; max-width: 22ch; margin: 0 auto; text-align: center; text-wrap: balance; }
.statement em { color: var(--accent); }
.statement-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 30px; color: var(--muted); font-size: 0.9rem; }
.statement-meta span { display: inline-flex; align-items: center; gap: 8px; }
.statement-meta svg { width: 16px; height: 16px; color: var(--accent); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: color-mix(in srgb, var(--surface) 92%, transparent); }
/* The ribbon gets its own GPU layer (no re-painting while it moves) and only
   starts once the web font has loaded, so its width can't change mid-loop.
   JS adds .is-running when the font is ready and the ribbon is on screen. */
.marquee__track {
  display: flex; width: max-content; will-change: transform; transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  animation: marquee 38s linear infinite; animation-play-state: paused;
}
.marquee.is-running .marquee__track, .no-js .marquee__track { animation-play-state: running; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-style: italic; white-space: nowrap; color: var(--ink-soft);
}
.marquee__track span::after { content: "✦"; font-style: normal; font-size: 0.6em; color: var(--accent); }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Bento / featured ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; grid-auto-flow: dense; }
.bento > * { grid-column: span 1; grid-row: span 1; }
.bento .is-tall { grid-row: span 2; }
.bento .is-wide { grid-column: span 2; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; }
}
@media (min-width: 1100px) { .bento { grid-auto-rows: 250px; } }

.photo-tile {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt);
  display: block; padding: 0; border: 0; width: 100%; height: 100%; text-align: left; color: #fff;
}
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 10, 7, 0.55), transparent 45%); opacity: 0; transition: opacity 0.5s; }
.photo-tile:hover img { transform: scale(1.05); }
.photo-tile:hover::after, .photo-tile:focus-visible::after { opacity: 1; }
.photo-tile__cap {
  position: absolute; left: 16px; bottom: 14px; right: 16px; z-index: 1; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.photo-tile:hover .photo-tile__cap, .photo-tile:focus-visible .photo-tile__cap { opacity: 1; transform: none; }

.cat-tile {
  position: relative; overflow: hidden; border-radius: var(--radius); isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px; text-decoration: none;
  background: var(--dark-2); color: var(--dark-ink);
  transition: transform 0.6s var(--ease);
}
.cat-tile::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.7; z-index: -1; }
.cat-tile::after {
  content: ""; position: absolute; z-index: -2; width: 140%; aspect-ratio: 1; right: -60%; bottom: -80%; border-radius: 50%;
  background: radial-gradient(circle, var(--glow, rgba(217, 138, 78, 0.45)), transparent 60%);
  transition: transform 1s var(--ease);
}
.cat-tile:hover::after { transform: translate(-12%, -12%) scale(1.1); }
.cat-tile:nth-child(3n)  { --glow: rgba(160, 120, 80, 0.45); }
.cat-tile:nth-child(3n+1) { --glow: rgba(196, 98, 52, 0.45); }
.cat-tile__num { font-size: 0.72rem; letter-spacing: 0.2em; color: #e3a26f; font-weight: 700; }
.cat-tile__title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.05; font-style: italic; }
.cat-tile__go { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--dark-muted); transition: color 0.3s; }
@media (max-width: 759px) { .cat-tile:not(.is-wide) .cat-tile__blurb { display: none; } .cat-tile { padding: 18px; } }
.cat-tile__go svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.cat-tile:hover .cat-tile__go { color: var(--dark-ink); }
.cat-tile:hover .cat-tile__go svg { transform: translateX(4px); }

/* ---------- Service cards (home) ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
a.card { text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }
@media (max-width: 679px) {
  .cards .card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 6px; padding: 22px; }
  .cards .card .icon-badge { grid-row: span 3; }
  .cards .card .link-arrow { padding-top: 4px; }
}
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 0; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 26px 0; border-top: 1px solid var(--dark-line); }
.steps li::before { content: "0" counter(s); grid-row: span 2; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-style: italic; color: #e3a26f; }
.steps h3 { font-size: 1.6rem; }
.steps p { margin: 0; color: var(--dark-muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps li { grid-template-columns: 1fr; padding-top: 30px; }
  .steps li::before { grid-row: auto; margin-bottom: 14px; font-size: 3.4rem; }
}

/* ---------- Split / about ---------- */
.split { display: grid; gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.arch {
  position: relative; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5.4;
  max-width: 460px; width: 100%; margin-inline: auto; box-shadow: var(--shadow-lg);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.arch-wrap { position: relative; }
.arch-wrap__badge {
  position: absolute; left: 0; bottom: 8%; background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 230px; font-size: 0.88rem; line-height: 1.4;
}
.arch-wrap__badge strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; font-style: italic; margin-bottom: 4px; }
@media (min-width: 900px) { .arch-wrap__badge { left: -24px; } }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-soft); }
.checklist svg { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }

.values { display: grid; gap: 18px; }
@media (min-width: 860px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.value h3 { margin: 12px 0 10px; }
.value p { color: var(--ink-soft); margin: 0; }
.value__num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 18px; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  display: flex; flex-direction: column; gap: 18px; margin: 0;
}
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.35; }
.quote blockquote::before { content: "“"; display: block; font-size: 3.4rem; line-height: 0.6; color: var(--accent); margin-bottom: 10px; }
.quote figcaption { margin-top: auto; font-size: 0.9rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.stars { display: inline-flex; gap: 3px; color: var(--accent); }
.stars svg { width: 16px; height: 16px; }

.empty {
  border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
  text-align: center; background: var(--surface); display: grid; justify-items: center; gap: 12px;
}
.empty h3 { font-style: italic; }
.empty p { color: var(--ink-soft); max-width: 48ch; margin: 0; }
.empty .icon-badge { margin-bottom: 4px; }
.empty .btn-row { justify-content: center; margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); color: var(--dark-ink); border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px); }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.7; z-index: -1; }
.cta-band::after { content: ""; position: absolute; z-index: -2; width: 70%; aspect-ratio: 1; right: -20%; top: -60%; border-radius: 50%; background: radial-gradient(circle, rgba(217, 138, 78, 0.35), transparent 62%); }
.cta-band h2 { max-width: 16ch; }
.cta-band h2 em { color: #e3a26f; }
.cta-band p { color: var(--dark-muted); max-width: 52ch; margin: 18px 0 28px; }

/* ---------- Galleries page ---------- */
.tabs {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line);
}
.tabs__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 12px 0; list-style: none; margin: 0; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  font-size: 0.88rem; font-weight: 600; text-decoration: none; color: var(--ink-soft); border: 1px solid transparent; transition: all 0.25s;
}
.tabs__list a:hover { color: var(--ink); border-color: var(--line-strong); }
.tabs__list a.is-active { background: var(--ink); color: var(--bg); }

.gal-section { padding-block: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); background: var(--veil); }
.gal-section:last-of-type { border-bottom: 0; }
.gal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
@media (min-width: 980px) {
  .gal-grid { grid-template-columns: 380px minmax(0, 1fr); align-items: start; }
}
/* The info column follows the photos only on screens tall enough to show all of it,
   so its Book button never sits below the bottom edge. */
@media (min-width: 980px) and (min-height: 1000px) {
  .gal-info { position: sticky; top: calc(var(--header-h) + 90px); }
}
.gal-info__num { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--accent); }
.gal-info h2 { margin: 6px 0 16px; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.gal-info > p { color: var(--ink-soft); }
.opt-group { margin: 22px 0 0; }
.opt-group__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 0.86rem; background: var(--surface); color: var(--ink);
}
.chip svg { width: 15px; height: 15px; color: var(--accent); }
.gal-info .btn-row { margin-top: 28px; }

/* Gallery photos in justified rows (laid out by js/main.js): every photo in a row
   has the same height and widths follow each photo's shape (--ar = width / height),
   so any mix of tall and wide photos fills the width. The last row isn't stretched. */
.justified { --jgap: 10px; display: flex; flex-direction: column; gap: var(--jgap); }
.jrow { display: flex; gap: var(--jgap); }
.jrow > .photo-tile { flex: var(--ar, 1) 1 0; min-width: 0; height: 100%; }
.jrow--last > .photo-tile { flex: 0 0 auto; }
@media (min-width: 760px) { .justified { --jgap: 16px; } }

.gal-empty {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); min-height: 320px; padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background: var(--dark-2); color: var(--dark-ink);
}
.gal-empty::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.7; z-index: -1; }
.gal-empty::after { content: ""; position: absolute; z-index: -2; width: 90%; aspect-ratio: 1; right: -30%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(217, 138, 78, 0.38), transparent 62%); }
.gal-empty__word { position: absolute; top: 18px; left: clamp(28px, 4vw, 44px); white-space: nowrap; font-family: var(--font-display); font-style: italic; font-size: clamp(3rem, 8vw, 6rem); line-height: 1; color: rgba(244, 234, 221, 0.1); }
.gal-empty h3 { font-style: italic; }
.gal-empty p { margin: 0; color: var(--dark-muted); max-width: 44ch; }
.gal-empty .btn-row { margin-top: 10px; }

.partner {
  margin-top: 22px; border-radius: var(--radius); padding: 20px 22px; background: var(--accent-soft); color: var(--ink);
  display: grid; gap: 8px; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.partner__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.partner h4 { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; font-weight: 500; }
.partner p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }
.partner ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.partner li { font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface); }
.partner .link-arrow { font-size: 0.9rem; margin-top: 4px; }

.id-options { display: grid; gap: 14px; }
@media (min-width: 700px) { .id-options { grid-template-columns: repeat(3, 1fr); } }
.id-option { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.id-option__num { font-family: var(--font-display); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--accent); }
.id-option h3 { font-size: 1.35rem; }
.id-option p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }
.id-option .link-arrow { margin-top: auto; padding-top: 8px; font-size: 0.9rem; }

.packages { display: grid; gap: 14px; margin-top: 22px; }
.package { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); }
.package__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.package h4 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.package__price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.package ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh; background: rgba(12, 8, 6, 0.94); color: #fff; }
.lightbox::backdrop { background: rgba(12, 8, 6, 0.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fadein 0.35s var(--ease); }
@keyframes fadein { from { opacity: 0; } }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.lightbox__stage { display: grid; place-items: center; padding: 0 16px; min-height: 0; grid-template: minmax(0, 1fr) / minmax(0, 1fr); overflow: hidden; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; padding: 16px; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: #fff;
  display: grid; place-items: center; transition: background 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.price-card.is-featured { background: var(--dark); color: var(--dark-ink); border-color: transparent; isolation: isolate; overflow: hidden; }
.price-card.is-featured::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.7; z-index: -1; }
.price-card.is-featured p, .price-card.is-featured li { color: var(--dark-muted); }
.price-card.is-featured .icon-badge { background: rgba(227, 162, 111, 0.16); color: #e3a26f; }
.price-card.is-featured .price-card__price { border-color: var(--dark-line); }
.price-card.is-featured .price-card__amount { color: var(--dark-ink); }
.price-card__flag { position: absolute; top: 22px; right: 22px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #e3a26f; color: #1a110b; }
.price-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.93rem; color: var(--ink-soft); }
.price-card li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.price-card li svg { width: 16px; height: 16px; color: var(--accent); margin-top: 4px; }
.price-card.is-featured li svg { color: #e3a26f; }
.price-card__price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.price-card__from { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); width: 100%; }
.price-card__amount { font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1.1; color: var(--ink); }
.price-card__amount.is-quote { font-style: italic; font-size: 1.6rem; }
.price-card .btn { margin-top: 6px; }

.rows { border-top: 1px solid var(--line-strong); }
.row-item { display: grid; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .row-item { grid-template-columns: 1fr auto; align-items: center; } }
.row-item h3 { font-size: 1.45rem; }
.row-item p { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.row-item__price { font-family: var(--font-display); font-size: 1.5rem; white-space: nowrap; }
.row-item__price.is-quote { font-style: italic; color: var(--muted); font-size: 1.25rem; }

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; font-family: var(--font-body); font-size: 1.2rem; transition: transform 0.35s var(--ease), background 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--bg); }
.faq details p { color: var(--ink-soft); padding-bottom: 22px; margin: 0; max-width: 70ch; }

/* ---------- Forms ---------- */
.form-shell { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 1000px) { .form-shell { grid-template-columns: 1.45fr 1fr; align-items: start; } .form-aside { position: sticky; top: calc(var(--header-h) + 24px); } }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-step + .form-step { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.form-step__title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; }
.form-step__title span { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset[hidden] { display: none; }
legend { padding: 0; }
.fields { display: grid; gap: 16px; }
@media (min-width: 620px) { .fields--2 { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; }
.field > label, .field > .field__label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field__hint { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.req { color: var(--accent); }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink); font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none; appearance: none;
}
select.input {
  padding-right: 42px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a7666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
textarea.input { min-height: 120px; resize: vertical; }
.input:hover { border-color: var(--muted); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); background: var(--surface); }
.input[type="date"], .input[type="time"] { min-width: 0; }
.was-validated .input:invalid { border-color: #c2412d; }

/* choice pills (radio/checkbox) */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 0.92rem; font-weight: 500; background: var(--bg); transition: all 0.2s; user-select: none;
}
.choice span::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--muted); flex: none; transition: all 0.2s;
}
.choice input[type="checkbox"] + span::before { border-radius: 4px; }
.choice:hover span { border-color: var(--ink-soft); }
.choice input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.choice input:checked + span::before { border-color: var(--bg); background: var(--accent); box-shadow: inset 0 0 0 2px var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* service picker cards */
.service-picker { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 620px) { .service-picker { grid-template-columns: repeat(3, 1fr); } }
.service-opt { position: relative; }
.service-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; z-index: 1; }
.service-opt > span {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 16px; border-radius: 16px; border: 1px solid var(--line-strong);
  background: var(--bg); font-weight: 600; font-size: 0.92rem; line-height: 1.25; transition: all 0.25s;
}
.service-opt svg { width: 24px; height: 24px; color: var(--accent); }
.service-opt:hover > span { border-color: var(--ink-soft); }
.service-opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.service-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.sub-panel { margin-top: 22px; padding: 22px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); animation: panelin 0.5s var(--ease); }
@keyframes panelin { from { opacity: 0; transform: translateY(10px); } }
.sub-panel .fields { gap: 18px; }

.addons { margin-top: 4px; padding: 18px; border-radius: 16px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.addons__title { font-family: var(--font-display); font-size: 1.35rem; font-style: italic; font-weight: 500; }
.addons p { margin: 2px 0 12px; font-size: 0.88rem; color: var(--ink-soft); }
.addons .choice span { background: var(--surface); }

.form-actions { display: grid; gap: 10px; margin-top: 30px; }
@media (min-width: 620px) { .form-actions { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 0.92rem; display: none; }
.form-status.is-ok { display: block; background: color-mix(in srgb, var(--wa) 14%, transparent); color: var(--ink); border: 1px solid color-mix(in srgb, var(--wa) 40%, transparent); }
.form-status.is-err { display: block; background: color-mix(in srgb, #c2412d 12%, transparent); border: 1px solid color-mix(in srgb, #c2412d 40%, transparent); }

.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color 0.25s, transform 0.4s var(--ease);
}
a.contact-item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.contact-item .icon-badge { width: 48px; height: 48px; border-radius: 14px; }
.contact-item .icon-badge svg { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-item strong { font-weight: 600; font-size: 0.98rem; word-break: break-word; }
.contact-item--wa .icon-badge { background: color-mix(in srgb, var(--wa) 16%, transparent); color: var(--wa); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); aspect-ratio: 4 / 3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Proofing ---------- */
.proof-gate { max-width: 560px; margin: 0 auto; }
.proof-gate .form-card { text-align: left; }
.lock-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.lock-icon svg { width: 30px; height: 30px; }
.proof-steps { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 760px) { .proof-steps { grid-template-columns: repeat(3, 1fr); } }
.proof-step { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; font-size: 0.92rem; color: var(--ink-soft); }
.proof-step b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 0.9rem; }
.proof-step strong { display: block; color: var(--ink); }

.proof-app[hidden] { display: none; }
.proof-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: end; margin-bottom: 26px; }
.proof-search { display: flex; gap: 10px; width: 100%; max-width: 440px; }
.proof-search .input { flex: 1; }
.proof-layout { display: grid; gap: 28px; }
@media (min-width: 1000px) { .proof-layout { grid-template-columns: 1fr 360px; align-items: start; } .proof-cart { position: sticky; top: calc(var(--header-h) + 24px); } }
.proof-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .proof-grid { grid-template-columns: repeat(3, 1fr); } }
.proof-card { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.proof-card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); -webkit-user-select: none; user-select: none; }
.proof-card__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.proof-card__img::after {
  content: "PROOF  ·  CANDID EXPRESSIONS  ·  PROOF  ·  CANDID EXPRESSIONS"; position: absolute; inset: -50%; display: grid; place-items: center;
  transform: rotate(-30deg); color: rgba(255, 255, 255, 0.42); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.3em; text-align: center; line-height: 3.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); pointer-events: none; word-spacing: 0.4em;
}
.proof-card__meta { padding: 12px 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.proof-card__id { font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.proof-card.is-selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.proof-cart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.proof-cart h3 { margin-bottom: 14px; }
.cart-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.cart-line__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; grid-column: 1 / -1; font-weight: 700; font-size: 0.92rem; }
.cart-line select, .cart-line input { min-height: 40px; padding: 6px 12px; border-radius: 10px; font-size: 0.9rem; }
.cart-line select.input { padding-right: 34px; background-position: right 10px center; }
.cart-line input { width: 74px; }
.link-btn { background: none; border: 0; padding: 4px; color: var(--muted); font-size: 0.8rem; text-decoration: underline; }
.link-btn:hover { color: var(--ink); }
.cart-empty { font-size: 0.92rem; color: var(--muted); padding: 18px; border: 1px dashed var(--line-strong); border-radius: 12px; text-align: center; margin-bottom: 18px; }
.no-results { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--ink-soft); border: 1px dashed var(--line-strong); border-radius: 16px; }

/* rating input */
.rating { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating label { cursor: pointer; color: var(--line-strong); transition: color 0.15s, transform 0.2s; }
.rating label svg { width: 30px; height: 30px; }
.rating label:hover, .rating label:hover ~ label, .rating input:checked ~ label { color: var(--accent); }
.rating input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: rgba(15, 10, 7, 0.94); color: var(--dark-ink); position: relative; isolation: isolate; overflow: hidden; margin-top: 0; }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.7; z-index: -1; pointer-events: none; }
.footer-big {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(3.2rem, 13vw, 11.5rem); line-height: 0.9; letter-spacing: -0.01em;
  padding-top: clamp(56px, 8vw, 100px); color: rgba(244, 234, 221, 0.92);
}
.footer-big em { color: #e3a26f; }
.footer-grid { display: grid; gap: 36px; padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--dark-line); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1fr 0.6fr 1.3fr 1.1fr; } }
.footer-col h3 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #e3a26f; margin-bottom: 18px; }
.footer-col p { color: var(--dark-muted); font-size: 0.95rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--dark-ink); text-decoration: none; opacity: 0.85; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-col a.btn { color: var(--btn-ink); opacity: 1; text-decoration: none; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 0.95rem; }
.footer-contact svg { width: 18px; height: 18px; color: #e3a26f; margin-top: 4px; }
.footer-contact address { font-style: normal; }
.footer-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--dark-line); aspect-ratio: 16 / 10; background: var(--dark-2); }
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.25) contrast(1.05); }
.footer-map + .btn { margin-top: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-block: 24px 30px; font-size: 0.82rem; color: var(--dark-muted); }
.footer-bottom a { color: inherit; }

/* Designer's signature strip at the very bottom of every page. */
.site-credit {
  position: relative; isolation: isolate; text-align: center;
  background:
    radial-gradient(120% 170% at 100% 100%, rgba(52, 104, 74, 0.55), transparent 58%),
    linear-gradient(90deg, #111d16 0%, #1b2821 55%, #22392b 100%);
}
.site-credit::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.8; z-index: -1; pointer-events: none; }
/* Credit-line size: a slim single line, as web designers usually sign a site. */
.site-credit__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 0 0.9em;
  padding: 6px var(--gutter) 7px; text-decoration: none;
}
.site-credit__by {
  font-family: "Jost", var(--font-body); font-weight: 400; font-size: 0.62rem;
  letter-spacing: 0.26em; margin-right: -0.26em; text-transform: uppercase; color: #a1aea7;
}
.site-credit__name {
  display: inline-block; padding: 0.04em 0.18em 0.08em;
  font-family: "Allura", "Segoe Script", "Brush Script MT", cursive; font-size: 1.3rem; line-height: 1.15;
  background: linear-gradient(90deg, #f7dd86 0%, #f0b863 45%, #e5893f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: filter 0.3s;
}
.site-credit__link:hover .site-credit__name { filter: brightness(1.15); }
.site-credit__link:focus-visible { outline: 2px solid #f0b863; outline-offset: -3px; border-radius: 6px; }
@media (forced-colors: active) { .site-credit__name { background: none; color: LinkText; } }
.theme-toggle { background: none; border: 1px solid var(--dark-line); color: var(--dark-muted); border-radius: 999px; padding: 6px 14px; font-size: 0.8rem; }
.theme-toggle:hover { color: var(--dark-ink); border-color: var(--dark-muted); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80; width: 58px; height: 58px; border-radius: 50%;
  background: #1f9e52; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s var(--ease), opacity 0.5s; text-decoration: none;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1f9e52; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
body.intro-playing .wa-float, body.hero-top .wa-float, body.credit-in-view .wa-float { opacity: 0; pointer-events: none; transform: scale(0.8); }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* Back to top: bottom-right, level with the WhatsApp button; lifts above the signature strip. */
.to-top {
  position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(21px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: rgba(23, 17, 13, 0.88); color: var(--dark-ink); border: 1px solid rgba(244, 234, 221, 0.28);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.3s, visibility 0s linear 0.4s;
}
.to-top svg { width: 22px; height: 22px; }
.to-top:hover { background: var(--accent); border-color: transparent; }
.to-top:focus-visible { outline: 3px solid #e3a26f; outline-offset: 3px; }
body.show-to-top .to-top { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
body.show-to-top.credit-in-view .to-top { transform: translateY(-46px); }
body.intro-playing .to-top, body.menu-open .to-top { opacity: 0; visibility: hidden; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }
.stack > * + * { margin-top: 1em; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.kicker-num { font-family: var(--font-display); font-style: italic; color: var(--accent); }

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

/* ---------- Additions ---------- */
.price-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.price-split > div { display: grid; gap: 2px; }
.price-split small { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.price-split .price-card__amount { font-size: 1.6rem; }
.price-split .price-card__amount.is-quote { font-size: 1.2rem; }
.partner--wide { margin-top: 0; padding: clamp(24px, 4vw, 40px); grid-template-columns: 1fr; align-items: center; gap: 18px; }
@media (min-width: 860px) { .partner--wide { grid-template-columns: 1.4fr auto; } }
.partner--wide h4 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.other-input { margin-top: 10px; }
.other-input[hidden] { display: none; }

/* ---------- Map card (used where an embedded map can't load) ---------- */
.map-card {
  position: relative; display: block; width: 100%; height: 100%; min-height: 200px; overflow: hidden; isolation: isolate;
  background: #2a211a; color: #f4eadd; text-decoration: none; border-radius: inherit;
}
.map-card__grid {
  position: absolute; inset: 0; z-index: -1; opacity: 0.55;
  background-image: linear-gradient(rgba(244, 234, 221, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 234, 221, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-card__road { position: absolute; z-index: -1; background: rgba(227, 162, 111, 0.28); border-radius: 6px; }
.map-card__road--a { left: -10%; right: -10%; top: 46%; height: 10px; transform: rotate(-8deg); }
.map-card__road--b { top: -10%; bottom: -10%; left: 38%; width: 8px; transform: rotate(14deg); background: rgba(244, 234, 221, 0.14); }
.map-card__pin {
  position: absolute; left: 42%; top: 30%; width: 46px; height: 46px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: #e3a26f; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.6);
  animation: pinbob 2.4s var(--ease) infinite alternate;
}
.map-card__pin svg { width: 22px; height: 22px; transform: rotate(45deg); color: #1a110b; }
@keyframes pinbob { to { translate: 0 -6px; } }
.map-card__label { position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 2px; font-size: 0.85rem; color: rgba(244, 234, 221, 0.75); }
.map-card__label strong { color: #f4eadd; font-size: 0.98rem; }
.map-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; color: #e3a26f; }
.map-card__go svg { width: 16px; height: 16px; }
.map-card:hover .map-card__go { text-decoration: underline; }
.map-frame .map-card { min-height: 260px; }

/* ---------- Grids with an odd last item ---------- */
/* Booking choices: a lone last option spans the row on phones and sits in the
   middle column on wider screens. */
@media (max-width: 619px) { .service-picker > .service-opt:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 620px) { .service-picker > .service-opt:last-child:nth-child(3n+1) { grid-column: 2; } }
/* Pricing cards: same idea for a lone last card. */
@media (min-width: 720px) and (max-width: 1079px) {
  .price-grid > .price-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 18px) / 2); }
}
@media (min-width: 1080px) { .price-grid > .price-card:last-child:nth-child(3n+1) { grid-column: 2; } }


/* Home featured: one cover per area (tap to open its gallery); more photos open below. */
.area-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .area-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.area-tile {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); background: var(--bg-alt); color: #fff; text-decoration: none;
}
.area-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.area-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 10, 7, 0.72) 0%, rgba(15, 10, 7, 0.25) 32%, transparent 52%); }
.area-tile:hover img { transform: scale(1.05); }
.area-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.area-tile__label { position: absolute; z-index: 1; left: clamp(12px, 2.4vw, 22px); right: 12px; bottom: clamp(12px, 2.2vw, 20px); display: grid; gap: 4px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45); }
.area-tile__name { font-family: var(--font-display); font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.75rem); font-weight: 500; line-height: 1.1; }
.area-tile__go { display: inline-flex; align-items: center; gap: 6px; font-size: clamp(0.62rem, 0.58rem + 0.2vw, 0.74rem); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }
.area-tile__go svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.area-tile:hover .area-tile__go svg { transform: translateX(4px); }
.bento--more { margin-top: 14px; opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.bento--more.is-open { opacity: 1; transform: none; }
@media (min-width: 760px) { .bento--more { margin-top: 18px; } }
.featured-actions { display: flex; justify-content: center; margin-top: clamp(24px, 4vw, 36px); }

/* Dark surfaces keep the lighter accent (the light-mode accent is too dark on them). */
.section--dark h2 em { color: #e3a26f; }
.price-card.is-featured .price-card__from { color: var(--dark-muted); }
.price-card__price.is-quote .price-card__from { display: none; }

/* "What we do" cards: a lone last card spans the row instead of sitting alone. */
@media (min-width: 680px) and (max-width: 1019px) { .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1020px) { .cards--3 > .card:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }
