/* ==========================================================================
   Setu Solutions · personal site
   Tokens → base → header → hero scene → phone → objects → sections → modals
   ========================================================================== */

:root {
  /* Brand (from the Setu Solutions logo kit) */
  --blue: #2148D8;
  --blue-600: #1A39B3;
  --blue-50: #EDF1FE;
  --red: #D40000;
  --red-50: #FDECEC;
  --gold: #F7B500;

  /* Surfaces & text */
  --bg: #F7F7F5;
  --surface: #FFFFFF;
  --surface-2: #F2F2F5;
  --ink: #0A0F24;
  --ink-2: #2B3147;
  --muted: #5A6073;
  --line: #E3E1DA;
  --line-2: #ECEDF1;

  /* Type */
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 160ms;
  --dur-2: 280ms;
  --dur-3: 520ms;

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-1: 0 1px 2px rgb(10 15 36 / .06), 0 2px 8px rgb(10 15 36 / .05);
  --shadow-2: 0 2px 4px rgb(10 15 36 / .05), 0 16px 40px -12px rgb(10 15 36 / .18);
  --shadow-3: 0 30px 80px -20px rgb(10 15 36 / .35);

  /* Layers */
  --z-scene: 1;
  --z-plus: 5;
  --z-header: 20;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.modal-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, iframe { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.i {
  width: 1em; height: 1em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
  transition: top var(--dur-2) var(--ease-out);
}
.skip-link:focus { top: 16px; }

.container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - 48px); }

.kicker {
  font-family: var(--font-hand);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
  rotate: -2deg;
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background-color var(--dur-2);
}
.btn .i { font-size: 1.1em; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgb(10 15 36 / .45); }
.btn:hover .i { transform: translateX(2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: 80ms; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--blue { --btn-bg: var(--blue); }
.btn--blue:hover { --btn-bg: var(--blue-600); box-shadow: 0 12px 28px -10px rgb(33 72 216 / .6); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--outline { --btn-bg: transparent; --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .4); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px #fff; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(16px, 4vw, 48px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; }
.brand__logo { display: block; height: 32px; width: auto; }
.footer .brand__logo { height: 28px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--ink-2);
  border-radius: 999px; transition: background-color var(--dur-2);
}
.site-nav__link:hover { background: rgb(10 15 36 / .06); }

/* ==========================================================================
   HERO SCENE
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px clamp(16px, 4vw, 48px) 96px;
  isolation: isolate;
}
/* barely-there vignette so the "desk" has some depth */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 50% 40%, transparent 55%, rgb(10 15 36 / .035) 100%);
  -webkit-mask-image: linear-gradient(#000 55%, transparent 95%);
  mask-image: linear-gradient(#000 55%, transparent 95%);
  pointer-events: none;
}

.scene {
  --pw: clamp(232px, min(23vw, calc((100svh - 220px) * .49)), 312px);
  /* card is 10 x 10 cm vs a ~7.2 cm-wide phone; shown a little under true scale so it fits beside it */
  --cw: clamp(220px, calc(var(--pw) * 1.1), 345px);
  --mw: clamp(108px, 11vw, 158px);
  width: min(1280px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(52px, 6.5vw, 120px);
}

.obj { position: relative; z-index: var(--z-scene); }
.obj__stage { position: relative; rotate: var(--rot, 0deg); }

.obj--card { justify-self: end; margin-right: 26px; /* room for the + on its edge */ translate: 0 calc(var(--cw) * -.2); }
.obj--card .obj__stage { --rot: -8deg; width: var(--cw); aspect-ratio: 1; }
.obj--phone .obj__stage { --rot: -6deg; }
.obj--mouse { justify-self: start; translate: 0 calc(var(--mw) * -.42); }
.obj--mouse .obj__stage { --rot: 13deg; width: var(--mw); aspect-ratio: 200 / 320; }

/* soft "on the desk" shadows: light from top-left */
.obj__shadow {
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-3) var(--ease-out);
  pointer-events: none;
}
.obj--mouse .obj__shadow {
  inset: 6% 4% 2% 6%;
  border-radius: 50% 50% 46% 46% / 40% 40% 60% 60%;
  background: rgb(10 15 36 / .22);
  filter: blur(14px);
  translate: 10px 16px;
}
.obj--mouse .obj__stage:hover .obj__shadow { transform: translate(4px, 8px) scale(1.04); opacity: .8; }

/* ---------- NFC card deck ---------- */
.deck { position: relative; width: 100%; height: 100%; }
.deck__card {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 3.6%;
  background: #fff;
  box-shadow:
    0 1px 2px rgb(10 15 36 / .12),
    8px 14px 22px -8px rgb(10 15 36 / .26),
    22px 36px 50px -18px rgb(10 15 36 / .18);
  user-select: none; -webkit-user-drag: none;
  will-change: transform;
}
/* resting stack before/without JS: front card first, the rest peek out below */
.deck__card:nth-child(1) { z-index: 4; }
.deck__card:nth-child(2) { z-index: 3; transform: translate(-2.5%, 5.5%) rotate(-4deg) scale(.96); }
.deck__card:nth-child(3) { z-index: 2; transform: translate(2%, 11%) rotate(3.5deg) scale(.92); }
.deck__card:nth-child(4) { z-index: 1; transform: translate(-1.5%, 16.5%) rotate(-7deg) scale(.88); }
.deck { touch-action: pan-y; } /* sideways drags flip cards; vertical drags still scroll the page */
@media (hover: none) { .deck { cursor: pointer; } }

/* while fanned out, step the annotation and dots aside */
.obj--card .note, .deck-dots { transition: opacity var(--dur-2) var(--ease-out); }
.obj--card.is-spread .note, .obj--card.is-spread .deck-dots { opacity: 0; }
.obj--card.is-spread .plus { z-index: 30; }

.deck-dots { display: flex; justify-content: center; gap: 2px; margin-top: calc(var(--cw) * .3); }
.deck-dot {
  width: 28px; height: 28px; padding: 0; border: 0; background: none;
  display: grid; place-items: center; cursor: pointer; touch-action: manipulation;
}
.deck-dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 99px;
  background: rgb(10 15 36 / .22);
  transition: width var(--dur-3) var(--ease-out), background-color var(--dur-2);
}
.deck-dot:hover::before { background: rgb(10 15 36 / .45); }
.deck-dot[aria-pressed="true"]::before { width: 22px; background: var(--ink); }
.deck-dot:focus-visible { outline-offset: -2px; border-radius: 99px; }

/* ---------- Mouse ---------- */
.mouse-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mouse__lb {
  fill: url(#mouse-lb); fill-opacity: .2;
  transform-box: fill-box; transform-origin: 100% 100%;
  transition: fill-opacity var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.obj--mouse .obj__stage:hover .mouse__lb { fill-opacity: .32; }
.obj--mouse .obj__stage:has(.plus:hover, .plus:focus-visible) .mouse__lb,
.obj--mouse .obj__stage.is-clicking .mouse__lb { fill-opacity: .5; transform: scale(.985); }
.mouse__ripple { fill: none; stroke: var(--blue); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }

/* ---------- "+" buttons ---------- */
.plus {
  position: absolute; z-index: var(--z-plus);
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px; /* centre on the anchor point (not translate: GSAP owns transforms here) */
  display: grid; place-items: center;
  padding: 0; border: 0; border-radius: 50%;
  background: var(--blue); color: #fff;
  box-shadow: 0 0 0 4px #fff, 0 10px 24px -6px rgb(33 72 216 / .6);
  cursor: pointer; touch-action: manipulation;
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2);
}
.plus .i { font-size: 20px; stroke-width: 2.6; rotate: calc(var(--rot, 0deg) * -1); transition: transform var(--dur-3) var(--ease-out); }
.plus::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--blue);
  animation: ping 2.8s var(--ease-out) infinite;
  pointer-events: none;
}
.plus:hover { background: var(--blue-600); transform: scale(1.08); }
.plus:hover .i { transform: rotate(90deg); }
.plus:active { transform: scale(.94); transition-duration: 80ms; }
.plus:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 50%; }
.plus.is-seen::before { animation: none; opacity: 0; }
.plus--card { left: 100%; top: 50%; }
.plus--mouse { left: 29%; top: 22.5%; }

@keyframes ping {
  0% { transform: scale(.85); opacity: .7; }
  70%, 100% { transform: scale(1.75); opacity: 0; }
}

/* ---------- Handwritten annotations ---------- */
.note {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
}
.note__text {
  font-family: var(--font-hand); font-weight: 700; fill: var(--ink);
}
.note--card .note__text { font-size: 88px; }
.note--mouse .note__text { font-size: 38px; }
.note__line { fill: none; stroke: var(--ink); stroke-linecap: round; }
.note--card .note__line { stroke-width: 5.5; stroke-dasharray: 18 15; }
.note--mouse .note__line { stroke-width: 3; stroke-dasharray: 9 8; }

/* ---------- Scroll cue ---------- */
.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-width: 44px; padding: 4px 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.scroll-cue__line { width: 1.5px; height: 36px; background: linear-gradient(var(--muted), transparent); transform-origin: top; animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ==========================================================================
   PHONE
   ========================================================================== */
.phone {
  --r: calc(var(--pw) * .165);
  position: relative;
  width: var(--pw);
  aspect-ratio: 71.6 / 147.6;
  padding: calc(var(--pw) * .012);
  border-radius: var(--r);
  background: linear-gradient(145deg, #E9EAEE, #B9BCC6 40%, #DFE1E6 60%, #A9ADB8);
  box-shadow:
    0 1px 2px rgb(10 15 36 / .12),
    14px 24px 32px -8px rgb(10 15 36 / .22),
    40px 64px 90px -24px rgb(10 15 36 / .24);
}
.phone__btn { position: absolute; width: calc(var(--pw) * .012); background: linear-gradient(90deg, #A6AAB5, #D6D8DE); border-radius: 2px; }
.phone__btn--action { left: -1.2%; top: 17%; height: 4%; }
.phone__btn--vol1 { left: -1.2%; top: 24%; height: 7.5%; }
.phone__btn--vol2 { left: -1.2%; top: 33%; height: 7.5%; }
.phone__btn--power { right: -1.2%; top: 27%; height: 11%; }
.phone__glass {
  height: 100%;
  padding: calc(var(--pw) * .03);
  border-radius: calc(var(--r) - var(--pw) * .012);
  background: #0A0A0C;
}
.screen {
  container-type: inline-size;
  position: relative;
  height: 100%;
  border-radius: calc(var(--r) - var(--pw) * .042);
  background: #F4F4F7;
  overflow: hidden;
  color: var(--ink);
  display: flex; flex-direction: column;
}
/* subtle glass reflection */
.screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgb(255 255 255 / .55) 0%, rgb(255 255 255 / 0) 28%);
  mix-blend-mode: soft-light;
}

.statusbar {
  position: relative; flex: none;
  height: 15cqw;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1cqw 7.5cqw 0 9.5cqw;
  font-family: var(--font-display); font-weight: 700; font-size: 5.1cqw;
}
.island {
  position: absolute; left: 50%; top: 3.6cqw; translate: -50% 0;
  width: 31cqw; height: 9.2cqw; border-radius: 99px; background: #000;
}
.statusbar__icons { display: flex; align-items: center; gap: 1.6cqw; }
.statusbar__icons svg { height: 3.8cqw; width: auto; fill: currentColor; }

.screen__body {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; gap: 3.4cqw;
  padding: 3cqw 5.2cqw 7cqw;
}

.ps-brand { text-align: center; padding: 2cqw 0 1cqw; }
.ps-mark { width: 21cqw; height: auto; display: block; margin: 0 auto 3cqw; overflow: visible; }
.ps-wordmark { margin: 0; line-height: 0; }
.ps-wordmark svg { display: block; width: 72%; height: auto; margin: 0 auto; }
.ps-slogan { margin-top: 3.4cqw; font-size: 4.5cqw; line-height: 1.35; color: var(--muted); font-weight: 500; padding-inline: 4cqw; text-wrap: balance; }

.ps-group {
  background: #fff; border-radius: 5.5cqw;
  padding: 3.6cqw 4cqw;
  box-shadow: 0 .4cqw 1.2cqw rgb(10 15 36 / .04);
}
.ps-group__head { display: flex; align-items: center; justify-content: space-between; }
.ps-h {
  font-family: var(--font-body); font-size: 3.6cqw; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  margin-bottom: 1.4cqw;
}
.ps-group__head .ps-h { margin-bottom: 0; }
.ps-add {
  position: relative;
  width: 8.6cqw; height: 8.6cqw; border: 0; border-radius: 50%;
  display: grid; place-items: center; padding: 0;
  background: #E8F7EE; color: #138A44; cursor: pointer;
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2);
}
/* expand hit area to ~44px without changing the look */
.ps-add::after { content: ""; position: absolute; inset: -10px; }
.ps-add .i { font-size: 4.6cqw; }
.ps-add:hover { background: #D3F1DF; transform: scale(1.08); }
.ps-add.is-done { background: #138A44; color: #fff; }

.ps-row {
  display: flex; align-items: center; gap: 3cqw;
  padding: 2.4cqw 0;
  text-decoration: none;
  border-radius: 3cqw;
  transition: background-color var(--dur-1);
}
.ps-row + .ps-row { border-top: 1px solid var(--line-2); }
.ps-row:hover { background: var(--surface-2); }
.ps-ico { width: 9cqw; height: 9cqw; border-radius: 2.6cqw; display: grid; place-items: center; flex: none; color: #fff; }
.ps-ico .i { font-size: 4.6cqw; }
.ps-ico--blue { background: var(--blue); }
.ps-ico--red { background: var(--red); }
.ps-row__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.ps-row__label { font-size: 3.4cqw; color: var(--muted); }
.ps-row__val { font-size: 4.3cqw; font-weight: 600; overflow-wrap: anywhere; }
.ps-row__chev { font-size: 4.4cqw; color: #A3A7B4; }

.ps-me { display: flex; align-items: center; gap: 3cqw; margin-bottom: 2.2cqw; }
.ps-avatar {
  width: 10.5cqw; height: 10.5cqw; border-radius: 50%; flex: none;
  display: grid; place-items: center; object-fit: cover;
  background: conic-gradient(from 210deg, var(--blue), #6E8DF2, var(--red), var(--blue));
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 3.9cqw;
}
.ps-me__txt { display: flex; flex-direction: column; line-height: 1.25; }
.ps-me__txt strong { font-size: 4.3cqw; }
.ps-me__txt span { font-size: 3.4cqw; color: var(--muted); }
.ps-about { font-size: 3.9cqw; line-height: 1.5; color: var(--ink-2); }

.ps-dock {
  margin-top: auto;
  display: flex; justify-content: space-around;
  padding: 2.2cqw 3cqw;
  background: rgb(255 255 255 / .8);
  border: 1px solid var(--line-2);
  border-radius: 99px;
}
.ps-dock a {
  width: 11cqw; height: 11cqw; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink); background: var(--surface-2);
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2), color var(--dur-2);
}
.ps-dock a .i { font-size: 4.8cqw; }
.ps-dock a:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.home-bar { position: absolute; left: 50%; bottom: 2.2cqw; translate: -50% 0; width: 36cqw; height: 1.5cqw; border-radius: 9px; background: var(--ink); opacity: .85; }

/* ==========================================================================
   STATEMENT
   ========================================================================== */
.statement { padding: clamp(96px, 16vw, 200px) 0 clamp(72px, 10vw, 140px); text-align: center; }
.statement .kicker { margin-bottom: 20px; }
.statement__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.4vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hl { font-style: normal; position: relative; }
.hl--blue { color: var(--blue); }
.hl--red { color: var(--red); }
.hl__circle {
  position: absolute; left: -11%; top: -34%; width: 122%; height: 168%; rotate: -3deg;
  overflow: visible; pointer-events: none;
}
.hl__circle path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { padding: 0 0 clamp(96px, 12vw, 160px); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head .kicker { margin-bottom: 10px; }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -.035em; line-height: 1.05; }
.lead { margin-top: 16px; font-size: 1.125rem; color: var(--muted); }
.lead em { font-style: normal; font-weight: 600; color: var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.tile {
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.tile__visual {
  position: relative; aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 1px 1px, rgb(10 15 36 / .09) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(160deg, #F0F3FE, #F7F6F2);
  overflow: hidden;
}
.tile__visual--mouse { background:
    radial-gradient(circle at 1px 1px, rgb(10 15 36 / .09) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(160deg, #F7F6F2, #FDF0F0); }
.tile__float { position: absolute; inset: 0; display: grid; place-items: center; }
.tile__art { filter: drop-shadow(8px 14px 16px rgb(10 15 36 / .18)); transition: translate var(--dur-3) var(--ease-out), rotate var(--dur-3) var(--ease-out), scale var(--dur-3) var(--ease-out); }
.tile__art--mouse { width: 22%; rotate: 12deg; }
.tile__fan { position: relative; width: 34%; aspect-ratio: 1; }
.tile__fan img {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 3.6%;
  box-shadow: 0 1px 2px rgb(10 15 36 / .12), 6px 12px 18px -6px rgb(10 15 36 / .28);
  translate: calc(var(--k) * 42%) calc(var(--k) * var(--k) * 5%);
  rotate: calc(var(--k) * 9deg);
  transition: translate var(--dur-3) var(--ease-out), rotate var(--dur-3) var(--ease-out);
}
.tile__fan img:nth-child(1) { --k: 1.5; }
.tile__fan img:nth-child(2) { --k: .5; }
.tile__fan img:nth-child(3) { --k: -.5; }
.tile__fan img:nth-child(4) { --k: -1.5; }
.tile:hover .tile__fan img { translate: calc(var(--k) * 56%) calc(var(--k) * var(--k) * 6% - 4%); rotate: calc(var(--k) * 12deg); }
.tile:hover .tile__art--mouse { translate: 0 -6px; rotate: 4deg; }
.tile__cursor {
  position: absolute; left: 58%; top: 56%; width: 30px;
  transition: transform var(--dur-3) var(--ease-out);
}
.tile__cursor svg { width: 100%; fill: var(--ink); stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; display: block; }
.tile:hover .tile__cursor { transform: translate(-26px, -46px); }

.tile__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 3vw, 36px); flex: 1; }
.tile__tag { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tile__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 1.875rem); letter-spacing: -.03em; line-height: 1.1; }
.tile__desc { color: var(--ink-2); max-width: 46ch; }
.tile .btn { margin-top: auto; }
.checks { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.checks .i { color: var(--blue); background: var(--blue-50); border-radius: 50%; padding: 4px; width: 24px; height: 24px; stroke-width: 2.6; }

/* ==========================================================================
   CONTACT + FOOTER
   ========================================================================== */
.contact {
  background: var(--ink); color: #fff;
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
  padding-top: clamp(80px, 11vw, 140px);
  overflow: hidden;
}
.contact__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact__mark { width: 84px; height: 50px; margin-bottom: 28px; }
.contact__mark { --mark-blue: #fff; }
.contact__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.25rem, 6vw, 4.5rem); letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.contact__lead { margin-top: 18px; font-size: 1.125rem; color: rgb(255 255 255 / .72); max-width: 44ch; }
.contact__actions { position: relative; margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact__note {
  position: absolute; left: calc(100% + 8px); top: -46px;
  display: flex; flex-direction: column; align-items: flex-start;
  font-family: var(--font-hand); font-size: 1.75rem; font-weight: 700; color: #fff;
  rotate: 6deg; pointer-events: none;
}
.contact__note svg { width: 84px; order: 2; margin-left: -50px; }
.contact__note path { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.contact__note span { margin-left: 10px; white-space: nowrap; }

.footer { margin-top: clamp(80px, 10vw, 128px); border-top: 1px solid rgb(255 255 255 / .1); padding: 28px 0 36px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: rgb(255 255 255 / .6); font-size: .9375rem; }

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--ink);
  overflow: hidden;
}
.modal[open] { display: grid; place-items: center; }
.modal::backdrop { background: transparent; }
.modal__scrim {
  position: absolute; inset: 0;
  background: rgb(10 15 36 / .45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative;
  width: min(780px, 100% - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
  scrollbar-width: thin;
}
.modal__bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 14px 32px;
  background: rgb(255 255 255 / .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2);
}
.modal__panel.is-scrolled .modal__bar { border-color: var(--line-2); }
.modal__grab { display: none; }
.modal__eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.modal__close {
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  display: grid; place-items: center; padding: 0;
  background: var(--surface-2); cursor: pointer;
  transition: background-color var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.modal__close .i { font-size: 20px; }
.modal__close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }

.modal__content { padding: 8px 32px 40px; display: flex; flex-direction: column; gap: 36px; }
.m-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.875rem, 4vw, 2.5rem); letter-spacing: -.035em; line-height: 1.05; }
.m-lead { margin-top: 12px; font-size: 1.125rem; color: var(--ink-2); max-width: 56ch; }
.m-h { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 16px; }
.m-media { margin: 0; }
.m-caption { margin-top: 10px; font-size: .875rem; color: var(--muted); }
.m-img, .m-video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); border: 0; background: var(--surface-2); }

/* placeholder blocks: deliberately obvious so they're easy to spot and swap */
.ph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 100%; border-radius: var(--r-lg);
  border: 2px dashed #B9BFD0;
  background: repeating-linear-gradient(135deg, #F4F5F9 0 12px, #ECEEF4 12px 24px);
  color: var(--muted); text-align: center; padding: 16px;
}
.ph .i { font-size: 32px; stroke-width: 1.6; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--1x1 { aspect-ratio: 1; }
.ph__tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #FFE58A; color: #5C4600; padding: 3px 8px; border-radius: 6px; }
.ph__hint { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .8125rem; overflow-wrap: anywhere; }
.ph--video { background: repeating-linear-gradient(135deg, #1A2038 0 12px, #141A30 12px 24px); border-color: #3A4262; color: #C4C9DA; }
.ph__play { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; margin-bottom: 6px; }
.ph__play .i { font-size: 26px; fill: currentColor; stroke: none; margin-left: 3px; }
.ph-text { background: #FFF1A8; box-shadow: 0 0 0 2px #FFF1A8; border-radius: 3px; outline: 1px dashed #C9A400; outline-offset: 2px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.step { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); background: var(--surface-2); }
.step__n { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 800; }
.step strong { font-family: var(--font-display); font-size: 1.0625rem; }
.step p { color: var(--ink-2); font-size: .9375rem; }

.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feat { padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r-md); transition: border-color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.feat:hover { border-color: #C8D3F8; transform: translateY(-2px); }
.feat__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 12px; }
.feat__ico .i { font-size: 20px; }
.feat strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.feat p { font-size: .9375rem; color: var(--muted); margin-top: 2px; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery .ph { border-radius: var(--r-md); padding: 8px; }

.prices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.price { position: relative; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line-2); transition: border-color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.price:hover { border-color: #C8D3F8; transform: translateY(-2px); }
.price--custom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--surface-2); border-color: transparent; }
.price__amt.price__amt--sm { font-size: 1.25rem; margin: 2px 0 4px; }
.price--hot { border: 2px solid var(--blue); background: var(--blue-50); }
.price__badge { position: absolute; top: -12px; left: 16px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.price__name { font-weight: 600; color: var(--muted); font-size: .9375rem; }
.price__amt { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; margin: 4px 0 8px; }
.price__note { font-size: .875rem; color: var(--ink-2); }

.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.work__item { position: relative; display: flex; flex-direction: column; gap: 12px; text-decoration: none; border-radius: var(--r-lg); }
.work__item .ph { border-radius: var(--r-md); transition: transform var(--dur-3) var(--ease-out); }
.work__item:hover .ph { transform: scale(.98); }
.work__meta { display: flex; flex-direction: column; font-size: .875rem; color: var(--muted); padding-right: 32px; }
.work__meta strong { color: var(--ink); font-size: 1rem; }
.work__arrow { position: absolute; right: 4px; bottom: 10px; font-size: 20px; transition: transform var(--dur-2) var(--ease-out); }
.work__item:hover .work__arrow { transform: translate(3px, -3px); }

.styles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.styles li { display: flex; flex-direction: column; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.styles img { width: 100%; height: auto; border-radius: 4%; box-shadow: 0 1px 2px rgb(10 15 36 / .1), 0 8px 18px -8px rgb(10 15 36 / .3); transition: transform var(--dur-3) var(--ease-out); }
.styles li:hover img { transform: translateY(-4px) rotate(-2deg); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 99px; background: var(--surface-2); font-size: .9375rem; font-weight: 500; }

.m-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.m-cta p { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }

/* hide the hero until the intro timeline has set its start states (fallback timer in <head>) */
.js:not(.intro-ready) .scene,
.js:not(.intro-ready) .site-header,
.js:not(.intro-ready) .scroll-cue { visibility: hidden; }

/* modal content reveal (JS adds .is-in as blocks scroll into view) */
.js .modal .m-block { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .modal .m-block.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   ORDER FORM (modal)
   ========================================================================== */
.order { display: flex; flex-direction: column; gap: 32px; }
.order[hidden] { display: none; }
.field__input, .seg, .choices { scroll-margin-top: 96px; }
.f-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.f-legend { padding: 0; margin-bottom: 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.f-hint { font-size: .875rem; color: var(--muted); margin-bottom: 16px; }
.f-opt { margin-left: 6px; font-family: var(--font-body); font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.req { color: var(--red); }

.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-weight: 600; font-size: .9375rem; }
.field__input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid #D9DBE3; border-radius: 12px;
  transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.field__input::placeholder { color: #80869A; }
.field__input:hover { border-color: #B9BFD0; }
.field__input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(33 72 216 / .15); }
.field__input[aria-invalid="true"] { border-color: var(--red); }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgb(212 0 0 / .14); }
.field__input--area { min-height: 140px; resize: vertical; line-height: 1.5; }
.field__err { display: flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 500; color: var(--red); animation: errIn var(--dur-2) var(--ease-out); }
.field__err::before { content: "!"; width: 18px; height: 18px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; }
.field__err:empty { display: none; }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } }

.f-summary { padding: 12px 16px; border-radius: 12px; background: var(--red-50); color: #A30000; font-weight: 600; }
.f-summary:focus { outline: 2px solid var(--red); outline-offset: 2px; }

/* --- card type tiles --- */
/* two columns; the odd one out spans the full row (one column on phones) */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice:last-child:nth-child(odd) { grid-column: 1 / -1; }
.choice {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px;
  padding: 12px 10px 12px 12px; border-radius: 16px;
  background: #fff; border: 1.5px solid #E1E3EA;
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--dur-2), background-color var(--dur-2), transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.choice:hover { border-color: #B9C6F5; transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgb(33 72 216 / .55); }
.choice:has(.choice__input:checked) { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); }
.choice:has(.choice__input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice__box { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 58px; cursor: pointer; }
.choice__box:active .choice__art { transform: scale(.94); }

/* miniature of the real card */
.choice__art { position: relative; width: 58px; height: 58px; transition: transform var(--dur-2) var(--ease-out); }
.choice__art img, .art-custom {
  position: absolute; left: 5px; top: 5px; width: 48px; height: 48px; border-radius: 5px;
  box-shadow: 0 1px 2px rgb(10 15 36 / .14), 0 5px 12px -5px rgb(10 15 36 / .4);
  rotate: -6deg;
  transition: rotate var(--dur-3) cubic-bezier(.34, 1.56, .64, 1), translate var(--dur-3) cubic-bezier(.34, 1.56, .64, 1), scale var(--dur-3) cubic-bezier(.34, 1.56, .64, 1);
}
.choice__art .art-back { rotate: 9deg; translate: 6px -3px; scale: .92; }
.choice:hover .choice__art img, .choice:hover .art-custom { rotate: -2deg; scale: 1.05; }
.choice:hover .choice__art .art-back { rotate: 14deg; translate: 10px -4px; scale: .92; }
.choice:has(.choice__input:checked) .choice__art img,
.choice:has(.choice__input:checked) .art-custom { rotate: -10deg; scale: 1.08; }
.choice:has(.choice__input:checked) .choice__art .art-back { rotate: 12deg; translate: 9px -4px; scale: .96; }
.art-custom {
  display: grid; place-items: center; color: var(--blue);
  border: 2px dashed #AEB6CC; box-shadow: none;
  background: repeating-linear-gradient(135deg, #F6F7FB 0 6px, #EEF0F6 6px 12px);
}
.art-custom .i { font-size: 20px; }
.choice__text { display: grid; gap: 2px; min-width: 0; }
.choice__title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
.choice__desc { font-size: .8125rem; line-height: 1.35; color: var(--muted); }

/* quantity stepper (top right of each option) */
.qty {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: 99px; background: var(--surface-2);
  transition: background-color var(--dur-2), box-shadow var(--dur-2);
}
.choice:has(.choice__input:checked) .qty { background: #fff; box-shadow: 0 1px 2px rgb(10 15 36 / .08); }
.qty__btn {
  width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--ink); cursor: pointer; touch-action: manipulation;
  box-shadow: 0 1px 2px rgb(10 15 36 / .12);
  transition: background-color var(--dur-1), color var(--dur-1), transform var(--dur-1);
}
.qty__btn .i { font-size: 14px; stroke-width: 2.8; }
.qty__btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.qty__btn:active:not(:disabled) { transform: scale(.88); }
.qty__btn:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.qty__btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-radius: 50%; }
.choice:has(.choice__input:checked) .qty__btn[data-qty="1"] { background: var(--blue); color: #fff; }
.qty__val {
  width: 2.1em; padding: 0; border: 0; background: transparent; text-align: center;
  font: 700 16px/1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: textfield;
}
.qty__val::-webkit-outer-spin-button, .qty__val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__val:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.qty__val.is-bump { animation: bump .32s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes bump { 40% { transform: scale(1.35); color: var(--blue); } }
.choices__total { margin-top: 10px; min-height: 1.4em; font-size: .875rem; font-weight: 600; color: var(--blue); }

/* --- Yes / No segmented toggle --- */
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 99px; background: var(--surface-2); }
.seg__opt { position: relative; display: block; }
.seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg__opt span {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 99px;
  font-weight: 600; font-size: .9375rem; color: var(--ink-2); white-space: nowrap;
  transition: background-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2);
  pointer-events: none;
}
.seg__opt:hover span { color: var(--ink); }
.seg__opt input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgb(10 15 36 / .1), 0 6px 14px -6px rgb(10 15 36 / .25); }
.seg__opt input[value="Yes"]:checked + span { background: var(--blue); color: #fff; }
.seg__opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

/* --- website questions, revealed when "Yes" --- */
.reveal { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--ease-out), opacity .35s var(--ease-out); }
.reveal.is-open { grid-template-rows: 1fr; opacity: 1; }
.reveal__inner { min-height: 0; overflow: hidden; }
.reveal__inner > .f-hint { margin: 20px 0 0; }
.q { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
.q__label { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: .9375rem; }
.reveal.is-open .q { animation: qIn .5s var(--ease-out) both; }
.reveal.is-open .q:nth-of-type(2) { animation-delay: 60ms; }
.reveal.is-open .q:nth-of-type(3) { animation-delay: 120ms; }
.reveal.is-open .q:nth-of-type(4) { animation-delay: 180ms; }
.reveal.is-open .q:nth-of-type(5) { animation-delay: 240ms; }
@keyframes qIn { from { opacity: 0; transform: translateY(12px); } }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; display: block; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border-radius: 99px; border: 1.5px solid #E1E3EA; background: #fff;
  font-size: .9375rem; font-weight: 500;
  transition: background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease-out);
  pointer-events: none;
}
.pick:hover span { border-color: #B9C6F5; }
.pick:active span { transform: scale(.96); }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.pick-other {
  flex: 1 1 180px; min-width: 0; max-width: 100%; min-height: 42px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--ink);
  border-radius: 99px; border: 1.5px dashed #C3C8D5; background: #fff;
  transition: border-color var(--dur-2), box-shadow var(--dur-2), background-color var(--dur-2);
}
.pick-other::placeholder { color: #80869A; }
.pick-other:hover { border-color: #9EA6BC; }
.pick-other:focus { outline: none; border-style: solid; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(33 72 216 / .15); }
.pick-other:not(:placeholder-shown) { border-style: solid; border-color: var(--ink); font-weight: 500; }

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

.f-submit { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.f-send { min-width: 210px; }
.f-send.is-loading { pointer-events: none; opacity: .85; }
.f-send.is-loading .i { display: none; }
.f-send.is-loading::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / .35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.f-note { font-size: .8125rem; color: var(--muted); }

/* --- success --- */
.done { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 32px 0 12px; text-align: center; }
.done[hidden] { display: none; }
.done:focus { outline: none; }
.done__badge { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #138A44; color: #fff; animation: pop .6s cubic-bezier(.34, 1.56, .64, 1) both; }
.done__badge .i { font-size: 36px; stroke-width: 3; }
.done .m-lead { max-width: 42ch; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }

/* toast for "contact saved" */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200;
  translate: -50% 0;
  background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 99px; font-weight: 600; font-size: .9375rem;
  box-shadow: var(--shadow-2);
  opacity: 0; transform: translateY(16px);
  transition: opacity var(--dur-2), transform var(--dur-3) var(--ease-out);
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .scene { column-gap: clamp(44px, 5.5vw, 60px); --cw: clamp(220px, 25vw, 260px); }
}

/* Stack: phone, then card, then mouse, each with room for its note */
@media (max-width: 820px) {
  .hero { padding: 96px 16px 72px; min-height: auto; }
  .site-nav__link { display: none; }
  .site-header .brand__logo { height: 27px; }
  .scene {
    --pw: min(74vw, 300px);
    --cw: min(56vw, 250px);
    --mw: min(32vw, 140px);
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .obj--phone { order: 1; justify-self: center; }
  .obj--card { order: 2; justify-self: start; translate: none; margin: calc(var(--cw) * .36) 0 0 4vw; }
  .obj--mouse { order: 3; justify-self: start; translate: none; margin: calc(var(--mw) * .62) 0 0 30vw; }
  .obj--card .obj__stage { --rot: -6deg; }
  .obj--mouse .obj__stage { --rot: 9deg; }
  .obj--phone .obj__stage { --rot: -3deg; }

  .note--card .note__text { font-size: 96px; }
  .note--card .note__line { stroke-width: 8; stroke-dasharray: 24 20; }
  .note--mouse .note__text { font-size: 48px; }
  .note--mouse .note__line { stroke-width: 4.4; stroke-dasharray: 12 10; }

  .scroll-cue { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .contact__note { display: none; }
}

@media (max-width: 640px) {
  .modal[open] { place-items: end stretch; }
  .modal__panel {
    width: 100%; max-height: 92dvh;
    border-radius: 28px 28px 0 0;
  }
  .modal__bar { padding: 22px 12px 10px 20px; touch-action: none; }
  .modal__grab { display: block; position: absolute; left: 50%; top: 8px; translate: -50% 0; width: 40px; height: 5px; border-radius: 9px; background: #D5D8E1; }
  .modal__content { padding: 4px 20px 32px; gap: 28px; }
  .feats, .work { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
  .order { gap: 28px; }
  .seg { display: grid; width: 100%; }
  .seg__opt span { padding: 0 12px; }
  .f-send { width: 100%; }
  .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feats { gap: 8px; }
  .feat { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; padding: 14px; }
  .feat__ico { grid-row: span 2; margin-bottom: 0; }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .price--custom .btn { width: 100%; }
  .gallery { gap: 8px; }
  .gallery .ph .ph__tag { display: none; }
  .m-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 380px) {
  .site-header .brand__logo { height: 24px; }
  .obj--mouse { margin-left: 26vw; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .plus::before, .scroll-cue__line { animation: none; }
  .js .modal .m-block { opacity: 1; transform: none; }
}
