/* ==========================================================================
   Ashen Creatives — landing page styles
   Charcoal base, warm ivory, restrained soft gold (from the stonemark's light seam).
   ========================================================================== */

:root {
  /* Palette */
  --charcoal-950: #2d2d30;
  --charcoal-900: #333336;
  --charcoal-850: #3a3a3d;
  --charcoal-800: #424245;
  --charcoal-700: #4d4d51;
  --ivory: #efe8dc;
  --ivory-dim: #c9c1b4;
  --ivory-muted: #aea79b;
  --gold: #c9a46a;
  --gold-soft: #dcc093;
  --paper: #ece6dc;
  --paper-deep: #e2dacd;
  --ink: #1a1816;
  --ink-dim: #4f4a43;
  --ink-gold: #7a5c2b;
  --danger: #e59a86;
  --danger-ink: #9b2f1c;
  --success-ink: #2f5b35;

  --line: rgba(239, 232, 220, 0.1);
  --line-strong: rgba(239, 232, 220, 0.18);
  --line-ink: rgba(26, 24, 22, 0.14);

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --radius-sm: 10px;
  --radius: 18px;
  --section-pad: clamp(64px, 12vw, 160px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--charcoal-950);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
a, button, label, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

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

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--gold); color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* Type primitives --------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--ink { color: var(--ink-gold); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-top: 18px;
}
.section-lede { margin-top: 20px; max-width: 34rem; color: var(--ivory-dim); font-size: 1.0625rem; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  --btn-pad-y: 15px; --btn-pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid transparent; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn--sm { --btn-pad-y: 10px; --btn-pad-x: 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--gold-soft); }
.btn--ghost { border-color: var(--line-strong); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: #2c2925; }
.btn:active { transform: translateY(1px); }
.btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: transparent; color: var(--ivory); cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-soft); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(45, 45, 48, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 9px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 6px 18px -8px rgba(0, 0, 0, 0.8);
}
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__word { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; }
.brand__sub { margin-top: 4px; font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.46em; text-transform: uppercase; color: var(--ivory-muted); }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav__list { display: flex; gap: 32px; }
.site-nav__list a {
  position: relative; padding: 6px 0;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--ivory-dim);
  transition: color 0.2s var(--ease);
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav__list a:hover { color: var(--ivory); }
.site-nav__list a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; padding: 0; margin-right: -8px;
    border: 0; background: none; cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 22px; height: 1.5px; background: var(--ivory); border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 12px var(--gutter) 28px;
    background: var(--charcoal-950); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .site-nav__list a::after { display: none; }
  .site-nav .btn { padding-block: 14px; font-size: 0.9375rem; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
  padding-bottom: clamp(72px, 9vw, 120px);
  overflow: clip;
}
.hero::after { /* hairline into the portfolio */
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.hero__glow {
  position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(42% 52% at 76% 48%, rgba(201, 164, 106, 0.16), transparent 70%),
    radial-gradient(60% 50% at 10% 0%, rgba(239, 232, 220, 0.04), transparent 70%);
}
.hero__inner { display: grid; gap: clamp(56px, 8vw, 72px); align-items: center; }

.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(3rem, 7.4vw, 6rem);
  line-height: 0.96; letter-spacing: -0.015em;
}
/* The eyebrow sits inside the h1 (so the heading says what we do) but keeps its small-caps look */
.hero__eyebrow { display: flex; width: fit-content; margin-bottom: 26px; font-family: var(--font-sans); line-height: 1.6; }
.hero__headline { display: block; text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--gold-soft); }
.hero__lede { margin-top: 28px; max-width: 32rem; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--ivory-dim); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__services { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ivory-muted); }
.hero__services li { display: inline-flex; align-items: center; gap: 10px; }
.hero__services li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

@media (min-width: 960px) {
  .hero { min-height: min(100svh, 980px); display: flex; align-items: center; }
  .hero > .container { flex: 1; }
  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}

/* Phone frames ------------------------------------------------------------ */
.hero__devices {
  --w: min(40vw, 230px);
  position: relative;
  display: flex; justify-content: center; align-items: center;
  padding-block: 24px;
}
.hero__devices::before { /* light seam echoing the stonemark */
  content: ""; position: absolute; z-index: -1; left: 50%; top: -6%; bottom: -6%; width: 1px;
  background: linear-gradient(transparent, rgba(220, 192, 147, 0.5), transparent);
  transform: rotate(14deg);
}
@media (min-width: 960px) {
  .hero__devices { --w: clamp(190px, 17.5vw, 250px); }
}

.phone {
  position: relative; flex: none;
  width: var(--w);
  padding: calc(var(--w) * 0.035);
  border-radius: calc(var(--w) * 0.17);
  background: linear-gradient(150deg, #3c3833 0%, #191816 38%, #0c0b0a 62%, #2d2a26 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    inset 0 0 0 calc(var(--w) * 0.012) #0a0909,
    0 50px 90px -40px rgba(0, 0, 0, 0.95),
    0 22px 40px -24px rgba(0, 0, 0, 0.8);
}
.phone::before, .phone::after { /* side buttons */
  content: ""; position: absolute; width: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #2a2724, #46413b);
}
.phone::before { left: -2px; top: 22%; height: 9%; box-shadow: 0 calc(var(--w) * 0.2) 0 #34302c; }
.phone::after { right: -2px; top: 28%; height: 13%; }

.phone__screen {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: calc(var(--w) * 0.14);
  background: #050505;
  transform: translateZ(0); /* keeps the rounded clip on Safari */
}
.phone__screen video, .phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__island {
  position: absolute; z-index: 2; top: calc(var(--w) * 0.035); left: 50%; translate: -50% 0;
  width: 30%; height: calc(var(--w) * 0.085); border-radius: 999px; background: #000;
}
.phone__screen::after { /* glass reflection */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.08) 0%, transparent 32%);
}
.phone--side {
  width: calc(var(--w) * 0.82);
  margin-inline: calc(var(--w) * -0.17);
  translate: 0 8%;
  filter: brightness(0.82);
}
.phone--center { z-index: 1; }

.phone__toggle {
  position: absolute; z-index: 3; right: 10px; bottom: 10px;
  display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  border: 1px solid rgba(239, 232, 220, 0.22); border-radius: 50%;
  background: rgba(16, 15, 14, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--ivory); cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
  /* Kept for keyboard users (it appears when tabbed to); mouse/touch visitors tap the screen instead */
  opacity: 0; pointer-events: none;
}
.phone__toggle:focus-visible { opacity: 1; pointer-events: auto; }
.phone__toggle:hover { background: rgba(16, 15, 14, 0.8); border-color: var(--gold); }
.phone__toggle svg { width: 14px; height: 14px; fill: currentColor; }
.phone--side .phone__toggle { width: 34px; height: 34px; right: 8px; bottom: 8px; }

/* Shared icons: show play or pause depending on state */
[data-state="playing"] .icon-play, [data-state="paused"] .icon-pause { display: none; }

.badge {
  position: absolute; z-index: 3; top: 12px; left: 12px;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(16, 15, 14, 0.7); border: 1px solid rgba(201, 164, 106, 0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft);
}
.phone .badge { top: calc(var(--w) * 0.15); left: 50%; translate: -50% 0; padding: 4px 8px; font-size: 0.5625rem; }
.phone--side .badge { display: none; } /* overlapped by the centre phone; the frames carry their own label */

/* Sections --------------------------------------------------------------- */
.section { padding-block: var(--section-pad); }
.section-head { max-width: 46rem; }

/* Portfolio -------------------------------------------------------------- */
.work-group { margin-top: clamp(64px, 9vw, 112px); }
.work-group + .work-group { margin-top: clamp(88px, 11vw, 144px); }
.work-group__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line);
}
.work-group__index { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--gold); }
.work-group__title { margin-top: 6px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.875rem, 3.4vw, 2.625rem); line-height: 1.1; }
.work-group__desc { margin-top: 10px; max-width: 32rem; color: var(--ivory-muted); }
.carousel-controls { display: flex; align-items: center; gap: 10px; flex: none; }
.scroll-hint {
  display: inline-flex; align-items: center; gap: 6px; margin-right: 4px;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-muted);
}
.scroll-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Hypermotion categories: one heading + carousel per product category */
.video-categories { display: grid; gap: clamp(48px, 7vw, 76px); }
.video-category__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px;
  margin-bottom: 20px;
}
.video-category__title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; line-height: 1.15;
}
.video-category__count {
  font-family: var(--font-sans); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-muted);
}
.video-category__note {
  max-width: 34rem; padding: 20px 24px;
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  color: var(--ivory-dim);
}
.video-category__note a { color: var(--gold-soft); font-weight: 600; text-underline-offset: 4px; }
.video-category__note a:hover { color: var(--gold); }
.carousel-controls[hidden] { display: none; }

/* Carousels (video rows and static ads) */
.carousel {
  --track-pad: 2px;   /* inset of the first card; phones bleed the row to the screen edges */
  --fade: 44px;
  position: relative; container-type: inline-size; /* cqw below = this carousel's width */
}
.carousel__track {
  --card-w: clamp(220px, 70vw, 290px);
  position: relative; /* so cards' offsetLeft is measured within the track */
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--card-w); gap: clamp(16px, 2vw, 24px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--track-pad);
  padding: 4px var(--track-pad) 14px;
  scrollbar-width: none; /* the slim position bar below replaces the scrollbar */
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: 6px; }
.carousel__track > li { scroll-snap-align: start; }
.carousel__track.is-free-scrolling { scroll-snap-type: none; } /* while the wheel or a drag is moving it */
.carousel__track.is-dragging { cursor: grabbing; user-select: none; }
.carousel__track.is-dragging > li { pointer-events: none; }
.carousel__track img, .carousel__track video { -webkit-user-drag: none; }
@media (hover: hover) and (pointer: fine) {
  .carousel.has-more-left .carousel__track, .carousel.has-more-right .carousel__track { cursor: grab; }
}
@media (min-width: 1100px) {
  .carousel__track { --card-w: calc((100cqw - 4 * 24px) / 4.3); } /* a sliver of the next card hints at more */
}
@media (max-width: 759px) {
  .carousel { --track-pad: var(--gutter); --fade: 28px; margin-inline: calc(-1 * var(--gutter)); }
}

/* Soft fade on whichever side has more to see */
.carousel::before, .carousel::after {
  content: ""; position: absolute; z-index: 4; top: 0; bottom: 16px; width: var(--fade);
  pointer-events: none; opacity: 0; transition: opacity 0.25s var(--ease);
}
.carousel::before { left: 0; background: linear-gradient(to right, var(--charcoal-950), transparent); }
.carousel::after { right: 0; background: linear-gradient(to left, var(--charcoal-950), transparent); }
.carousel.has-more-left::before, .carousel.has-more-right::after { opacity: 1; }

/* Slim position bar under a row that scrolls */
.carousel__progress {
  height: 2px; margin: 0 var(--track-pad); border-radius: 2px; overflow: hidden;
  background: var(--line-strong);
}
.carousel__progress[hidden] { display: none; }
.carousel__progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--gold); }

.carousel__track--videos { grid-auto-columns: max-content; }
.carousel__track--videos > li { width: var(--card-w); }
.carousel__track--videos > li:has(> .video-card--wide) { width: min(var(--card-w) * 256 / 81, 100cqw - 2 * var(--track-pad)); }

.video-card { display: flex; flex-direction: column; gap: 16px; }
.video-card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 16; border-radius: var(--radius);
  background: var(--charcoal-850);
  box-shadow: inset 0 0 0 1px var(--line);
}
.video-card__media video { width: 100%; height: 100%; object-fit: cover; background: #000; }

.play-btn {
  position: absolute; z-index: 2; inset: 0;
  display: grid; place-items: center;
  width: 100%; padding: 0; border: 0; cursor: pointer;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 9, 8, 0.45));
  color: var(--ivory);
}
.play-btn__ring {
  display: grid; place-items: center;
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(16, 15, 14, 0.5); border: 1px solid rgba(239, 232, 220, 0.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.play-btn__ring svg { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; }
.play-btn:hover .play-btn__ring, .play-btn:focus-visible .play-btn__ring { transform: scale(1.06); background: var(--gold); border-color: var(--gold); color: var(--ink); }
.play-btn:focus-visible { outline: none; }
.play-btn:focus-visible .play-btn__ring { outline: 2px solid var(--gold); outline-offset: 4px; }
.play-btn[hidden] { display: none; }
.play-btn:disabled { cursor: default; }
.play-btn__note { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 0.8125rem; color: var(--ivory-dim); }

/* Portrait card controls (no fullscreen) */
.video-card__media video { cursor: pointer; }
.vc-controls {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 36px 10px 10px;
  background: linear-gradient(180deg, transparent, rgba(10, 9, 8, 0.78));
  color: var(--ivory);
}
.vc-controls[hidden] { display: none; }
.vc-btn {
  flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(239, 232, 220, 0.14); color: inherit; cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.vc-btn:hover { background: rgba(239, 232, 220, 0.26); }
.vc-btn svg { width: 14px; height: 14px; fill: currentColor; }
.vc-btn .icon-play { margin-left: 2px; }
[data-muted="true"] .icon-sound, [data-muted="false"] .icon-muted { display: none; }
.vc-time { flex: none; min-width: 2.4em; font-size: 0.75rem; text-align: right; color: var(--ivory-dim); font-variant-numeric: tabular-nums; }

.vc-seek {
  --fill: 0%;
  flex: 1; min-width: 0; height: 20px; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
}
.vc-seek:focus-visible { outline: none; }
.vc-seek::-webkit-slider-runnable-track {
  height: 4px; border-radius: 999px;
  background: linear-gradient(to right, var(--gold) var(--fill), rgba(239, 232, 220, 0.3) var(--fill));
}
.vc-seek::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; margin-top: -4px; border: 0; border-radius: 50%; background: var(--ivory);
}
.vc-seek:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--gold); }
.vc-seek::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(239, 232, 220, 0.3); }
.vc-seek::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--gold); }
.vc-seek::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--ivory); }
.vc-seek:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--gold); }

/* 16:9 films keep their own shape (see the video-row widths above) */
.video-card--wide .video-card__media { aspect-ratio: 16 / 9; }

/* Static ads gallery */
/* Static ads carousel: every ad shares one height and keeps its own shape (9:16, 4:5, …) */
.carousel__track--ads {
  --strip-h: min(440px, 100vw);
  grid-auto-columns: max-content;
}
.gallery__button {
  position: relative; display: block; padding: 0;
  border: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--charcoal-850); cursor: zoom-in;
  box-shadow: inset 0 0 0 1px var(--line);
}
.gallery__button img {
  height: var(--strip-h); width: auto; /* width follows the image's own ratio (from its width/height attributes) */
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
}
.gallery__button:hover img { transform: scale(1.03); }
.gallery__button img[data-src] { visibility: hidden; } /* no alt text flashing up before it loads */
.gallery__caption {
  contain: inline-size; /* wrap to the image's width instead of widening the card */
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 14px; font-size: 0.875rem; color: var(--ivory-muted);
}
.gallery__caption span:first-child { color: var(--ivory-dim); font-weight: 500; }

.noscript-note { margin-top: 32px; color: var(--ivory-muted); }

/* Lightbox */
.lightbox {
  width: min(92vw, 1000px); max-height: 92vh; padding: 0; border: 0;
  background: transparent; color: var(--ivory); overflow: visible;
}
.lightbox::backdrop { background: rgba(8, 7, 6, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__figure img { max-width: 100%; max-height: calc(92vh - 60px); width: auto; height: auto; border-radius: var(--radius-sm); }
.lightbox__figure figcaption { font-size: 0.875rem; color: var(--ivory-dim); }
.lightbox__close { position: fixed; top: 16px; right: 16px; background: rgba(16, 15, 14, 0.7); }

/* Pricing estimator ----------------------------------------------------- */
.pricing { position: relative; }
.pricing::before { /* hairline from the portfolio */
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.estimator {
  display: grid; gap: clamp(24px, 3vw, 32px);
  margin-top: clamp(48px, 7vw, 80px);
}
@media (min-width: 960px) {
  .estimator { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: stretch; }
}
/* Currency dropdown (top right of the estimator) */
.currency-picker {
  grid-column: 1 / -1; justify-self: end;
  position: relative; display: flex; align-items: center; gap: 12px;
}
.currency-picker[hidden], .currency-picker__list[hidden] { display: none; }
.currency-picker__label { font-size: 0.8125rem; color: var(--ivory-muted); }
.currency-picker__button {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 16px 8px 12px; margin: 0;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--charcoal-850); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.04em;
  transition: box-shadow 0.2s var(--ease);
}
.currency-picker__button:hover, .currency-picker__button[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--gold); }
.currency-picker__chevron {
  width: 7px; height: 7px; margin: 0 2px 0 4px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.currency-picker__button[aria-expanded="true"] .currency-picker__chevron { transform: translateY(2px) rotate(-135deg); }
.flag { flex: none; width: 22px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(239, 232, 220, 0.14); }
.currency-picker__list {
  position: absolute; z-index: 20; top: calc(100% + 8px); right: 0;
  min-width: 250px; margin: 0; padding: 6px;
  border-radius: 14px; background: var(--charcoal-800);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 24px 48px -16px rgba(0, 0, 0, 0.65);
  animation: currency-pop 0.18s var(--ease);
}
.currency-picker__list:focus { outline: none; }
@keyframes currency-pop { from { opacity: 0; transform: translateY(-6px); } }
.currency-picker__option {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px;
  min-height: 44px; padding: 8px 12px; border-radius: 10px; cursor: pointer; font-size: 0.9375rem;
}
.currency-picker__option.is-active { background: rgba(239, 232, 220, 0.08); }
.currency-picker__code { min-width: 2.6em; font-weight: 600; letter-spacing: 0.04em; }
.currency-picker__name { color: var(--ivory-muted); }
.currency-picker__option[aria-selected="true"] .currency-picker__code { color: var(--gold-soft); }
.currency-picker__option[aria-selected="true"]::after { /* tick */
  content: ""; width: 5px; height: 10px; margin: 0 4px 3px 0;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg);
}

.estimator__controls, .estimator__summary {
  border-radius: var(--radius);
  background: var(--charcoal-850);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -50px rgba(0, 0, 0, 0.6);
}
.estimator__controls { display: grid; padding: clamp(24px, 4vw, 44px); gap: clamp(36px, 5vw, 48px); }
.range-field + .range-field { padding-top: clamp(36px, 5vw, 48px); border-top: 1px solid var(--line); }

.range-field__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.range-field__label { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 500; line-height: 1.15; }
.range-field__rate { margin-top: 6px; font-size: 0.875rem; color: var(--ivory-muted); }
.range-field__offer {
  display: inline-flex; align-items: center; gap: 8px;
  margin: -8px 0 22px; padding: 6px 14px; border-radius: 999px;
  background: rgba(201, 164, 106, 0.13); color: var(--gold-soft);
  font-size: 0.8125rem; font-weight: 600; line-height: 1.4;
}
.range-field__offer::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.range-field__offer[hidden] { display: none; }
.range-field__qty {
  flex: none; font-size: 1rem; font-weight: 600; color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
}
.range-field__scale {
  display: flex; justify-content: space-between;
  padding-inline: 12px; /* half the thumb, so ticks line up with thumb centres */
  margin-top: 10px; font-size: 0.75rem; color: var(--ivory-muted); font-variant-numeric: tabular-nums;
}
.range-field__scale span { width: 0; display: flex; justify-content: center; }
.range-field__subtotal {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 22px; font-size: 0.9375rem; color: var(--ivory-dim);
}
.range-field__subtotal [data-subtotal] { font-weight: 600; color: var(--ivory); font-variant-numeric: tabular-nums; }

/* Range input: gold fill up to the thumb (--fill is set from JS) */
.range {
  --fill: 0%;
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 28px; margin: 0;
  background: transparent; cursor: pointer;
}
.range:focus-visible { outline: none; }
.range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(to right, var(--gold) var(--fill), rgba(239, 232, 220, 0.16) var(--fill));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; margin-top: -9px; border: 0; border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 0 4px rgba(201, 164, 106, 0.35), 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.range:hover::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(201, 164, 106, 0.28), 0 6px 14px rgba(0, 0, 0, 0.35); }
.range:active::-webkit-slider-thumb { transform: scale(1.1); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--charcoal-850), 0 0 0 5px var(--gold); }
.range::-moz-range-track { height: 6px; border-radius: 999px; background: rgba(239, 232, 220, 0.16); }
.range::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--gold); }
.range::-moz-range-thumb {
  width: 24px; height: 24px; border: 0; border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 0 4px rgba(201, 164, 106, 0.35), 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.range:hover::-moz-range-thumb { box-shadow: 0 0 0 7px rgba(201, 164, 106, 0.28), 0 6px 14px rgba(0, 0, 0, 0.35); }
.range:active::-moz-range-thumb { transform: scale(1.1); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--charcoal-850), 0 0 0 5px var(--gold); }

.estimator__summary {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(24px, 4vw, 44px);
}
.estimator__summary::before { /* soft gold light, like the stonemark's seam */
  content: ""; position: absolute; inset: -40% -30% auto auto; width: 80%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(201, 164, 106, 0.16), transparent);
  pointer-events: none;
}
.estimator__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.estimator__total {
  margin-top: 10px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(3.25rem, 6vw, 4.75rem); line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.estimator__lines { margin: 28px 0 32px; display: grid; gap: 12px; font-size: 0.9375rem; }
.estimator__lines div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.estimator__lines dt { color: var(--ivory-dim); }
.estimator__lines dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.estimator__lines div[hidden] { display: none; }
.estimator__bonus dt, .estimator__bonus dd { color: var(--gold-soft); }
.estimator__summary .btn { margin-top: auto; }
.estimator__note { margin-top: 14px; font-size: 0.8125rem; color: var(--ivory-muted); text-align: center; }

/* Assurances (under the estimator) -------------------------------------- */
.pricing { padding-bottom: clamp(56px, 8vw, 96px); } /* keeps the assurances close to the estimate */
.assurance { padding-top: 0; }
.assurance__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin-top: 24px;
}
@media (min-width: 960px) {
  .assurance__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}
.assurance__item {
  display: flex; flex-direction: column;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--radius);
  background: var(--charcoal-850);
  box-shadow: inset 0 0 0 1px var(--line);
}
.assurance__icon { /* full-colour icons need a light tile */
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ivory);
}
.assurance__icon img { width: 20px; height: auto; }
.assurance__title { margin-top: 18px; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.assurance__text { margin-top: 8px; font-size: 0.875rem; line-height: 1.55; color: var(--ivory-muted); }
@media (max-width: 400px) {
  .assurance__item { padding: 16px 14px; }
  .assurance__title { font-size: 0.9375rem; }
  .assurance__text { font-size: 0.8125rem; }
}

/* Contact (ivory section) ----------------------------------------------- */
.contact {
  background:
    radial-gradient(70% 60% at 0% 0%, rgba(255, 255, 255, 0.5), transparent 70%),
    var(--paper);
  color: var(--ink);
}
.contact ::selection { background: var(--ink); color: var(--paper); }
.contact :focus-visible { outline-color: var(--ink-gold); }
.contact__inner { display: grid; gap: clamp(48px, 7vw, 96px); align-items: start; }
@media (min-width: 960px) {
  .contact__inner { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
  .contact__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}
.contact__lede { margin-top: 22px; max-width: 30rem; color: var(--ink-dim); font-size: 1.0625rem; }
.contact__direct { margin-top: 24px; color: var(--ink-dim); }
.contact__direct a { color: var(--ink); font-weight: 600; text-decoration-color: var(--ink-gold); text-underline-offset: 4px; }
.contact__direct a:hover { color: var(--ink-gold); }

.logo-plate {
  margin-top: clamp(40px, 6vw, 64px);
  width: min(100%, 260px);
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 30px 60px -32px rgba(40, 30, 15, 0.45), 0 0 0 1px var(--line-ink);
  rotate: -2deg;
}
.logo-plate img { width: 100%; height: auto; }
@media (max-width: 959px) { .logo-plate { display: none; } }

.contact__form-wrap {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px var(--line-ink), 0 40px 80px -48px rgba(40, 30, 15, 0.45);
}
.contact-form { display: grid; gap: 26px; container-type: inline-size; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .choice-group legend { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; }
.req { color: var(--ink-gold); }
.optional, .legend-note { font-weight: 400; color: var(--ink-dim); }
.legend-note { font-size: 0.8125rem; }

/* Two fields side by side once the form card is wide enough */
.field-row { display: grid; gap: 26px; }
@container (min-width: 460px) {
  .field-row { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* Grouped choices: creative type, brand colours, budget */
.choice-group { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.choice-group legend { padding: 0; margin-bottom: 10px; }
.choice-group > .field__hint { margin-top: -4px; }

.choice { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice:has(input:focus-visible) { outline: 2px solid var(--ink-gold); outline-offset: 2px; }

.choice-grid--cards { display: grid; gap: 10px; }
@container (min-width: 460px) {
  .choice-grid--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.choice--card {
  padding: 14px 16px; min-height: 64px;
  border: 1px solid rgba(26, 24, 22, 0.22); border-radius: var(--radius-sm);
  background: #fbf8f3; font-size: 0.9375rem; font-weight: 500; line-height: 1.3;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.choice--card:hover { border-color: rgba(26, 24, 22, 0.45); }
.choice--card:has(input:checked) { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.choice__box {
  flex: none; display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 6px;
  border: 1.5px solid rgba(26, 24, 22, 0.4); background: #fff;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.choice__box::after {
  content: ""; width: 5px; height: 10px; margin-top: -2px;
  border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0);
  transition: transform 0.2s var(--ease);
}
.choice input:checked + .choice__box { background: var(--ink); border-color: var(--ink); }
.choice input:checked + .choice__box::after { transform: rotate(45deg) scale(1); }
.choice-group[data-invalid] .choice--card { border-color: var(--danger-ink); }

.choice-grid--pills { display: flex; flex-wrap: wrap; gap: 8px; }
.choice--pill {
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(26, 24, 22, 0.22); background: #fbf8f3;
  font-size: 0.9375rem; font-weight: 500;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.choice--pill:hover { border-color: rgba(26, 24, 22, 0.45); }
.choice--pill:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Brand colour: swatch (opens the native colour picker) + HEX text input */
.colour-grid { display: grid; gap: 12px; }
@container (min-width: 460px) {
  .colour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.colour-field__label { display: block; margin-bottom: 6px; font-size: 0.8125rem; font-weight: 500; color: var(--ink-dim); }
.colour-field__control {
  display: flex; align-items: center; gap: 6px; padding: 5px;
  border: 1px solid rgba(26, 24, 22, 0.22); border-radius: var(--radius-sm); background: #fbf8f3;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.colour-field__control:hover { border-color: rgba(26, 24, 22, 0.4); }
.colour-field__control:focus-within { border-color: var(--ink-gold); box-shadow: 0 0 0 3px rgba(122, 92, 43, 0.18); }
.colour-field__control:has([aria-invalid="true"]) { border-color: var(--danger-ink); }
.colour-field__swatch {
  position: relative; flex: none; overflow: hidden;
  width: 38px; height: 38px; border-radius: 7px;
  background: var(--swatch, transparent);
  box-shadow: inset 0 0 0 1px rgba(26, 24, 22, 0.16);
  cursor: pointer;
}
.colour-field__swatch[data-empty] { /* checkerboard + plus sign until a colour is chosen */
  background: repeating-conic-gradient(#e7e0d4 0% 25%, #fbf8f3 0% 50%) 50% / 10px 10px;
}
.colour-field__swatch[data-empty]::after {
  content: "+"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 1.25rem; font-weight: 400; color: var(--ink-dim); pointer-events: none;
}
.colour-field__swatch:has(input:focus-visible) { outline: 2px solid var(--ink-gold); outline-offset: 2px; }
.colour-field__swatch input {
  position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px);
  padding: 0; border: 0; opacity: 0; cursor: pointer;
}
.colour-field__control input[type="text"] {
  flex: 1; min-width: 0; padding: 8px 6px; border: 0; background: transparent; color: var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1rem; letter-spacing: 0.04em; /* 16px+ stops iOS zooming on focus */
  text-transform: uppercase;
}
.colour-field__control input[type="text"]::placeholder { color: rgba(26, 24, 22, 0.38); }
.colour-field__control input[type="text"]:focus { outline: none; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-required { font-size: 0.8125rem; color: var(--ink-dim); }
@container (max-width: 459px) {
  .form-actions .btn { width: 100%; }
}
.field input, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid rgba(26, 24, 22, 0.22); border-radius: var(--radius-sm);
  background: #fbf8f3; color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #8c8579; opacity: 1; }
.field input:hover, .field textarea:hover { border-color: rgba(26, 24, 22, 0.4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink-gold); box-shadow: 0 0 0 3px rgba(122, 92, 43, 0.18); }
.field [aria-invalid="true"] { border-color: var(--danger-ink); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(155, 47, 28, 0.15); }
.field__hint { font-size: 0.8125rem; color: var(--ink-dim); }
.field__error { font-size: 0.8125rem; font-weight: 500; color: var(--danger-ink); }
.field__error:empty { display: none; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 0.875rem; color: var(--ink-dim); }
.form-note:empty { display: none; }
.form-note a { color: var(--ink); font-weight: 600; }

.form-status:empty { display: none; }
.form-status {
  padding: 14px 16px; border-radius: var(--radius-sm);
  font-size: 0.9375rem; border: 1px solid var(--line-ink); background: #fbf8f3;
}
.form-status[data-tone="success"] { border-color: rgba(47, 91, 53, 0.35); background: #eef3ea; color: var(--success-ink); }
.form-status[data-tone="error"] { border-color: rgba(155, 47, 28, 0.35); background: #f8ebe6; color: var(--danger-ink); }
.form-status a { color: inherit; font-weight: 600; }

/* Success panel (replaces the form after a successful send) */
.contact-form[hidden], .form-success[hidden] { display: none; }
.form-success {
  display: grid; justify-items: center; gap: 18px;
  padding: clamp(8px, 3vw, 28px) 0; text-align: center;
}
.form-success__icon svg { width: 76px; height: 76px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.form-success__icon circle { fill: var(--ink); stroke: none; }
.form-success__icon path {
  stroke: var(--gold-soft); stroke-width: 3.5;
  stroke-dasharray: 40; stroke-dashoffset: 0;
}
.form-success__title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 500; line-height: 1.05; }
.form-success__title:focus { outline: none; }
.form-success__lede { max-width: 30rem; font-size: 1.0625rem; color: var(--ink-dim); }

.form-success__promise {
  display: flex; align-items: center; gap: 16px;
  width: min(100%, 26rem); margin-top: 6px; padding: 18px 20px;
  border: 1px solid rgba(122, 92, 43, 0.4); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(220, 192, 147, 0.38), rgba(201, 164, 106, 0.16));
  box-shadow: 0 18px 40px -28px rgba(122, 92, 43, 0.6);
  text-align: left;
}
.form-success__clock {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--gold-soft);
}
.form-success__clock svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-success__promise p { display: grid; gap: 2px; }
.form-success__promise strong { font-size: 1.1875rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.form-success__promise p > span { font-size: 0.9375rem; color: var(--ink-dim); }
.form-success__email { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }

.form-success__note { max-width: 28rem; font-size: 0.875rem; color: var(--ink-dim); }
.form-success__note a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

.btn--outline-ink { border-color: rgba(26, 24, 22, 0.3); color: var(--ink); background: transparent; }
.btn--outline-ink:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.6); }

@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) { animation: success-in 0.6s var(--ease) both; }
  .form-success:not([hidden]) .form-success__icon svg { animation: success-pop 0.5s var(--ease) 0.1s both; }
  .form-success:not([hidden]) .form-success__icon path { animation: success-tick 0.55s var(--ease) 0.35s both; }
  .form-success:not([hidden]) .form-success__promise { animation: success-in 0.6s var(--ease) 0.45s both; }
}
@keyframes success-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes success-pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes success-tick { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }

/* FAQ accordion ---------------------------------------------------------- */
.faq__inner { display: grid; gap: clamp(40px, 6vw, 72px); align-items: start; }
@media (min-width: 960px) {
  .faq__inner { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
  .faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
}
.faq__list { border-bottom: 1px solid var(--line-strong); }
.faq__item { border-top: 1px solid var(--line-strong); }
.faq__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; padding: clamp(22px, 2.6vw, 30px) 0; margin: 0;
  border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.3125rem, 2.2vw, 1.625rem); line-height: 1.25;
  transition: color 0.25s var(--ease);
}
.faq__trigger:hover, .faq__item.is-open .faq__trigger { color: var(--gold-soft); }
.faq__icon { position: relative; flex: none; width: 14px; height: 14px; color: var(--gold); }
.faq__icon::before, .faq__icon::after { /* plus; the upright bar turns flat to make a minus */
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -0.75px;
  background: currentColor; border-radius: 1px;
  transition: transform 0.4s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }

/* Closed panels collapse to nothing; grid rows animate the height both ways */
.faq__panel {
  display: grid; grid-template-rows: 1fr;
  transition: grid-template-rows 0.45s var(--ease), visibility 0s;
}
.faq__answer { min-height: 0; overflow: hidden; }
.faq__answer p {
  max-width: 38rem; padding: 0 clamp(0px, 4vw, 48px) clamp(24px, 2.8vw, 32px) 0;
  color: var(--ivory-dim); font-size: 1rem; line-height: 1.7;
  transition: opacity 0.35s var(--ease) 0.08s;
}
.js .faq__item:not(.is-open) .faq__panel {
  grid-template-rows: 0fr; visibility: hidden; /* hidden also keeps closed answers out of tab order */
  transition: grid-template-rows 0.4s var(--ease), visibility 0s 0.4s;
}
.js .faq__item:not(.is-open) .faq__answer p { opacity: 0; transition-delay: 0s; }

/* Footer ----------------------------------------------------------------- */
.site-footer { padding-block: clamp(56px, 8vw, 88px) 40px; border-top: 1px solid var(--line); background: var(--charcoal-950); }
.site-footer__inner { display: grid; gap: 36px; }
@media (min-width: 860px) {
  .site-footer__inner { grid-template-columns: 1.3fr 1fr auto; align-items: start; }
  .site-footer__legal { grid-column: 1 / -1; }
}
.site-footer__brand { display: flex; align-items: center; gap: 16px; }
.site-footer__brand img { width: 48px; height: 48px; border-radius: 10px; }
.site-footer__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.04em; }
.site-footer__tag { font-size: 0.875rem; color: var(--ivory-muted); }
.site-footer__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.site-footer__contact { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__email { display: inline-block; max-width: 100%; overflow-wrap: anywhere; margin-top: 8px; font-family: var(--font-display); font-size: clamp(1.375rem, 2.4vw, 1.75rem); text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.site-footer__email:hover { color: var(--gold-soft); border-color: var(--gold); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 0.9375rem; }
.site-footer__nav a { display: inline-block; padding-block: 10px; color: var(--ivory-dim); text-decoration: none; } /* 44px-tall tap targets */
.site-footer__nav a:hover { color: var(--ivory); }
.site-footer__legal { padding-top: 28px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ivory-muted); }

/* Motion ----------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .hero .reveal:nth-child(2) { transition-delay: 0.08s; }
  .js .hero .reveal:nth-child(3) { transition-delay: 0.16s; }
  .js .hero .reveal:nth-child(4) { transition-delay: 0.24s; }
  .js .hero .reveal:nth-child(5) { transition-delay: 0.32s; }

  .js .phone { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
  .js .hero__devices.is-visible .phone { opacity: 1; transform: none; }
  .js .hero__devices.is-visible .phone--center { transition-delay: 0.15s; }
  .js .hero__devices.is-visible .phone--side:last-child { transition-delay: 0.3s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Touch screens: bigger targets for fingers ------------------------------ */
@media (pointer: coarse) {
  .vc-btn { width: 44px; height: 44px; }
  .vc-btn svg { width: 16px; height: 16px; }
  .vc-seek { height: 44px; }
  .vc-seek::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -7px; }
  .vc-seek::-moz-range-thumb { width: 18px; height: 18px; }
  .range { height: 44px; }
  .range::-webkit-slider-thumb { width: 30px; height: 30px; margin-top: -12px; }
  .range::-moz-range-thumb { width: 30px; height: 30px; }
  .range-field__scale { padding-inline: 15px; } /* half the bigger handle, so ticks stay under its centre */
  .site-footer__email { padding-block: 6px; }
}
