/* ASP — flowfinds-solutions.com. Monochrome, one family (Archivo, variable width), one bold moment (the hero flow). */
@property --w { syntax: "<number>"; inherits: true; initial-value: 100; }
@property --wg { syntax: "<number>"; inherits: true; initial-value: 400; }
@property --t { syntax: "<number>"; inherits: false; initial-value: 1; }

:root {
  --black: #000;
  --white: #fff;
  --ink-2: #4a4a4a;      /* secondary text on white, 8.9:1 */
  --ash: #a3a3a3;        /* secondary text on black, 8.4:1 */
  --rule: #dcdcdc;
  --rule-dark: #2e2e2e;
  --f: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --band: clamp(80px, 11vw, 168px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--black); color: var(--black);
  font: 400 1.0625rem/1.6 var(--f); font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--black); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.band-black { background: var(--black); color: var(--white); }
.band-white { background: var(--white); color: var(--black); }
.band { padding-block: var(--band); }

/* ---------- type ---------- */
.display-xl, .display-l, .display-m, .display-s, .hero-title {
  font-weight: normal; font-variation-settings: "wdth" var(--w), "wght" var(--wg);
  letter-spacing: -0.03em; text-wrap: balance;
}
.display-l { --w: 112; --wg: 460; font-size: clamp(2.25rem, 5.4vw, 4.75rem); line-height: 1.02; max-width: 17ch; }
.display-m { --w: 112; --wg: 440; font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.04; max-width: 18ch; }
.display-s { --w: 110; --wg: 520; font-size: clamp(1.75rem, 3vw, 2.625rem); line-height: 1.08; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; max-width: 44ch; text-wrap: pretty; }
.band-white .lead, .band-white .muted { color: var(--ink-2); }
.band-black .lead, .band-black .muted { color: var(--ash); }
.section-head { display: grid; gap: 24px; margin-bottom: clamp(48px, 7vw, 96px); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid currentColor;
  font-size: 1rem; font-variation-settings: "wdth" 104, "wght" 600; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: transparent; color: var(--black); }
.btn-ghost { background: transparent; }
.band-black .btn-ghost:hover { background: var(--white); color: var(--black); }
.band-white .btn-ghost:hover { background: var(--black); color: var(--white); }
.btn[disabled] { opacity: .5; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-block; font-variation-settings: "wdth" 104, "wght" 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px;
  transition: background-size .3s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--white);
  border-bottom: 1px solid transparent; transition: border-color .3s; view-transition-name: site-header;
}
.site-header.is-scrolled { border-bottom-color: var(--rule-dark); }
.header-row { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: grid; line-height: 1; text-decoration: none; margin-right: auto; }
.brand-mark { font-size: 1.75rem; font-variation-settings: "wdth" 125, "wght" 800; letter-spacing: .06em; }
.brand-sub { margin-top: 5px; font-size: .6875rem; font-variation-settings: "wdth" 100, "wght" 500; color: var(--ash); letter-spacing: .01em; }
.nav-main { display: flex; gap: 28px; }
.nav-main a, .menu-sheet nav a { text-decoration: none; }
.nav-main a { font-size: .9375rem; font-variation-settings: "wdth" 100, "wght" 500; color: var(--ash); transition: color .2s; padding-block: 6px; }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--white); }
.nav-main a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--white); }
.header-cta { min-height: 44px; padding: 0 22px; font-size: .9375rem; }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; place-items: center; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; box-shadow: 0 7px 0 currentColor; transform: translateY(-3.5px); }

.menu-sheet { display: none; }
.menu-sheet.open { display: block; position: fixed; z-index: 100; }
@supports selector(:popover-open) { .menu-sheet:popover-open { display: block; } }
.menu-sheet {
  inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--black); color: var(--white); overflow-y: auto;
}
.menu-sheet::backdrop { background: transparent; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.menu-close { width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-close::before, .menu-close::after { content: ""; position: absolute; left: 11px; top: 21px; width: 22px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.menu-close::after { transform: rotate(-45deg); }
.menu-sheet nav { display: grid; padding-block: 24px 40px; }
.menu-sheet nav a {
  --w: 115; padding-block: 14px; border-bottom: 1px solid var(--rule-dark);
  font-size: clamp(2rem, 9vw, 3rem); line-height: 1.05; font-variation-settings: "wdth" var(--w), "wght" 420; letter-spacing: -0.02em;
}
.menu-sheet .btn { width: 100%; }
.menu-sheet .muted { margin-top: 20px; color: var(--ash); font-size: .9375rem; }
.menu-sheet:popover-open nav a { animation: menu-in .5s var(--ease) both; }
.menu-sheet:popover-open nav a:nth-child(2) { animation-delay: .04s; }
.menu-sheet:popover-open nav a:nth-child(3) { animation-delay: .08s; }
.menu-sheet:popover-open nav a:nth-child(4) { animation-delay: .12s; }
.menu-sheet:popover-open nav a:nth-child(5) { animation-delay: .16s; }
@keyframes menu-in { from { opacity: 0; --w: 70; } to { opacity: 1; } }

@media (max-width: 1080px) {
  .nav-main, .header-cta { display: none; }
  .menu-btn { display: grid; }
}

/* ---------- hero (the one bold moment) ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 128px); isolation: isolate; }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(36px, 5vw, 72px); }
.hero-title {
  grid-column: 1 / -1; --w: 118; --wg: 300;
  font-size: clamp(2.9rem, 8.6vw, 9rem); line-height: .9; letter-spacing: -0.045em;
  padding-top: .06em; /* room for Á/Ő accents */
}
.hero-title .line { display: block; white-space: nowrap; font-variation-settings: "wdth" var(--w), "wght" var(--wg); }
.js .hero-title .line { animation: flow-open 1.6s var(--ease) backwards; }
.js .hero-title .line:nth-child(2) { animation-delay: .12s; }
.js .hero-title .line:nth-child(3) { animation-delay: .24s; }
@keyframes flow-open { from { opacity: 0; --w: 62; --wg: 700; filter: blur(6px); } 55% { opacity: 1; filter: blur(0); } }
.hero-title { transform-origin: 0 100%; }
.hero-side { grid-column: 1 / span 4; display: grid; align-content: start; gap: 36px; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--rule-dark); }
.facts li { padding-block: 18px; border-bottom: 1px solid var(--rule-dark); color: var(--ash); font-size: .9688rem; line-height: 1.5; }
.facts strong { display: block; color: var(--white); font-weight: normal; font-variation-settings: "wdth" 108, "wght" 600; font-size: 1.0625rem; margin-bottom: 2px; }
.hero-wizard { grid-column: 5 / -1; }
.wizard-card { background: var(--white); color: var(--black); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 120px rgba(0,0,0,.6); }
.wizard-card iframe { width: 100%; height: 640px; border: 0; }
.js .hero .wizard-card { animation: card-rise 1.1s .55s var(--ease) both; }
@keyframes card-rise { from { opacity: 0; transform: translateY(48px); } }
@media (max-width: 1080px) {
  .hero-side, .hero-wizard { grid-column: 1 / -1; }
  .hero-side { grid-template-columns: 1fr; }
  .hero-wizard { margin-inline: calc(-1 * var(--gut) + 8px); }
}
@media (max-width: 560px) {
  .hero-title { --w: 96; font-size: clamp(2.6rem, 12.2vw, 4rem); line-height: .94; }
  .hero-wizard { margin-inline: -8px; }
  .facts li:nth-child(n+3) { display: none; }
}

/* page heroes (inner pages) */
.page-hero { padding-block: clamp(56px, 9vw, 128px) clamp(56px, 7vw, 104px); }
.page-hero h1 { margin-bottom: 28px; }
.page-hero .lead { max-width: 52ch; }

/* ---------- services rows ---------- */
.svc { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.svc:last-child { border-bottom: 1px solid var(--black); }
.svc-text { grid-column: 1 / span 6; display: grid; gap: 22px; align-content: start; }
.svc-art { grid-column: 8 / -1; }
.svc-flip .svc-text { grid-column: 7 / -1; grid-row: 1; }
.svc-flip .svc-art { grid-column: 1 / span 5; grid-row: 1; }
.svc-text > p { color: var(--ink-2); max-width: 52ch; }
.svc-kicker { font-size: .9375rem; color: var(--ink-2); font-variation-settings: "wdth" 100, "wght" 500; }
@media (max-width: 900px) {
  .svc-text, .svc-art, .svc-flip .svc-text, .svc-flip .svc-art { grid-column: 1 / -1; grid-row: auto; }
}
.ticks { display: grid; gap: 12px; max-width: 56ch; }
.ticks li { position: relative; padding-left: 30px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 16px; height: 1px; background: currentColor; }
.band-white .ticks li { color: var(--ink-2); }
.band-black .ticks li { color: var(--ash); }

/* line art: drawn once when it enters the viewport; the AI dots travel only while visible */
.art { width: 100%; height: auto; color: var(--black); overflow: visible; }
.art .d { fill: none; stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.art .f { fill: currentColor; }
.art .t { font: 500 13px var(--f); fill: currentColor; font-variation-settings: "wdth" 100, "wght" 500; }
.js .art .d { --t: clamp(0, calc(var(--p, 1) * 1.5 - var(--i, 0) * .04), 1); stroke-dasharray: var(--len, none); stroke-dashoffset: calc(var(--len, 0px) * (1 - var(--t))); }
.js .art .fade { opacity: clamp(0, calc((var(--p, 1) * 1.5 - var(--i, 0) * .04) * 2 - 1), 1); }
.art .phone { transform: translate(calc((1 - var(--p, 1)) * 90px), calc((1 - var(--p, 1)) * 24px)); }

/* ---------- process (a real sequence, so it is numbered) ---------- */
.process-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.process-head .display-l { font-size: clamp(2.25rem, 4.2vw, 3.9rem); }
.process-head { grid-column: 1 / span 5; align-self: start; position: sticky; top: 124px; display: grid; gap: 28px; }
.steps { grid-column: 7 / -1; position: relative; counter-reset: step; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--rule-dark); }
.steps::after { background: var(--white); transform-origin: 0 0; transform: scaleY(var(--p, 0)); }
.step { position: relative; padding: 0 0 clamp(48px, 6vw, 80px) clamp(28px, 4vw, 56px); counter-increment: step; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(step); display: block; margin-bottom: 14px;
  font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 1; font-variation-settings: "wdth" 62, "wght" 200;
  color: var(--rule-dark); transition: color .5s, font-variation-settings .9s var(--ease);
}
.step h3 { font-weight: normal; font-variation-settings: "wdth" 110, "wght" 560; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.15; margin-bottom: 10px; color: #6f6f6f; transition: color .5s; }
.step p { color: #6f6f6f; max-width: 46ch; transition: color .5s; }
.step.is-on::before { color: var(--white); font-variation-settings: "wdth" 125, "wght" 300; }
.step.is-on h3 { color: var(--white); }
.step.is-on p { color: var(--ash); }
.no-js .step::before, .no-js .step h3 { color: var(--white); }
.no-js .step p { color: var(--ash); }
@media (max-width: 900px) {
  .process-head, .steps { grid-column: 1 / -1; }
  .process-head { position: static; }
}

/* ---------- principles (not a sequence: no numbers) ---------- */
.principles { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.principle { padding: clamp(32px, 4vw, 56px) clamp(0px, 3vw, 48px) clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--rule); display: grid; gap: 14px; align-content: start; }
.band-black .principle { border-bottom-color: var(--rule-dark); }
.principle:nth-child(even) { padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--rule); }
.band-black .principle:nth-child(even) { border-left-color: var(--rule-dark); }
.principle h3 { font-weight: normal; font-variation-settings: "wdth" 110, "wght" 540; font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.12; letter-spacing: -0.015em; }
.principle p { max-width: 50ch; }
.band-white .principle p { color: var(--ink-2); }
.band-black .principle p { color: var(--ash); }
@media (max-width: 760px) {
  .principles { grid-template-columns: 1fr; }
  .principle:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- prices (typeset list, gated by the wizard's A/B arm) ---------- */
.rates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
@media (max-width: 700px) { .rates { grid-template-columns: 1fr; } }
.rate { position: relative; display: grid; gap: 14px; padding-top: 24px; align-content: start; }
.rate-num { font-size: clamp(3.25rem, 7.6vw, 7rem); line-height: .9; letter-spacing: -0.045em; white-space: nowrap; font-variant-numeric: tabular-nums;
  font-variation-settings: "wdth" calc(62 + 56 * var(--p, 1)), "wght" var(--wg); --wg: 260; }
.rate-first .rate-num { --wg: 560; }
.rate-label { color: var(--ink-2); max-width: 34ch; }
.price-foot { margin-top: 28px; color: var(--ink-2); font-size: .9375rem; max-width: 70ch; }
/* ---------- terms list ---------- */
.terms-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.terms-list li { padding-block: 20px; border-top: 1px solid var(--rule); color: var(--ink-2); }
@media (max-width: 760px) { .terms-list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.faq-grid > .section-head { grid-column: 1 / span 4; align-self: start; }
.faq { position: relative; grid-column: 6 / -1; }
@media (max-width: 900px) { .faq-grid > .section-head, .faq { grid-column: 1 / -1; } }
.faq details { border-bottom: 1px solid var(--rule); interpolate-size: allow-keywords; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding-block: 24px; font-size: clamp(1.125rem, 1.7vw, 1.3125rem); line-height: 1.3; font-variation-settings: "wdth" 106, "wght" 540;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); max-width: 62ch; padding-bottom: 26px; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- closing CTA ---------- */
.closing { text-align: left; }
.closing-title { --w: 118; --wg: 300; font-weight: normal; font-variation-settings: "wdth" var(--w), "wght" var(--wg); font-size: clamp(3.25rem, 12vw, 11rem); line-height: .88; letter-spacing: -0.05em; margin-bottom: clamp(32px, 4vw, 56px); transition: --w .9s var(--ease); }
.closing:hover .closing-title { --w: 125; }
.closing .lead { margin-bottom: 36px; }

/* ---------- forms (contact, booking) ---------- */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field > span, .field legend { font-size: .9375rem; font-variation-settings: "wdth" 100, "wght" 600; padding: 0; }
.field small { color: var(--ink-2); font-size: .875rem; }
.input {
  width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid #bdbdbd; border-radius: 10px; background: var(--white);
  font-size: 1.0625rem; transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 150px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 16px center no-repeat; padding-right: 40px; }
.input:hover { border-color: #7a7a7a; }
.input:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,.12); }
.input[aria-invalid="true"] { border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,.2); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #bdbdbd; border-radius: 10px; overflow: hidden; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 52px; padding: 0 12px; font-variation-settings: "wdth" 104, "wght" 560; transition: background .2s, color .2s; text-align: center; }
.seg label + label span { border-left: 1px solid #bdbdbd; }
.seg input:checked + span { background: var(--black); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--black); outline-offset: -4px; }
.form-err { min-height: 1.5em; font-variation-settings: "wdth" 100, "wght" 600; }
.form-note { color: var(--ink-2); font-size: .9375rem; }
.form-note a { color: var(--black); }
.done { display: grid; gap: 18px; padding-block: 8px; }
.done h2 { font-weight: normal; font-variation-settings: "wdth" 112, "wght" 460; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.08; letter-spacing: -0.02em; }
.done p { color: var(--ink-2); }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.split-main { grid-column: 1 / span 7; }
.split-side { grid-column: 9 / -1; display: grid; gap: 0; align-content: start; border-top: 1px solid var(--black); }
@media (max-width: 900px) { .split-main, .split-side { grid-column: 1 / -1; } }
.side-item { padding-block: 24px; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; }
.side-item h2 { font-weight: normal; font-variation-settings: "wdth" 106, "wght" 600; font-size: 1.125rem; }
.side-item p { color: var(--ink-2); }

/* ---------- company facts ---------- */
.facts-table { display: grid; border-top: 1px solid var(--black); }
.facts-table div { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--rule); }
.facts-table dt { color: var(--ink-2); }
.facts-table dd { margin: 0; font-variation-settings: "wdth" 104, "wght" 560; }
@media (max-width: 560px) { .facts-table div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- legal ---------- */
.legal { padding-block: var(--band); }
.legal > * { max-width: 74ch; }
.legal h2 { font-weight: normal; font-variation-settings: "wdth" 108, "wght" 600; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; margin: 2.4em 0 .7em; }
.legal h2:first-child { margin-top: 0; }
.legal h3, .legal h4 { font-weight: normal; font-variation-settings: "wdth" 104, "wght" 600; font-size: 1.125rem; margin: 1.6em 0 .5em; }
.legal p, .legal li { color: #2f2f2f; }
.legal p + p { margin-top: .8em; }
.legal ul, .legal ol { margin: .6em 0 1em; padding-left: 1.3em; list-style: disc; display: grid; gap: .45em; }
.legal ol { list-style: decimal; }
.legal strong { font-weight: normal; font-variation-settings: "wdth" 100, "wght" 650; color: var(--black); }
.legal-meta { color: var(--ash); max-width: 60ch; margin-top: 14px; }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding-block: clamp(64px, 8vw, 112px) 40px; border-top: 1px solid var(--rule-dark); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h2 { font-weight: normal; font-size: .9375rem; font-variation-settings: "wdth" 100, "wght" 600; margin-bottom: 16px; }
.foot-grid ul { display: grid; gap: 10px; }
.foot-grid a { color: var(--ash); text-decoration: none; transition: color .2s; }
.foot-grid a:hover { color: var(--white); }
.foot-brand p { color: var(--ash); max-width: 32ch; margin-top: 18px; }
.foot-co { color: var(--ash); font-size: .9375rem; line-height: 1.7; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--rule-dark); color: #7d7d7d; font-size: .875rem; }
.foot-bottom a { color: #7d7d7d; text-decoration: none; }
.foot-bottom a:hover { color: var(--white); }
.foot-bottom span { margin-right: auto; }

/* ---------- 404 ---------- */
.nf { min-height: calc(100dvh - 76px); display: grid; align-content: center; padding-block: 64px; }
.nf-code { --w: 125; --wg: 200; font-size: clamp(6rem, 30vw, 22rem); line-height: .8; letter-spacing: -0.06em; font-variation-settings: "wdth" var(--w), "wght" var(--wg); }
.js .nf-code { animation: flow-open 1.8s var(--ease) backwards; }

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .22s ease both vt-out; }
::view-transition-new(root) { animation: .38s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  @view-transition { navigation: none; }
}

/* ---------- scroll choreography: one --p (0..1) per element, written by asp.js; without JS --p is absent and everything is final ---------- */
.svc::before, .principles::before, .faq::before, .rate::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: currentColor;
  transform-origin: 0 0; transform: scaleX(var(--p, 1));
}
.band-white .svc::before, .band-white .faq::before, .band-white .rate::before { background: var(--black); }

/* headings unfold letter by letter: each word keeps its final width, its letters grow from condensed to full width */
.wave .wv { display: inline-block; white-space: nowrap; text-align: center; }
.wave .ch {
  display: inline-block; --t: clamp(0, calc(var(--p, 1) * 1.7 - var(--i, 0) / var(--n, 1) * .7), 1);
  font-variation-settings: "wdth" calc(62 + (var(--w) - 62) * var(--t)), "wght" var(--wg);
  opacity: calc(.16 + .84 * var(--t)); transform: translateY(calc((1 - var(--t)) * .16em));
}
.wave.measuring .ch { --t: 1 !important; }
.page-hero .wave .ch { animation: ch-in 1.2s var(--ease) backwards; animation-delay: calc(80ms + var(--i, 0) * 16ms); }
@keyframes ch-in { from { --t: 0; } }

/* ---------- references (project showcase: device frames, live preview, hours × rate) ---------- */
.refs { display: grid; }
.ref { position: relative; padding-block: clamp(48px, 6vw, 96px); }
.ref::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--black); transform-origin: 0 0; transform: scaleX(var(--p, 1)); }
.ref:last-child { border-bottom: 1px solid var(--black); }
.ref-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(28px, 4vw, 48px); }
.ref-head { grid-column: 1 / -1; display: grid; gap: 14px; }
.ref-head .display-s { max-width: 22ch; }
.ref-tagline { color: var(--ink-2); max-width: 60ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); text-wrap: pretty; }
.ref-stage { grid-column: 1 / span 8; position: relative; margin: 0; }
.ref-body { grid-column: 1 / span 8; display: grid; gap: 22px; }
.ref-summary { color: var(--ink-2); max-width: 62ch; }
.ref-price { grid-column: 9 / -1; grid-row: 2 / span 2; align-self: start; position: sticky; top: 100px; display: grid; gap: 22px; }
.device { background: var(--black); border-radius: 14px; padding: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .18); }
.device-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 6px; color: var(--ash); font-size: .75rem; }
.device-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--rule-dark); }
.device-bar i { margin-left: 10px; font-style: normal; font-variation-settings: "wdth" 100, "wght" 500; }
.device-screen { position: relative; overflow: hidden; background: var(--white); border-radius: 6px; aspect-ratio: 1440 / 900; }
.device-phone { position: absolute; right: -3%; bottom: -9%; width: 21%; border-radius: 26px; padding: 6px; }
.device-phone .device-screen { aspect-ratio: 390 / 844; border-radius: 20px; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-screen iframe { position: absolute; inset: 0; max-width: none; width: 1440px; height: 900px; border: 0; background: var(--white); transform-origin: 0 0; transform: scale(var(--s, 1)); }
.device-phone .device-screen iframe { width: 390px; height: 844px; }
.is-live .device-screen img { visibility: hidden; }
.ref-stage-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(36px, 6vw, 72px); }
.ref-facts { display: grid; border-top: 1px solid var(--black); }
.ref-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.ref-facts dt { color: var(--ink-2); }
.ref-facts dd { margin: 0; font-variation-settings: "wdth" 104, "wght" 560; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ref-total dd { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; letter-spacing: -0.02em; }
.ref-total small { font-size: .9375rem; color: var(--ink-2); letter-spacing: 0; }
.ref-hours { border-bottom: 1px solid var(--rule); }
.ref-hours summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; font-variation-settings: "wdth" 104, "wght" 600; }
.ref-hours summary::-webkit-details-marker { display: none; }
.ref-hours summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; transition: transform .35s var(--ease); }
.ref-hours[open] summary::after { transform: rotate(45deg); }
.ref-hours table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin-bottom: 14px; }
.ref-hours th { text-align: left; font-weight: normal; color: var(--ink-2); padding: 8px 12px 8px 0; border-top: 1px solid var(--rule); }
.ref-hours td { text-align: right; padding: 8px 0; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ref-hours .sum th, .ref-hours .sum td { color: var(--black); font-variation-settings: "wdth" 104, "wght" 600; border-top-color: var(--black); }
.ref-stack { color: var(--ink-2); font-size: .9375rem; }
.ref-price .btn { justify-self: start; }
.band-black .split-side { border-top-color: var(--rule-dark); }
.band-black .side-item { border-bottom-color: var(--rule-dark); }
.band-black .side-item p { color: var(--ash); }
@media (max-width: 1080px) { .ref-price { position: static; } }
@media (max-width: 900px) { .ref-stage, .ref-body, .ref-price { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 760px) {
  .ref-stage .device-desktop { display: none; }
  .device-phone { position: static; width: min(100%, 320px); margin-inline: auto; }
  .ref-stage-actions { margin-top: 24px; justify-content: center; }
}
/* the rest of the references: card grid */
.ref-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 40px); }
.ref-card { display: grid; gap: 22px; align-content: start; }
.ref-card-shot { display: block; text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.ref-card-shot:hover { transform: translateY(-4px); box-shadow: 0 40px 90px rgba(0, 0, 0, .22); }
.ref-card-body { display: grid; gap: 10px; }
.ref-card h3 { font-weight: normal; font-variation-settings: "wdth" 110, "wght" 540; font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.12; letter-spacing: -0.015em; max-width: 24ch; }
.ref-card-body > p { color: var(--ink-2); max-width: 54ch; text-wrap: pretty; }
.ref-card-price { color: var(--black); font-variant-numeric: tabular-nums; }
.ref-card-price b { font-weight: normal; font-size: clamp(1.375rem, 2vw, 1.75rem); letter-spacing: -0.02em; font-variation-settings: "wdth" 104, "wght" 600; }
.ref-card-price span { color: var(--ink-2); font-size: .9375rem; }
.ref-card .actions { margin-top: 8px; }
@media (max-width: 760px) { .ref-cards { grid-template-columns: 1fr; } }
