/* A to Zed Marketing, one-page site. Black cinema: color arrives through imagery. */

@font-face { font-family: "Switzer"; src: url("../assets/fonts/switzer-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../assets/fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../assets/fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #000000;
  --ink-2: #0a0a0a;
  --ink-3: #141414;
  --paper: #ffffff;
  --paper-2: #f3f3f1;
  --mist: #898989;
  --slate: #5a5a5a;
  --hair: rgba(255, 255, 255, 0.1);
  --hair-2: rgba(255, 255, 255, 0.18);
  --hair-dark: rgba(0, 0, 0, 0.08);
  --amber: #c9742b;
  --amber-deep: #3a1e0e;
  --steel: #4f6b8f;
  --steel-deep: #0e1a2b;
  --forest: #2e6b4f;
  --forest-deep: #0b1f17;
  --magenta: #b5407a;
  --magenta-deep: #2a0f22;
  --warm-deep: #3b2a22;
  /* Brand accent: the electric blue of the logo swoosh. Black + white + this blue everywhere. */
  --blue: #3b5bfd;
  --blue-hi: #3b7bfb;
  --blue-deep: #0a1130;
  --blue-glow: rgba(59, 91, 253, 0.35);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --font: "Switzer", "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --nav-h: 72px;
  --radius: 10px;
  --scene-ms: 9000ms;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.4;
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

::selection { background: var(--blue); color: #fff; }
[data-theme="light"] ::selection { background: var(--ink); color: var(--paper); }

:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; border-radius: 2px; }
[data-theme="light"] :focus-visible { outline-color: var(--ink); }

img, video, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 12px 16px; border-radius: 4px;
  transition: top 160ms var(--ease-out);
}
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.t-display {
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}
.t-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}
.t-sub {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.t-body { font-size: 15px; line-height: 1.4; }
.t-body-lg { font-size: 17px; line-height: 1.45; }
.t-foot { font-size: 13px; line-height: 1.4; }
.t-label { font-size: 12px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }
.muted { color: var(--mist); }
[data-theme="light"] .muted { color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 22px 28px;
  background: var(--paper); color: var(--ink);
  border-radius: 4px;
  font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn .arrow { width: 14px; height: 14px; flex: 0 0 auto; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #e9e9e6; }
  .btn:hover .arrow { transform: translateX(4px); }
}
.btn:active { transform: scale(0.98); }
.btn--dark { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .btn--dark:hover { background: #262626; } }
.btn--sm { padding: 13px 18px; font-size: 13px; }
.btn--ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--hair-2); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: rgba(255,255,255,0.08); } }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
}
.link .arrow { width: 1em; height: 1em; flex: 0 0 auto; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover .arrow { transform: translateX(4px); } }

.arrow { display: inline-block; width: 1em; height: 1em; vertical-align: -0.12em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { position: relative; padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.section--light { background: var(--paper); color: var(--ink); color-scheme: light; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head p { margin-top: 14px; }
.section-head .t-body-lg { max-width: 48ch; margin-left: auto; margin-right: auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h); margin-bottom: calc(var(--nav-h) * -1);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  color: var(--paper);
  transition: color 300ms var(--ease-out), background-color 300ms var(--ease-out);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity 300ms var(--ease-out);
}
.nav.is-scrolled:not(.is-light)::before { opacity: 1; }
.nav.is-light { color: var(--ink); }
.nav.is-light.is-scrolled::before { opacity: 1; background: rgba(255, 255, 255, 0.82); }
.nav__logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.nav__mark { width: auto; height: 30px; aspect-ratio: 566 / 330; }
.nav__word { width: auto; height: 30px; aspect-ratio: 810 / 153; }
.nav__links { display: flex; align-items: center; gap: 32px; justify-self: center; }
.nav__links a { font-size: 14px; font-weight: 500; opacity: 0.86; transition: opacity 160ms var(--ease-out); padding: 8px 0; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { opacity: 1; } }
/* Services dropdown: plain links in the HTML, opened by hover or keyboard focus. */
.nav__drop { position: relative; display: flex; align-items: center; }
.nav__panel {
  position: absolute; left: -20px; top: 100%; width: 300px; padding: 8px;
  display: grid; gap: 2px; border-radius: 14px; color: var(--paper);
  background: rgba(10, 10, 10, 0.96); box-shadow: inset 0 0 0 1px var(--hair-2), 0 24px 60px rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(6px); transform-origin: top left;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s linear 160ms;
}
.nav__drop:hover .nav__panel, .nav__drop:focus-within .nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__links .nav__panel a { display: block; padding: 10px 12px; border-radius: 8px; opacity: 1; transition: background-color 120ms var(--ease-out); }
.nav__panel a b { display: block; font-weight: 500; }
.nav__panel a span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--mist); }
@media (hover: hover) and (pointer: fine) { .nav__links .nav__panel a:hover { background: rgba(255, 255, 255, 0.08); } }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.nav .btn--sm { background: var(--paper); color: var(--ink); }
.nav.is-light .btn--sm { background: var(--ink); color: var(--paper); }
.nav__burger { width: 44px; height: 44px; display: none; place-items: center; }
.nav__burger span { position: relative; display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform 240ms var(--ease-out), opacity 160ms var(--ease-out); }
.nav__burger span + span { margin-top: 6px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(7.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .nav .nav__cta { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--ink); color: var(--paper);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu__links a { display: block; font-size: clamp(2rem, 9vw, 3rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.15; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.menu { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.menu__links .menu__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin-top: 12px; }
.menu__links .menu__more a { font-size: 15px; font-weight: 400; letter-spacing: 0; line-height: 1.3; padding: 12px 0; color: #c9c9c9; border-bottom: 0; }
.menu__foot { display: flex; flex-direction: column; gap: 16px; }
.menu__foot { margin-top: 24px; }
.menu__foot .btn { justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow-x: clip; }
.hero__stage { position: relative; height: clamp(620px, 100svh, 1040px); }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__scene { position: absolute; inset: 0; opacity: 0; transition: opacity 800ms var(--ease-out); will-change: opacity; }
.hero__scene.is-active { opacity: 1; }
/* The clips are black-edged with the subject on the right third: show the whole frame (no crop) and let
   the black page fill any spare space, so the subject is never cut off at the right edge. */
.hero__scene img, .hero__scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center top; }
.hero__scene video { opacity: 0; transition: opacity 400ms var(--ease-out); }
.hero__scene video.is-ready { opacity: 1; }
.hero__poster { display: none; position: absolute; inset: 0; }
.hero__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 40% at 50% 44%, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 58%, rgba(0,0,0,0.55) 78%, #000 100%);
}
.hero__text {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 44%; transform: translateY(-50%);
  text-align: center; max-width: 760px; margin: 0 auto; z-index: 2;
}
.hero__text h1 { text-shadow: 0 2px 24px rgba(0,0,0,0.25); }
.hero__text h1 > span { display: block; }
.hero__text .hero__kicker { margin-bottom: 14px; font-size: clamp(14px, 1.3vw, 17px); font-weight: 500; letter-spacing: 0.01em; line-height: 1.3; color: #e8e8e8; }
.hero__text .t-body-lg { max-width: 44ch; margin: 22px auto 0; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.hero__text .btn { margin-top: 32px; }
.hero__text .t-foot { margin-top: 22px; opacity: 0.92; }
.hero__services { display: none; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 340px; margin: 20px auto 0; padding: 0; list-style: none; }
.hero__services a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 1; box-shadow: inset 0 0 0 1px var(--hair-2); background: rgba(0,0,0,0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* angled card strip */
.hero__strip {
  --card-w: clamp(250px, 46vw, 476px);
  --card-h: calc(var(--card-w) / 1.6);
  position: relative; z-index: 3;
  height: var(--card-h);
  margin-top: calc(var(--card-h) * -0.72);
}
.hero__strip { -webkit-user-select: none; user-select: none; touch-action: pan-y; }
.hero__cards { position: relative; height: 100%; cursor: grab; transition: transform 700ms var(--ease-out); }
.hero__cards.is-dragging { cursor: grabbing; transition: none; }
.hero__card img { -webkit-user-drag: none; }
.hero__card {
  position: absolute; left: 50%; top: 0;
  width: var(--card-w); height: var(--card-h);
  margin-left: calc(var(--card-w) / -2);
  border-radius: 6px; /* no overflow clip: the title sits above the card */
  background: var(--ink-3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform-origin: 50% 100%;
  transition: transform 700ms var(--ease-out), opacity 500ms var(--ease-out);
  will-change: transform, opacity;
}
.hero__card.is-jump { transition: none; }
.hero__card img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hero__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(0,0,0,0.35); opacity: 0; transition: opacity 500ms var(--ease-out); }
.hero__card:not(.is-center)::after { opacity: 1; }
.hero__card:not(.is-center) { cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .hero__card:not(.is-center):hover::after { opacity: 0.15; } }
.hero__card-title {
  position: absolute; left: 2px; bottom: 100%; margin-bottom: 12px;
  display: flex; align-items: baseline; gap: 8px; max-width: 100%;
  font-size: 15px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--paper); transition: opacity 500ms var(--ease-out);
}
.hero__card-title b { font-weight: 500; }
.hero__card-title span { color: var(--mist); }
.hero__card:not(.is-center) .hero__card-title { opacity: 0.45; }

.hero__ctl {
  position: absolute; top: 0; bottom: 0; width: calc(50% - var(--card-w) / 2); z-index: 20; /* above the cards (they use 7..10) */
  display: none; cursor: none;
}
.hero__ctl--prev { left: 0; }
.hero__ctl--next { right: 0; }
.hero__ctl-label {
  position: absolute; left: 0; top: 0; display: inline-block;
  padding: 20px 26px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 160ms var(--ease-out);
  pointer-events: none;
}
.hero__ctl:hover .hero__ctl-label { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .hero__ctl { display: block; } }

.hero__arrows { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.hero__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--hair-2); }
.hero__arrow svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .hero__arrows { display: none; } }

.hero__scenes {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  max-width: 880px; margin: 36px auto 0; padding: 0 var(--gutter);
}
.hero__scene-btn {
  position: relative; text-align: left; padding: 14px 0 0;
  font-size: 14px; font-weight: 500; color: var(--mist);
  transition: color 240ms var(--ease-out);
}
.hero__scene-btn::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair-2); }
.hero__scene-btn::after {
  content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%;
  background: var(--blue-hi); transform: scaleX(0); transform-origin: left center;
}
.hero__scene-btn.is-active { color: var(--paper); }
.hero__scene-btn.is-active::after { animation: scene-progress var(--scene-ms) linear forwards; }
.hero.is-paused .hero__scene-btn.is-active::after { animation-play-state: paused; }
@keyframes scene-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__scene-btn small { display: block; font-weight: 400; color: var(--mist); margin-top: 2px; font-size: 12px; }

.hero__pause {
  position: absolute; right: var(--gutter); bottom: 18px; z-index: 6;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,0.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.hero__pause svg { width: 12px; height: 12px; }
.hero__pause .ic-play { display: none; }
.hero.is-paused .hero__pause .ic-pause { display: none; }
.hero.is-paused .hero__pause .ic-play { display: block; }

/* stats */
.hero__stats { text-align: center; padding: clamp(72px, 9vw, 120px) var(--gutter) clamp(72px, 9vw, 120px); }
.hero__stats > p { margin-bottom: clamp(40px, 5vw, 64px); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin: 0 auto; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stat__num { display: inline-flex; align-items: baseline; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.digit { position: relative; display: inline-block; height: 1em; overflow: hidden; }
.digit__col { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1400ms var(--ease-out); will-change: transform; }
.digit__col span { display: block; height: 1em; line-height: 1; text-align: center; }
.stat__suffix { margin-left: 0; }
.stat__label { color: var(--mist); font-size: 14px; }
/* Phone hero: one static poster, text and the service list, stats in the same screen (no video carousel on phones). */
@media (max-width: 640px) {
  .hero__stage { height: clamp(540px, 72svh, 680px); }
  .hero__scene, .hero__pause, .hero__strip, .hero__arrows, .hero__scenes { display: none; }
  .hero__poster { display: block; }
  .hero__shade {
    background:
      linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0) 48%),
      linear-gradient(to bottom, rgba(0,0,0,0) 58%, rgba(0,0,0,0.5) 82%, #000 100%);
  }
  .hero__text .t-body-lg, .hero__text .t-foot { text-shadow: 0 1px 14px rgba(0,0,0,0.5); }
  .hero__text { top: 52%; }
  .hero__text .t-body-lg { font-size: 15px; line-height: 1.4; font-weight: 500; max-width: 32ch; margin-top: 18px; }
  .hero__text .btn { margin-top: 26px; }
  .hero__text .t-foot { margin-top: 18px; font-size: 14px; }
  .hero__services { display: flex; }
  .hero__stats { padding: 36px var(--gutter) 56px; }
  .hero__stats > p { margin-bottom: 28px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .stat { gap: 8px; }
  .stat__num { font-size: 2.3rem; }
  .stat__label { font-size: 12px; line-height: 1.3; }
}

/* ---------- Section: two ways to start ---------- */
.start__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1120px; margin: 0 auto; }
.start-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(to bottom, #0c1125 0%, #07090f 62%); color: var(--paper); color-scheme: dark;
  box-shadow: inset 0 0 0 1px var(--hair);
  border-radius: 14px; overflow: hidden; min-height: 620px;
}
.start-card__vis { position: relative; flex: 1; min-height: 380px; overflow: hidden; }
.start-card__body { padding: 28px 32px 36px; text-align: center; }
.start-card__body p { color: #c9c9c9; max-width: 38ch; margin: 0 auto 18px; }
.start-card__body .link { font-size: 20px; }
@media (max-width: 860px) {
  .start__grid { grid-template-columns: 1fr; }
  .start-card { min-height: 0; }
}

/* calendar animation (card A) */
.cal { position: absolute; inset: 10% 12% 6%; display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.cal__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--mist); }
.cal__head strong { color: var(--paper); font-weight: 500; font-size: 15px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__cell { position: relative; aspect-ratio: 1; border-radius: 6px; background: var(--ink-3); overflow: hidden; }
.cal__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); }
.cal__cell i { position: absolute; left: 6px; top: 4px; font-style: normal; font-size: 10px; color: var(--mist); }
.cal__cell::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--paper); opacity: 0; }
.cal__grid.is-live .cal__cell img { animation: cal-in 400ms var(--ease-out) forwards; animation-delay: calc(var(--d) * 110ms); }
.cal__grid.is-live .cal__cell::after { animation: cal-dot 300ms var(--ease-out) forwards; animation-delay: calc(var(--d) * 110ms + 200ms); }
@keyframes cal-in { to { opacity: 1; transform: scale(1); } }
@keyframes cal-dot { to { opacity: 1; } }
.cal__toast {
  position: absolute; left: 50%; bottom: 8%; transform: translate(-50%, 8px);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; background: var(--paper); color: var(--ink);
  font-size: 13px; font-weight: 500; opacity: 0; white-space: nowrap;
}
.cal__toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-hi); }
.cal__grid.is-live ~ .cal__toast { animation: toast-in 500ms var(--ease-out) forwards; animation-delay: 3.6s; }
@keyframes toast-in { to { opacity: 1; transform: translate(-50%, 0); } }

/* site assembly animation (card B) */
.build { position: absolute; inset: 12% 12% 0; border-radius: 10px 10px 0 0; overflow: hidden; background: #140e0a; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.build__bar { height: 26px; background: #e4e4e0; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.build__bar i { width: 8px; height: 8px; border-radius: 50%; background: #c6c6c0; }
.build__bar b { margin-left: 8px; flex: 1; height: 12px; border-radius: 6px; background: var(--paper); }
.build__site { position: relative; padding: 14px 16px 0; color: #f3e9dc; }
.build__nav { display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(8px); }
.build__brand { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 13px; letter-spacing: 0.02em; }
.build__links { display: flex; gap: 10px; }
.build__links i { font-style: normal; font-size: 7.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #cdbda9; }
.build__pill { font-size: 7.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 8px; box-shadow: inset 0 0 0 1px #cdbda9; border-radius: 2px; }
.build__hero { margin-top: 18px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 14px; align-items: center; }
.build__copy > * { opacity: 0; transform: translateY(8px); }
.build__copy h4 { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 400; font-size: clamp(20px, 2vw, 28px); line-height: 0.98; letter-spacing: -0.02em; }
.build__copy h4 em { font-style: italic; color: #d9a66a; }
.build__copy p { margin: 8px 0 0; font-size: 9px; line-height: 1.45; color: #cdbda9; max-width: 26ch; }
.build__cta { display: inline-block; margin-top: 10px; padding: 7px 10px; background: #f3e9dc; color: #140e0a; font-size: 7.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.build__img { position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: #2a1d14; opacity: 0; transform: translateY(8px); }
.build__img img { width: 100%; height: 100%; object-fit: cover; }
.build__row { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.build__row div { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: #2a1d14; opacity: 0; transform: translateY(8px); }
.build__row img { width: 100%; height: 100%; object-fit: cover; }
.build.is-live .build__nav, .build.is-live .build__copy > *, .build.is-live .build__img, .build.is-live .build__row div {
  animation: build-in 500ms var(--ease-out) forwards; animation-delay: calc(var(--d) * 160ms);
}
@keyframes build-in { to { opacity: 1; transform: none; } }

/* ---------- Section: every channel ---------- */
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 0 auto clamp(28px, 4vw, 44px); }
.tab { padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--mist); transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.tab.is-active { background: var(--blue); color: #fff; }
@media (hover: hover) and (pointer: fine) { .tab:not(.is-active):hover { color: var(--paper); } }
@media (max-width: 640px) {
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; }
}

.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  /* Keeps the first snap point at 0: a snap scroll during load makes Chrome stop recording LCP. */
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 12px;
  margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel__foot { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 20px; }
.dots { display: flex; }
/* 24px tap target around a 6px dot. */
.dots button { display: grid; place-items: center; width: 24px; height: 24px; color: inherit; }
.dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.25; transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out); }
.dots button.is-active { color: var(--blue-hi); }
.dots button.is-active::before { opacity: 1; transform: scale(1.3); }
.carousel__nav { display: flex; gap: 8px; }
.carousel__btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px currentColor; opacity: 0.6; transition: opacity 160ms var(--ease-out); }
.carousel__btn svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .carousel__btn:hover { opacity: 1; } }
.carousel__btn:disabled { opacity: 0.2; cursor: default; }

.ch-card {
  position: relative; flex: 0 0 auto;
  width: min(560px, 82vw); aspect-ratio: 4 / 3;
  border-radius: 14px; overflow: hidden;
  background: var(--ink-3); color: var(--paper);
  scroll-snap-align: center;
  isolation: isolate;
}
.ch-card img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ch-card:hover img { transform: scale(1.03); } }
.ch-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.72) 55%, rgba(0,0,0,0.12) 78%, rgba(0,0,0,0.15) 100%); }
.ch-card__body { position: relative; z-index: 2; padding: 28px; display: flex; flex-direction: column; height: 100%; }
.ch-card__body h3 { font-size: 26px; font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; text-shadow: 0 1px 2px rgba(0,0,0,0.5), 0 4px 18px rgba(0,0,0,0.45); }
.ch-card__body p { margin-top: 10px; max-width: 34ch; color: #ececec; text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 3px 14px rgba(0,0,0,0.45); }
.ch-card__meta { margin-top: 14px; font-size: 12px; color: #d6d6d6; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
.ch-card__meta b { font-weight: 500; color: var(--paper); }
.ch-card__arrow { position: absolute; right: 24px; bottom: 22px; width: 22px; height: 22px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ch-card:hover .ch-card__arrow { transform: translateX(4px); } }
@media (max-width: 640px) { .ch-card { aspect-ratio: 4 / 4.4; } .ch-card__body { padding: 22px; } .ch-card__body h3 { font-size: 22px; } }

/* ---------- Section: what a month includes ---------- */
.month {
  background: linear-gradient(to bottom, var(--blue-deep) 0%, #050918 42%, var(--ink) 100%);
  color: var(--paper);
}
.month__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.month__head p { max-width: 46ch; color: #c9cdd8; }
@media (max-width: 860px) { .month__head { grid-template-columns: 1fr; align-items: start; } }

.m-card {
  position: relative; flex: 0 0 auto;
  width: min(420px, 82vw); aspect-ratio: 3 / 4;
  border-radius: 14px; overflow: hidden;
  background: rgba(10, 10, 10, 0.72); box-shadow: inset 0 0 0 1px var(--hair);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
}
.m-card__body { padding: 26px 26px 0; }
.m-card__body h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.m-card__body p { margin-top: 8px; color: #c4c8d2; max-width: 32ch; }
.m-card__vis { position: relative; flex: 1; margin-top: 20px; overflow: hidden; }
.m-card__arrow { position: absolute; right: 22px; bottom: 18px; z-index: 2; font-size: 22px; }

/* illustration bits inside month cards */
.vis-photo { position: absolute; inset: 0; }
.vis-photo img { width: 100%; height: 100%; object-fit: cover; }
.vis-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0) 55%); }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.chip--dark { background: rgba(0,0,0,0.7); color: var(--paper); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-hi); }
.phone {
  position: absolute; left: 50%; bottom: -22%; transform: translateX(-50%);
  width: 50%; aspect-ratio: 9 / 18; border-radius: 26px; background: #1c1c1c;
  box-shadow: inset 0 0 0 2px #333, 0 30px 60px rgba(0,0,0,0.5); overflow: hidden; padding: 8px;
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: #000; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.7) 100%); }
.phone__cap { z-index: 1; }
.phone__cap { position: absolute; left: 10px; right: 10px; top: 48%; font-size: 10px; line-height: 1.3; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.phone__cap b { font-weight: 500; }
.timeline { position: absolute; inset: 7% 8% 6%; display: flex; flex-direction: column; gap: 10px; }
.timeline__preview { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair); flex: 0 0 auto; }
.timeline__preview img { width: 100%; height: 100%; object-fit: cover; }
.timeline__tc { position: absolute; right: 8px; bottom: 6px; font-size: 10px; font-variant-numeric: tabular-nums; color: var(--paper); background: rgba(0,0,0,0.55); padding: 2px 6px; border-radius: 3px; }
.timeline__tracks { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.timeline__row { display: flex; gap: 6px; align-items: center; min-height: 0; flex: 1; }
.timeline__row b { width: 36px; font-size: 10px; color: var(--mist); font-weight: 400; flex: 0 0 auto; }
.timeline__row span { height: 100%; min-height: 14px; max-height: 26px; border-radius: 4px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; position: relative; }
.timeline__row span img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.timeline__row span.ac { background: var(--blue); }
.timeline__row span.au { background: #1d2a5c; }
.timeline__head { position: absolute; left: 24%; top: 0; bottom: 0; width: 1px; background: var(--paper); }
.timeline__head::before { content: ""; position: absolute; left: -5px; top: -4px; width: 11px; height: 11px; border-radius: 2px; background: var(--paper); }
/* Local SEO card: a dark street map, the search, our pin and the #1 map-pack result */
.lmap { position: absolute; inset: 0; width: 100%; height: 100%; }
.lmap__pulse { fill: rgba(59, 91, 253, 0.35); transform-box: fill-box; transform-origin: center; animation: lmap-pulse 2.4s var(--ease-out) infinite; }
@keyframes lmap-pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }
.lsearch {
  position: absolute; left: 7%; right: 7%; top: 7%; display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: 999px; background: var(--paper); color: #202124;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.lsearch i { position: relative; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #4285f4; flex: 0 0 auto; }
.lsearch i::after { content: ""; position: absolute; width: 6px; height: 2px; background: #4285f4; right: -5px; bottom: -3px; transform: rotate(45deg); border-radius: 1px; }
.lpack {
  position: absolute; left: 7%; right: 7%; bottom: 7%; border-radius: 12px; background: var(--paper); color: #202124;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; box-shadow: 0 20px 50px rgba(0,0,0,0.5); overflow: hidden;
}
.lpack__top { display: flex; gap: 12px; padding: 14px 14px 0; }
.lpack__rank { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #3b5bfd; color: #fff; font-size: 12px; font-weight: 700; flex: 0 0 auto; }
.lpack h4 { font-size: 15px; font-weight: 400; color: #1a0dab; }
.lpack p { margin-top: 3px; font-size: 12px; color: #4d5156; }
.lpack p b { color: #202124; font-weight: 400; }
.lpack__stars { color: #e8a317; letter-spacing: 1px; }
.lpack__open { color: #188038 !important; }
.lpack__row { display: flex; gap: 6px; padding: 12px 14px 14px 50px; }
.lpack__row span { padding: 6px 11px; border-radius: 999px; font-size: 11px; color: #1a73e8; box-shadow: inset 0 0 0 1px #dadce0; }
.lpack__next { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid #ebebeb; font-size: 12px; color: #70757a; }
.lpack__next .lpack__rank { background: #dadce0; color: #5f6368; }
.lpack__next em { margin-left: auto; font-style: normal; }
@media (max-width: 560px) { .lpack__row, .lpack__next { display: none; } .lpack__top { padding-bottom: 14px; } }
.chat { position: absolute; inset: 10% 8% 8%; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 86%; padding: 10px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.35; }
.bubble--q { align-self: flex-end; background: var(--paper); color: var(--ink); border-bottom-right-radius: 4px; }
.bubble--a { align-self: flex-start; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--hair); border-bottom-left-radius: 4px; }
.bubble--a b { font-weight: 500; }
.bubble--a small { display: block; margin-top: 6px; color: var(--mist); font-size: 11px; }
.ad { position: absolute; left: 10%; right: 10%; top: 8%; background: var(--paper); color: var(--ink); border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.ad__head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 11px; }
.ad__head i { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; }
.ad__head i img { width: 100%; height: 100%; object-fit: cover; }
.ad__head b { font-weight: 500; display: block; }
.ad__head small { color: var(--slate); font-size: 10px; }
.ad__img { aspect-ratio: 4 / 3; overflow: hidden; }
.ad__img img { width: 100%; height: 100%; object-fit: cover; }
.ad__cta { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-size: 11px; background: #f3f3f1; }
.ad__cta span { padding: 6px 10px; border-radius: 4px; background: var(--ink); color: var(--paper); font-weight: 500; }
/* Landing pages card: the ad on top, the page it opens below, saying the same thing */
.lp-ad {
  position: absolute; left: 8%; top: 5%; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; background: rgba(0,0,0,0.75); color: var(--paper);
  font-size: 12px; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--hair-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lp-ad b { padding: 2px 6px; border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 10px; font-weight: 700; }
.browser { position: absolute; left: 8%; right: 8%; top: 17%; bottom: 0; border-radius: 10px 10px 0 0; overflow: hidden; background: #fbfaf7; color: #1d1b18; box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.browser__bar { height: 28px; background: #e9e7e1; display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9c6be; }
.browser__url { margin-left: 10px; flex: 1; height: 18px; border-radius: 9px; background: #fbfaf7; font-size: 10px; line-height: 18px; padding: 0 10px; color: #6b675f; }
.lp { padding: 16px 16px 0; }
.lp__over { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #8a6d4a; }
.lp__h { margin-top: 6px; font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-size: 24px; font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }
.lp__cta { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.lp__btn { padding: 8px 12px; border-radius: 6px; background: #1d1b18; color: #fbfaf7; font-size: 11px; font-weight: 500; white-space: nowrap; }
.lp__stars { font-size: 11px; color: #8a5a00; letter-spacing: 1px; white-space: nowrap; }
.lp__stars b { color: #1d1b18; font-weight: 500; letter-spacing: 0; }
.lp__img { position: relative; margin-top: 14px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
.lp__img img { width: 100%; height: 100%; object-fit: cover; }
.lp__form {
  position: absolute; right: 10px; bottom: 10px; width: 46%; display: flex; flex-direction: column; gap: 5px;
  padding: 10px; border-radius: 8px; background: #fbfaf7; box-shadow: 0 10px 30px rgba(0,0,0,0.35); font-size: 10px;
}
.lp__form b { font-size: 11px; font-weight: 600; }
.lp__form i { font-style: normal; padding: 5px 7px; border-radius: 4px; color: #8f8a80; box-shadow: inset 0 0 0 1px #dedad2; }
.lp__form span { padding: 5px 7px; border-radius: 4px; background: #1d1b18; color: #fbfaf7; text-align: center; font-weight: 500; }
.bars { position: absolute; inset: 14% 10% 12%; display: flex; align-items: flex-end; gap: 8px; }
.bars span { flex: 1; border-radius: 4px 4px 0 0; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--hair); height: var(--h); position: relative; }
.bars span.hi { background: linear-gradient(to top, var(--blue), var(--blue-hi)); box-shadow: 0 0 30px var(--blue-glow); }
.bars b { position: absolute; left: 0; right: 0; bottom: -18px; text-align: center; font-size: 10px; color: var(--mist); font-weight: 400; }
/* AI chat assistant card: the business inbox, answered by the assistant after hours */
.aichat { position: absolute; inset: 4% 7% 7%; display: flex; flex-direction: column; border-radius: 14px; background: #101114; box-shadow: inset 0 0 0 1px var(--hair), 0 20px 50px rgba(0,0,0,0.45); overflow: hidden; }
.aichat__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--hair); }
.aichat__av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #2a2d33; font-size: 11px; font-weight: 600; flex: 0 0 auto; }
.aichat__head b { display: block; font-size: 13px; font-weight: 500; }
.aichat__head small { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 11px; color: var(--mist); }
.aichat__head small i { width: 7px; height: 7px; border-radius: 50%; background: #31d158; }
.aichat__msgs { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px 14px 14px; }
.aichat__msgs > * { flex: 0 0 auto; }
.aichat__time { align-self: center; font-size: 10px; color: var(--mist); }
.aichat__b { max-width: 84%; padding: 9px 12px; border-radius: 16px; font-size: 12.5px; line-height: 1.35; }
.aichat__b--in { align-self: flex-start; background: #24262b; border-bottom-left-radius: 4px; }
.aichat__b--ai { align-self: flex-end; background: #3b5bfd; color: #fff; border-bottom-right-radius: 4px; }
.aichat__b--ai span { display: inline-block; margin-right: 6px; padding: 1px 5px; border-radius: 4px; background: rgba(0,0,0,0.32); font-size: 9px; font-weight: 700; letter-spacing: 0.04em; vertical-align: 1px; }
.aichat__booked { align-self: flex-end; padding: 6px 10px; border-radius: 999px; background: rgba(49, 209, 88, 0.14); color: #5ee08a; font-size: 11px; }

/* ---------- Section: audit ---------- */
.audit { text-align: center; }
.audit .section-head { margin-bottom: 36px; }
.audit__form { display: flex; max-width: 620px; margin: 0 auto; border-radius: 999px; background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px var(--hair-2); padding: 6px 6px 6px 8px; }
.audit__form:focus-within { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5); }
.audit__form input { flex: 1; min-width: 0; background: none; border: 0; padding: 14px 16px; font-size: 16px; outline: none; caret-color: var(--paper); }
.audit__form input::placeholder { color: var(--mist); }
.audit__form button { width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; flex: 0 0 auto; transition: transform 160ms var(--ease-out); }
.audit__form button svg { width: 16px; height: 16px; }
.audit__form button:active { transform: scale(0.95); }
.audit__note { margin-top: 18px; color: var(--mist); }
.audit__done { display: none; margin-top: 18px; max-width: 46ch; margin-left: auto; margin-right: auto; }
.audit.is-done .audit__form, .audit.is-done .audit__note { display: none; }
.audit.is-done .audit__done { display: block; }

/* ---------- Section: work ---------- */
.work { padding-bottom: 0; overflow: hidden; }
.work__stage {
  position: relative; height: clamp(520px, 76vh, 820px); margin-top: clamp(40px, 6vw, 72px);
  perspective: 1100px; perspective-origin: 50% 50%; overflow: hidden;
}
.work__grid {
  position: absolute; left: 50%; top: 50%;
  width: min(1600px, 160vw); display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px;
  transform: translate(-50%, -50%) rotateX(0deg);
  transform-style: preserve-3d; will-change: transform;
}
.work__col { display: grid; gap: 22px; transform-style: preserve-3d; will-change: transform; }
.work__col:nth-child(1) { transform: translateX(-56px) rotateY(26deg); }
.work__col:nth-child(2) { transform: translateX(-28px) translateZ(-70px); }
.work__col:nth-child(4) { transform: translateX(28px) translateZ(-70px); }
.work__col:nth-child(5) { transform: translateX(56px) rotateY(-26deg); }
.work__spacer { aspect-ratio: 16 / 21.4; }
.tile { aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: var(--ink-3); box-shadow: 0 0 0 1px rgba(255,255,255,0.06); }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work__label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  text-align: center; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1;
}
@media (max-width: 860px) {
  .work__stage { height: clamp(440px, 72vh, 640px); }
  .work__grid { width: 250vw; gap: 12px; }
  .work__col { gap: 12px; }
  .work__col:nth-child(1) { transform: translateX(-30px) rotateY(26deg); }
  .work__col:nth-child(2) { transform: translateX(-14px) translateZ(-50px); }
  .work__col:nth-child(4) { transform: translateX(14px) translateZ(-50px); }
  .work__col:nth-child(5) { transform: translateX(30px) rotateY(-26deg); }
}
.work__fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, var(--ink) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 82%, var(--ink) 100%); }

/* ---------- Section: FAQ accordions ---------- */
.faq { padding-top: 0; }
.acc { border-top: 1px solid var(--hair); }
.acc:last-child { border-bottom: 1px solid var(--hair); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 0; text-align: left; }
.acc__btn h2 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 400; letter-spacing: -0.02em; }
.acc__icon { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 0; top: 7.25px; width: 16px; height: 1.5px; background: currentColor; transition: transform 240ms var(--ease-out); }
.acc__icon::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.acc__panel > div { overflow: hidden; }
.acc__panel.is-open { grid-template-rows: 1fr; }
.acc__inner { padding: 0 0 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 40px; max-width: 1100px; }
.acc__inner h3 { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.acc__inner p { color: #c9c9c9; max-width: 42ch; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; max-width: 1100px; }
.step { border-top: 1px solid var(--hair-2); padding-top: 14px; }
.step small { display: block; color: var(--mist); margin-bottom: 8px; font-size: 12px; }
.step h3 { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.step p { color: #c9c9c9; }

/* ---------- Section: founder ---------- */
.founder__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; max-width: 1180px; }
.founder__photo { position: sticky; top: calc(var(--nav-h) + 24px); margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--hair); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__mono { height: 100%; display: grid; place-items: center; align-content: center; gap: 24px; background: radial-gradient(120% 80% at 50% 40%, #121a3d 0%, var(--ink-3) 62%); }
.founder__mark { width: 46%; height: auto; color: var(--paper); }
.founder__mono span { font-size: 13px; letter-spacing: 0.42em; padding-left: 0.42em; color: var(--mist); }
.founder__body .t-label { margin-bottom: 18px; }
.founder__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.founder__facts li { padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2); font-size: 13px; color: #d6d6d6; }
.founder__lead { margin-top: 28px; max-width: 40ch; color: #d6d6d6; }
.founder__promise { margin-top: 24px; padding-left: 18px; border-left: 2px solid #3b46fe; max-width: 34ch; color: var(--paper); }
.founder__points { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.founder__points li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.founder__points h3 { font-size: 16px; font-weight: 500; line-height: 1.35; }
.founder__points p { color: #c9c9c9; line-height: 1.5; }
.founder__body .btn { margin-top: 32px; }
@media (max-width: 760px) {
  .founder__grid { grid-template-columns: 1fr; }
  .founder__photo { position: static; max-width: 420px; }
  .founder__points li { grid-template-columns: 1fr; }
}

/* ---------- Section: final CTA ---------- */
.cta { position: relative; min-height: clamp(560px, 100svh, 960px); display: grid; place-items: center; text-align: center; overflow: hidden; padding: 0 var(--gutter);
  background: radial-gradient(circle at 50% 50%, rgba(59, 91, 253, 0.22) 0%, rgba(59, 91, 253, 0.06) 32%, rgba(0, 0, 0, 0) 58%); }
.cta canvas { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92vw, 760px); height: min(92vw, 760px); pointer-events: none; }
.cta__body { position: relative; z-index: 1; max-width: 620px; }
.cta__body p { margin-top: 18px; }
.cta__body .btn { margin-top: 30px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hair); padding: 56px 0 28px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--hair); }
.footer__tag { display: flex; align-items: center; gap: 14px; font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 400; letter-spacing: -0.02em; }
.footer__mark { width: auto; height: 22px; aspect-ratio: 566 / 330; flex: 0 0 auto; }
.footer__loc { color: var(--mist); font-size: 14px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px 0; }
.footer__cols h3 { font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.footer__cols a { display: block; font-size: 13px; color: var(--mist); padding: 5px 0; transition: color 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .footer__cols a:hover { color: var(--paper); } }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: 12px; color: var(--mist); }
.footer__bottom nav { display: flex; gap: 18px; }
@media (max-width: 860px) {
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Booking dialog ---------- */
.book { border: 0; padding: 0; background: transparent; color: var(--paper); max-width: none; max-height: none; width: 100%; height: 100%; }
.book::backdrop { background: rgba(0,0,0,0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.book[open] { display: grid; place-items: center; padding: 16px; }
.book__card {
  width: min(640px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair-2), 0 40px 100px rgba(0,0,0,0.6);
  border-radius: 16px; padding: clamp(24px, 4vw, 40px);
  opacity: 0; transform: translateY(12px) scale(0.98);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.book[open] .book__card { opacity: 1; transform: none; }
.book__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.book__head p { margin-top: 8px; color: var(--mist); max-width: 40ch; }
.book__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--hair-2); flex: 0 0 auto; }
.book__close svg { width: 14px; height: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; color: #c9c9c9; }
.field input, .field textarea {
  width: 100%; background: var(--ink-3); border: 0; border-radius: 8px; padding: 14px 14px; font-size: 16px;
  box-shadow: inset 0 0 0 1px var(--hair); outline: none; caret-color: var(--paper);
  transition: box-shadow 160ms var(--ease-out);
}
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5); }
.field input::placeholder, .field textarea::placeholder { color: var(--mist); }
.field textarea { min-height: 96px; resize: vertical; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field__row { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; font-size: 13px; box-shadow: inset 0 0 0 1px var(--hair-2); transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); cursor: pointer; }
.chips input:checked + span { background: var(--paper); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 2px; }
.book__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.book__foot small { color: var(--mist); max-width: 30ch; }
.book__done { display: none; text-align: center; padding: 20px 0; }
.book__done p { margin-top: 10px; color: #c9c9c9; }
.book.is-done form { display: none; }
.book.is-done .book__done { display: block; }
.field--hp { position: absolute; left: -9999px; }

/* ---------- Reveals ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="2"] { transition-delay: 80ms; }
[data-reveal="3"] { transition-delay: 160ms; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__scene { transition: opacity 300ms ease; }
  .hero__card { transition: opacity 300ms ease; }
  .hero__scene-btn.is-active::after { animation: none; transform: scaleX(1); }
  .digit__col { transition: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .cal__grid.is-live .cal__cell img, .cal__grid.is-live .cal__cell::after, .cal__grid.is-live ~ .cal__toast,
  .build.is-live .build__nav, .build.is-live .build__copy > *, .build.is-live .build__img, .build.is-live .build__row div { animation-duration: 1ms; animation-delay: 0ms; }
  .work__grid, .work__col { transition: none; }
  .ch-card img { transition: none; }
  .lmap__pulse { animation: none; opacity: 0; }
}
