/* Arman Creative — site styles. Tokens from the Arman Creative Brand Book. */
:root {
  --ink: #0A0A0A;
  --ink-2: #161616;
  --ink-3: #222222;
  --teal: #008080;
  --teal-deep: #005F5F;
  --steel: #6A89A7;
  --lagoon: #33B3B3;
  --mist: #E3EAEE;
  --mist-2: #C9D6DD;
  --paper: #FFFFFF;
  --paper-alt: #F5F7F8;

  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* five type steps */
  --t-display: clamp(56px, 8.2vw, 124px);
  --t-h2: clamp(38px, 5vw, 72px);
  --t-h3: clamp(24px, 2vw, 30px);
  --t-body: clamp(17px, 1.25vw, 19px);
  --t-small: 15px;

  --m: clamp(16px, 3.4vw, 48px);
  --gap-section: clamp(112px, 13vw, 200px);
  --radius: 24px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.36, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--lagoon); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }

.wrap { padding-inline: var(--m); max-width: 1600px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-weight: 600; text-wrap: balance; }
.display { font-size: var(--t-display); line-height: .92; letter-spacing: -0.045em; }
.h2 { font-size: var(--t-h2); line-height: 1.0; letter-spacing: -0.035em; }
.h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.015em; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; max-width: 40ch; }
.small { font-size: var(--t-small); line-height: 1.5; }
p { max-width: 62ch; }

/* ---------- fields ---------- */
.f-ink { background: var(--ink); color: var(--paper); }
.f-mist { background: var(--mist); color: var(--ink); }
.f-paper { background: var(--paper); color: var(--ink); }
.f-teal { background: var(--teal); color: var(--paper); }
.section { padding-block: var(--gap-section); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 17px; line-height: 1;
  padding: 18px 28px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-teal { background: var(--teal); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-link { padding-inline: 4px; }
.btn-link .arr { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-teal:hover { background: var(--teal-deep); }
  .f-ink .btn-teal:hover, .f-teal .btn-paper:hover { background: var(--lagoon); color: var(--ink); }
  .btn-ink:hover { background: var(--ink-3); }
  .btn-link:hover .arr { transform: translateX(4px); }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--paper);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo { display: block; width: 140px; flex: none; }
.logo img { width: 140px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a:not(.btn) { text-decoration: none; font-size: 16px; position: relative; padding-block: 6px; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lagoon);
  transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out);
}
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover::after { transform: scaleX(1); } }
.nav .btn { padding: 14px 22px; font-size: 16px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink-3); position: relative; }
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 2px; background: var(--paper); transition: transform 240ms var(--ease-out); }
.menu-btn span:nth-child(1) { top: 20px; } .menu-btn span:nth-child(2) { top: 27px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 84px 0 0 0; background: var(--ink);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px;
    padding: 32px var(--m);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 420ms var(--ease-out), visibility 0s linear 420ms;
  }
  .nav a:not(.btn) { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
  .nav .btn { margin-top: 24px; font-size: 18px; padding: 18px 28px; }
  .menu-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 420ms var(--ease-out); }
  .menu-open { overflow: hidden; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: end; padding-top: clamp(40px, 5vw, 72px); }
.hero-copy { padding-bottom: clamp(110px, 12vw, 190px); position: relative; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero h1 .line > span { display: block; white-space: nowrap; }
.hero h1 .accent { color: var(--lagoon); }
.hero .lead { margin: 32px 0 40px; }
.hero-media { position: relative; padding-bottom: 0; }

/* hand-drawn annotations */
.note-hand { font-weight: 300; font-size: 19px; line-height: 1.2; white-space: nowrap; display: inline-block; }
.doodle { pointer-events: none; overflow: visible; }
.doodle path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-doodle { position: absolute; left: 70px; bottom: clamp(0px, 3vw, 50px); width: 120px; color: var(--steel); }
.hero-doodle .note-hand { position: absolute; left: 126px; top: 48px; color: var(--paper); transform: rotate(-4deg); }

/* ---------- the arch ---------- */
.arch {
  position: relative; background: var(--steel);
  border-radius: 999px 999px 0 0;
  aspect-ratio: 640 / 760;
  padding: 22% 7% 0;
  overflow: hidden;
}
.arch.teal { background: var(--teal); }
.arch.ink { background: var(--ink-3); }
.arch.lagoon { background: var(--lagoon); }
.arch.mist { background: var(--mist-2); }
.arch-screen { position: relative; background: var(--paper); color: var(--ink); height: 100%; border-radius: 16px 16px 0 0; overflow: hidden; }

/* ---------- walkthrough "video" ---------- */
.wt-wrap { position: relative; }
.wt-note { position: absolute; right: 0; top: -54px; color: var(--paper); transform: rotate(3deg); display: flex; align-items: flex-end; gap: 6px; z-index: 4; }
.wt-note .doodle { width: 46px; color: var(--lagoon); transform: translateY(16px); }
.wt-stage { position: absolute; left: 0; top: 0; width: 600px; height: 620px; transform-origin: top left; }
.wt { position: absolute; inset: 0; padding: 20px 20px 0; font-size: 15px; line-height: 1.35; }
.wt-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.wt-top b { font-size: 17px; font-weight: 600; }
.wt-top span { font-size: 14px; color: #4a4a4a; margin-left: 8px; }
.wt-avs { display: flex; }
.wt-top .wt-av { font-size: 10px; }
.wt-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--paper); background: var(--steel); border: 2px solid var(--paper); }
.wt-av + .wt-av { margin-left: -8px; }
.wt-av.ar { background: var(--teal); }
.wt-board { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: 224px; }
.wt-col { background: var(--paper-alt); border-radius: 12px; padding: 12px 10px; }
.wt-col h4 { font-size: 13px; font-weight: 600; margin-bottom: 10px; display: flex; justify-content: space-between; }
.wt-card { background: var(--paper); border-radius: 9px; padding: 10px 11px; font-size: 14px; line-height: 1.3; }
.wt-card small { display: block; font-size: 12px; color: #4a4a4a; margin-top: 4px; }
.wt-live {
  position: absolute; left: 0; top: 104px; width: calc((100% - 20px) / 3); padding: 0 10px; z-index: 2;
  transform: translateX(calc((100% + 10px) * var(--col, 0)));
  transition: transform 900ms var(--ease-in-out);
}
.wt-live-in {
  background: var(--teal); color: var(--paper); border-radius: 9px; padding: 10px 11px; font-size: 14px; line-height: 1.3;
  opacity: 0; transform: scale(0.94) translateY(6px);
  transition: opacity 300ms var(--ease-out), transform 360ms var(--ease-spring), box-shadow 300ms ease;
}
.wt-live-in small { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-top: 6px; opacity: .92; }
.wt-live-in .wt-av { width: 22px; height: 22px; font-size: 10px; border-width: 0; background: var(--ink); opacity: 0; transform: scale(.6); transition: opacity 200ms ease, transform 300ms var(--ease-spring); }
.wt[data-live] .wt-live-in { opacity: 1; transform: none; }
.wt[data-lift] .wt-live-in { transform: rotate(-3deg) scale(1.04); box-shadow: 0 18px 28px -14px rgba(10,10,10,.5); } /* taste-skill-ignore: the dragged card is lifted off the board */
.wt[data-owner] .wt-live-in .wt-av { opacity: 1; transform: none; }
.wt-live .stat { display: none; }
.wt[data-stat="new"] .stat-new, .wt[data-stat="wip"] .stat-wip, .wt[data-stat="done"] .stat-done { display: inline; }

.wt-feed { position: relative; height: 222px; margin-top: 14px; }
.wt-scene { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); filter: blur(2px); transition: opacity 320ms var(--ease-out), transform 420ms var(--ease-out), filter 320ms ease; }
.wt-scene.on { opacity: 1; transform: none; filter: none; }
.wt-msg { display: flex; gap: 10px; margin-bottom: 12px; }
.wt-msg .wt-av { width: 32px; height: 32px; flex: none; border: 0; }
.wt-msg b { font-weight: 600; font-size: 14px; }
.wt-msg time { font-size: 12px; color: #4a4a4a; margin-left: 6px; }
.wt-msg p { font-size: 15px; margin-top: 1px; }
.wt-reply { opacity: 0; transform: translateY(6px); transition: opacity 300ms var(--ease-out), transform 360ms var(--ease-out); }
.wt[data-reply] .wt-reply { opacity: 1; transform: none; }
.wt-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.wt-thumb {
  width: 94px; height: 116px; border-radius: 8px; padding: 9px; font-weight: 600; font-size: 14px; line-height: 1.05; color: var(--paper);
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: scale(.92) translateY(8px); transition: opacity 260ms var(--ease-out), transform 420ms var(--ease-spring);
}
.wt-scene.on .wt-thumb { opacity: 1; transform: none; }
.wt-scene.on .wt-thumb:nth-child(2) { transition-delay: 90ms; }
.wt-scene.on .wt-thumb:nth-child(3) { transition-delay: 180ms; }
.wt-thumb i { display: block; height: 16px; width: 44px; border-radius: 99px; background: var(--paper); transform-origin: left bottom; transition: transform 420ms var(--ease-spring); }
.wt[data-bigger] .wt-thumb.target i { transform: scale(1.5); }
.wt-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; background: var(--mist); color: var(--teal-deep); border-radius: 99px; padding: 6px 12px; margin-top: 10px; opacity: 0; transform: scale(.9); transition: opacity 240ms ease, transform 360ms var(--ease-spring); }
.wt[data-delivered] .wt-chip.delivered, .wt[data-approved] .wt-chip.approved { opacity: 1; transform: none; }
.wt-composer { position: absolute; left: 20px; right: 20px; bottom: 18px; height: 50px; border-radius: 12px; background: var(--paper-alt); display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 14px; font-size: 15px; }
.wt-composer .typed { white-space: nowrap; overflow: hidden; }
.wt-composer .typed::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--teal); vertical-align: -3px; margin-left: 1px; animation: caret 1s steps(1) infinite; }
.wt-composer .ph { color: #4a4a4a; }
.wt-composer b { font-size: 13px; font-weight: 600; background: var(--ink); color: var(--paper); border-radius: 8px; padding: 9px 12px; transition: transform 160ms var(--ease-out), background-color 200ms; }
.wt[data-send] .wt-composer b { transform: scale(.94); background: var(--teal); }
@keyframes caret { 50% { opacity: 0; } }
.wt-cursor { position: absolute; left: 0; top: 0; width: 26px; z-index: 5; opacity: 0; transition: transform 900ms var(--ease-in-out), opacity 240ms ease; }
.wt[data-cursor] .wt-cursor { opacity: 1; }
.no-tr, .no-tr * { transition: none !important; }

.player {
  position: relative; z-index: 3; display: flex; align-items: center; gap: 16px;
  background: var(--ink-2); color: var(--paper); border-radius: 999px;
  padding: 10px 22px 10px 10px; margin: -34px 5% 0;
}
.player .play { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--lagoon); display: grid; place-items: center; transition: transform 160ms var(--ease-out); }
.player .play:active { transform: scale(.94); }
.player .play svg { width: 14px; color: var(--ink); }
.player .play .i-pause { display: none; }
.player.playing .play .i-play { display: none; }
.player.playing .play .i-pause { display: block; }
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; flex: 1; }
.chapter { text-align: left; font-size: 14px; font-weight: 600; padding: 4px 0; }
.chapter .bar { display: block; height: 4px; border-radius: 4px; background: #3a3a3a; overflow: hidden; margin-bottom: 7px; }
.chapter .bar i { display: block; height: 100%; background: var(--lagoon); transform: scaleX(0); transform-origin: left; }
@media (hover: hover) and (pointer: fine) { .chapter:hover { color: var(--lagoon); } }

/* ---------- arches row ---------- */
.arches-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.2vw, 16px); align-items: end; margin-top: clamp(48px, 6vw, 80px); }
.arch-item { text-decoration: none; display: block; }
.arch-item .arch, .svc-art .arch { aspect-ratio: auto; padding: 0; background: none; border-radius: 0; overflow: visible; --tone: var(--steel); }
:is(.arch-item, .svc-art) .arch.teal { --tone: var(--teal); }
:is(.arch-item, .svc-art) .arch.ink { --tone: var(--ink-3); }
:is(.arch-item, .svc-art) .arch.lagoon { --tone: var(--lagoon); }
:is(.arch-item, .svc-art) .arch.mist { --tone: #9DB2C0; }
.arch-item:nth-child(1) .arch { height: clamp(230px, 23vw, 330px); }
.arch-item:nth-child(2) .arch { height: clamp(260px, 26vw, 380px); }
.arch-item:nth-child(3) .arch { height: clamp(290px, 29vw, 430px); }
.arch-item:nth-child(4) .arch { height: clamp(260px, 26vw, 380px); }
.arch-item:nth-child(5) .arch { height: clamp(230px, 23vw, 330px); }
/* taste-skill-ignore: tinted shadows lift the service cards off the page (requested) */
:is(.arch-item, .svc-art) .arch-screen {
  padding: 14px; border-radius: 18px;
  box-shadow: 0 26px 50px -20px color-mix(in srgb, var(--tone) 62%, transparent), 0 4px 14px -2px color-mix(in srgb, var(--tone) 24%, transparent), 0 0 0 1px color-mix(in srgb, var(--tone) 12%, transparent);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  :is(.arch-item, .svc-art):hover .arch-screen { transform: translateY(-10px); box-shadow: 0 38px 60px -22px color-mix(in srgb, var(--tone) 72%, transparent), 0 8px 20px -4px color-mix(in srgb, var(--tone) 30%, transparent), 0 0 0 1px color-mix(in srgb, var(--tone) 14%, transparent); }
  .arch-item:hover h3 .arr { transform: translateX(4px); }
}
:is(.arch-item, .svc-art):active .arch-screen { transform: translateY(-4px) scale(0.985); transition-duration: 160ms; }
.arch-item h3 { margin-top: 26px; display: flex; gap: 8px; align-items: baseline; }
.arch-item h3 .arr { transition: transform 200ms var(--ease-out); font-weight: 400; }
.arch-item p { font-size: 16px; margin-top: 6px; }

/* mini deliverables inside arches */
.mini { height: 100%; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.mini .blk { border-radius: 8px; }
.mini .slide { background: var(--ink); color: var(--paper); padding: 12px; font-size: clamp(16px, 1.5vw, 22px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; height: 46%; display: flex; align-items: flex-end; }
.mini .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.mini .bar { height: 10px; width: 46%; border-radius: 4px; background: var(--ink); }
.mini .ttl { font-size: clamp(16px, 1.5vw, 22px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.mini .pill { height: 26px; width: 84px; border-radius: 99px; background: var(--teal); }
.mini .frame { flex: 1; background: var(--ink); border-radius: 8px; position: relative; overflow: hidden; }
.mini .frame .tl { position: absolute; left: 10px; right: 10px; bottom: 12px; height: 4px; border-radius: 4px; background: #3a3a3a; }
.mini .frame .tl i { display: block; width: 40%; height: 100%; background: var(--lagoon); border-radius: 4px; }
.mini .frame .pl { position: absolute; left: 50%; top: 42%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.mini .code { background: var(--ink-2); color: var(--paper); border-radius: 8px; padding: 12px; flex: 1; line-height: 1.7; font-size: 13px; }
.mini .code .ok { color: var(--lagoon); }
.mini .code .dim { color: #9fb3c6; }
.mini .mail { background: var(--paper-alt); border-radius: 8px; padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 8px; }

/* ---------- word fill ---------- */
.fill-text { font-size: clamp(36px, 5vw, 72px); font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; max-width: 22ch; }
.fill-text .w { color: inherit; }
/* highlighted words fill left to right with the accent as the page scrolls, and empty again on the way back */
.fill-text { --from: var(--ink); --to: var(--teal); }
.f-ink .fill-text { --from: var(--paper); --to: var(--lagoon); }
.js .fill-text .w.hi {
  color: transparent;
  background: linear-gradient(90deg, var(--to) var(--p, 0%), var(--from) var(--p, 0%)); /* taste-skill-ignore: hard-edged fill, not a gradient */
  -webkit-background-clip: text; background-clip: text;
}
html:not(.js) .fill-text .hi { color: var(--teal); }
html:not(.js) .f-ink .fill-text .hi { color: var(--lagoon); }
.fill-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 48px; align-items: end; }
.fill-aside { padding-bottom: 10px; justify-self: end; width: 100%; }
.fill-aside .doodle { width: 120px; color: var(--teal); margin-bottom: 14px; }
.fill-aside p { font-size: 17px; }

/* ---------- steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(48px, 6vw, 80px); position: relative; }
.step { position: relative; }
.step { --tone: var(--mist-2); }
.step:nth-child(2) { --tone: var(--steel); }
.step:nth-child(3) { --tone: var(--teal); }
.step:nth-child(4) { --tone: var(--ink); }
.step .art { aspect-ratio: 1 / 1.05; border-radius: 999px 999px 0 0; display: grid; place-items: end center; overflow: hidden; margin-bottom: 28px; padding: 0 6%; background: var(--tone); }
.step .art-card {
  width: 100%; background: var(--paper); border-radius: 16px 16px 0 0; padding: clamp(16px, 1.6vw, 24px);
  font-size: clamp(16px, 1.25vw, 19px); line-height: 1.35; min-height: 62%;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform 360ms var(--ease-out);
}
.step .art-card b { display: block; font-weight: 600; font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -0.015em; }
.art-chip { margin-top: auto; align-self: flex-start; font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 99px; background: color-mix(in srgb, var(--tone) 18%, var(--paper)); color: var(--ink); }
.step:nth-child(1) .art-chip { background: var(--mist); }
.art-thumbs { margin-top: auto; display: flex; gap: 6px; }
.art-thumbs i { width: 30%; aspect-ratio: 4 / 5; border-radius: 8px; }
@media (hover: hover) and (pointer: fine) {
  .step:hover .step-bar { transform: scaleX(1); }
}
.step-title { font-size: clamp(30px, 2.8vw, 40px); line-height: 1; letter-spacing: -0.03em; font-weight: 600; display: block; padding-bottom: 16px; position: relative; }
.step-bar { position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; border-radius: 5px; background: var(--tone); transform-origin: left; transform: scaleX(0.22); transition: transform 700ms var(--ease-out); }
.js .step:not(.in) .step-bar { transform: scaleX(0); }
.step:nth-child(1) .step-bar { background: var(--steel); }
.step p { font-size: 17px; margin-top: 16px; max-width: 34ch; }
.tag { font-size: 14px; font-weight: 600; background: var(--paper-alt); border-radius: 99px; padding: 7px 12px; }
.f-mist .tag { background: var(--paper); }
.step .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.step .tag { background: color-mix(in srgb, var(--tone) 14%, var(--paper)); }
.step:nth-child(1) .tag { background: var(--mist); }
.step-arrow { position: absolute; top: 9%; right: calc(clamp(20px, 3vw, 48px) * -0.5 - 40px); width: 80px; color: var(--ink); z-index: 2; }
.step-arrow path { stroke-width: 3; }

/* ---------- pricing switcher ---------- */
.pricing-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--ink-3); border-radius: 999px; padding: 5px; margin-top: 32px; }
.seg button { font-size: 16px; font-weight: 600; padding: 12px 22px; border-radius: 999px; transition: color 240ms ease, background-color 240ms ease, transform 160ms var(--ease-out); }
.seg button:active { transform: scale(.96); }
.seg button[aria-selected="true"] { color: var(--ink); background: var(--paper); }
.pricing-doodle { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; color: var(--steel); }
.pricing-doodle .doodle { width: 54px; transform: rotate(-8deg); }
.pricing-doodle .note-hand { color: var(--paper); margin-top: 26px; }
.plan-wrap { position: relative; }
.plan-panel { background: var(--ink-2); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); position: relative; overflow: hidden; transition: background-color 420ms var(--ease-out); }
.plan-wrap[data-plan="growth"] .plan-panel { background: var(--teal); }
.plan-wrap[data-plan="growth"] .plan li::before { background: var(--paper); }
.fav-doodles > * { position: absolute; color: var(--lagoon); pointer-events: none; z-index: 2; opacity: 0; transition: opacity 240ms ease; }
.plan-wrap[data-plan="growth"] .fav-doodles > * { opacity: 1; }
.fav-note { right: calc(2% + 44px); top: -60px; color: var(--paper); transform: rotate(-3deg); font-size: 20px; }
.fav-curl { right: 2%; top: -62px; width: 34px; transform: rotate(-10deg); }
.fav-sparks { left: -30px; top: -34px; width: 52px; transform: rotate(-20deg); color: var(--paper); }
.js .fav-doodles path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 800ms var(--ease-in-out) 150ms; }
.plan-wrap[data-plan="growth"] .fav-doodles .doodle.in path { stroke-dashoffset: 0; }
.fav-doodles .doodle path { stroke-width: 3; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.plan[hidden] { display: none; }
.plan.enter { animation: planIn 420ms var(--ease-out); }
@keyframes planIn { from { opacity: 0; transform: translateY(10px); filter: blur(2px); } }
.plan .name { font-size: var(--t-h3); font-weight: 600; }
.plan .price { font-size: clamp(54px, 6vw, 84px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin: 14px 0 8px; }
.plan .price.range { font-size: clamp(42px, 4.4vw, 64px); }
.plan .per { font-size: 17px; }
.plan .btn { margin-top: 30px; }
.plan ul { list-style: none; font-size: 17px; line-height: 1.5; display: grid; gap: 12px; align-content: start; padding-top: 6px; }
.plan li { display: flex; gap: 12px; align-items: baseline; }
.plan li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lagoon); transform: translateY(-2px); }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 10px; background: var(--ink-2); border-radius: var(--radius); padding: 22px clamp(28px, 3vw, 44px); }
.addon b { font-weight: 600; }
.addon .amt { color: var(--lagoon); font-weight: 600; white-space: nowrap; }

/* compare table */
.compare { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 17px; }
.compare th, .compare td { text-align: left; padding: 18px 16px; vertical-align: top; border-bottom: 1px solid var(--mist-2); }
.compare thead th { font-size: 20px; font-weight: 600; }
.compare tbody th { font-weight: 600; width: 26%; }
.compare .us { background: var(--paper); }
.compare .them { color: #3d3d3d; }
.table-scroll { overflow-x: auto; padding-top: 14px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.faq-grid .sticky { position: sticky; top: 120px; }
.faq-list { display: grid; gap: 8px; }
.faq-list details { background: var(--paper); border-radius: 16px; transition: background-color 260ms ease, color 260ms ease; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 26px; font-size: 20px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .pm { position: relative; width: 16px; height: 16px; flex: none; }
.faq-list .pm::before, .faq-list .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 6.5px; height: 3px; border-radius: 2px; background: currentColor; transition: transform 260ms var(--ease-out); }
.faq-list .pm::after { transform: rotate(90deg); }
.faq-list details[open] { background: var(--teal); color: var(--paper); }
.faq-list details[open] .pm::after { transform: rotate(0deg); }
.faq-list .a { padding: 0 26px 26px; font-size: 17px; max-width: 58ch; }
.faq-list details[open] .a { animation: faqIn 360ms var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; min-height: 520px; }
.cta h2 { max-width: 13ch; }
.cta p { margin-top: 20px; font-size: 19px; }
.cta-act { position: relative; justify-self: start; }
.cta-act .doodle { position: absolute; width: 150px; left: -170px; top: -64px; color: var(--paper); }
.cta-act .note-hand { position: absolute; left: -250px; top: -96px; transform: rotate(-5deg); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-top: clamp(56px, 7vw, 110px); }
.page-hero .copy { padding-bottom: clamp(72px, 9vw, 140px); }
.page-hero .lead { margin-top: 28px; }
.page-hero .side-arch { align-self: end; justify-self: end; width: min(100%, 420px); }
.page-hero .side-arch img { width: 100%; height: auto; }

/* services chapters */
.svc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.svc.flip .svc-art { order: -1; }
.svc .svc-art .arch { max-width: 480px; margin-inline: auto; aspect-ratio: 4 / 4.4; }
.svc .svc-art .arch-screen { padding: 18px; }
.svc-list { list-style: none; margin-top: 36px; display: grid; gap: 0; }
.svc-list li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 24px; padding: 14px 0; }
.svc-list b { font-weight: 600; }
.svc-list span { font-size: 17px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: 56px; }
.trio > div { border-top: 6px solid var(--ink); padding-top: 22px; }
.trio > div:nth-child(2) { border-color: var(--teal); }
.trio > div:nth-child(3) { border-color: var(--steel); }
.trio p { margin-top: 10px; font-size: 17px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.book { background: var(--teal); color: var(--paper); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); }
.book ul { list-style: none; margin: 22px 0 30px; display: grid; gap: 10px; font-size: 17px; }
.book li { display: flex; gap: 12px; align-items: baseline; }
.book li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); flex: none; transform: translateY(-2px); }
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--paper);
  border: 2px solid transparent; border-radius: 14px; padding: 15px 16px; transition: border-color 200ms ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); }
.field .err { display: none; color: #B42318; font-size: 15px; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #B42318; }
.field.invalid .err { display: block; }
.form-done { display: none; font-size: 17px; font-weight: 600; color: var(--teal-deep); }
.form.sent .form-done { display: block; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(96px, 10vw, 150px); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; color: var(--lagoon); }
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; font-size: 16px; }
@media (hover: hover) and (pointer: fine) { .foot-grid a:hover { color: var(--lagoon); } }
.foot-grid .blurb { font-size: 17px; max-width: 32ch; margin-top: 18px; }
.foot-mark { margin-top: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.foot-mark img { width: clamp(110px, 12vw, 180px); height: auto; margin-bottom: -2px; }
.foot-legal { font-size: 15px; padding-bottom: 28px; text-align: right; }

/* ---------- motion: reveals ---------- */
.js .doodle path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 900ms var(--ease-in-out) 200ms; }
.js .doodle.in path { stroke-dashoffset: 0; }
.js .doodle path + path { transition-delay: 950ms; transition-duration: 300ms; }
.page-hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.page-hero h1 .line > span { display: block; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .doodle path { stroke-dashoffset: 0; transition: none; }
  .wt *, .wt-scene { transition-duration: 1ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .arches-row { grid-template-columns: repeat(3, 1fr); }
  .arches-row .arch-item:nth-child(n) .arch { height: clamp(240px, 34vw, 360px); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .step-arrow { display: none; }
}
@media (max-width: 960px) {
  .hero .wrap, .page-hero .wrap, .pricing-grid, .faq-grid, .cta .wrap, .svc, .contact-grid, .fill-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 8px; }
  .hero-doodle { display: none; }
  .svc.flip .svc-art { order: 0; }
  .page-hero .copy { padding-bottom: 16px; }
  .page-hero .side-arch { justify-self: start; width: min(70%, 320px); }
  .faq-grid .sticky { position: static; }
  .cta .wrap { min-height: 0; padding-block: 112px; }
  .cta-act .doodle, .cta-act .note-hand { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-mark { grid-template-columns: 1fr; }
  .foot-legal { text-align: left; }
  .trio { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header .wrap { height: 72px; }
  .nav { inset: 72px 0 0 0; }
  .logo, .logo img { width: 112px; }
  .arches-row { grid-template-columns: repeat(2, 1fr); }
  .arches-row .arch-item:nth-child(5) { grid-column: 1 / -1; }
  .arches-row .arch-item:nth-child(5) .arch { width: 50%; }
  .arches-row .arch-item:nth-child(n) .arch { height: 52vw; }
  .steps { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 1fr; gap: 24px; }
  .seg button { padding: 12px 16px; }
  .addon { flex-direction: column; align-items: flex-start; }
  .player { gap: 10px; padding-right: 14px; margin-inline: 2%; }
  .chapter { font-size: 13px; }
  .wt-note { display: none; }
  .svc-list li { grid-template-columns: 1fr; gap: 4px; }
  .form .two { grid-template-columns: 1fr; }
  .compare { font-size: 16px; }
  .compare th, .compare td { padding: 14px 10px; }
}
@media (max-width: 640px) {
  .step .art { aspect-ratio: auto; height: 86vw; padding: 0 8%; }
  .step .art-card { min-height: 50%; }
  .art-thumbs i { width: 22%; }
  .fav-sparks { display: none; }
  .fav-note { right: 42px; top: -40px; font-size: 17px; }
  .fav-curl { top: -44px; width: 28px; }
  .fill-text { font-size: 30px; }
}

/* ---------- full-screen page hero with a scroll cue ---------- */
.page-hero.full .wrap { min-height: calc(100svh - 84px); position: relative; }
.page-hero.full .copy { align-self: center; padding-bottom: 96px; }
.scroll-cue {
  position: absolute; left: var(--m); bottom: clamp(32px, 5vw, 64px);
  display: inline-flex; align-items: center; gap: 20px;
  text-decoration: none; color: var(--paper);
  transition: opacity 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.scroll-cue:active { transform: scale(0.97); }
.cue-text { display: flex; flex-direction: column; gap: 4px; }
.cue-text b { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.cue-text small { font-size: 16px; color: var(--lagoon); }
/* the arrow keeps dropping out of its circle and coming back in from the top: an unmistakable "go down" */
.cue-arrow { position: relative; width: 68px; height: 68px; flex: none; border-radius: 50%; background: var(--teal); display: grid; place-items: center; transition: transform 240ms var(--ease-out), background-color 200ms ease; }
.cue-track { position: relative; width: 26px; height: 26px; overflow: hidden; }
.cue-track svg { position: absolute; inset: 0; width: 26px; fill: none; stroke: var(--paper); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: cueDrop 1.8s var(--ease-in-out) infinite; }
.cue-track svg + svg { animation-name: cueDropIn; }
@keyframes cueDrop { 0%, 35% { transform: translateY(0); } 70%, 100% { transform: translateY(140%); } }
@keyframes cueDropIn { 0%, 35% { transform: translateY(-140%); } 70%, 100% { transform: translateY(0); } }
.cue-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lagoon); opacity: 0; animation: cueRing 2.4s var(--ease-out) infinite; }
@keyframes cueRing { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.6); } }
@media (hover: hover) and (pointer: fine) {
  .scroll-cue:hover .cue-arrow { transform: translateY(6px); background: var(--lagoon); }
  .scroll-cue:hover .cue-track svg { animation-duration: 1s; stroke: var(--ink); }
  .scroll-cue:hover .cue-text small { color: var(--paper); }
}
.scrolled .scroll-cue { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .cue-track svg, .cue-ring { animation: none; } .cue-track svg + svg { display: none; } }
@media (max-width: 960px) {
  .page-hero.full .wrap { min-height: calc(100svh - 72px); align-content: center; }
  .page-hero.full .side-arch { position: absolute; right: var(--m); bottom: 0; width: min(32%, 180px); }
  .page-hero.full .copy { padding-bottom: 140px; }
}

/* ---------- pricing table: no row lines, continuous column dividers, whole-column highlight ---------- */
.compare-plans { border-collapse: separate; border-spacing: 0; }
.compare-plans th, .compare-plans td { border-bottom: 0; padding-left: 24px; padding-right: 24px; }
.compare-plans .pc { position: relative; isolation: isolate; --tint: color-mix(in srgb, var(--teal) 80%, var(--paper)); transition: color 200ms var(--ease-out); }
.compare-plans .pc { border-left: 1px solid transparent; } /* header cells match the body so the colour lines up */
.compare-plans tbody .pc { border-left: 1px solid #9FB3C6; }
@media (min-resolution: 2dppx) { .compare-plans tbody .pc { border-left-width: 0.5px; } }
.compare-plans .pc::before { content: ""; position: absolute; inset: 0 8px -1px; z-index: -1; background: var(--tint); opacity: 0; transition: opacity 200ms var(--ease-out); }
.compare-plans .pc-growth { --tint: var(--teal); }
.compare-plans thead .pc::before { border-radius: 14px 14px 0 0; }
.compare-plans tbody tr:last-child .pc::before { border-radius: 0 0 14px 14px; }
.compare-plans tbody .cell-sparks { display: none; }
.cell-sparks { position: absolute; left: -4px; top: -14px; width: 32px; color: var(--teal); transform: rotate(-20deg); opacity: 0; transition: opacity 160ms ease; pointer-events: none; }
.cell-sparks .doodle path { stroke-width: 3.4; }
.compare-plans .cell-sparks .doodle path { stroke-dashoffset: 1; transition: stroke-dashoffset 420ms var(--ease-out); }
.compare-plans .cell-sparks .doodle path + path { transition-delay: 60ms; }
.compare-plans .cell-sparks .doodle path + path + path { transition-delay: 120ms; }
@media (hover: hover) and (pointer: fine) {
  .compare-plans:has(.pc-starter:hover) .pc-starter::before,
  .compare-plans:has(.pc-growth:hover) .pc-growth::before,
  .compare-plans:has(.pc-pro:hover) .pc-pro::before { opacity: 1; }
  /* all three plans in teal: Growth solid, Starter and Pro at 80% */
  .compare-plans:has(.pc-starter:hover) .pc-starter,
  .compare-plans:has(.pc-growth:hover) .pc-growth,
  .compare-plans:has(.pc-pro:hover) .pc-pro { color: var(--paper); }
  .compare-plans:has(.pc-growth:hover) .cell-sparks { opacity: 1; }
  .compare-plans:has(.pc-growth:hover) .cell-sparks .doodle path { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .compare-plans .cell-sparks .doodle path { stroke-dashoffset: 0; transition: none; }
}


/* ---------- Why us: the three options, argued with doodles ---------- */
.options { align-self: center; justify-self: end; display: grid; gap: clamp(14px, 1.6vw, 24px); padding-bottom: 96px; }
.opt { position: relative; font-size: clamp(30px, 3.3vw, 50px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; max-width: none; width: fit-content; }
.opt.out { color: #8ea3b8; }
.opt.pick { color: var(--paper); margin-top: 10px; }
.opt .strike { position: absolute; left: -2%; top: 50%; width: 104%; height: 0.42em; transform: translateY(-40%); overflow: visible; color: var(--lagoon); }
.opt .ring { position: absolute; left: -9%; top: -44%; width: 124%; height: 188%; overflow: visible; color: var(--lagoon); }
.opt svg path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.pick-note { position: absolute; left: calc(100% + 34px); top: 50%; color: var(--lagoon); font-size: 22px; letter-spacing: 0; white-space: nowrap; transform: translateY(-50%) rotate(-6deg); }
/* the hero's one authored moment: strike, strike, circle */
.js .opt svg path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLine 700ms var(--ease-in-out) forwards; }
.js .opt:nth-child(1) svg path { animation-delay: 350ms; }
.js .opt:nth-child(2) svg path { animation-delay: 800ms; }
.js .opt.pick svg path { animation-duration: 900ms; animation-delay: 1250ms; }
.js .pick-note { opacity: 0; animation: noteIn 300ms var(--ease-out) 2050ms forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes noteIn { to { opacity: 1; } }

/* ---------- Why us: one comparison board with a rival switch ---------- */
.vs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.vs-intro { position: sticky; top: 120px; }
.seg-light { background: var(--mist); }
.seg-light button { color: var(--ink); }
.seg-light button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.vs-board { position: relative; isolation: isolate; }
.vs-board { --cols: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); }
/* Arman's column: every cell carries the teal, rows butt together, so it reads as one panel */
.vs-row { display: grid; grid-template-columns: var(--cols); column-gap: 16px; align-items: stretch; min-height: 84px; }
.vs-row > * { padding: 0 24px; display: flex; align-items: center; }
.vs-row .vs-us { background: var(--teal); box-shadow: 0 1px 0 var(--teal); /* hides subpixel seams between rows */ }
.vs-head .vs-us { border-radius: 22px 22px 0 0; }
.vs-row:last-child .vs-us { border-radius: 0 0 22px 22px; }
.vs-head { min-height: 96px; font-size: 20px; font-weight: 600; }
.vs-head .vs-us { display: flex; align-items: center; gap: 12px; color: var(--paper); font-size: 24px; }
.vs-head .vs-us img { width: 34px; height: auto; }
.vs-head .vs-them { color: #4a4a4a; }
.vs-label { font-size: 17px; font-weight: 600; }
.vs-us { color: var(--paper); }
.vs-us b { font-size: clamp(20px, 1.9vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.vs-them { font-size: 18px; color: #3d3d3d; }
.vs-x { position: relative; display: inline-block; }
.vs-mtitle, .vs-ico, .vs-legend { display: none; }
.vs-x .strike { position: absolute; left: -4%; top: 50%; width: 108%; height: 12px; transform: translateY(-45%); overflow: visible; color: var(--steel); pointer-events: none; }
.vs-x .strike path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.vs-panel.enter { animation: vsIn 280ms var(--ease-out); }
@keyframes vsIn { from { opacity: 0; filter: blur(3px); } }
/* strikes draw row by row when the board arrives and each time the rival changes */
.js .vs-x .strike path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .vs-board.in .vs-x .strike path { animation: drawLine 520ms var(--ease-out) forwards; animation-delay: calc(250ms + var(--i, 0) * 90ms); }
@media (hover: hover) and (pointer: fine) {
  .vs-row:not(.vs-head) { transition: background-color 160ms ease; border-radius: 14px; }
  .vs-row:not(.vs-head):hover .vs-label { color: var(--teal-deep); }
}

@media (max-width: 960px) {
  .options { justify-self: start; padding: 0 0 150px 14px; }
  .vs { grid-template-columns: minmax(0, 1fr); }
  .vs-intro { position: static; }
}
@media (max-width: 640px) {
  .opt { font-size: 28px; }
  .page-hero.full .options + .side-arch, .page-hero.full .options ~ * { display: none; }
  /* phones: the rival switch, then a check/cross key, then one plain card per question */
  .vs-panel { display: grid; gap: 10px; }
  .vs-panel[hidden] { display: none; }
  .vs-legend { display: flex; gap: 18px; font-size: 14px; font-weight: 600; color: #4a4a4a; margin: 0 0 6px; }
  .vs-legend span { display: inline-flex; align-items: center; gap: 8px; }
  .vs-legend .vs-ico { width: 20px; height: 20px; }
  .vs-legend .vs-ico svg { width: 12px; }
  .vs-row.vs-head { display: none; }
  .vs-row { display: grid; grid-template-columns: 1fr; gap: 10px; min-height: 0; padding: 18px; border-radius: 16px; background: var(--paper-alt); }
  .vs-row > * { padding: 0; display: flex; align-items: flex-start; gap: 12px; }
  .vs-label { font-size: 14px; font-weight: 600; color: #4a4a4a; }
  .vs-row .vs-us, .vs-row:last-child .vs-us { background: none; box-shadow: none; border-radius: 0; color: var(--ink); }
  .vs-us b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
  .vs-them { font-size: 16px; color: #4a4a4a; }
  .vs-x .strike { display: none; }
  .vs-ico { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 0; }
  .vs-ico svg { width: 14px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
  .vs-ico.ok { background: var(--teal); } .vs-ico.ok svg { stroke: var(--paper); }
  .vs-ico.no { background: var(--mist-2); } .vs-ico.no svg { stroke: #4a4a4a; }
}
@media (prefers-reduced-motion: reduce) {
  .js .opt svg path, .js .vs-x .strike path { animation: none; stroke-dashoffset: 0; }
  .js .pick-note { animation: none; opacity: 1; }
  .vs-panel.enter { animation: none; }
}

/* ---------- Contact: the call invite inside the teal arch ---------- */
.invite-wrap { position: relative; align-self: end; justify-self: end; width: min(100%, 470px); }
.invite.arch { aspect-ratio: auto; padding: 30% 7% 0; border: 0; display: block; }
.invite-card { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 18px; }
.inv-top { display: flex; justify-content: space-between; align-items: center; }
.inv-top b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.inv-top span { font-size: 15px; color: #4a4a4a; }
.inv-top .wt-av { font-size: 10px; }
.inv-send { width: 100%; }
.inv-fine { font-size: 14px; color: #4a4a4a; text-align: center; margin-top: -6px; padding-bottom: 6px; }
.invite-note { position: absolute; left: -150px; top: 22%; color: var(--paper); transform: rotate(-6deg); }
.invite-arrow { position: absolute; left: -110px; top: calc(22% + 30px); width: 100px; color: var(--lagoon); }

/* ---------- Contact: message section ---------- */
.msg { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.msg-direct { margin-top: 32px; font-size: 17px; }
.msg-direct a { font-weight: 600; font-size: 20px; text-decoration-color: var(--teal); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.msg-squiggle { width: 110px; color: var(--teal); margin-top: 24px; }
.msg-form .field input, .msg-form .field textarea, .msg-form .field select { border-radius: 14px; }
.msg-form textarea::placeholder { color: #6b6b6b; }

@media (max-width: 1100px) { .invite-note, .invite-arrow { display: none; } }
@media (max-width: 960px) {
  .invite-wrap { justify-self: start; margin-top: 8px; margin-bottom: 140px; }
  .page-hero.full:has(.invite-wrap) .copy { padding-bottom: 32px; }
  .page-hero.full:has(.invite-wrap) .wrap { align-content: start; }
  .msg { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .page-hero.full .invite-wrap ~ .side-arch { display: none; }
  .invite.arch { padding: 26% 5% 0; }
  .invite-card { padding: 18px 16px; }
    }

/* ---------- Contact: what the intro call covers ---------- */
.inv-agenda { list-style: none; display: grid; gap: 14px; margin: 4px 0 6px; }
.inv-agenda li { display: grid; gap: 2px; padding-left: 18px; position: relative; }
.inv-agenda li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.inv-agenda b { font-size: 17px; font-weight: 600; }
.inv-agenda span { font-size: 15px; color: #4a4a4a; }

/* ---------- Booking window (Zoho Bookings embed) ---------- */
.booking { width: min(960px, calc(100vw - 32px)); height: min(780px, calc(100svh - 48px)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); overflow: hidden; display: none; flex-direction: column; box-shadow: 0 40px 80px -30px rgba(10,10,10,.55); }
.booking[open] { display: flex; animation: bookIn 260ms var(--ease-out); }
.booking.closing { animation: bookOut 160ms var(--ease-out) forwards; }
.booking::backdrop { background: rgba(10,10,10,.62); animation: fadeBg 260ms ease; }
.booking.closing::backdrop { animation: fadeBg 160ms ease reverse forwards; }
@keyframes bookIn { from { opacity: 0; transform: scale(.96); } }
@keyframes bookOut { to { opacity: 0; transform: scale(.98); } }
@keyframes fadeBg { from { opacity: 0; } }
.booking-head { display: flex; align-items: center; gap: 16px; padding: 18px 18px 18px 28px; background: var(--ink); color: var(--paper); }
.booking-head h2 { font-size: 20px; font-weight: 600; flex: 1; }
.booking-out { font-size: 15px; color: var(--lagoon); text-underline-offset: 4px; }
.booking-close { width: 42px; height: 42px; border-radius: 50%; background: var(--ink-3); display: grid; place-items: center; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.booking-close svg { width: 18px; fill: none; stroke: var(--paper); stroke-width: 2.4; stroke-linecap: round; }
.booking-close:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .booking-close:hover { background: var(--teal); } }
.booking-body { position: relative; flex: 1; background: var(--paper); }
.booking-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 240ms ease; }
.booking.loaded .booking-body iframe { opacity: 1; }
.booking-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 17px; color: #4a4a4a; }
.booking.loaded .booking-loading { display: none; }
.booking-open { overflow: hidden; }
@media (max-width: 640px) {
  .booking { width: 100vw; height: 100svh; border-radius: 0; }
  .booking-head { padding: 12px 12px 12px 18px; }
  .booking-out { display: none; }
}
@media (prefers-reduced-motion: reduce) { .booking[open], .booking.closing, .booking::backdrop { animation: none; } }

/* pricing table on touch screens and phones: no hover, so every plan shows its colour by default */
@media (hover: none), (max-width: 640px) {
  .compare-plans .pc::before { opacity: 1; }
  .compare-plans .pc { color: var(--paper); }
  .compare-plans .cell-sparks { opacity: 1; }
  .compare-plans .cell-sparks .doodle path { stroke-dashoffset: 0; }
  .compare-plans tbody .pc { border-left-color: transparent; }
}

/* ---------- steps on phones: hand-drawn numbers and arrows down to the next step ---------- */
.step-num, .step-down { display: none; }
@media (max-width: 640px) {
  .steps { row-gap: 12px; }
  .step-num { display: block; position: absolute; left: -6px; top: -14px; width: 56px; z-index: 2; color: var(--ink); overflow: visible; }
  .step-num path { fill: none; stroke: currentColor; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
  .js .step-num path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 700ms var(--ease-in-out) 150ms; }
  .js .step.in .step-num path { stroke-dashoffset: 0; }
  .step-num .ring { stroke: var(--lagoon); stroke-width: 2.6; }
  /* smaller digit inside the same-size ring; thicker stroke keeps the pen weight after scaling */
  .step-num path:not(.ring) { transform: scale(0.62); transform-box: view-box; transform-origin: 21px 25px; stroke-width: 5.6; }
  .js .step-num .ring { transition-delay: 650ms; }
  .step-down { display: block; width: 40px; height: 96px; margin: 26px auto 0; color: var(--steel); overflow: visible; }
  .step-down path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  .js .step-down path { stroke-dasharray: 1; stroke-dashoffset: 1; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .js .step-num path, .js .step-down path { stroke-dashoffset: 0; transition: none; }
}
