/* Fieldcraft — professional edition.
   One place to retheme: the tokens below. */

:root {
  /* surface + text */
  --paper: #F5F3EE;
  --card: #FFFFFF;
  --ink: #17191C;
  --ink-2: #3E444C;
  --muted: #666C74;
  --line: #DDD7CA;
  --line-2: #EAE5DA;

  /* brand */
  --accent: #1D5C55;      /* pine */
  --accent-deep: #14423D;
  --accent-tint: #E4EDEB;
  --brass: #A9762F;
  --brass-tint: #F4E9D7;

  /* dark panels */
  --slate: #1E252E;
  --slate-2: #2A323C;

  /* isometric palette */
  --iso-ground: #E7E2D7;
  --iso-line: #6E6A5E;
  --iso-n-top: #E4DFD3; --iso-n-right: #C7C0B0; --iso-n-left: #AFA795;
  --iso-a-top: #2F7C71; --iso-a-right: #226057; --iso-a-left: #194A43;
  --iso-b-top: #D3A162; --iso-b-right: #B07C3A; --iso-b-left: #8B6029;
  --iso-s-top: #3B4653; --iso-s-right: #2A333D; --iso-s-left: #1D242C;
  --iso-p-top: #FAF8F3; --iso-p-right: #E2DCCF; --iso-p-left: #CBC4B4;

  /* depth */
  --sh-1: 0 1px 2px rgba(23,25,28,.05), 0 2px 6px rgba(23,25,28,.04);
  --sh-2: 0 2px 4px rgba(23,25,28,.04), 0 12px 28px -10px rgba(23,25,28,.16);
  --sh-3: 0 4px 10px rgba(23,25,28,.06), 0 28px 54px -22px rgba(23,25,28,.30);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --gutter: clamp(20px, 5vw, 80px);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
p { margin: 0; }
ul { margin: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 5.4vw, 70px); line-height: 1.04; letter-spacing: -0.022em; }
h2 { font-size: clamp(28px, 3.6vw, 46px); }
h3 { font-size: clamp(19px, 1.7vw, 25px); letter-spacing: -0.01em; }

.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.62; color: var(--ink-2); max-width: 62ch; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(52px, 6.5vw, 100px); }
.rule { border-top: 1px solid var(--line); }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(245,243,238,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px; padding-block: 12px;
}
.wordmark {
  font-family: var(--serif); font-size: 23px; font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.wordmark span { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 500; }
.site-nav a.btn, .site-nav a.btn:hover { color: #fff; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 13px 26px;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent); border-radius: 3px;
  font-family: var(--sans); font-size: 16px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  box-shadow: var(--sh-1);
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-outline:hover { background: var(--card); color: var(--ink); border-color: var(--muted); }
.btn-light { background: #fff; color: var(--accent-deep); border-color: #fff; }
.btn-light:hover { background: var(--accent-tint); color: var(--accent-deep); border-color: var(--accent-tint); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }

/* ---------- isometric scenes ---------- */

.iso { overflow: visible; }
.iso-frame {
  display: grid; place-items: center;
  background: linear-gradient(170deg, #FBFAF7 0%, #F1EEE6 100%);
  border: 1px solid var(--line-2);
  border-radius: 4px;
}

/* ---------- hero ---------- */

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero-art { padding: clamp(16px, 3vw, 34px); box-shadow: var(--sh-2); }
.hero-art .iso { width: min(100%, 360px); height: auto; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.meta-line { font-family: var(--mono); font-size: 13px; color: var(--muted); line-height: 1.9; }

/* ---------- credibility strip ---------- */

.strip { border-block: 1px solid var(--line); background: #F1EEE7; }
.strip ul {
  display: flex; flex-wrap: wrap; gap: 8px 30px; list-style: none; padding: 20px 0; margin: 0;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* ---------- layout helpers ---------- */

.stack { display: flex; flex-direction: column; gap: clamp(26px, 3vw, 44px); }
.head-2 { display: grid; grid-template-columns: 1fr auto; gap: clamp(20px, 3vw, 56px); align-items: end; }
@media (max-width: 800px) { .head-2 { grid-template-columns: 1fr; } }
.head-2 p { max-width: 46ch; color: var(--ink-2); font-size: 16.5px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
@media (min-width: 920px) { .grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 480px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--card); border: 1px solid var(--line-2); border-radius: 4px;
  box-shadow: var(--sh-1);
}
.card ul { padding-left: 18px; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.card p { color: var(--ink-2); font-size: 16px; }
.card .num { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--brass); }
.card-raised { box-shadow: var(--sh-2); }
.card-accent { border-top: 3px solid var(--accent); }

/* ---------- field tiles ---------- */

.tile {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 18px 20px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 4px;
  text-decoration: none; color: var(--ink);
  box-shadow: var(--sh-1);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--line); color: var(--ink); }
.tile .iso-frame { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 3px; }
.tile .iso { width: 82%; height: auto; }
.tile strong { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.tile em { font-style: normal; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- dark section ---------- */

.sec-dark { background: var(--slate); color: #E8E6E1; }
.sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4 { color: #FBFAF8; }
.sec-dark p { color: #BFC3C8; }
.sec-dark .eyebrow { color: #86B5AC; }
.sec-dark a { color: #9CCCC2; }
/* buttons keep their own colours on dark grounds */
.sec-dark a.btn { color: #fff; }
.sec-dark a.btn-light, .sec-dark a.btn-light:hover { color: var(--accent-deep); }
.sec-dark .card { background: var(--slate-2); border-color: #39424D; }
.sec-dark .card p, .sec-dark .card ul { color: #C3C8CE; }
.sec-dark .tile { background: var(--slate-2); border-color: #39424D; color: #FBFAF8; }
.sec-dark .tile .iso-frame { background: linear-gradient(170deg,#333C47 0%, #262E38 100%); }
.sec-dark .iso { --iso-ground:#39424D; --iso-n-top:#98A0A9; --iso-n-right:#79828C; --iso-n-left:#5F6771;
  --iso-p-top:#E4E2DC; --iso-p-right:#C0BEB8; --iso-p-left:#9E9C96; --iso-line:#B9BEC4; }

/* ---------- steps ---------- */

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 26px; }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.step .n { font-family: var(--serif); font-size: 38px; color: var(--brass); line-height: 1; }
.step p { color: var(--ink-2); font-size: 16px; }

/* ---------- stats + quotes ---------- */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 24px; }
.stat .figure { display: block; font-family: var(--serif); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; }
.stat .label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
blockquote {
  margin: 0; padding: 26px 28px; background: var(--card);
  border: 1px solid var(--line-2); border-left: 3px solid var(--brass); border-radius: 3px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: var(--sh-1);
}
blockquote p { font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--ink); }
blockquote footer { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- CTA band ---------- */

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { max-width: 20ch; }

/* ---------- filters + field rows ---------- */

.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill {
  min-height: 42px; padding: 9px 18px;
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--sans); font-size: 14.5px; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pill:hover { border-color: var(--muted); }
.pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

.field-list { display: flex; flex-direction: column; }
.field-row {
  display: grid; grid-template-columns: 76px 250px 1fr 210px auto;
  gap: clamp(14px, 1.8vw, 28px); align-items: center;
  padding: 18px 12px; border-top: 1px solid var(--line-2);
  text-decoration: none; color: var(--ink); border-radius: 3px;
  transition: background .14s ease, box-shadow .14s ease;
}
.field-row:last-child { border-bottom: 1px solid var(--line-2); }
/* display:grid above would otherwise beat the browser's own [hidden] rule */
.field-row[hidden] { display: none; }
.field-row:hover { background: var(--card); box-shadow: var(--sh-1); color: var(--ink); }
.field-row .thumb { width: 76px; height: 58px; display: grid; place-items: center; background: #F0EDE5; border-radius: 3px; }
.field-row .thumb .iso { width: 88%; height: auto; }
.field-row .name { font-family: var(--serif); font-size: 21px; letter-spacing: -0.01em; }
.field-row .blurb { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.field-row .chips { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.7; }
.field-row .go { font-size: 14px; color: var(--accent); white-space: nowrap; }
/* Two columns below 1080px: picture on the left spanning both rows, name and
   description stacked on the right. Without the explicit placement the
   description wraps into the 76px picture column, one word per line. */
@media (max-width: 1080px) {
  .field-row { grid-template-columns: 76px 1fr; row-gap: 6px; align-items: start; }
  .field-row .thumb { grid-row: 1 / span 2; }
  .field-row .name, .field-row .blurb { grid-column: 2; }
  .field-row .name { align-self: end; }
  .field-row .chips, .field-row .go { display: none; }
}
@media (max-width: 420px) {
  .field-row { grid-template-columns: 60px 1fr; column-gap: 14px; padding-inline: 4px; }
  .field-row .thumb { width: 60px; height: 48px; }
  .field-row .name { font-size: 19px; }
  .field-row .blurb { font-size: 14.5px; }
}

/* ---------- field detail ---------- */

.detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px,4vw,60px); align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.fact-card { padding: 28px; background: var(--card); border: 1px solid var(--line-2); border-radius: 4px; box-shadow: var(--sh-2); display: flex; flex-direction: column; gap: 14px; }
.fact-card .row { display: flex; justify-content: space-between; gap: 14px; font-size: 15.5px; padding-bottom: 11px; border-bottom: 1px solid var(--line-2); }
.fact-card .row:last-of-type { border-bottom: 0; }
.fact-card .row span:first-child { color: var(--muted); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid #39424D; padding-bottom: 0; }
.tab {
  min-height: 46px; padding: 12px 20px; background: transparent; color: #BFC3C8;
  border: 0; border-bottom: 2px solid transparent; font-family: var(--sans); font-size: 15px; cursor: pointer;
}
.tab:hover { color: #FBFAF8; }
.tab[aria-selected="true"] { color: #FBFAF8; border-bottom-color: #86B5AC; }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,3vw,44px); align-items: center; padding-top: 34px; }
@media (max-width: 860px) { .tab-panel { grid-template-columns: 1fr; } }
.tab-panel[hidden] { display: none; }
.tab-panel .copy { display: flex; flex-direction: column; gap: 14px; }
.tab-panel .copy ul { padding-left: 18px; font-size: 16px; line-height: 1.85; color: #C3C8CE; }

.doc { background: #fff; border-radius: 3px; padding: 34px; box-shadow: var(--sh-3); display: flex; flex-direction: column; gap: 14px; }
.doc .bar { height: 8px; background: #DCD8CE; border-radius: 2px; }
.doc .bar-dark { background: #2A323C; }
.doc .bar-accent { background: var(--accent); height: 10px; }
.doc .head { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #E6E1D6; }
.doc .block { display: flex; flex-direction: column; gap: 8px; }
.doc .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.doc .cols div { height: 30px; background: #F0EDE5; border-radius: 2px; }
.doc .tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.doc .tiles div { height: 74px; background: #F0EDE5; border-radius: 2px; }
.doc .tiles .a { background: var(--accent-tint); }
.doc .tiles .b { background: var(--brass-tint); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line-2); font-size: 16.5px; }
.checklist li:last-child { border-bottom: 1px solid var(--line-2); }
.checklist .i { font-family: var(--mono); font-size: 12.5px; color: var(--brass); }

/* ---------- form ---------- */

.form-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px,4vw,60px); align-items: start; }
@media (max-width: 960px) { .form-grid { grid-template-columns: 1fr; } }
form.brief { display: flex; flex-direction: column; gap: 24px; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, legend { font-size: 14px; font-weight: 500; color: var(--ink); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="file"], select, textarea {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 3px;
  padding: 13px 14px; width: 100%; min-height: 50px;
  transition: border-color .14s ease, box-shadow .14s ease;
}
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent);
}
textarea { min-height: 118px; resize: vertical; }
fieldset { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); display: flex; flex-direction: column; gap: 6px; }
legend { padding: 0 8px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; font-weight: 400; cursor: pointer; }
input[type="checkbox"] { width: 19px; height: 19px; min-height: 0; padding: 0; accent-color: var(--accent); flex-shrink: 0; }
.hint { font-size: 14px; color: var(--muted); line-height: 1.5; }
.submit-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.aside-card { padding: 26px; border-radius: 4px; display: flex; flex-direction: column; gap: 18px; }
.aside-dark { background: var(--slate); color: #E8E6E1; box-shadow: var(--sh-2); }
.aside-dark p { color: #BFC3C8; font-size: 15.5px; }
.aside-dark .n { font-family: var(--serif); font-size: 22px; color: #86B5AC; line-height: 1.2; }
.aside-dark .item { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.aside-light { background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--sh-1); gap: 10px; }
.aside-light .big { font-family: var(--serif); font-size: 21px; color: var(--ink); text-decoration: none; word-break: break-word; }
.aside-light .big:hover { color: var(--accent); }

/* ---------- footer ---------- */

.site-footer { background: var(--slate); color: #C3C8CE; padding-block: clamp(44px,5vw,68px); }
.site-footer a { color: #C3C8CE; text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: #9CCCC2; }
.site-footer .wordmark { color: #FBFAF8; }
.site-footer .wordmark span { color: #86B5AC; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col .h { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #86B5AC; margin-bottom: 3px; }
.footer-top p { font-size: 15px; color: #A8AEB5; max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid #39424D; font-size: 13.5px; color: #8E959C; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile, .field-row, input, select, textarea { transition: none; }
}

/* =====================================================================
   MOTION
   All of it is gated behind .js on <html> so the page renders fully
   when JavaScript is unavailable, and disabled entirely under
   prefers-reduced-motion.
   ===================================================================== */

/* --- isometric objects: assemble, levitate, drift ------------------- */

.io { transition: transform .45s cubic-bezier(.2,.7,.3,1); }

@keyframes iso-assemble {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes iso-drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* hero scene builds itself on load, then drifts gently */
.js .hero-art .io {
  animation: iso-assemble .6s cubic-bezier(.2,.7,.3,1) backwards;
  animation-delay: calc(var(--i) * 65ms + 250ms);
}
.js .hero-art .iso {
  animation: iso-drift 7s ease-in-out 1.6s infinite;
}

/* tiles: the stack pulls apart as the pointer arrives — objects higher in
   the stack travel further, so the scene visibly expands in depth */
.tile:hover .io,
.tile:focus-visible .io { transform: translateY(calc(var(--i) * -1.5px - 2px)); }
.field-row:hover .io { transform: translateY(calc(var(--i) * -1.1px - 1px)); }

/* and the whole scene leans in. .in wins on specificity, so match it. */
.js .tile.in:hover .iso,
.js .tile.in:focus-within .iso { transform: scale(1.06) translateY(-2px); }
.tile .iso { transition: transform .4s cubic-bezier(.2,.7,.3,1); }

/* scenes fade up when their tile scrolls in.
   This animates the whole svg, not the individual objects: a `forwards`
   animation on .io would pin its transform and kill the hover lift. */
.js .tile .iso {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s cubic-bezier(.2,.7,.3,1), transform .5s cubic-bezier(.2,.7,.3,1);
}
.js .tile.in .iso { opacity: 1; transform: none; }

/* --- pointer tilt on the hero artwork ------------------------------- */

.hero-art {
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
  will-change: transform;
}
.hero-art.tilting { transition: transform .08s linear; }

/* --- scroll reveals -------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
}
.js .reveal.in { opacity: 1; transform: none; }
/* The rise lives on the CONTAINER and the stagger on the children's
   opacity only. Putting a transform on the children too would fight the
   pointer-tilt for the same property, and the entrance would win —
   silently killing the tilt. One owner per property. */
.js .reveal-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
}
.js .reveal-stagger.in { opacity: 1; transform: none; }
.js .reveal-stagger > * {
  opacity: 0;
  transition: opacity .55s cubic-bezier(.2,.7,.3,1);
}
.js .reveal-stagger.in > * { opacity: 1; }
.js .reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: 70ms; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: 140ms; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: 210ms; }
.js .reveal-stagger.in > *:nth-child(5) { transition-delay: 280ms; }
.js .reveal-stagger.in > *:nth-child(6) { transition-delay: 350ms; }
.js .reveal-stagger.in > *:nth-child(7) { transition-delay: 420ms; }
.js .reveal-stagger.in > *:nth-child(8) { transition-delay: 490ms; }

/* --- accent rule that draws itself in -------------------------------- */

.js .eyebrow { position: relative; }

/* --- everything off when the visitor asks for less motion ------------ */

@media (prefers-reduced-motion: reduce) {
  .js .hero-art .io,
  .js .hero-art .iso { animation: none !important; }
  .js .tile .iso { opacity: 1; transform: none; transition: none; }
  .js .reveal, .js .reveal-stagger, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-art, .io { transition: none !important; }
  .tile:hover .io, .field-row:hover .io { transform: none; }
}

/* =====================================================================
   GALAXY THEME
   Overrides the light tokens with a deep-space palette and turns the
   solid surfaces into glass panels that sit over the starfield.
   Text keeps a real background behind it so contrast survives.
   ===================================================================== */

:root {
  --space:      #060916;
  --space-2:    #0B1024;
  --space-3:    #121A35;

  --paper:      #060916;
  --card:       rgba(19, 26, 51, 0.82);
  --card-solid: #131A33;
  --ink:        #F2F4FC;
  --ink-2:      #C3CAE2;
  --muted:      #97A0BE;
  --line:       rgba(160, 178, 235, 0.22);
  --line-2:     rgba(160, 178, 235, 0.13);

  --accent:      #5EEAD4;   /* aurora */
  --accent-deep: #2DD4BF;
  --accent-tint: rgba(94, 234, 212, 0.14);
  --brass:       #F5C26B;   /* starlight gold */
  --brass-tint:  rgba(245, 194, 107, 0.14);

  --slate:   rgba(9, 13, 30, 0.72);
  --slate-2: rgba(23, 31, 60, 0.72);

  /* isometric scenes, lit for space */
  --iso-ground: rgba(120, 140, 200, 0.16);
  --iso-line:   #A8B4DA;
  --iso-n-top: #C3CBE6; --iso-n-right: #8E98BC; --iso-n-left: #6B7599;
  --iso-a-top: #5EEAD4; --iso-a-right: #2BB9A6; --iso-a-left: #1A8A7C;
  --iso-b-top: #F5C26B; --iso-b-right: #D69B3E; --iso-b-left: #A9762B;
  --iso-s-top: #4A5680; --iso-s-right: #333D5F; --iso-s-left: #232A44;
  --iso-p-top: #EEF1FB; --iso-p-right: #C2C8DF; --iso-p-left: #9AA1BC;

  --sh-1: 0 1px 2px rgba(0,0,0,.30), 0 2px 10px rgba(0,0,0,.20);
  --sh-2: 0 4px 14px rgba(0,0,0,.34), 0 18px 40px -14px rgba(0,0,0,.55);
  --sh-3: 0 8px 22px rgba(0,0,0,.40), 0 34px 70px -26px rgba(0,0,0,.72);
  --glow: 0 0 0 1px rgba(94,234,212,.20), 0 0 34px -6px rgba(94,234,212,.30);
}

/* ---------- the sky ---------- */

html { background: var(--space); }

body {
  background:
    radial-gradient(1100px 760px at 12% -8%,  rgba(72, 58, 168, 0.40), transparent 62%),
    radial-gradient(900px 680px at 92% 6%,    rgba(20, 108, 130, 0.34), transparent 60%),
    radial-gradient(1000px 900px at 50% 108%, rgba(104, 44, 130, 0.30), transparent 64%),
    linear-gradient(180deg, #060916 0%, #080D1F 40%, #060916 100%);
  background-attachment: fixed;
  color: var(--ink);
}

.starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.starfield-contained { position: absolute; }

body > header, body > main, body > footer, body > .strip { position: relative; z-index: 1; }

/* ---------- surfaces become glass ---------- */

.site-header {
  background: rgba(6, 9, 22, 0.72);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.wordmark { color: var(--ink); }
.wordmark span { color: var(--accent); }
.site-nav a { color: var(--ink-2); }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); }

/* Translucent alpha, no per-element backdrop blur: blurring a dozen panels
   costs ~20fps and the starfield behind them reads fine through plain alpha. */
.card, .fact-card, blockquote, fieldset, .aside-light, .iso-frame {
  background: var(--card);
  border: 1px solid var(--line-2);
}
.card p, .card ul, .fact-card .row span:first-child { color: var(--ink-2); }
.card-accent { border-top: 2px solid var(--accent); }
blockquote { border-left: 2px solid var(--brass); }
blockquote p { color: var(--ink); }

.tile {
  background: var(--card);
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.tile:hover { border-color: rgba(94,234,212,.42); box-shadow: var(--sh-3), var(--glow); color: var(--ink); }
.tile em { color: var(--muted); }

.iso-frame {
  background: linear-gradient(165deg, rgba(31,41,79,.60) 0%, rgba(12,17,36,.60) 100%);
}
.field-row .thumb { background: rgba(28, 37, 70, .62); }

.strip { background: rgba(10, 14, 32, .62); border-block: 1px solid var(--line-2); }
.strip ul { color: var(--muted); }

.sec-dark {
  background: rgba(8, 11, 26, 0.72);
  border-block: 1px solid var(--line-2);
}
.sec-dark .card, .sec-dark .tile { background: rgba(24, 32, 62, .72); border-color: var(--line-2); }
.sec-dark .tile .iso-frame { background: linear-gradient(165deg, rgba(38,49,92,.66) 0%, rgba(16,22,45,.66) 100%); }
.sec-dark .iso { --iso-ground: rgba(140,160,220,.18); }
.sec-dark p { color: var(--ink-2); }
.sec-dark .eyebrow { color: var(--accent); }
.sec-dark a { color: var(--accent); }

.rule { border-top: 1px solid var(--line-2); }
.step { border-top: 1px solid var(--line-2); }
.step .n { color: var(--brass); text-shadow: 0 0 24px rgba(245,194,107,.45); }
.stat .figure { color: var(--ink); text-shadow: 0 0 30px rgba(94,234,212,.30); }
.checklist li { border-top-color: var(--line-2); }
.checklist li:last-child { border-bottom-color: var(--line-2); }
.field-row { border-top-color: var(--line-2); }
.field-row:last-child { border-bottom-color: var(--line-2); }
.field-row:hover { background: rgba(30, 40, 76, .55); box-shadow: var(--sh-1); color: var(--ink); }
.field-row .name { color: var(--ink); }

/* ---------- buttons glow ---------- */

.btn {
  background: linear-gradient(180deg, #5EEAD4 0%, #34C9B4 100%);
  color: #04221E;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,.35), 0 0 22px -4px rgba(94,234,212,.55);
}
.btn:hover {
  background: linear-gradient(180deg, #7BF3E0 0%, #45DAC4 100%);
  color: #04221E;
  box-shadow: 0 4px 16px rgba(0,0,0,.4), 0 0 34px -2px rgba(94,234,212,.75);
}
.site-nav a.btn, .site-nav a.btn:hover,
.sec-dark a.btn, .sec-dark a.btn-light, .sec-dark a.btn-light:hover { color: #04221E; }
.btn-outline {
  background: rgba(255,255,255,.04); color: var(--ink);
  border: 1px solid var(--line); box-shadow: none;
}
.btn-outline:hover { background: rgba(255,255,255,.09); color: var(--ink); border-color: var(--accent); }
.btn-light { background: linear-gradient(180deg,#FFFFFF 0%, #DDE6FF 100%); border-color: transparent; }

.pill { color: var(--ink-2); border-color: var(--line); background: rgba(255,255,255,.03); }
.pill:hover { border-color: var(--accent); color: var(--ink); }
.pill[aria-pressed="true"] {
  background: linear-gradient(180deg,#5EEAD4 0%, #34C9B4 100%);
  border-color: transparent; color: #04221E; font-weight: 600;
}

/* ---------- forms ---------- */

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="file"], select, textarea {
  background: rgba(10, 15, 33, .72);
  border: 1px solid var(--line);
  color: var(--ink);
}
input::placeholder, textarea::placeholder { color: #7D87A8; }
select option { background: #131A33; color: var(--ink); }
legend { background: var(--accent-tint); border: 1px solid var(--line); color: var(--ink); border-radius: 3px; }
.field label { color: var(--ink); }
.hint { color: var(--muted); }
input[type="checkbox"] { accent-color: var(--accent); }

.aside-dark { background: rgba(14, 20, 44, .78); border: 1px solid var(--line-2); }
.aside-dark .n { color: var(--accent); }
.aside-light .big { color: var(--ink); }
.aside-light .big:hover { color: var(--accent); }

.doc { background: #F7F8FC; box-shadow: var(--sh-3); }
.tab { color: var(--ink-2); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.tabs { border-bottom-color: var(--line-2); }

/* ---------- footer ---------- */

.site-footer {
  background: rgba(5, 8, 20, .88);
  border-top: 1px solid var(--line-2);
  color: var(--ink-2);
}
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--accent); }
.site-footer .wordmark { color: var(--ink); }
.site-footer .wordmark span { color: var(--accent); }
.footer-col .h { color: var(--accent); }
.footer-top p { color: var(--muted); }
.footer-bottom { border-top-color: var(--line-2); color: var(--muted); }

/* ---------- a little extra life ---------- */

@keyframes aurora-pan {
  0%, 100% { opacity: .55; }
  50%      { opacity: .95; }
}
/* No filter: blur() here. A blurred full-screen layer re-rasterises on every
   animation frame and cost ~30fps; soft radial gradients give the same look
   for free, and animating opacity alone stays on the compositor. */
.aurora {
  position: fixed; inset: -25% -15% auto -15%; height: 85vh; z-index: 0;
  pointer-events: none; will-change: opacity;
  background:
    radial-gradient(38% 46% at 22% 42%, rgba(94,234,212,.17), transparent 72%),
    radial-gradient(36% 44% at 76% 32%, rgba(129,90,230,.19), transparent 72%);
  animation: aurora-pan 26s ease-in-out infinite;
}

h1 .spark, .wordmark span { text-shadow: 0 0 22px rgba(94,234,212,.6); }

@media (prefers-reduced-motion: reduce) {
  .aurora { animation: none; }
}

/* ---------- scroll progress ---------- */

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, #5EEAD4 0%, #815AE6 55%, #F5C26B 100%);
  box-shadow: 0 0 12px rgba(94,234,212,.6);
  pointer-events: none;
}

/* ---------- tilt + sheen on panels ---------- */

.tilt {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease;
}
.tilt.tilted {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .1s linear, box-shadow .35s ease;
  box-shadow: var(--sh-3), 0 0 26px -8px rgba(94,234,212,.35);
}
/* the light that follows the pointer across the panel */
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(240px circle at var(--mx) var(--my),
              rgba(146,245,229,.13), transparent 62%);
}
.tilt.tilted::after { opacity: 1; }

/* the document sketch shouldn't warp — it reads as a printed page */
.doc { transform: none !important; }

/* ---------- hero headline, word by word ---------- */

@keyframes word-in {
  from { opacity: 0; transform: translateY(26px) rotateX(-40deg); filter: blur(5px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.hero-copy h1 .w { display: inline-block; transform-origin: 50% 100%; }
.js .hero-copy h1.words-in .w {
  animation: word-in .7s cubic-bezier(.2,.75,.3,1) backwards;
  animation-delay: calc(var(--wi) * 62ms + 120ms);
}

/* ---------- buttons need their own transform space ---------- */

.btn { transition: background .15s ease, box-shadow .2s ease, transform .35s cubic-bezier(.2,.7,.3,1); }
.btn:hover { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .tilt, .tilt.tilted { transform: none !important; transition: none !important; }
  .tilt::after { display: none; }
  .js .hero-copy h1.words-in .w { animation: none; }
  .scroll-progress { display: none; }
}


/* A machine reporting very few cores or little memory keeps the stars but
   drops the full-screen aurora wash, which is pure fill rate. */
.low-power .aurora { display: none; }
.low-power .tilt::after { display: none; }

/* ---------- form status + spam trap ---------- */

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

.form-status { font-size: 15px; line-height: 1.5; min-height: 1.2em; color: var(--ink-2); }
.form-status.is-error {
  color: #FFC9B8;
  border-left: 2px solid #F2795B;
  padding-left: 12px;
}

/* ---------- pricing ---------- */

.badge-launch {
  align-self: flex-start;
  padding: 8px 14px;
  background: var(--brass-tint);
  border: 1px solid rgba(245,194,107,.35);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.price-grid.bundles { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  box-shadow: var(--sh-1);
}
.price-card h3 { font-size: 22px; }
.price-blurb { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.price-card ul {
  padding-left: 18px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
}
.price-card .btn { margin-top: auto; align-self: stretch; }

.price-tag { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-was {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.price-now {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--ink);
  text-shadow: 0 0 26px rgba(94,234,212,.28);
}

.price-card.featured {
  border-color: rgba(94,234,212,.5);
  box-shadow: var(--sh-2), 0 0 32px -10px rgba(94,234,212,.45);
}
.badge-best {
  position: absolute;
  top: -11px; left: 26px;
  padding: 4px 12px;
  background: linear-gradient(180deg,#5EEAD4 0%, #34C9B4 100%);
  color: #04221E;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}

.checklist li strong { color: var(--ink); font-weight: 600; }


/* ---------- sample CV cards (sample-cvs.html and each field page) ---------- */

/* Each profession group gets its own glow; the paper itself stays the same. */
.cv-grid { --hue: 94, 234, 212; }
.cv-grid[data-group="technical"] { --hue: 129, 140, 248; }
.cv-grid[data-group="creative"]  { --hue: 244, 114, 182; }
.cv-grid[data-group="care"]      { --hue: 96, 165, 250; }
.cv-grid[data-group="academic"]  { --hue: 245, 194, 107; }

.cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.cv-card {
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  box-shadow: var(--sh-1);
  color: var(--ink);
  text-decoration: none;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, border-color .22s ease;
}
.cv-card:hover, .cv-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(var(--hue), .5);
  box-shadow: var(--sh-3), 0 0 32px -8px rgba(var(--hue), .5);
  color: var(--ink);
}

/* a miniature of the document, drawn in CSS */
.cv-thumb {
  display: block;
  height: 184px;
  padding: 22px 22px 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(var(--hue), .24), transparent 70%),
    rgba(10, 15, 33, .55);
  border-bottom: 1px solid var(--line-2);
}
.cv-thumb .paper {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  height: 100%;
  padding: 17px 16px 0;
  background: #fff;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .4);
  transform: translateY(10px);
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.cv-thumb .paper::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(90deg, #0F766E 0%, #2DD4BF 45%, #815AE6 100%);
}
.cv-card:hover .paper, .cv-card:focus-visible .paper { transform: translateY(0); }
.cv-thumb .t-name, .cv-thumb .t-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cv-thumb .t-name { font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.15; color: #14171C; }
.cv-thumb .t-title { margin-bottom: 3px; font-size: 9.5px; font-weight: 500; color: #0F766E; }
.cv-thumb .t-sec { width: 34%; height: 4px; margin-top: 5px; border-radius: 2px; background: #0F766E; opacity: .75; }
.cv-thumb .t-line { width: 100%; height: 4px; border-radius: 2px; background: #E4E7EC; }
.cv-thumb .t-line.m { width: 82%; }
.cv-thumb .t-line.s { width: 62%; }
.cv-thumb .t-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 2px 0; }
.cv-thumb .t-boxes i { height: 20px; border-radius: 3px; background: #EAF6F3; border: 1px solid #CBE9E3; }

.cv-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.cv-card .s-level { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--hue)); }
.cv-card .s-name { font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.cv-card .s-role { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.cv-card .s-go { margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--accent); }
.cv-card .s-go span { display: inline-block; transition: transform .2s ease; }
.cv-card:hover .s-go span { transform: translateX(4px); }

/* ---------- sample-cvs.html ---------- */

.pill .n { margin-left: 4px; font-family: var(--mono); font-size: 12px; opacity: .7; }
/* on a phone, fourteen wrapped pills fill the screen — scroll them in one row */
@media (max-width: 640px) {
  .cv-filters {
    flex-wrap: nowrap; overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px;
    scrollbar-width: none;
  }
  .cv-filters::-webkit-scrollbar { display: none; }
  .cv-filters .pill { flex: none; }
}
.cv-gallery { display: flex; flex-direction: column; gap: clamp(48px, 5vw, 76px); }
.cv-field { scroll-margin-top: 100px; }
.cv-field[hidden] { display: none; }
.cv-field-head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 22px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
}
.cv-field-head h2 { margin-top: 6px; font-size: clamp(24px, 2.6vw, 32px); }
.cv-field-head a { font-size: 14.5px; color: var(--accent); text-decoration: none; }
.cv-field-head a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .cv-card, .cv-thumb .paper, .cv-card .s-go span { transition: none; }
  .cv-card:hover, .cv-card:hover .paper { transform: none; }
}

/* ---------- utilities ---------- */

.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;
}

/* ---------- mobile menu ---------- */

.nav-toggle { display: none; }
/* 900px, not narrower: with Portfolios added, a long field name such as
   "Film & Performance" pushes the button onto a second line below that */
@media (max-width: 900px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; padding: 0;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--line); border-radius: 10px;
    color: var(--ink); cursor: pointer;
  }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
    display: block; width: 18px; height: 2px; border-radius: 2px;
    background: currentColor;
    transition: transform .25s ease, background .2s ease, top .25s ease;
  }
  .nav-toggle .bars { position: relative; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle .bars::before { top: -6px; }
  .nav-toggle .bars::after  { top: 6px; }
  .nav-open .nav-toggle .bars { background: transparent; }
  .nav-open .nav-toggle .bars::before { top: 0; transform: rotate(45deg); }
  .nav-open .nav-toggle .bars::after  { top: 0; transform: rotate(-45deg); }

  .js .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--gutter) 22px;
    background: rgba(6, 9, 22, .97);
    border-bottom: 1px solid var(--line-2);
    box-shadow: var(--sh-3);
  }
  .js .site-header.nav-open .site-nav { display: flex; }
  .js .site-nav a { padding: 15px 2px; border-bottom: 1px solid var(--line-2); font-size: 17px; }
  .js .site-nav a.btn { margin-top: 16px; padding: 12px 18px; border-bottom: 0; }
}

/* ---------- home: the CV that forges itself ---------- */

.forge { position: relative; padding: clamp(20px, 3vw, 40px) clamp(14px, 3vw, 44px); }
.forge-paper {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 9px;
  padding: 32px 30px 34px;
  background: #fff; color: #14171C;
  border-radius: 12px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.75),
              0 0 0 1px rgba(160,178,235,.14),
              0 0 70px -12px rgba(94,234,212,.28);
}
.forge-paper::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, #0F766E 0%, #2DD4BF 45%, #815AE6 100%);
}
.forge .f-name { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 31px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.forge .f-title { font-size: 14px; font-weight: 500; color: #0F766E; }
.forge .f-contact { display: flex; gap: 8px; margin: 2px 0 4px; }
.forge .f-contact i { width: 22%; height: 6px; border-radius: 3px; background: #E4E7EC; }
.forge .f-sec {
  display: flex; align-items: center; gap: 10px; margin-top: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #0F766E;
}
.forge .f-sec::after { content: ""; flex: 1; height: 1px; background: #CBE9E3; }
.forge .f-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.forge .f-boxes span {
  padding: 10px 11px; border-radius: 8px;
  background: linear-gradient(160deg, #F4FBF9 0%, #EAF6F3 100%);
  border: 1px solid #CBE9E3;
  font-size: 10.5px; line-height: 1.35; color: #3B4250;
}
.forge .f-boxes b { display: block; margin-bottom: 2px; font-family: var(--serif); font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; color: #115E59; }
.forge .f-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.forge .f-chips i {
  padding: 3px 10px; border-radius: 999px;
  background: #F0F9F7; border: 1px solid #CBE9E3;
  font-style: normal; font-size: 11px; font-weight: 500; color: #115E59;
}
.forge .f-job { display: flex; flex-direction: column; gap: 8px; padding-left: 14px; border-left: 2px solid #CBE9E3; }
.forge .f-line { height: 6px; border-radius: 3px; background: #E4E7EC; transform-origin: 0 50%; }
.forge .w90 { width: 90%; } .forge .w80 { width: 80%; } .forge .w70 { width: 70%; } .forge .w60 { width: 60%; }
.forge-scan {
  position: absolute; left: 0; right: 0; top: -30%; height: 30%;
  background: linear-gradient(180deg, transparent 0%, rgba(45,212,191,.16) 70%, rgba(45,212,191,.75) 97%, transparent 100%);
  pointer-events: none; opacity: 0;
}
.forge-badge {
  position: absolute; z-index: 2;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(12, 18, 40, .92);
  border: 1px solid rgba(94,234,212,.42);
  box-shadow: var(--sh-2), 0 0 24px -6px rgba(94,234,212,.55);
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink);
  white-space: nowrap;
}
.forge-badge.b1 { top: 4%; right: 0; }
.forge-badge.b2 { bottom: 17%; left: 0; }
.forge-badge.b3 { bottom: 3%; right: 8%; }
/* the old illustration frame cast a panel shadow; the paper has its own */
.hero-art.forge { box-shadow: none; }

@keyframes f-rise  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes f-type  { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes f-grow  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes f-pop   { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes f-bob   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes f-scan  { 0% { top: -30%; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { top: 105%; opacity: 0; } }

.js .forge .f-name  { animation: f-type 1s steps(16) .3s backwards; }
.js .forge .f-title { animation: f-rise .5s ease 1.2s backwards; }
.js .forge .f-contact i { animation: f-grow .5s ease 1.4s backwards; transform-origin: 0 50%; }
.js .forge .f-sec   { animation: f-rise .5s ease backwards; }
.js .forge .f-sec.s1 { animation-delay: 1.65s; }
.js .forge .f-sec.s2 { animation-delay: 2.45s; }
.js .forge .f-sec.s3 { animation-delay: 3.15s; }
.js .forge .f-boxes span { animation: f-pop .45s cubic-bezier(.2,.8,.3,1.3) backwards; }
.js .forge .f-boxes span:nth-child(1) { animation-delay: 1.85s; }
.js .forge .f-boxes span:nth-child(2) { animation-delay: 2s; }
.js .forge .f-boxes span:nth-child(3) { animation-delay: 2.15s; }
.js .forge .f-chips i { animation: f-pop .35s ease backwards; }
.js .forge .f-chips i:nth-child(1) { animation-delay: 2.6s; }
.js .forge .f-chips i:nth-child(2) { animation-delay: 2.68s; }
.js .forge .f-chips i:nth-child(3) { animation-delay: 2.76s; }
.js .forge .f-chips i:nth-child(4) { animation-delay: 2.84s; }
.js .forge .f-chips i:nth-child(5) { animation-delay: 2.92s; }
.js .forge .f-line { animation: f-grow .55s ease backwards; }
.js .forge .f-line:nth-child(1) { animation-delay: 3.3s; }
.js .forge .f-line:nth-child(2) { animation-delay: 3.4s; }
.js .forge .f-line:nth-child(3) { animation-delay: 3.5s; }
.js .forge .f-line:nth-child(4) { animation-delay: 3.6s; }
.js .forge .forge-scan { animation: f-scan 3.6s cubic-bezier(.45,.05,.4,1) .2s both; }
.js .forge .forge-badge { animation: f-rise .6s ease backwards, f-bob 6s ease-in-out infinite; }
.js .forge .forge-badge.b1 { animation-delay: 3.9s, 4.5s; }
.js .forge .forge-badge.b2 { animation-delay: 4.2s, 5.6s; }
.js .forge .forge-badge.b3 { animation-delay: 4.5s, 4.9s; }

@media (max-width: 900px) {
  .forge { padding-inline: 0; }
  .forge-badge.b2 { left: -4px; }
}
@media (max-width: 480px) {
  .forge-paper { padding: 26px 20px 28px; }
  .forge .f-boxes span { padding: 8px; font-size: 9.5px; }
  .forge-badge { font-size: 11px; padding: 6px 11px; }
}

/* ---------- home: before / after ---------- */

.ba {
  --pos: 50%;
  position: relative;
  height: clamp(560px, 58vw, 640px);
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-3), 0 0 60px -20px rgba(94,234,212,.35);
  user-select: none;
  -webkit-user-select: none;
}
.ba:has(.ba-range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.ba-doc { position: absolute; inset: 0; padding: clamp(28px, 4vw, 48px) clamp(22px, 5vw, 64px); overflow: hidden; }
.ba-doc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none; }

/* after: the rebuilt page */
.ba-after { background: #fff; color: #14171C; font-family: var(--sans); font-size: 14px; line-height: 1.5; }
.ba-after::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, #0F766E 0%, #2DD4BF 45%, #815AE6 100%);
}
.ba-after::after { background: linear-gradient(180deg, rgba(255,255,255,0), #fff); }
.ba-after .a-name { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; text-align: right; }
.ba-after .a-title { margin-top: 6px; font-weight: 500; color: #0F766E; text-align: right; }
.ba-after .a-contact { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; margin: 10px 0 4px; padding-bottom: 16px; border-bottom: 1px solid #E4E7EC; font-size: 12.5px; color: #3B4250; }
.ba-after .a-sec {
  display: flex; align-items: center; gap: 12px; margin: 18px 0 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #0F766E;
}
.ba-after .a-sec::before { content: ""; flex: 1; height: 1px; background: #CBE9E3; order: 2; }
.ba-after .a-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ba-after .a-boxes span {
  padding: 12px 13px; border-radius: 8px;
  background: linear-gradient(160deg, #F4FBF9 0%, #EAF6F3 100%); border: 1px solid #CBE9E3;
  font-size: 12px; line-height: 1.35; color: #3B4250;
}
.ba-after .a-boxes b { display: block; font-family: var(--serif); font-size: clamp(19px, 2vw, 25px); color: #115E59; font-weight: 600; margin-bottom: 2px; }
.ba-after .a-job { padding-left: 16px; border-left: 2px solid #CBE9E3; }
.ba-after .a-job-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ba-after .a-job-head em { font-style: normal; font-family: var(--mono); font-size: 11px; color: #115E59; background: #F0F9F7; padding: 2px 9px; border-radius: 999px; }
.ba-after .a-org { color: #6B7280; font-size: 13px; margin: 2px 0 6px; }
.ba-after ul { padding-left: 18px; }
.ba-after li { margin-bottom: 4px; }
.ba-after li::marker { color: #0F766E; }
.ba-after .a-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ba-after .a-chips i { font-style: normal; padding: 3px 11px; border-radius: 999px; background: #F0F9F7; border: 1px solid #CBE9E3; color: #115E59; font-size: 12px; font-weight: 500; }

/* before: the draft people actually send */
.ba-before {
  background: #FCFCF8; color: #222;
  font-family: 'Times New Roman', Times, serif; font-size: 15px; line-height: 1.45;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-before::after { background: linear-gradient(180deg, rgba(252,252,248,0), #FCFCF8); }
.ba-before .b-name { text-align: center; font-size: 22px; font-weight: bold; text-decoration: underline; letter-spacing: .06em; }
.ba-before .b-contact { text-align: center; font-size: 13px; margin: 4px 0 14px; }
.ba-before .b-head { margin: 14px 0 6px; font-weight: bold; text-decoration: underline; font-size: 14px; }
.ba-before p { margin: 0 0 6px; }

.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 2px; margin-left: -1px;
  background: #2DD4BF;
  box-shadow: 0 0 18px rgba(45,212,191,.8);
  pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%;
  width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #5EEAD4 0%, #34C9B4 100%);
  box-shadow: 0 6px 20px rgba(0,0,0,.35), 0 0 26px rgba(94,234,212,.6);
}
.ba-handle span::before, .ba-handle span::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px;
  border: 6px solid transparent;
}
.ba-handle span::before { left: 8px;  border-right-color: #04221E; }
.ba-handle span::after  { right: 8px; border-left-color: #04221E; }
.ba-tag {
  position: absolute; top: 16px; z-index: 3;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(6, 9, 22, .82); color: #F2F4FC;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  pointer-events: none;
}
.ba-tag-before { left: 16px; }
.ba-tag-after  { right: 16px; background: linear-gradient(180deg, #5EEAD4 0%, #34C9B4 100%); color: #04221E; }
.ba-range {
  position: absolute; inset: 0; z-index: 4;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
@media (max-width: 640px) {
  .ba { height: 600px; }
  .ba-after, .ba-before { font-size: 12.5px; }
  .ba-after .a-boxes { grid-template-columns: 1fr 1fr; }
  .ba-after .a-boxes span:nth-child(3) { display: none; }
}

/* ---------- counters ---------- */

.stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* ---------- pricing: FAQ ---------- */

.faq { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.faq details {
  padding: 0 24px;
  background: var(--card);
  border: 1px solid var(--line-2); border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: rgba(94,234,212,.38); box-shadow: 0 0 30px -12px rgba(94,234,212,.4); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 0;
  font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); color: var(--ink);
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  font-family: var(--mono); font-size: 22px; line-height: 1; color: var(--accent);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 70ch; padding-bottom: 20px; color: var(--ink-2); font-size: 16px; }

/* ---------- sample quick view ---------- */

.qv-lock { overflow: hidden; }
dialog.qv {
  width: min(940px, 94vw); height: min(92vh, 1200px);
  max-width: none; max-height: none;
  padding: 0; overflow: hidden;
  background: #0A1024; color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--sh-3), 0 0 80px -20px rgba(94,234,212,.35);
}
dialog.qv[open] { display: flex; flex-direction: column; animation: qv-in .28s cubic-bezier(.2,.7,.3,1); }
dialog.qv::backdrop { background: rgba(3, 5, 14, .74); backdrop-filter: blur(6px); }
@keyframes qv-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.qv-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 10px 16px; padding: 12px 14px 12px 22px;
  border-bottom: 1px solid var(--line-2);
  background: rgba(19, 26, 51, .9);
}
.qv-who { display: flex; flex-direction: column; min-width: 0; }
.qv-name { font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.qv-role { font-size: 13.5px; color: var(--muted); }
.qv-actions { display: flex; align-items: center; gap: 8px; }
.qv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px;
  background: rgba(255,255,255,.04); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--sans); font-size: 15px; text-decoration: none; cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.qv-btn:hover { border-color: var(--accent); color: var(--accent); }
.qv-btn[hidden] { display: none; }
.qv-close { font-size: 22px; }
.qv-count { min-width: 52px; text-align: center; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.qv-frame { flex: 1; width: 100%; border: 0; background: #0A1024; }

/* ---------- WhatsApp ---------- */

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 0 rgba(37,211,102,.5);
  animation: wa-pulse 2.8s ease-out 2s 3;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 0 rgba(37,211,102,.55); }
  100% { box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 18px rgba(37,211,102,0); }
}

@media (prefers-reduced-motion: reduce) {
  .js .forge *, .wa-float, dialog.qv[open] { animation: none !important; }
  .forge-scan { display: none; }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after, .faq summary::after { transition: none; }
}

/* =====================================================================
   3D PROFESSION SCENES
   The isometric scenes are stacks of <g class="io" style="--i:n">
   layers. Three motions share each layer without fighting, because each
   owns a different property:
     drop-in on load  → transform (animation, finishes at the resting value)
     pointer parallax → transform (the resting value, deeper layers move more)
     idle float       → translate (the individual property, composes on top)
   Units inside the SVG are user units: 1px here is ~7 screen pixels.
   ===================================================================== */

@keyframes scene-drop {
  from { opacity: 0; transform: translateY(-7px); }
  to   { opacity: 1; }
}
@keyframes scene-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -0.7px; }
}
@keyframes scene-glow {
  0%, 100% { opacity: .75; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}
@keyframes scene-orbit { to { transform: scaleY(.36) rotate(360deg); } }
@keyframes scene-spark {
  0%   { opacity: 0; transform: translateY(0) scale(.6); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-150px) scale(1); }
}

/* ---------- the stage on each field page ---------- */

.scene {
  --px: 0; --py: 0;
  position: relative;
  display: grid; place-items: center;
  width: 100%; max-width: 460px; aspect-ratio: 1.2;
  margin-top: 6px;
  perspective: 900px;
}
.scene .iso {
  position: relative; z-index: 2;
  width: 86%; height: auto;
  transform: rotateX(calc(var(--py) * -7deg)) rotateY(calc(var(--px) * 9deg));
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
  filter: drop-shadow(0 26px 28px rgba(0, 0, 0, .5));
}
.scene .io {
  transform: translate(calc(var(--px) * (var(--i) + 1) * .22px),
                       calc(var(--py) * (var(--i) + 1) * .14px));
}
.js .scene .io {
  animation: scene-drop .75s cubic-bezier(.2,.8,.3,1.25) backwards,
             scene-float 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 95ms + 250ms), calc(var(--i) * -.7s);
}
.scene-glow {
  position: absolute; left: 8%; right: 8%; bottom: 4%; height: 40%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(94,234,212,.34), rgba(129,90,230,.14) 62%, transparent);
  animation: scene-glow 5s ease-in-out infinite;
}
.scene-orbit {
  position: absolute; left: 50%; top: 50%;
  width: 92%; aspect-ratio: 1; translate: -50% -32%;
  border: 1px dashed rgba(94,234,212,.34); border-radius: 50%;
  transform: scaleY(.36);
  animation: scene-orbit 36s linear infinite;
}
.scene-orbit::after {
  content: ""; position: absolute; top: -5px; left: 50%;
  width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: #5EEAD4; box-shadow: 0 0 14px 3px rgba(94,234,212,.8);
}
.scene-sparks { position: absolute; inset: 0; pointer-events: none; }
.scene-sparks i {
  position: absolute; bottom: 22%;
  width: 4px; height: 4px; border-radius: 50%;
  background: #9FF5E6; box-shadow: 0 0 8px 2px rgba(94,234,212,.7);
  opacity: 0;
  animation: scene-spark 5.5s ease-out infinite;
}
.scene-sparks i:nth-child(1) { left: 22%; animation-delay: .4s; }
.scene-sparks i:nth-child(2) { left: 38%; animation-delay: 2.1s; background: #F5C26B; box-shadow: 0 0 8px 2px rgba(245,194,107,.7); }
.scene-sparks i:nth-child(3) { left: 55%; animation-delay: 3.6s; }
.scene-sparks i:nth-child(4) { left: 70%; animation-delay: 1.2s; background: #B9A4FF; box-shadow: 0 0 8px 2px rgba(129,90,230,.7); }
.scene-sparks i:nth-child(5) { left: 81%; animation-delay: 4.4s; }
.scene-sparks i:nth-child(6) { left: 30%; animation-delay: 5s; }

/* ---------- professions page: the 3D carousel ---------- */

@keyframes carousel-spin { to { transform: rotateX(-8deg) rotateY(-360deg); } }

.carousel {
  position: relative;
  height: 330px;
  margin-top: 12px;
  perspective: 1200px;
}
.carousel::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 70px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(94,234,212,.22), transparent);
  pointer-events: none;
}
.carousel-ring {
  --r: 390px;
  position: absolute; top: 46px; left: 50%;
  width: 156px; height: 196px; margin-left: -78px;
  transform-style: preserve-3d;
  transform: rotateX(-8deg);
  animation: carousel-spin 54s linear infinite;
}
.carousel:hover .carousel-ring { animation-play-state: paused; }
.carousel-item {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 12px;
  background: linear-gradient(170deg, rgba(31,41,79,.92) 0%, rgba(12,17,36,.92) 100%);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.7);
  color: var(--ink); text-decoration: none;
  transform: rotateY(calc(var(--k) * 360deg / var(--n))) translateZ(var(--r));
  backface-visibility: hidden;
  transition: translate .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.carousel-item:hover {
  translate: 0 -10px;
  border-color: rgba(94,234,212,.6);
  box-shadow: 0 24px 50px -12px rgba(0,0,0,.7), 0 0 30px -6px rgba(94,234,212,.55);
  color: var(--ink);
}
.carousel-art {
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 1.15;
  border-radius: 10px;
  background: radial-gradient(90% 80% at 50% 70%, rgba(94,234,212,.18), transparent 70%);
}
.carousel-art .iso { width: 92%; height: auto; }
.carousel-item:hover .io { transform: translateY(calc(var(--i) * -1.3px - 1px)); }
.carousel-name { font-family: var(--serif); font-size: 15px; line-height: 1.2; text-align: center; }
/* the dark section tints every link teal; the carousel keeps its names white */
.carousel .carousel-item, .carousel .carousel-item:hover { color: var(--ink); }

/* turned by hand (site.js): the script owns the spin, sideways swipes are ours,
   up-and-down swipes still scroll the page */
.carousel.is-live { touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.carousel.is-live .carousel-ring { animation: none; }
.carousel.is-dragging { cursor: grabbing; }
.carousel.is-dragging .carousel-item { pointer-events: none; }
.carousel-item { -webkit-user-drag: none; }

@media (max-width: 700px) {
  .carousel { height: 270px; perspective: 900px; }
  .carousel-ring { --r: 250px; width: 118px; height: 160px; margin-left: -59px; top: 36px; }
  .carousel-item { padding: 10px 8px; gap: 6px; }
  .carousel-name { font-size: 12.5px; }
}

/* ---------- home tiles: the scenes breathe ---------- */

.js .tile.in .io { animation: scene-float 5.5s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }

/* ---------- sample cards: the paper leans back, then stands up ---------- */

.cv-thumb { perspective: 700px; }
.cv-thumb .paper { transform: translateY(12px) rotateX(18deg); transform-origin: 50% 100%; }
.cv-card:hover .paper, .cv-card:focus-visible .paper { transform: translateY(0) rotateX(0); }

@media (prefers-reduced-motion: reduce) {
  .js .scene .io, .scene-glow, .scene-orbit, .scene-sparks i,
  .carousel-ring, .js .tile.in .io { animation: none !important; }
  .scene-sparks { display: none; }
  .scene .iso { transition: none; }
}

/* =====================================================================
   HOME SHOWCASE — before/after with live checklist, the sample wall,
   and the pointer spotlight
   ===================================================================== */

/* ---------- before / after: tabs, layout ---------- */

.ba-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ba-tab {
  min-height: 44px; padding: 9px 22px;
  background: rgba(255,255,255,.03); color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--sans); font-size: 15px; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.ba-tab:hover { border-color: var(--accent); color: var(--ink); }
.ba-tab[aria-selected="true"] {
  background: linear-gradient(180deg, #5EEAD4 0%, #34C9B4 100%);
  border-color: transparent; color: #04221E; font-weight: 600;
  box-shadow: 0 0 22px -4px rgba(94,234,212,.55);
}

.ba-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 1000px) { .ba-layout { grid-template-columns: 1fr; } }
.ba[hidden] { display: none; }
.ba { height: clamp(620px, 54vw, 700px); }
.ba-after .a-summary { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: #3B4250; }

/* numbered markers: red on the draft's problems, teal on the rebuild's fixes */
.ba .pin {
  display: inline-grid; place-items: center; flex: none;
  width: 20px; height: 20px; margin-right: 8px;
  border-radius: 50%;
  background: #0F766E; color: #fff;
  font: 600 11px/1 var(--mono); font-style: normal; letter-spacing: 0;
  vertical-align: 2px;
  opacity: .45; transform: scale(.85);
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.3,1.4), box-shadow .3s ease;
}
.ba .pin.on { opacity: 1; transform: none; box-shadow: 0 0 0 4px rgba(45,212,191,.25), 0 0 16px rgba(45,212,191,.75); }
.ba-after .a-name .pin { margin: 0 0 0 10px; vertical-align: 8px; }
.ba .pin.bad { background: #DC2626; opacity: 1; transform: none; box-shadow: 0 0 0 3px rgba(220,38,38,.18); }
.ba-before mark.bad {
  background: rgba(220,38,38,.07); color: inherit;
  text-decoration: underline wavy #DC2626; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}

/* "drag me" until someone does */
@keyframes hint-bob { 0%, 100% { translate: -50% 0; } 50% { translate: -50% 5px; } }
@keyframes handle-pulse {
  0%   { box-shadow: 0 6px 20px rgba(0,0,0,.35), 0 0 0 0 rgba(94,234,212,.6); }
  100% { box-shadow: 0 6px 20px rgba(0,0,0,.35), 0 0 0 20px rgba(94,234,212,0); }
}
.ba-hint {
  position: absolute; top: calc(50% + 34px); left: 50%; translate: -50% 0;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(6,9,22,.88); color: #5EEAD4;
  font: 500 11px var(--mono); font-style: normal; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap;
  animation: hint-bob 1.8s ease-in-out infinite;
  transition: opacity .3s ease;
}
.ba.touched .ba-hint { opacity: 0; }
.ba:not(.touched) .ba-handle span { animation: handle-pulse 2s ease-out infinite; }

/* ---------- before / after: the live checklist ---------- */

.ba-checks {
  position: sticky; top: 100px;
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: var(--sh-2);
}
@media (max-width: 1000px) { .ba-checks { position: static; } }
.ba-meter { display: flex; align-items: center; gap: 10px; font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ba-meter-bar { flex: 1; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(220,38,38,.28); }
.ba-meter-bar i {
  display: block; width: 50%; height: 100%;
  background: linear-gradient(90deg, #2DD4BF 0%, #815AE6 100%);
  box-shadow: 0 0 12px rgba(45,212,191,.6);
}
.ba-checks ol { display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 0; list-style: none; }
.ba-checks li { display: grid; grid-template-columns: 26px 1fr; gap: 11px; font-size: 14px; line-height: 1.5; color: var(--muted); transition: color .3s ease; }
.ba-checks li strong { color: var(--ink-2); font-weight: 600; transition: color .3s ease; }
.ba-checks .tick {
  display: grid; place-items: center;
  width: 24px; height: 24px; margin-top: 1px;
  border: 1.5px solid rgba(248,113,113,.65); border-radius: 50%;
  font: 700 12px/1 var(--sans);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s cubic-bezier(.2,.8,.3,1.5);
}
.ba-checks .tick::before { content: "\2715"; color: #F87171; font-size: 10px; }
.ba-checks li.done { color: var(--ink-2); }
.ba-checks li.done strong { color: var(--ink); }
.ba-checks li.done .tick {
  background: linear-gradient(180deg, #5EEAD4 0%, #34C9B4 100%);
  border-color: transparent; transform: scale(1.08);
  box-shadow: 0 0 14px rgba(94,234,212,.6);
}
.ba-checks li.done .tick::before { content: "\2713"; color: #04221E; font-size: 13px; }
.ba-status { min-height: 1.3em; font: 12px var(--mono); letter-spacing: .08em; color: var(--accent); }

/* ---------- the sample wall ---------- */

@keyframes wall-scroll { to { transform: translateX(-50%); } }

.wall-section { overflow: hidden; }
.wall {
  position: relative;
  height: 640px; margin-top: 10px;
  perspective: 1600px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.wall::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, transparent, var(--space));
  pointer-events: none;
}
.wall-plane {
  /* the -7deg roll lifts the right-hand end ~90px; the mask clips anything
     outside the box, so the plane starts low enough to keep it inside */
  position: absolute; top: 110px; left: -8%; right: -8%;
  display: flex; flex-direction: column; gap: 24px;
  transform: rotateX(26deg) rotateZ(-7deg);
  transform-origin: 50% 0;
}
.wall-row {
  display: flex; gap: 22px; width: max-content;
  padding-right: 22px; /* makes the two copies exactly half the row, so the loop is seamless */
  animation: wall-scroll 110s linear infinite;
}
.wall-row-rev { margin-left: -130px; animation-duration: 130s; animation-direction: reverse; }
.wall:hover .wall-row { animation-play-state: paused; }
.wall-card {
  position: relative; overflow: hidden;
  display: flex; flex: none; flex-direction: column; gap: 7px;
  width: 210px; height: 270px; padding: 22px 18px;
  background: #fff; color: #14171C;
  border-radius: 10px;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.85);
  text-decoration: none;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.wall-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, #0F766E 0%, #2DD4BF 45%, #815AE6 100%);
}
.wall-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 34px 60px -18px rgba(0,0,0,.85), 0 0 44px -6px rgba(94,234,212,.7);
  color: #14171C;
}
.wall-card .w-field { font: 600 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #0F766E; }
.wall-card .w-name { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.15; }
.wall-card .w-title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  min-height: 2.8em; font-size: 11px; line-height: 1.4; color: #3B4250;
}
.wall-card .w-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 6px 0; }
.wall-card .w-boxes i { height: 30px; border-radius: 5px; background: #EAF6F3; border: 1px solid #CBE9E3; }
.wall-card .w-line { height: 6px; border-radius: 3px; background: #E4E7EC; }
.wall-card .w-line.s { width: 62%; }
.wall-card .w-line.m { width: 82%; }
@media (max-width: 700px) {
  .wall { height: 440px; }
  .wall-plane { top: 60px; }
  .wall-card { width: 160px; height: 208px; padding: 16px 14px; }
  .wall-card .w-name { font-size: 16px; }
}

/* ---------- pointer spotlight ---------- */

.spotlight {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0;
  background: radial-gradient(560px circle at var(--sx, 50%) var(--sy, 30%),
              rgba(94,234,212,.085), rgba(129,90,230,.06) 40%, transparent 70%);
  transition: opacity .6s ease;
}
.spotlight.on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .wall-row, .ba-hint, .ba:not(.touched) .ba-handle span { animation: none !important; }
  .ba-tab, .ba .pin, .ba-checks li, .ba-checks .tick { transition: none; }
  .spotlight { display: none; }
}

/* =====================================================================
   SAMPLE PORTFOLIOS — the gallery page and the links into it
   ===================================================================== */

.pf-list { gap: clamp(64px, 8vw, 120px); }
.pf { --hue: 94, 234, 212; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.pf[data-tone="creative"]  { --hue: 244, 114, 182; }
.pf[data-tone="corporate"] { --hue: 245, 194, 107; }
.pf[data-tone="care"]      { --hue: 96, 165, 250; }
.pf:nth-of-type(even) .pf-screen { order: 2; }

/* a live preview of the site in a browser frame; hovering scrolls it */
.pf-screen {
  --s: .5; --tilt: -6deg;
  display: block; overflow: hidden;
  background: #0B1024;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--sh-3), 0 0 70px -18px rgba(var(--hue), .55);
  text-decoration: none;
  transform: perspective(1400px) rotateY(var(--tilt)) rotateX(3deg);
  transition: transform .6s cubic-bezier(.2,.7,.3,1), box-shadow .6s ease;
}
.pf:nth-of-type(even) .pf-screen { --tilt: 6deg; }
.pf-screen:hover, .pf-screen:focus-visible {
  transform: perspective(1400px) translateY(-6px);
  box-shadow: var(--sh-3), 0 0 90px -14px rgba(var(--hue), .75);
}
.pf-chrome {
  display: flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px;
  background: rgba(19, 26, 51, .96); border-bottom: 1px solid var(--line-2);
  font: 12px var(--mono); color: var(--muted);
}
.pf-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #F87171; }
.pf-chrome i:nth-child(2) { background: #FBBF24; }
.pf-chrome i:nth-child(3) { background: #34D399; }
.pf-chrome span { margin-left: 10px; }
.pf-viewport { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.pf-viewport iframe {
  position: absolute; top: 0; left: 0;
  width: 1280px; height: 2800px; border: 0;
  transform-origin: 0 0; transform: scale(var(--s));
  transition: transform 7s cubic-bezier(.45,.05,.4,1);
  pointer-events: none;
}
/* 2800px tall, 800px showing: hovering travels the other 2000 */
.pf-screen:hover iframe { transform: translateY(calc(-2000px * var(--s))) scale(var(--s)); }
/* the picture under the live site; on phones it is all there is */
.pf-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pf-viewport iframe:not([src]) { display: none; }

.pf-copy { display: flex; flex-direction: column; gap: 14px; }
.pf-copy .eyebrow { color: rgb(var(--hue)); }
.pf-copy h2 { font-size: clamp(32px, 3.6vw, 48px); }
.pf-role { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.pf-copy > p:not(.pf-role) { color: var(--ink-2); font-size: 16.5px; }
.pf-points { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 6px; padding: 0; list-style: none; }
.pf-points li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15.5px; }
.pf-points li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(var(--hue), .18); color: rgb(var(--hue));
  font-size: 11px; font-weight: 700;
}

@media (max-width: 900px) {
  .pf { grid-template-columns: 1fr; }
  .pf:nth-of-type(even) .pf-screen { order: 0; }
  .pf-screen, .pf:nth-of-type(even) .pf-screen { --tilt: 0deg; transform: none; }
}

/* ---------- links into the portfolios from other pages ---------- */

.pf-promo, .pf-strip {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 14px 24px;
  padding: 22px 26px;
  background: linear-gradient(120deg, rgba(94,234,212,.12) 0%, rgba(129,90,230,.12) 100%), var(--card);
  border: 1px solid rgba(94,234,212,.35); border-radius: 14px;
  color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pf-promo:hover, .pf-strip:hover {
  border-color: rgba(94,234,212,.7); color: var(--ink);
  box-shadow: 0 0 40px -12px rgba(94,234,212,.55);
  transform: translateY(-2px);
}
.pf-promo-copy { display: flex; flex-direction: column; gap: 6px; max-width: 62ch; }
.pf-promo strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.pf-promo-copy > span:last-child, .pf-strip > span:first-child { color: var(--ink-2); font-size: 15.5px; }
.pf-strip strong { color: var(--ink); }
.pf-strip { margin-bottom: 8px; }
.pf-promo-go { font-weight: 500; color: var(--accent); white-space: nowrap; }
.pf-see { align-self: flex-start; font-size: 14.5px; color: var(--accent); text-decoration: none; }
.pf-see:hover { text-decoration: underline; }
.price-card .pf-see { margin-top: auto; }
.price-card .pf-see + .btn { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .pf-screen, .pf-viewport iframe, .pf-promo, .pf-strip { transition: none; }
  .pf-screen:hover iframe { transform: scale(var(--s)); }
}

/* ---------- home: the four portfolios fanned out like cards ---------- */

.pf-fan { display: flex; justify-content: center; align-items: flex-start; padding: 34px 0 56px; }
.pf-fan-item {
  --hue: 94, 234, 212;
  position: relative; z-index: 1;
  flex: 0 0 29%; margin-left: -5%;
  transform: rotate(var(--r)) translateY(var(--y));
  transform-origin: 50% 100%;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s ease;
}
.pf-fan-item:first-child { margin-left: 0; }
.pf-fan-item[data-tone="creative"]  { --hue: 244, 114, 182; }
.pf-fan-item[data-tone="corporate"] { --hue: 245, 194, 107; }
.pf-fan-item[data-tone="care"]      { --hue: 96, 165, 250; }
.pf-fan-item:hover, .pf-fan-item:focus-visible {
  z-index: 5;
  transform: rotate(0deg) translateY(-18px) scale(1.07);
  box-shadow: var(--sh-3), 0 0 80px -12px rgba(var(--hue), .8);
}
/* portrait windows: 1600px of each site showing, the rest travels on hover */
.pf-fan-item .pf-viewport { aspect-ratio: 4 / 5; }
.pf-fan-item:hover iframe { transform: translateY(calc(-1200px * var(--s))) scale(var(--s)); }
.pf-fan-cap {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px;
  background: rgba(19, 26, 51, .97);
  border-top: 1px solid var(--line-2);
}
.pf-fan-cap strong { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--ink); }
.pf-fan-cap em { font: normal 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--hue)); }
.pf-home-all { align-self: center; }

/* phones and tablets: a row you swipe through */
@media (max-width: 900px) {
  .pf-fan {
    justify-content: flex-start; gap: 16px;
    margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 26px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .pf-fan::-webkit-scrollbar { display: none; }
  .pf-fan-item { flex: 0 0 74%; margin-left: 0; transform: none; scroll-snap-align: center; }
  .pf-fan-item:first-child { margin-left: 0; }
  .pf-fan-item:hover, .pf-fan-item:focus-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-fan-item { transition: none; }
  .pf-fan-item:hover iframe { transform: scale(var(--s)); }
}

/* =====================================================================
   CONTACT — the start page's "Prefer to talk?" card and footer icons
   ===================================================================== */

.contact-card { gap: 12px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--sh-2); }
.contact-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }

@keyframes status-ping {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,.6); }
  100% { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
}
.contact-status {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border-radius: 999px;
  font: 500 11.5px var(--mono); letter-spacing: .04em;
}
.contact-status[hidden] { display: none; }
.contact-status i { width: 8px; height: 8px; border-radius: 50%; }
.contact-status.is-open { background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.35); color: #6EE7B7; }
.contact-status.is-open i { background: #34D399; animation: status-ping 2s ease-out infinite; }
.contact-status.is-away { background: var(--brass-tint); border: 1px solid rgba(245,194,107,.35); color: var(--brass); }
.contact-status.is-away i { background: var(--brass); }

.contact-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line-2); border-radius: 12px;
  color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.contact-row[hidden] { display: none; }
.contact-row:hover, .contact-row:focus-visible {
  transform: translateY(-1px);
  background: rgba(94,234,212,.06);
  border-color: rgba(94,234,212,.55);
  box-shadow: 0 0 26px -10px rgba(94,234,212,.6);
  color: var(--ink);
}
.contact-ic {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(94,234,212,.12); color: var(--accent);
}
.contact-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.contact-label { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-size: 15.5px; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
/* an email address should read as one unit, not break at "gmail / .com" */
.contact-row[data-contact="email"] .contact-value { font-size: 13.5px; letter-spacing: -.01em; }
.contact-row { grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 12px; padding-inline: 12px; }
.contact-row .contact-ic { width: 40px; height: 40px; border-radius: 11px; }
.contact-go { color: var(--muted); transition: transform .2s ease, color .2s ease; }
.contact-row:hover .contact-go { transform: translateX(3px); color: var(--accent); }

/* WhatsApp leads: usually the quickest way to reach a person */
.contact-row.is-wa {
  background: linear-gradient(120deg, rgba(37,211,102,.16) 0%, rgba(37,211,102,.04) 100%);
  border-color: rgba(37,211,102,.42);
}
.contact-row.is-wa:hover { border-color: rgba(37,211,102,.8); box-shadow: 0 0 28px -8px rgba(37,211,102,.6); }
.contact-row.is-wa .contact-ic { background: #25D366; color: #fff; }
.contact-row.is-wa .contact-value { font-size: 14.5px; color: var(--ink-2); }
.contact-row.is-wa:hover .contact-go { color: #4ADE80; }

.contact-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.contact-mini { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); }
.contact-mini[hidden] { display: none; }
.contact-mini svg { flex: none; color: var(--accent); }

/* footer contact links get the same icons, drawn as masks in the link colour */
.site-footer [data-contact] { display: inline-flex; align-items: center; gap: 9px; }
.site-footer [data-contact][hidden] { display: none; }
.site-footer [data-contact]::before {
  content: ""; flex: none; width: 16px; height: 16px;
  background: currentColor; opacity: .85;
  -webkit-mask: var(--ic) center / contain no-repeat;
          mask: var(--ic) center / contain no-repeat;
}
.site-footer [data-contact="email"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.5 7.5 12 13l8.5-5.5'/%3E%3C/svg%3E");
}
.site-footer [data-contact="phone"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h3l1.6 4.2-2 1.3a11.5 11.5 0 0 0 5.9 5.9l1.3-2 4.2 1.6v3a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.5 5.7a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E");
}
.site-footer [data-contact="whatsapp"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6a9.4 9.4 0 0 0-8.1 14.2L2.6 21.4l4.7-1.2A9.4 9.4 0 1 0 12 2.6z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M8.6 7.4c.3-.3.8-.3 1 .1l1 1.6c.2.3.1.7-.1 1l-.6.6c.6 1.2 1.6 2.2 2.8 2.8l.6-.6c.3-.3.7-.3 1-.1l1.6 1c.4.2.4.7.1 1l-.8.8c-.6.6-1.5.7-2.3.4-2.4-1-4.3-2.9-5.3-5.3-.3-.8-.2-1.7.4-2.3z' fill='black'/%3E%3C/svg%3E");
}
.site-footer [data-contact="city"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 1 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  .contact-status.is-open i { animation: none; }
  .contact-row, .contact-go { transition: none; }
}

/* =====================================================================
   ASSISTANT — the chat helper (assistant.js)
   ===================================================================== */

/* the WhatsApp button steps up to make room for the chat button */
.has-assistant .wa-float { bottom: 92px; }

@keyframes cfa-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes cfa-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.cfa-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: grid; place-items: center;
  width: 58px; height: 58px; padding: 0;
  background: linear-gradient(180deg, #5EEAD4 0%, #34C9B4 100%); color: #04221E;
  border: 0; border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 0 26px -4px rgba(94,234,212,.7);
  cursor: pointer;
  transition: transform .2s ease;
}
.cfa-launch:hover { transform: scale(1.07); }

.cfa-panel {
  position: fixed; right: 20px; bottom: 92px; z-index: 70;
  display: flex; flex-direction: column;
  width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 120px));
  overflow: hidden;
  background: #0B1024; color: var(--ink);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--sh-3), 0 0 60px -18px rgba(94,234,212,.5);
  animation: cfa-in .25s cubic-bezier(.2,.7,.3,1);
}
.cfa-panel[hidden] { display: none; }

.cfa-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px 14px 16px;
  background: linear-gradient(120deg, rgba(94,234,212,.16) 0%, rgba(129,90,230,.14) 100%);
  border-bottom: 1px solid var(--line-2);
}
.cfa-avatar {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(180deg, #5EEAD4 0%, #34C9B4 100%); color: #04221E;
  font: 700 13px var(--mono);
}
.cfa-title { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cfa-title strong { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.cfa-sub { font-size: 12px; color: var(--muted); }
.cfa-close {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; padding: 0;
  background: transparent; color: var(--ink-2);
  border: 1px solid transparent; border-radius: 10px; cursor: pointer;
}
.cfa-close:hover { border-color: var(--line); color: var(--ink); }

.cfa-log {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px;
}
.cfa-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.cfa-bot { align-self: flex-start; background: rgba(31, 41, 79, .75); border: 1px solid var(--line-2); border-top-left-radius: 4px; color: var(--ink-2); }
.cfa-bot strong { color: var(--ink); }
.cfa-bot a { color: var(--accent); }
.cfa-user { align-self: flex-end; background: linear-gradient(180deg, #5EEAD4 0%, #34C9B4 100%); color: #04221E; border-top-right-radius: 4px; font-weight: 500; }
.cfa-typing { display: inline-flex; gap: 5px; padding: 13px 14px; }
.cfa-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); animation: cfa-dot 1.1s ease-in-out infinite; }
.cfa-typing i:nth-child(2) { animation-delay: .15s; }
.cfa-typing i:nth-child(3) { animation-delay: .3s; }

.cfa-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.cfa-chip {
  padding: 7px 13px;
  background: rgba(94,234,212,.08); color: var(--accent);
  border: 1px solid rgba(94,234,212,.4); border-radius: 999px;
  font: 500 13px var(--sans); text-decoration: none; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.cfa-chip:hover { background: rgba(94,234,212,.18); border-color: var(--accent); color: var(--accent); }
.cfa-chip-wa { background: rgba(37,211,102,.12); color: #4ADE80; border-color: rgba(37,211,102,.5); }
.cfa-chip-wa:hover { background: rgba(37,211,102,.22); border-color: #25D366; color: #4ADE80; }

.cfa-form { display: flex; flex-direction: column; gap: 9px; padding: 14px; background: rgba(19,26,51,.9); border: 1px solid var(--line); border-radius: 14px; }
.cfa-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.cfa-form input, .cfa-form select, .cfa-form textarea { min-height: 40px; padding: 8px 10px; font-size: 14px; }
.cfa-form textarea { min-height: 76px; }
.cfa-form button {
  min-height: 42px; margin-top: 2px;
  background: linear-gradient(180deg, #5EEAD4 0%, #34C9B4 100%); color: #04221E;
  border: 0; border-radius: 10px; font: 600 14px var(--sans); cursor: pointer;
}

.cfa-form button:disabled { opacity: .7; cursor: progress; }
.cfa-form-note { font-size: 13px; line-height: 1.5; color: #FFC9B8; }
.cfa-form-note:empty { display: none; }
.cfa-form-note a { color: var(--accent); }

.cfa-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-2); background: rgba(6,9,22,.6); }
.cfa-input input { flex: 1; min-height: 44px; padding: 10px 14px; border-radius: 999px; font-size: 14.5px; }
.cfa-input button {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; padding: 0;
  background: linear-gradient(180deg, #5EEAD4 0%, #34C9B4 100%); color: #04221E;
  border: 0; border-radius: 50%; cursor: pointer;
}

.cfa-teaser {
  position: fixed; right: 88px; bottom: 26px; z-index: 55;
  display: flex; align-items: center; gap: 4px;
  max-width: min(300px, calc(100vw - 110px));
  padding: 4px 4px 4px 14px;
  background: #F2F4FC; color: #14171C;
  border-radius: 14px 14px 4px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  animation: cfa-in .35s cubic-bezier(.2,.7,.3,1);
}
.cfa-teaser-open { padding: 8px 0; background: none; border: 0; color: inherit; font: 14px/1.4 var(--sans); text-align: left; cursor: pointer; }
.cfa-teaser-open strong { color: #0F766E; }
.cfa-teaser-x { display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; background: none; border: 0; color: #6B7280; cursor: pointer; }
.cfa-teaser-x svg { width: 16px; height: 16px; }

@media (max-width: 560px) {
  .cfa-panel { right: 8px; left: 8px; bottom: 84px; width: auto; height: min(78vh, calc(100vh - 100px)); }
  .cfa-launch { right: 14px; bottom: 14px; }
  .has-assistant .wa-float { right: 14px; bottom: 84px; }
  .cfa-teaser { right: 80px; bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .cfa-panel, .cfa-teaser, .cfa-typing i { animation: none; }
  .cfa-launch, .cfa-chip { transition: none; }
}

/* =====================================================================
   BEFORE / AFTER, SIDE BY SIDE — replaces the drag slider on the home
   page. Both pages are always visible; nothing moves on its own; the
   draft's problems are marked in soft amber, the fixes in teal.
   ===================================================================== */

.cmp { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.12fr); align-items: start; }
.cmp[hidden] { display: none; }
.cmp-side { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.cmp-side figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.cmp-tag {
  padding: 4px 11px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line); color: var(--ink-2);
  font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.cmp-after .cmp-tag { background: linear-gradient(180deg, #5EEAD4 0%, #34C9B4 100%); border-color: transparent; color: #04221E; }

.cmp .ba-doc { position: relative; inset: auto; height: 600px; padding: 32px 30px; overflow: hidden; border-radius: 14px; }
.cmp .ba-before {
  clip-path: none;
  font-size: 13.5px;
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-2);
  filter: saturate(.75); opacity: .9;
}
.cmp .ba-after {
  font-size: 13.5px;
  border: 1px solid rgba(94,234,212,.45);
  box-shadow: var(--sh-3), 0 0 60px -14px rgba(94,234,212,.55);
}
.cmp-arrow {
  display: grid; place-items: center; align-self: center; justify-self: center;
  width: 40px; height: 40px; margin-top: 40px; border-radius: 50%;
  background: linear-gradient(180deg, #5EEAD4 0%, #34C9B4 100%); color: #04221E;
  box-shadow: 0 0 24px -4px rgba(94,234,212,.7);
}

/* markers: soft amber on the draft's problems, teal on the rebuild's fixes */
.cmp .pin {
  display: inline-grid; place-items: center; flex: none;
  width: 19px; height: 19px; margin-right: 7px; border-radius: 50%;
  background: #0F766E; color: #fff;
  font: 600 10.5px/1 var(--mono); font-style: normal; vertical-align: 2px;
  box-shadow: 0 0 0 3px rgba(15,118,110,.14);
}
.cmp .pin.bad { background: #D97706; box-shadow: 0 0 0 3px rgba(217,119,6,.16); }
.cmp .ba-after .a-name .pin { margin: 0 0 0 10px; vertical-align: 8px; }
.cmp .ba-before mark.bad {
  padding: 0 2px; border-radius: 3px;
  background: rgba(245,158,11,.13); color: inherit;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 rgba(217,119,6,.45);
}

/* the six changes, underneath, all as positives */
.cmp-changes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px;
  margin: 8px 0 0; padding: 0; list-style: none;
}
.cmp-changes li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.cmp-changes strong { color: var(--ink); }
.cmp-n {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(94,234,212,.14); border: 1px solid rgba(94,234,212,.45); color: var(--accent);
  font: 600 12px var(--mono);
}

@media (max-width: 1000px) { .cmp-changes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) {
  .cmp { grid-template-columns: 1fr; gap: 12px; }
  .cmp-arrow { margin: 0; transform: rotate(90deg); }
  .cmp .ba-doc { height: 470px; padding: 24px 20px; }
  .cmp-changes { grid-template-columns: 1fr; }
}

/* =====================================================================
   TEMPLATES — templates.html
   ===================================================================== */

.tpl-note { color: var(--ink-2); font-size: 15px; }
.tpl-tones { margin-top: -8px; }
.tpl-tones .pill { min-height: 38px; padding: 7px 16px; font-size: 14px; }
.tpl-card[hidden] { display: none; }
.tpl-note strong { color: var(--ink); }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.tpl-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: var(--sh-1);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.tpl-card.is-rec { border-color: rgba(94,234,212,.45); box-shadow: var(--sh-2), 0 0 40px -14px rgba(94,234,212,.5); }

/* a live sample in the template: 880px wide, scaled; hovering scrolls it */
.tpl-screen { --s: .35; display: block; background: #0A1024; border-bottom: 1px solid var(--line-2); }
.tpl-viewport { position: relative; display: block; aspect-ratio: 1 / 1.1; overflow: hidden; }
.tpl-viewport iframe {
  position: absolute; top: 0; left: 0;
  width: 880px; height: 2600px; border: 0;
  transform-origin: 0 0; transform: scale(var(--s));
  transition: transform 6s cubic-bezier(.45,.05,.4,1);
  pointer-events: none;
}
.tpl-screen:hover iframe, .tpl-screen:focus-visible iframe { transform: translateY(calc(-1400px * var(--s))) scale(var(--s)); }

.tpl-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 20px 22px 22px; }
.tpl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tpl-top h2 { font-size: 26px; }
.tpl-rec {
  padding: 4px 10px; border-radius: 999px;
  background: rgba(94,234,212,.14); border: 1px solid rgba(94,234,212,.45); color: var(--accent);
  font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.tpl-rec[hidden] { display: none; }
.tpl-body > p { color: var(--ink-2); font-size: 15px; }
.tpl-body > p.tpl-best { color: var(--muted); font-size: 13.5px; }
.tpl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: auto; padding-top: 6px; }
.tpl-open { font-size: 14px; color: var(--accent); text-decoration: none; }
.tpl-open:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .tpl-card, .tpl-viewport iframe { transition: none; }
  .tpl-screen:hover iframe { transform: scale(var(--s)); }
}

/* =====================================================================
   START PAGE — documents or a portfolio site
   ===================================================================== */

.order-type { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; margin-bottom: 30px; }
.order-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 16px 20px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink-2); text-align: left; cursor: pointer;
  font-family: var(--sans);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.order-tab strong { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--ink); }
.order-tab span { font-size: 13.5px; color: var(--muted); }
.order-tab:hover { border-color: var(--accent); }
.order-tab[aria-selected="true"] {
  background: linear-gradient(135deg, rgba(94,234,212,.16) 0%, rgba(129,90,230,.12) 100%);
  border-color: rgba(94,234,212,.7);
  box-shadow: 0 0 30px -10px rgba(94,234,212,.6);
}
.order-tab[aria-selected="true"] span { color: var(--accent); }
@media (max-width: 560px) { .order-type { grid-template-columns: 1fr; } }

.form-col { min-width: 0; }
.brief[hidden], [data-for-order][hidden] { display: none; }

.linklike { padding: 0; background: none; border: 0; color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

input[type="date"] { color-scheme: dark; }

/* ---- the briefs as steps: progress, one step at a time, review ---- */
.wiz-progress { display: flex; flex-direction: column; gap: 12px; }
.wiz-count { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wiz-where { color: var(--accent); }
.wiz-saved { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 13px; }
.wiz-saved[hidden] { display: none; }
.wiz-saved .linklike { font-size: 13px; }
.wiz-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.wiz-track i { display: block; height: 100%; width: 20%; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #8B5CF6); transition: width .35s ease; }
.wiz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.wiz-steps button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 0; background: none; border: 0;
  color: var(--muted); font: 500 13.5px/1.25 var(--sans); text-align: left; cursor: pointer; }
.wiz-n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line); font: 500 12px var(--mono); }
.wiz-steps button:hover { color: var(--ink); }
.wiz-steps .done button { color: var(--ink-2); }
.wiz-steps .done .wiz-n { background: rgba(94,234,212,.16); border-color: rgba(94,234,212,.5); color: var(--accent); }
.wiz-steps [aria-current] { color: var(--ink); }
.wiz-steps [aria-current] .wiz-n { background: var(--accent); border-color: var(--accent); color: #04221E; }
@media (max-width: 720px) { .wiz-steps { display: none; } }

.step { display: flex; flex-direction: column; gap: 24px; }
.step-title { font-size: clamp(26px, 2.6vw, 32px); outline: none; }
.step-intro { color: var(--ink-2); margin-top: -12px; }
.js .wizard .step { display: none; }
.js .wizard .step.is-current { display: flex; animation: step-in .35s ease both; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html:not(.js) .step + .step { border-top: 1px solid var(--line); padding-top: 30px; }
.wiz-nav { display: none; }
.js .wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--line); }
.wiz-nav [data-wiz="next"] { margin-left: auto; }
.wiz-nav [hidden] { display: none; }

.file-list { font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.file-list:empty { display: none; }

.wiz-review { display: flex; flex-direction: column; gap: 12px; }
.wiz-review:empty { display: none; }
.rv-title { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rv-group { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(10, 15, 33, .5); }
.rv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.rv-head strong { color: var(--ink); font-weight: 600; }
.rv-head .linklike { font-size: 14px; }
.rv-group dl { margin: 0; display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 6px 16px; font-size: 14.5px; }
.rv-group dt { color: var(--muted); }
.rv-group dd { margin: 0; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.rv-group .rv-empty { grid-column: 1 / -1; color: var(--muted); }
@media (max-width: 560px) { .rv-group dl { grid-template-columns: 1fr; gap: 2px; } .rv-group dd + dt { margin-top: 8px; } }

/* repeatable projects */
.proj-list { display: flex; flex-direction: column; gap: 16px; }
.proj { gap: 16px; }
.proj-remove { align-self: flex-start; font-size: 14px; }
.proj-remove[hidden], .proj-add[hidden] { display: none; }
.proj-add { align-self: flex-start; margin-top: -8px; }

/* what to have ready */
.ready-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ready-list li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.ready-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---- the portfolio theme picker: a tiny page drawn in each theme's colours ---- */
.theme-pick { gap: 18px; }
.tp-group { display: flex; flex-direction: column; gap: 10px; }
.tp-group-title { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.tp-card {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 10px 10px 12px;
  background: rgba(10, 15, 33, .55);
  border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.tp-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.tp-card-wide .tp-sw { grid-row: span 2; height: 58px; margin: 0; }
.tp-card-wide .tp-name { align-self: end; }
.tp-card-wide .tp-desc { align-self: start; }
.tp-card input { position: absolute; opacity: 0; pointer-events: none; }
.tp-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.tp-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 24px -8px rgba(94,234,212,.6); }
.tp-card:has(input:checked) .tp-name::after { content: " ✓"; color: var(--accent); }
.tp-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.tp-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.tp-desc { font-size: 13px; line-height: 1.4; color: var(--muted); }
.tp-card a { font-size: 13px; color: var(--accent); margin-top: 2px; align-self: flex-start; }
.tp-card.is-rec::before {
  content: "Suggested"; position: absolute; z-index: 1; top: 15px; right: 15px;
  padding: 2px 8px; border-radius: 999px;
  background: var(--accent); color: #04221E; font: 600 10.5px/1.6 var(--sans); letter-spacing: .02em;
}

.tp-sw {
  --b: #fff; --i: #111; --a: #E5402A; --s: rgba(0,0,0,.08);
  display: block; height: 84px; margin-bottom: 6px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(var(--i), var(--i)) 10px 12px / 50% 8px no-repeat,
    linear-gradient(var(--a), var(--a)) 10px 26px / 28% 4px no-repeat,
    linear-gradient(var(--a), var(--a)) 10px 36px / 18% 9px no-repeat,
    linear-gradient(var(--s), var(--s)) 10px 54px / calc(50% - 14px) 20px no-repeat,
    linear-gradient(var(--s), var(--s)) calc(100% - 10px) 54px / calc(50% - 14px) 20px no-repeat,
    var(--b);
}
.tp-auto { background: conic-gradient(from 200deg, #F4EFE6, #E9F2FB, #FFE14D, #F9D5E5, #0B0B0E, #07110B, #F4EFE6); }
.tp-paper   { --b: #F4EFE6; --i: #1F1B16; --a: #7A2E2E; --s: #E7DFD0; }
.tp-clinic  { --b: #F6F9FC; --i: #0F2A44; --a: #2F6FB5; --s: #E3ECF6; }
.tp-sidebar { --b: #FAFAF8; --i: #1D232B; --a: #0F766E; --s: #ECEEEB;
  background:
    radial-gradient(circle, #E6ECEA 0 9px, transparent 10px) 7px 8px / 22px 22px no-repeat,
    linear-gradient(#FFFFFF, #FFFFFF) 8px 38px / 22% 5px no-repeat,
    linear-gradient(#0F766E, #0F766E) 8px 50px / 15% 4px no-repeat,
    linear-gradient(#1D232B, #1D232B) right 10px top 12px / 52% 7px no-repeat,
    linear-gradient(#DDE3E0, #DDE3E0) right 10px top 28px / 52% 20px no-repeat,
    linear-gradient(#DDE3E0, #DDE3E0) right 10px top 54px / 52% 20px no-repeat,
    linear-gradient(#1D232B, #1D232B) 0 0 / 34% 100% no-repeat,
    #FAFAF8; }
.tp-swiss   { --b: #FFFFFF; --i: #0A0A0A; --a: #E30613; --s: #F0F0F0;
  background:
    linear-gradient(#0A0A0A, #0A0A0A) 10px 10px / 70% 14px no-repeat,
    linear-gradient(#E30613, #E30613) 10px 30px / 14px 14px no-repeat,
    linear-gradient(#0A0A0A, #0A0A0A) 0 52px / 100% 1px no-repeat,
    linear-gradient(90deg, transparent calc(33.3% - .5px), #0A0A0A calc(33.3% - .5px), #0A0A0A calc(33.3% + .5px), transparent calc(33.3% + .5px), transparent calc(66.6% - .5px), #0A0A0A calc(66.6% - .5px), #0A0A0A calc(66.6% + .5px), transparent calc(66.6% + .5px)) 0 52px / 100% 32px no-repeat,
    #FFFFFF; }
.tp-brutal  { --b: #FFE14D; --i: #111; --a: #FF5CA8; --s: #fff;
  background:
    linear-gradient(#111, #111) 10px 12px / 52% 9px no-repeat,
    linear-gradient(#111, #111) 14px 34px / 34% 14px no-repeat,
    linear-gradient(#FF5CA8, #FF5CA8) 10px 30px / 34% 14px no-repeat,
    linear-gradient(#111, #111) 14px 58px / 40% 20px no-repeat,
    linear-gradient(#49D3F2, #49D3F2) 10px 54px / 40% 20px no-repeat,
    linear-gradient(#111, #111) calc(100% - 6px) 58px / 38% 20px no-repeat,
    linear-gradient(#fff, #fff) calc(100% - 10px) 54px / 38% 20px no-repeat,
    #FFE14D;
  border: 2px solid #111; }
.tp-pastel  { --b: #FFF6F1; --i: #3B3355; --a: #B79CF0; --s: #DDF3EA;
  background:
    radial-gradient(circle at 85% 20%, #FFD3C2 0 18%, transparent 19%),
    linear-gradient(#3B3355, #3B3355) 10px 14px / 46% 8px no-repeat,
    linear-gradient(#B79CF0, #B79CF0) 10px 30px / 26% 8px no-repeat,
    linear-gradient(#DDF3EA, #DDF3EA) 10px 52px / calc(50% - 14px) 22px no-repeat,
    linear-gradient(#EDE4FF, #EDE4FF) calc(100% - 10px) 52px / calc(50% - 14px) 22px no-repeat,
    linear-gradient(135deg, #FFF1EA, #F3EEFF);
  border-radius: 14px; }
.tp-gallery { --b: #111111; --i: #F2F2F2; --a: #8A8A8A; --s: #2A2A2A;
  background:
    linear-gradient(#EDEDED, #EDEDED) 8px 8px / 28% 5px no-repeat,
    linear-gradient(135deg, #3A3A3A, #6B6B6B) 8px 20px / calc(62% - 10px) 56px no-repeat,
    linear-gradient(135deg, #555, #2B2B2B) calc(100% - 8px) 20px / calc(38% - 10px) 26px no-repeat,
    linear-gradient(135deg, #7A7A7A, #444) calc(100% - 8px) 50px / calc(38% - 10px) 26px no-repeat,
    #111111; }
.tp-aurora  { --b: #070A18; --i: #F2F4FC; --a: #5EEAD4; --s: rgba(160,178,235,.18);
  background:
    linear-gradient(#F2F4FC, #F2F4FC) 10px 12px / 50% 8px no-repeat,
    linear-gradient(90deg, #5EEAD4, #8B5CF6) 10px 26px / 36% 5px no-repeat,
    linear-gradient(rgba(160,178,235,.2), rgba(160,178,235,.2)) 10px 50px / calc(50% - 14px) 24px no-repeat,
    linear-gradient(rgba(160,178,235,.2), rgba(160,178,235,.2)) calc(100% - 10px) 50px / calc(50% - 14px) 24px no-repeat,
    radial-gradient(120% 90% at 0% 0%, rgba(88,60,200,.7), transparent 60%),
    radial-gradient(120% 90% at 100% 0%, rgba(20,140,150,.6), transparent 60%),
    #070A18; }
.tp-noir    { --b: #0B0B0C; --i: #EDE6D6; --a: #C9A45C; --s: #1C1B1A;
  background:
    linear-gradient(#EDE6D6, #EDE6D6) 50% 16px / 56% 9px no-repeat,
    linear-gradient(#C9A45C, #C9A45C) 50% 32px / 30% 1px no-repeat,
    linear-gradient(#C9A45C, #C9A45C) 50% 38px / 20% 3px no-repeat,
    linear-gradient(#1F1D1A, #1F1D1A) 10px 54px / calc(50% - 14px) 20px no-repeat,
    linear-gradient(#1F1D1A, #1F1D1A) calc(100% - 10px) 54px / calc(50% - 14px) 20px no-repeat,
    radial-gradient(120% 100% at 50% 40%, #1A1917, #050505); }
.tp-console { --b: #0A0F0A; --i: #39FF88; --a: #39FF88; --s: #122016;
  background:
    radial-gradient(circle, #FF5F57 0 2.5px, transparent 3px) 10px 6px / 10px 10px no-repeat,
    radial-gradient(circle, #FEBC2E 0 2.5px, transparent 3px) 20px 6px / 10px 10px no-repeat,
    radial-gradient(circle, #28C840 0 2.5px, transparent 3px) 30px 6px / 10px 10px no-repeat,
    linear-gradient(#39FF88, #39FF88) 10px 24px / 8px 8px no-repeat,
    linear-gradient(#C8F7D8, #C8F7D8) 22px 25px / 44% 6px no-repeat,
    linear-gradient(#1B3A24, #1B3A24) 10px 40px / 60% 5px no-repeat,
    linear-gradient(#1B3A24, #1B3A24) 10px 50px / 42% 5px no-repeat,
    linear-gradient(#1B3A24, #1B3A24) 10px 60px / 52% 5px no-repeat,
    repeating-linear-gradient(0deg, rgba(57,255,136,.05) 0 1px, transparent 1px 3px),
    #0A0F0A; }
.tp-yuki    { --b: #F3EFE7; --i: #151515; --a: #E5402A; --s: #E2DCD0; }
.tp-lena    { --b: #05070B; --i: #E8EEF6; --a: #3CF2A1; --s: #111822; }
.tp-arjun   { --b: #0B1A33; --i: #F3EEDF; --a: #C9A45C; --s: #16284A; }
.tp-nair    { --b: #F5FBF8; --i: #12332C; --a: #0F766E; --s: #DDEFE8; }
@media (prefers-reduced-motion: reduce) {
  .js .wizard .step.is-current { animation: none; }
  .wiz-track i, .tp-card { transition: none; }
  .tp-card:hover { transform: none; }
}

.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 18px; }
input[type="radio"] { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--accent); flex-shrink: 0; }
.domain-name[hidden] { display: none; }
.domain-name { margin-top: 6px; }

/* =====================================================================
   SAMPLE PORTFOLIOS — theme studio and the kit examples
   ===================================================================== */

.jump-links { display: flex; flex-wrap: wrap; gap: 10px; }
.jump-links a {
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font-size: 14.5px; text-decoration: none;
  background: rgba(255,255,255,.03); transition: border-color .15s ease, color .15s ease;
}
.jump-links a:hover { border-color: var(--accent); color: var(--accent); }
.sec-intro { display: flex; flex-direction: column; gap: 14px; max-width: 64ch; }
#themes, #examples, #showcase { scroll-margin-top: 80px; }

.studio { display: grid; grid-template-columns: minmax(300px, 370px) minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); align-items: start; }

/* the control panel: a glass card with numbered steps */
.studio-screen { position: sticky; top: 92px; }   /* the preview stays in view while themes are picked */
.studio-controls {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(94,234,212,.10), transparent 60%),
    radial-gradient(120% 60% at 100% 100%, rgba(139,92,246,.12), transparent 60%),
    rgba(12, 18, 40, .82);
  border: 1px solid rgba(160,178,235,.18); border-radius: 20px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
}
.studio-step { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.studio-step label { cursor: pointer; }
.st-num {
  display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8B5CF6); color: #04221E;
  font: 600 13px var(--mono);
}
.studio-step + .studio-themes, .st-person + .studio-step { margin-top: 4px; }
.st-person + .studio-step { padding-top: 16px; border-top: 1px solid var(--line); }

/* person: monogram + a borderless select + role line */
.st-person {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(6, 10, 24, .55);
  transition: border-color .15s ease;
}
.st-person:hover, .st-person:focus-within { border-color: var(--accent); }
.st-avatar {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(94,234,212,.9), transparent 60%), radial-gradient(circle at 75% 80%, rgba(139,92,246,.95), transparent 60%), #1B2446;
  color: #fff; font: 600 16px var(--sans); letter-spacing: .02em;
  box-shadow: 0 0 24px -6px rgba(94,234,212,.55);
}
.st-person-pick { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.st-person select {
  min-height: 0; padding: 0 22px 0 0; width: 100%;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235EEAD4' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 2px center / 11px 8px;
  border: 0; -webkit-appearance: none; appearance: none;
  color: var(--ink); font: 600 16px var(--sans); text-overflow: ellipsis; cursor: pointer;
}
.st-person select:focus-visible { outline: none; }
.st-person-sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* themes: tiles with a real preview swatch */
.studio-themes { display: flex; flex-direction: column; gap: 8px; }
.studio-themes .tp-group-title { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 11px; }
.studio-themes .tp-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* each group is one row: four tiles in the first, three in the others */
.st-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.st-theme {
  position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 7px;
  padding: 6px 6px 8px;
  background: rgba(6, 10, 24, .55);
  border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink-2); font: 500 13.5px var(--sans); text-align: left; cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, color .15s ease;
}
.st-theme .tp-sw { width: 100%; height: 58px; margin: 0; border-radius: 8px; }
.st-name { padding-left: 2px; }
.st-theme:hover { border-color: rgba(94,234,212,.6); color: var(--ink); transform: translateY(-2px); }
.st-theme[aria-pressed="true"] {
  border-color: var(--accent); color: var(--ink);
  background: linear-gradient(180deg, rgba(94,234,212,.14), rgba(6,10,24,.55));
  box-shadow: 0 0 0 1px var(--accent), 0 10px 28px -10px rgba(94,234,212,.55);
}
.st-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-theme[aria-pressed="true"]::before {
  content: "\2713"; position: absolute; left: 10px; top: 10px; z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); color: #04221E; font: 700 10px/1 var(--sans);
}
.st-theme.is-rec::after {
  content: "Suggested"; position: absolute; top: 9px; right: 9px;
  padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: #04221E; font: 600 9px/1.7 var(--sans); letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.st-theme.is-rec[aria-pressed="true"]::after { display: none; }   /* the panel below says it instead */

/* what is chosen now */
.st-now { padding: 14px 16px; border-radius: 14px; background: rgba(94,234,212,.07); border: 1px solid rgba(94,234,212,.25); }
.st-now p { margin: 0; }
.st-now-title { display: flex; align-items: center; gap: 8px; font: 500 20px var(--serif); color: var(--ink); }
.st-now-tag { padding: 1px 8px; border-radius: 999px; background: var(--accent); color: #04221E; font: 600 11px/1.7 var(--sans); }
.st-now-tag[hidden] { display: none; }
.st-now-desc { margin-top: 2px !important; font-size: 14.5px; color: var(--ink-2); }
.st-now-note { margin-top: 8px !important; font-size: 13px; color: var(--muted); }
.st-now-note:empty { display: none; }
.st-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.st-actions .btn { flex: 1; justify-content: center; }
.st-open { color: var(--accent); font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.st-open:hover { text-decoration: underline; }
.studio-screen { --tilt: 0deg; transform: none; }
.studio-screen:hover, .studio-screen:focus-visible { transform: none; }

.pkx-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.pkx-filter button {
  min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.03); color: var(--ink-2); font: 500 14.5px var(--sans); cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.pkx-filter button:hover { border-color: var(--accent); color: var(--ink); }
.pkx-filter button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #04221E; }
.pkx[hidden] { display: none; }
.pkx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(22px, 2.6vw, 34px); }
.pkx { display: flex; flex-direction: column; gap: 16px; }
.pkx-screen { --tilt: 0deg; transform: none; }
.pkx-screen:hover, .pkx-screen:focus-visible { transform: translateY(-4px); }
.pkx-copy { display: flex; flex-direction: column; gap: 6px; }
.pkx-copy h3 { font-size: 23px; }
.pkx-copy p { color: var(--ink-2); font-size: 15.5px; }
.pkx-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; font-size: 14.5px; }
.pkx-copy .pkx-links a { color: var(--accent); }

@media (max-width: 900px) {
  .studio { grid-template-columns: 1fr; }
  .studio-controls { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-theme, .st-theme:hover { transition: none; transform: none; }
  .pkx-screen:hover, .pkx-screen:focus-visible { transform: none; }
}

/* =====================================================================
   PHONES — everything we offer one tap away, and smooth scrolling.
   Computers are untouched: these pieces only show at 760px and below
   (the menu's extras at 900px, where the ☰ menu takes over).
   ===================================================================== */

.tabbar, .offer-grid, .nav-sub, .nav-contact, .m-more { display: none; }
@media (hover: none), (max-width: 760px) { .hover-only { display: none; } }

/* the ☰ menu: what each page holds, then WhatsApp and Call */
@media (max-width: 900px) {
  .js .site-nav { max-height: calc(100vh - 80px); overflow-y: auto; }
  .js .site-nav a:not(.btn) { display: flex; flex-direction: column; gap: 2px; padding: 12px 2px; }
  .nav-sub { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
  .nav-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
  .js .site-nav .nav-contact a {
    display: flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0; border: 0; border-radius: 12px;
    font-size: 15px; font-weight: 600; text-decoration: none;
  }
  .js .site-nav .nav-contact .nav-wa { background: #25D366; color: #fff; }
  .js .site-nav .nav-contact .nav-call { border: 1px solid var(--line); color: var(--ink); }
}

@media (max-width: 760px) {
  /* ---- speed: no fixed, blurred or endlessly animated full-screen layers ---- */
  body { background-attachment: scroll; }
  .aurora { animation: none; }
  .site-header { background: rgba(6, 9, 22, .97); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .studio-controls { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .spotlight { display: none; }

  /* ---- tab bar along the bottom ---- */
  html.has-tabbar body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
    padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
    background: rgba(7, 10, 24, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .35);
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 54px; border-radius: 12px;
    color: var(--muted); font: 500 11px/1.1 var(--sans); text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar a:active { background: rgba(255, 255, 255, .05); }
  .tabbar a[aria-current="page"] { color: var(--accent); }
  .tabbar a[aria-current="page"] svg { filter: drop-shadow(0 0 8px rgba(94, 234, 212, .6)); }
  .tabbar .tab-start span { color: var(--accent); font-weight: 600; }
  .tabbar .tab-start svg {
    width: 44px; height: 28px; padding: 3px 11px; border-radius: 999px;
    background: linear-gradient(180deg, #5EEAD4, #34C9B4); color: #04221E;
    box-shadow: 0 0 18px -4px rgba(94, 234, 212, .8);
  }

  /* one floating button, not three: WhatsApp lives in the menu and the chat */
  .wa-float, .cfa-teaser { display: none; }
  .cfa-launch { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); width: 50px; height: 50px; }
  html:has(.wizard) .cfa-launch { bottom: calc(150px + env(safe-area-inset-bottom)); }   /* clear of the form's Back / Next bar */
  .cfa-panel {
    left: 8px; right: 8px; width: auto;
    bottom: calc(140px + env(safe-area-inset-bottom));
    height: min(560px, calc(100vh - 230px));
  }

  /* ---- home: what we offer, first ---- */
  .hero-art, .cta-third, .hero-prices { display: none; }
  .offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 4px; }
  .offer {
    position: relative; display: flex; flex-direction: column; gap: 1px;
    padding: 13px 14px 12px;
    background: rgba(14, 20, 44, .82); border: 1px solid var(--line); border-radius: 14px;
    color: var(--ink); text-decoration: none;
  }
  .offer::after { content: "\2192"; position: absolute; top: 11px; right: 12px; color: var(--accent); }
  .offer:active { border-color: var(--accent); }
  .offer-name { font-size: 15px; font-weight: 600; }
  .offer-price { font: 500 25px/1.2 var(--serif); color: var(--accent); }
  .offer-what { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
  .offer-pf {
    background: linear-gradient(135deg, rgba(94, 234, 212, .14), rgba(139, 92, 246, .16)), rgba(14, 20, 44, .82);
    border-color: rgba(94, 234, 212, .4);
  }
  .offer-more { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
  .offer-more a { color: var(--accent); }

  /* ---- long lists: a few, then "Show all" ---- */
  .m-cut { display: none !important; }
  .m-more {
    display: flex; align-items: center; justify-content: center;
    width: 100%; min-height: 48px; margin-top: 12px;
    background: rgba(94, 234, 212, .06); border: 1px dashed rgba(94, 234, 212, .5); border-radius: 12px;
    color: var(--accent); font: 600 15px var(--sans); cursor: pointer;
  }
  .m-more[hidden] { display: none; }
  .filters.cv-filters {
    -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent);
    mask-image: linear-gradient(90deg, #000 86%, transparent);
  }

  /* sample CVs: two to a row, smaller */
  .cv-field { padding-block: 4px 12px; }
  .cv-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cv-thumb { height: 116px; padding: 14px 12px 0; }
  .cv-thumb .paper { gap: 4px; padding: 11px 10px 0; }
  .cv-thumb .t-name { font-size: 12px; line-height: 1.35; }
  .cv-thumb .t-title { font-size: 8px; }
  .cv-card-body { gap: 3px; padding: 10px 12px 12px; }
  .cv-card .s-name { font-size: 16px; }
  .cv-card .s-role { font-size: 12px; }
  .cv-card .s-go { margin-top: 2px; font-size: 13px; }

  /* templates: two to a row; the preview does the describing */
  .tpl-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tpl-body { gap: 8px; padding: 12px; }
  .tpl-top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .tpl-top h2 { font-size: 19px; }
  .tpl-body > p { display: none; }
  .tpl-actions { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 2px; }
  .tpl-actions .btn { justify-content: center; }
  .tpl-open { text-align: center; font-size: 13px; }

  /* order form: Back / Next stay in reach above the tab bar */
  .js .wiz-nav {
    position: sticky; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 6;
    margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter);
    background: rgba(7, 10, 24, .97);
  }
}

/* theme studio on phones and tablets: the preview first, pinned while themes are tapped */
@media (max-width: 900px) {
  .studio-screen { order: -1; position: sticky; top: 76px; z-index: 5; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7); }
}
