/* ClientDriven agency site. Dark first screen and footer (the brand: rich black and orange), light page between them.
   One text family (Inter Tight, with Greek) served from this site. Everything is readable and usable without JavaScript;
   site.js only adds motion on top of a page that is already visible. */

@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/inter-tight-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/unbounded-700-latin.woff2") format("woff2"); unicode-range: U+0061-007A; }
/* the stand-in shown for a moment before Inter Tight arrives. Each weight and alphabet is sized to the measured width
   of the real font (tests/check.mjs measures the jump), so lines break in the same places and the page does not move. */
@font-face { font-family: "Inter Tight Fallback"; src: local("Arial"); font-weight: 400 500; size-adjust: 96.3%; unicode-range: U+0000-036F, U+2000-20CF; }
@font-face { font-family: "Inter Tight Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 700; size-adjust: 95.4%; unicode-range: U+0000-036F, U+2000-20CF; }
@font-face { font-family: "Inter Tight Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 800; size-adjust: 97.4%; unicode-range: U+0000-036F, U+2000-20CF; }
@font-face { font-family: "Inter Tight Fallback"; src: local("Arial"); font-weight: 400 500; size-adjust: 98.4%; unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: "Inter Tight Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 700; size-adjust: 97.8%; unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: "Inter Tight Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 800; size-adjust: 100%; unicode-range: U+0370-03FF, U+1F00-1FFF; }

:root {
  --bg: #faf9f6;
  --card: #ffffff;
  --card-2: #f1efeb;
  --line: rgb(23 19 14 / 0.1);
  --line-2: rgb(23 19 14 / 0.2);
  --text: #17130e;
  --mute: #57534d;
  --acc: #c2410c;            /* orange for words, icons and outlines: readable on this background */
  --fill: #ff6b1a;           /* the brand orange, for filled buttons (always with dark words on it) */
  --fill-2: #ff8a45;
  --fill-ink: #160700;
  --tint: #fff0e3;
  --glow: rgb(255 107 26 / 0.35);
  --shadow: 0 1px 2px rgb(23 19 14 / 0.05), 0 12px 28px -14px rgb(23 19 14 / 0.16);
  --sans: "Inter Tight", "Inter Tight Fallback", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 16px;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --sec: clamp(64px, 9vw, 112px);
}
.dark, .nav, .bar, .consent {
  --bg: #08080a; --card: #131316; --card-2: #1a1a1e; --line: rgb(255 255 255 / 0.1); --line-2: rgb(255 255 255 / 0.2);
  --text: #f4f3f1; --mute: #b0aeb3; --acc: #ff7a2e; --tint: #24150b; --shadow: 0 30px 60px -20px rgb(0 0 0 / 0.7);
  color: var(--text);
}
.dark { background: var(--bg); }

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { overflow-x: clip; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--fill); color: var(--fill-ink); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mute { color: var(--mute); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.center { display: flex; justify-content: center; margin-top: 40px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--fill); color: var(--fill-ink); border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--mute); max-width: 62ch; }
.wm { font-family: "Unbounded", var(--sans); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.wm b { color: #ff6b1a; font-weight: 700; }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 99px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; background: none; transition: background 200ms, border-color 200ms, color 200ms, transform 200ms var(--ease), box-shadow 200ms; }
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn-acc { background: var(--fill); color: var(--fill-ink); box-shadow: 0 10px 30px -12px var(--glow); }
.btn-acc:hover { background: var(--fill-2); box-shadow: 0 16px 36px -12px var(--glow); }
/* a light runs round the orange buttons' edge, as on the home page (owner, 17/11/2026) */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes btn-spin { to { --spin: 360deg; } }
.btn-acc, .btn-acc:hover { --btn-bg: var(--fill); border: 3px solid transparent; background: linear-gradient(var(--btn-bg), var(--btn-bg)) padding-box, conic-gradient(from var(--spin), rgb(70 20 0 / 0.6) 0 50%, rgb(255 190 140 / 0.9) 68%, #ffffff 78%, #ffe2cc 86%, rgb(70 20 0 / 0.6) 97%) border-box; background-color: var(--btn-bg); animation: btn-spin 3.2s linear infinite; }
.btn-acc:hover { --btn-bg: var(--fill-2); }
@media (prefers-reduced-motion: reduce) { .btn-acc { animation: none; } }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); }
.btn .ic { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 15px; color: var(--text); border-bottom: 2px solid transparent; }
.link-arrow .ic { width: 16px; height: 16px; color: var(--acc); transition: transform 300ms var(--ease); }
.link-arrow:hover { color: var(--acc); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- menu: a dark pill that stays at the top ---------- */
.nav { position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 24px), 1160px); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 99px; background: rgb(14 14 17 / 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); }
.nav-brand { margin-right: auto; display: inline-flex; align-items: center; min-height: 40px; }
.nav-links { display: flex; align-items: center; gap: 2px; font-size: 14.5px; color: var(--mute); }
.nav-links > a, .nav-drop-btn { padding: 8px 12px; border-radius: 99px; transition: color 200ms, background 200ms; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); background: rgb(255 255 255 / 0.07); }
/* the language link uses the device's own letters, so English pages never download the Greek font for two letters */
.nav-lang, .lang-link { font-family: system-ui, sans-serif; }
.nav-lang { font-weight: 700; color: var(--acc); }
.nav-cta { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.nav-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.08); cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 300ms var(--ease); }
.nav-burger span:first-child { top: 18px; } .nav-burger span:last-child { top: 25px; }
.nav.is-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--mute); font-size: 14.5px; cursor: pointer; }
.nav-drop-btn:hover, .nav-drop-btn.is-current, .nav-drop.is-open .nav-drop-btn { color: var(--text); background: rgb(255 255 255 / 0.07); }
.nav-drop-btn .chev { width: 16px; height: 16px; transition: transform 300ms var(--ease); }
.nav-drop.is-open .chev { transform: rotate(180deg); }
.nav-sub { display: grid; gap: 2px; }
.nav-sub a { display: flex; align-items: center; gap: 10px; }
.nav-sub .ic { color: var(--acc); width: 18px; height: 18px; }
@media (min-width: 1024px) {
  .nav-sub { position: absolute; top: calc(100% + 14px); left: -12px; min-width: 280px; padding: 8px; border-radius: 18px; background: rgb(18 18 21 / 0.98); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgb(0 0 0 / 0.6); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 200ms, transform 300ms var(--ease), visibility 0s 200ms; }
  .nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .nav-sub a { padding: 12px 14px; border-radius: 12px; color: var(--text); }
  .nav-drop:hover .nav-sub, .nav-drop.is-open .nav-sub { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms, transform 300ms var(--ease); }
}
@media (max-width: 1023px) {
  .nav-burger { display: block; order: 3; }
  .nav-cta { order: 2; }
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; max-height: calc(100svh - 96px); overflow-y: auto; flex-direction: column; align-items: stretch; padding: 10px; border-radius: 22px; background: rgb(14 14 17 / 0.98); border: 1px solid var(--line); font-size: 17px; }
  .nav-links > a, .nav-sub a { padding: 13px 16px; border-radius: 14px; }
  .nav.is-open .nav-links { display: flex; }
  .nav-drop-btn { display: none; }
  .nav-sub { padding: 6px 0; margin: 6px 0; border-block: 1px solid var(--line); }
}
@media (max-width: 479px) { .nav-cta span { display: none; } .nav-cta { width: 44px; min-height: 44px; padding: 0; } }

/* ---------- first screen ---------- */
.hero, .phero { position: relative; overflow: hidden; border-radius: 0 0 clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px); }
.hero { padding: 128px 0 64px; }
.phero { padding: 116px 0 48px; }
@media (max-width: 767px) { .hero { padding: 100px 0 48px; } .phero { padding: 100px 0 40px; } }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 120%; background: radial-gradient(600px 400px at var(--gx, 72%) var(--gy, 28%), rgb(255 107 26 / 0.22), transparent 70%); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); opacity: 0.5; pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-in { grid-template-columns: 7fr 5fr; } }
.hero-title { font-size: clamp(34px, 5vw, 66px); letter-spacing: -0.04em; line-height: 1.02; margin: 0 0 20px; }
.h1-kicker { display: block; font-size: clamp(14px, 1.4vw, 17px); font-weight: 700; letter-spacing: 0; line-height: 1.4; color: var(--acc); margin-bottom: 14px; }
.hero-title .l1, .hero-title .l2 { display: block; }
:lang(el) .hero-title { font-size: clamp(29px, 4.4vw, 58px); }   /* Greek words are longer */
.hero-title .l2 { color: var(--acc); }
.phero-title { font-size: clamp(32px, 4.6vw, 58px); letter-spacing: -0.04em; max-width: 20ch; margin: 0 0 18px; }
.phero .wrap { position: relative; }
.price-line { margin-top: 20px; font-size: 16px; color: var(--mute); }
.price-line b { color: var(--text); font-weight: 700; }
.hero-btns { margin-top: 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 14px; color: var(--mute); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts .ic { color: var(--acc); width: 16px; height: 16px; }
.reply { margin-top: 14px; font-size: 14px; color: var(--mute); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--mute); margin-bottom: 24px; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--acc); }
.phero-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; background: rgb(255 107 26 / 0.12); color: var(--acc); border: 1px solid rgb(255 107 26 / 0.3); }
.phero-ic .ic { width: 24px; height: 24px; }
.byline { margin-top: 18px; font-size: 14px; color: var(--mute); }

/* the company app beside the headline: an example, drawn in HTML */
.app { position: relative; width: 100%; max-width: 460px; justify-self: center; display: grid; gap: 12px; }
.ex { justify-self: start; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.app-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.app-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--mute); margin-bottom: 10px; }
.app-top b { color: var(--text); font-size: 13px; }
.toast { display: flex; gap: 12px; align-items: center; font-size: 13px; }
.toast small { display: block; color: var(--mute); font-size: 12px; }
.toast-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--fill); color: var(--fill-ink); }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.flow div { padding: 10px; border-radius: 10px; background: var(--card-2); border: 1px solid transparent; font-size: 12px; display: grid; gap: 4px; align-content: start; }
.flow small { color: var(--mute); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.flow .on { background: rgb(255 107 26 / 0.16); border-color: rgb(255 107 26 / 0.5); }
.flow .paid { background: rgb(60 207 145 / 0.14); border-color: rgb(60 207 145 / 0.45); }
.money { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.money strong { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.bars i { width: 14px; height: var(--h); border-radius: 4px 4px 0 0; background: rgb(255 107 26 / 0.35); transform-origin: bottom; }
.bars i:last-child { background: var(--fill); }
@media (max-width: 767px) { .app { max-width: 400px; } .app-card:last-child { display: none; } }
/* it comes alive once, on wider screens only, and never when the visitor asked for less motion */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .app-card { animation: rise 900ms var(--ease) both; }
  .app-card:nth-child(3) { animation-delay: 150ms; } .app-card:nth-child(4) { animation-delay: 300ms; }
  .app .toast { animation: slide 900ms var(--ease) 600ms both; }
  .bars i { animation: grow 900ms var(--ease) both; animation-delay: calc(700ms + var(--i, 0) * 60ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px) scale(0.96); } }
@keyframes slide { from { opacity: 0; transform: translateX(28px); } }
@keyframes grow { from { transform: scaleY(0.1); } }

/* ---------- business types we have work to show for ---------- */
.sectors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 24px 0 0; }
.sectors li { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; }
.sectors .sectors-label { padding: 6px 6px 6px 0; border: 0; color: var(--mute); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- sections ---------- */
.sec { padding-top: var(--sec); }
.sec-tight { padding-top: 48px; }
.sec-head { margin-bottom: 40px; display: grid; gap: 14px; }
.mini { font-size: 18px; letter-spacing: 0; margin-bottom: 16px; color: var(--mute); }
.card, .door, .wcard, .svc, .rung, .pk, .moves li, .review, .who li, .ccard, .gcard, .qform { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* two doors: a website, or a system */
.doors { display: grid; gap: 16px; }
@media (min-width: 800px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: 22px; }
.door::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(255 107 26 / 0.12), transparent 60%); opacity: 0; transition: opacity 300ms; pointer-events: none; }
.door:hover::before { opacity: 1; }
.door.big { background: linear-gradient(160deg, var(--tint), var(--card) 65%); border-color: rgb(255 107 26 / 0.4); }
.door h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.03em; }
.door p { color: var(--mute); }
.door ul { display: grid; gap: 8px; font-size: 15.5px; }
.door li { display: flex; gap: 10px; align-items: flex-start; }
.door li .ic { color: var(--acc); width: 18px; height: 18px; margin-top: 3px; }
.door .row { position: relative; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 8px; }
.from { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 99px; border: 1px solid rgb(255 107 26 / 0.45); background: var(--tint); font-weight: 800; }

/* work cards */
.wgrid { display: grid; gap: 20px; }
@media (min-width: 700px) { .wgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .wgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 699px) { .wgrid.is-home .wcard:nth-child(n+4) { display: none; } }
.wcard { display: block; border-radius: var(--r); overflow: hidden; transition: border-color 300ms, transform 300ms var(--ease); }
a.wcard:hover { border-color: rgb(255 107 26 / 0.55); transform: translateY(-3px); }
.wcard-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--card-2); }
.wcard-media img, .wcard-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 800ms var(--ease); }
a.wcard:hover .wcard-media img { transform: scale(1.04); }
.wcard-body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.wcard-body p { color: var(--mute); font-size: 15px; }
.wcard-result { font-size: 14.5px; font-weight: 700; }
.wcard-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--acc); }
.wcard-link .ic { width: 16px; height: 16px; }
div.wcard .wcard-link { color: var(--mute); font-weight: 600; }
.wbadge { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #f4f3f1; background: rgb(8 8 10 / 0.82); border: 1px solid rgb(255 255 255 / 0.2); }

/* founder */
.founder { display: grid; gap: 32px; align-items: center; }
@media (min-width: 800px) { .founder { grid-template-columns: 4fr 8fr; gap: 64px; } }
.founder-photo { border-radius: 24px; overflow: hidden; background: var(--card-2); aspect-ratio: 3 / 4; max-width: 340px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-copy { display: grid; gap: 18px; justify-items: start; }
.story { display: grid; gap: 16px; color: var(--mute); font-size: 17px; max-width: 64ch; }
/* the money calculator on the apps page: a dark panel, the visitor's numbers on the left, the year's cost on the right */
.calc { display: grid; gap: 26px; padding: clamp(22px, 4vw, 44px); border-radius: 24px; background: #0e0c0b; color: #f4f3f1;
  border: 1px solid rgb(255 107 26 / 0.35); box-shadow: 0 40px 80px -44px rgb(255 107 26 / 0.55); }
.calc-head { display: grid; gap: 8px; }
.calc-head h2 { font-size: clamp(26px, 3vw, 36px); color: #fff; }
.calc-head p { color: #d4d1d6; font-size: 17px; max-width: 60ch; }
.calc-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .calc-grid { grid-template-columns: 1.1fr 1fr; gap: 40px; } }
.calc-in { display: grid; gap: 14px; align-content: start; }
.calc-f { display: grid; gap: 6px; font-size: 15px; color: #dedbe0; }
.calc-f input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid rgb(255 255 255 / 0.2); background: #19150f; color: #fff;
  font-family: inherit; font-size: 20px; font-weight: 700; transition: border-color 150ms ease; }
.calc-f input:hover { border-color: rgb(255 138 69 / 0.6); }
.calc-f input:focus-visible { outline: 2px solid #ff8a45; outline-offset: 2px; border-color: #ff8a45; }
.calc-out { display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: 18px; background: #17120e; border: 1px solid rgb(255 255 255 / 0.12); }
.calc-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; color: #d4d1d6; }
.calc-line b { color: #fff; font-size: 18px; white-space: nowrap; }
.calc-total { display: grid; gap: 2px; margin-top: 6px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / 0.14); }
.calc-total span { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #d4d1d6; }
.calc-total b { display: inline-block; justify-self: start; font-size: clamp(38px, 5vw, 58px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: #ff7a2e; }
.calc-total b.bump { animation: calc-bump 320ms ease-out; }
@keyframes calc-bump { 40% { transform: scale(1.04); } }
.calc-note { font-size: 14px; line-height: 1.5; color: #c9c5cc; }
.calc .btn-acc { justify-self: start; margin-top: 4px; }
.calc .btns .btn-acc { margin-top: 0; }
.calc-f select { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid rgb(255 255 255 / 0.2); background: #19150f; color: #fff;
  font-family: inherit; font-size: 17px; font-weight: 700; transition: border-color 150ms ease; }
.calc-f select:hover { border-color: rgb(255 138 69 / 0.6); }
.calc-f select:focus-visible { outline: 2px solid #ff8a45; outline-offset: 2px; border-color: #ff8a45; }
.calc-map { color: #fff; font-size: 15px; }
.calc-note a { color: #ffb38a; text-decoration: underline; text-underline-offset: 3px; }

/* the free website check: the address box, then the report, on the same dark panel as the calculators */
.chk { display: grid; gap: 18px; padding: clamp(22px, 4vw, 40px); border-radius: 24px; background: #0e0c0b; color: #f4f3f1;
  border: 1px solid rgb(255 107 26 / 0.35); box-shadow: 0 40px 80px -44px rgb(255 107 26 / 0.55); }
.chk-form { display: grid; gap: 10px; }
.chk-form > label { font-weight: 700; font-size: 17px; color: #fff; }
.chk-row { display: grid; gap: 12px; }
@media (min-width: 720px) { .chk-row { grid-template-columns: 1fr auto; } }
.chk-row input { width: 100%; min-height: 56px; padding: 0 16px; border-radius: 14px; border: 1px solid rgb(255 255 255 / 0.22); background: #19150f; color: #fff;
  font-family: inherit; font-size: 18px; transition: border-color 150ms ease; }
.chk-row input::placeholder { color: #9a95a0; }
.chk-row input:hover { border-color: rgb(255 138 69 / 0.6); }
.chk-row input:focus-visible { outline: 2px solid #ff8a45; outline-offset: 2px; border-color: #ff8a45; }
.chk-row .btn[disabled] { opacity: 0.6; cursor: progress; }
.chk-note { font-size: 14px; line-height: 1.5; color: #c9c5cc; }
.chk-note a { color: #ffb38a; }
.chk-status { font-size: 16px; line-height: 1.5; color: #fff; }
.chk-status.is-error { color: #ffb38a; }
.chk-status.is-working::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px; border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.25); border-top-color: #ff7a2e; animation: chk-spin 0.9s linear infinite; }
@keyframes chk-spin { to { transform: rotate(360deg); } }
.chk-report { display: grid; gap: 22px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 0.14); }
.chk-report:focus { outline: none; }
.chk-report[hidden], .chk-status[hidden] { display: none; }
.chk-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start; }
.chk-head h2 { font-size: clamp(24px, 3vw, 32px); color: #fff; }
.chk-addr { color: #d4d1d6; overflow-wrap: anywhere; }
.chk-sum { margin-top: 6px; font-weight: 700; color: #fff; }
.chk-shot { width: 150px; height: auto; border-radius: 14px; border: 1px solid rgb(255 255 255 / 0.18); }
.chk-group h3 { margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #d4d1d6; }
.chk-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chk-item { display: grid; grid-template-columns: 10.5em 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 14px;
  background: #17120e; border: 1px solid rgb(255 255 255 / 0.1); }
.chk-mark { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.chk-mark::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.is-good .chk-mark { color: #4ade80; }
.is-warn .chk-mark { color: #fbbf24; }
.is-fix .chk-mark { color: #ff8a7a; }
.is-unknown .chk-mark { color: #b0abb5; }
.chk-name { font-weight: 700; color: #fff; }
.chk-name b { margin-left: 4px; color: #ffb38a; white-space: nowrap; }
.chk-text { font-size: 15px; line-height: 1.5; color: #dedbe0; }
.chk-quote { margin-top: 4px; font-size: 14px; color: #c9c5cc; overflow-wrap: anywhere; }
.chk-src { margin-top: 4px; font-size: 13px; color: #b0abb5; }
@media (max-width: 600px) { .chk-item { grid-template-columns: 1fr; gap: 6px; } }
.chk-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.chk-again { padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }
.chk-what { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .chk-what { grid-template-columns: repeat(3, 1fr); } }
.chk-what li { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.chk-what h3 { font-size: 20px; }
.chk-what p { color: var(--mute); }
.chk-more { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .chk-status.is-working::before { animation: none; } }

.sign { --sig-w: clamp(210px, 24vw, 300px); position: relative; }
/* About (owner, 18/11/2026: "fix the sign and text, add more effects"): his real signature, a light running round his photo,
   the photo leans toward the mouse, and the words come in one after another. Without scripts or with less motion, all of it is still. */
.sig { display: block; width: var(--sig-w); aspect-ratio: 1346 / 380; background: linear-gradient(90deg, #b8400f, var(--fill) 55%, #ff9a5a);
  -webkit-mask: url("/assets/signature.webp") left center / contain no-repeat; mask: url("/assets/signature.webp") left center / contain no-repeat; }
.founder-photo { position: relative; border: 3px solid transparent;
  background: linear-gradient(var(--card-2), var(--card-2)) padding-box,
    conic-gradient(from var(--spin), rgb(255 107 26 / 0.14) 0 55%, rgb(255 160 100 / 0.9) 72%, #ffffff 80%, #ff8a45 87%, rgb(255 107 26 / 0.14) 96%) border-box;
  box-shadow: 0 34px 70px -34px rgb(255 107 26 / 0.7), var(--shadow); animation: btn-spin 4.5s linear infinite;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.founder-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%);
  background: linear-gradient(110deg, transparent 38%, rgb(255 255 255 / 0.5) 50%, transparent 62%); }
.founder-copy h2::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 14px; border-radius: 4px; background: var(--fill); transform-origin: left center; }
/* the entrance, only when site.js has prepared it */
.founder.is-ready .founder-photo { opacity: 0; transform: perspective(1000px) translateY(26px) scale(0.96); }
.founder.is-ready h2 .w { display: inline-block; opacity: 0; transform: translateY(0.45em) rotate(2deg); }
.founder.is-ready h2::after { transform: scaleX(0); }
.founder.is-ready .story p { opacity: 0; transform: translateY(14px); }
.founder.is-ready .sig { clip-path: inset(0 100% 0 0); }
.founder.is-on .founder-photo { opacity: 1; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity 700ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.founder.is-on .founder-photo::after { transform: translateX(130%); transition: transform 1.3s cubic-bezier(0.4, 0, 0.2, 1) 0.4s; }
.founder.is-on h2 .w { opacity: 1; transform: none; transition: opacity 500ms ease, transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1); transition-delay: calc(var(--i) * 70ms + 150ms); }
.founder.is-on h2::after { transform: none; transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1) 550ms; }
.founder.is-on .story p { opacity: 1; transform: none; transition: opacity 600ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i) * 140ms + 450ms); }
.founder.is-on .sig { clip-path: inset(0); transition: clip-path 1.8s cubic-bezier(0.55, 0.1, 0.3, 1) 1s; }
/* the pen: a small glowing tip that runs along while the signature is written */
.founder.is-ready .sign::after { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
  background: #ffe1c9; box-shadow: 0 0 12px 4px rgb(255 107 26 / 0.8); opacity: 0; pointer-events: none; }
.founder.is-on .sign::after { animation: sig-pen 1.8s cubic-bezier(0.55, 0.1, 0.3, 1) 1s both; }
@keyframes sig-pen { 0% { opacity: 0; transform: translateX(0); } 8%, 88% { opacity: 1; } 100% { opacity: 0; transform: translateX(var(--sig-w)); } }
@media (prefers-reduced-motion: reduce) { .founder-photo { animation: none; transition: none; } }

/* reviews (only when real ones exist) */
.reviews { display: grid; gap: 16px; }
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 24px; border-radius: var(--r); display: grid; gap: 16px; align-content: start; }
.review blockquote { margin: 0; font-size: 17px; }
.review figcaption { color: var(--mute); font-size: 14px; font-weight: 600; }

/* services */
.svcs { display: grid; gap: 12px; }
@media (min-width: 640px) { .svcs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svcs { grid-template-columns: repeat(5, 1fr); } }
.svc { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r); transition: border-color 300ms, transform 300ms var(--ease); }
.svc:hover { border-color: rgb(255 107 26 / 0.55); transform: translateY(-3px); }
.svc h3 { font-size: 18px; }
.svc p { color: var(--mute); font-size: 15px; }
.scard-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--acc); flex: none; }

/* steps, with a line that fills as you scroll */
.steps { position: relative; display: grid; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--fill); transform-origin: left; transform: scaleX(var(--fill-x, 1)); }
.step { padding: 26px 4px 0; display: grid; gap: 10px; align-content: start; }
.step-n { font-size: 14px; font-weight: 800; color: var(--acc); }
.step p { color: var(--mute); }

/* start small, grow */
.ladder { display: grid; gap: 12px; }
@media (min-width: 900px) { .ladder { grid-template-columns: repeat(4, 1fr); align-items: end; } .rung:nth-child(2) { padding-bottom: 44px; } .rung:nth-child(3) { padding-bottom: 66px; } .rung:nth-child(4) { padding-bottom: 88px; } }
.rung { padding: 22px; border-radius: var(--r); display: grid; gap: 8px; align-content: start; }
.rung:nth-child(4) { background: linear-gradient(180deg, var(--tint), var(--card)); border-color: rgb(255 107 26 / 0.4); }
.rung b { font-size: 13px; font-weight: 800; color: var(--acc); }
.rung p { color: var(--mute); font-size: 15px; }
.guide-line { margin-top: 28px; color: var(--mute); }
.guide-line a, .prose a, .faq-item p a, .note a, .band .lead a { color: var(--acc); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* questions */
.faq-list { display: grid; border-top: 1px solid var(--line-2); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 18px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 20px; height: 20px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--acc); transition: transform 300ms var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-item p { padding: 0 0 22px; color: var(--mute); max-width: 70ch; }

/* service pages */
.split2 { display: grid; gap: 48px; }
@media (min-width: 900px) { .split2 { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split2 .sec-head { margin-bottom: 24px; }
.split2 h2, .prose h2, .band h2 { font-size: clamp(24px, 2.8vw, 34px); }
.ticks { display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.ticks .ic { color: var(--acc); margin-top: 3px; }
.who { display: grid; gap: 10px; }
.who li { padding: 16px 20px; border-radius: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line-2); font-weight: 600; transition: border-color 200ms, color 200ms; }
.chip:hover { border-color: var(--acc); color: var(--acc); }
.chip .ic { color: var(--acc); width: 18px; height: 18px; }
@media (min-width: 800px) { .ticks-2 { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* kinds of business on the apps page: tabs with a script, all of them one under the other without */
.sys-tabs { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
@media (max-width: 639px) {   /* phones: one row that scrolls sideways, fading at the right edge so the next kinds show */
  .sys-tabs { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding: 2px var(--pad) 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--pad), #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--pad), #000 calc(100% - 48px), transparent); }
  .sys-tabs::-webkit-scrollbar { display: none; }
  .sys-tab { flex: none; white-space: nowrap; }
}
.sys-tabs[hidden], .sys-panel[hidden] { display: none; }
.sys-tab { min-height: 44px; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color 200ms, color 200ms, background-color 200ms; }
.sys-tab:hover { border-color: var(--acc); color: var(--acc); }
.sys-tab[aria-selected="true"] { background: var(--fill); border-color: var(--fill); color: var(--fill-ink); }
.sys-panels { display: grid; gap: 20px; }
.sys-panel { display: grid; gap: 28px; padding: clamp(22px, 4vw, 40px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 960px) { .sys-panel.has-work { grid-template-columns: 7fr 5fr; gap: 40px; } }
.sys-copy, .sys-work { display: grid; gap: 12px; align-content: start; }
.sys-copy h3 { font-size: clamp(22px, 2.4vw, 30px); }
.sys-copy h4, .sys-work h4 { margin-top: 8px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--acc); }
.sys-copy p { color: var(--mute); font-size: 17px; max-width: 62ch; }
.sys-copy .btn { justify-self: start; margin-top: 12px; }
.wgrid.is-sys { grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) and (max-width: 959px) { .wgrid.is-sys { grid-template-columns: 1fr 1fr; } }
.sys-more { margin-top: 16px; }

/* the calculators page (owner, 19/11/2026): tabs above the two calculators; without scripts they are links to each one */
.ctabs-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.ctabs { display: flex; flex-wrap: wrap; gap: 8px; scroll-margin-top: 96px; }
.ctab { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 18px; border-radius: 99px; border: 1px solid var(--line-2);
  background: var(--card); color: var(--text); font-weight: 700; font-size: 16px; text-decoration: none; transition: background-color 200ms, border-color 200ms, color 200ms; }
.ctab .ic { width: 20px; height: 20px; color: var(--acc); }
.ctab:hover { border-color: var(--acc); }
.ctab[aria-selected="true"] { background: var(--fill); border-color: var(--fill); color: var(--fill-ink); box-shadow: 0 10px 30px -14px var(--glow); }
.ctab[aria-selected="true"] .ic { color: var(--fill-ink); }
.ctab:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.cpanel > .sec { padding-top: 4px; }
@media (max-width: 700px) { .ctabs { width: 100%; } .ctab { flex: 1 1 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .ctab { transition: none; } }

/* a client's real result on the SEO page (owner, 19/11/2026); words and numbers in agency/results.py */
.case { padding: clamp(22px, 4vw, 40px); border-radius: 24px; background: #0e0c0b; box-shadow: 0 30px 60px -30px rgb(23 19 14 / 0.5); }
.case-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 18px; font-size: 14px; color: var(--mute); }
.case-tag { padding: 5px 11px; border-radius: 99px; background: var(--fill); color: var(--fill-ink); font-weight: 700; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.case-kind { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 12px; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(20px, 3vw, 36px); align-items: center; }
.case h2 { margin-bottom: 18px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.08; color: #fff; }
.case h2 em { font-style: normal; color: var(--acc); }
.case-rows { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.case-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 14px 12px 16px; border-radius: 16px; background: #f4f3f1; color: #17130e; }
.case-q { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 15.5px; font-weight: 600; }
.case-q .ic { flex: none; width: 17px; height: 17px; color: #57534d; }
.case-u { grid-column: 1; font-size: 13px; color: #0b6b3a; }
.case-n { grid-row: 1 / span 2; grid-column: 2; display: grid; place-items: center; min-width: 54px; height: 54px; border-radius: 14px; background: var(--fill); color: var(--fill-ink); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.case-n.is-up { background: #f4f3f1; color: #17130e; border: 2px solid var(--fill); }
.case-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.8); background: var(--card); }
.case-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.case-did { margin: 22px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.case-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.case-stats li { padding: 16px 18px; border-radius: 16px; background: #17140f; border: 1px solid var(--line); }
.case-stats b { display: block; margin-bottom: 6px; font-size: clamp(28px, 3vw, 36px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.case-stats span { font-size: 14px; line-height: 1.4; color: var(--mute); }
.case-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 18px; }
.case-foot p { flex: 1 1 380px; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--mute); }
@media (max-width: 760px) {
  .case-grid { grid-template-columns: 1fr; } .case-shot { order: -1; }
  .case-stats { grid-template-columns: 1fr; gap: 8px; } .case-stats li { display: flex; align-items: baseline; gap: 12px; padding: 12px 14px; }
  .case-stats b { min-width: 64px; margin: 0; font-size: 26px; white-space: nowrap; } .case-foot .btn { width: 100%; justify-content: center; }
}

/* the home page's two toys on other pages (owner, 18/11/2026): the skill balls (About) and the brick game (page not found).
   Both are drawn by the portfolio's motion.js, which site.js fetches when the toy is about to be seen. */
.skills, .play { --acc-2: #ff8a45; --acc-ink: #160700; padding: clamp(22px, 4vw, 44px); border-radius: 24px; background: #0e0c0b; color: #f4f3f1; box-shadow: 0 30px 60px -30px rgb(23 19 14 / 0.5); }
.skills h2, .play h2 { font-size: clamp(28px, 3.6vw, 44px); color: #fff; }
.skills h2 em, .play h2 em { font-style: normal; color: var(--acc); }
.sk-head, .play-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 22px; }
.sk-k { color: var(--mute); font-size: 15px; }
.sk-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sk-tabs button { min-height: 44px; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font: 500 14px/1 var(--sans); cursor: pointer; transition: background-color 200ms, border-color 200ms, color 200ms; }
.sk-tabs button:hover { border-color: var(--acc); }
.sk-tabs button[aria-pressed="true"] { background: var(--fill); border-color: var(--fill); color: var(--fill-ink); }
.tool-pit { position: relative; height: clamp(380px, 50vh, 480px); border-radius: 20px; background: linear-gradient(180deg, transparent, rgb(255 255 255 / 0.03)); border: 1px solid var(--line); overflow: hidden; }
.tool-pit canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.tool-pit.is-grabbing canvas { cursor: grabbing; }
.tool-tip { position: absolute; left: 14px; right: 14px; top: 10px; font-size: 12px; color: var(--mute); pointer-events: none; }
@media (max-width: 700px) { .tool-pit { height: 440px; } .sk-tabs button { padding: 9px 13px; font-size: 13px; } }
/* without scripts: the skills as plain lists and no empty box; with scripts the lists stay for screen readers only */
.skills:not(.is-live) .sk-tabs, .skills:not(.is-live) .tool-pit { display: none; }
.sk-list h3 { margin-top: 18px; font-size: 17px; color: #fff; }
.sk-list ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; color: var(--mute); }
.skills.is-live .sk-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.play:not(.is-live) { display: none; }   /* the game needs scripts */
.play-score { color: var(--mute); font-size: 14px; font-variant-numeric: tabular-nums; }
.play-score span { color: var(--text); font-weight: 600; }
.play-box { position: relative; height: clamp(320px, 46vw, 460px); border-radius: 22px; background: #050506; border: 1px solid var(--line-2); overflow: hidden; box-shadow: inset 0 0 80px rgb(0 0 0 / 0.6); }
.play-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: none; touch-action: none; transition: opacity 300ms ease; }
.play-box.is-demo canvas { opacity: 0.5; cursor: pointer; }
.play-start { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); display: grid; gap: 6px; padding: 16px 28px 16px 76px; border: 2px solid #ff8a45; border-radius: 16px; background: rgb(8 6 5 / 0.84); color: #ffe3d0; font: inherit; text-align: left; cursor: pointer; text-shadow: 0 0 8px rgb(255 107 26 / 0.9);
  box-shadow: 0 0 4px #ff8a45, 0 0 16px rgb(255 107 26 / 0.75), 0 0 42px rgb(255 107 26 / 0.38), inset 0 0 14px rgb(255 107 26 / 0.45); transition: box-shadow 200ms, border-color 200ms, transform 100ms ease-out; }
.play-start::before { content: ""; position: absolute; left: 20px; top: 50%; width: 34px; height: 34px; border: 2px solid #ff8a45; border-radius: 8px; transform: translateY(-50%) rotate(45deg); box-shadow: 0 0 10px rgb(255 107 26 / 0.8), inset 0 0 8px rgb(255 107 26 / 0.5); }
.play-start::after { content: ""; position: absolute; left: 33px; top: 50%; width: 12px; height: 14px; transform: translateY(-50%); background: #ffb07a; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.play-start b { color: #fff4ec; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; }
.play-start span { color: #ffc9a6; font-size: 13px; }
.play-start:hover { border-color: #ffb07a; box-shadow: 0 0 6px #ffb07a, 0 0 22px rgb(255 107 26 / 0.9), 0 0 54px rgb(255 107 26 / 0.5), inset 0 0 16px rgb(255 107 26 / 0.55); }
.play-start:active { transform: translate(-50%, -50%) scale(0.97); }
.play-start[hidden] { display: none; }
.prose > * { max-width: 760px; }
.prose h2 { margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 17.5px; color: var(--mute); }
.prose p + p { margin-top: 14px; }
.prose ul { display: grid; gap: 12px; }
.prose li { position: relative; padding-left: 26px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--fill); }
.prose strong { color: var(--text); }

/* prices */
.pks { display: grid; gap: 16px; }
@media (min-width: 700px) { .pks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pks { grid-template-columns: repeat(3, 1fr); } }
.pk { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--r); }
.pk-main { background: linear-gradient(160deg, var(--tint), var(--card) 65%); border-color: rgb(255 107 26 / 0.45); }
.pk h2 { font-size: 20px; letter-spacing: -0.015em; }
.pk h2 a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.pk h2 a:hover { color: var(--acc); }
.pk-figure { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.pk-none { display: block; font-size: 17px; font-weight: 700; }
.pk-inc { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.pk ul { display: grid; gap: 10px; }
.pk li { display: flex; gap: 10px; font-size: 15px; color: var(--mute); }
.pk li .ic { color: var(--acc); width: 16px; height: 16px; margin-top: 4px; }
.note { margin-top: 20px; max-width: 70ch; color: var(--mute); }
.moves { display: grid; gap: 16px; counter-reset: m; }
@media (min-width: 768px) { .moves { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .moves { grid-template-columns: repeat(3, 1fr); } }
.moves li { counter-increment: m; padding: 24px; border-radius: var(--r); display: grid; gap: 8px; align-content: start; }
.moves li::before { content: "0" counter(m); font-size: 13px; font-weight: 800; color: var(--acc); }
.moves p { color: var(--mute); }

/* a band that closes a page */
.band { display: grid; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: linear-gradient(160deg, var(--tint), var(--card) 70%); border: 1px solid rgb(255 107 26 / 0.3); }
.band > div:first-child { display: grid; gap: 12px; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; } .band:has(.band-avatar) { grid-template-columns: auto 1fr auto; } }
.band-avatar { width: 96px; height: 96px; object-fit: contain; }

/* guides */
.gcards { display: grid; gap: 16px; }
@media (min-width: 800px) { .gcards { grid-template-columns: repeat(2, 1fr); } }
.gcard { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 20px; transition: border-color 300ms, transform 300ms var(--ease); }
.gcard:hover { border-color: rgb(255 107 26 / 0.55); transform: translateY(-3px); }
.gcard h2 { font-size: 24px; }
.gcard p { color: var(--mute); }

/* contact */
.ccards { display: grid; gap: 12px; }
@media (min-width: 768px) { .ccards { grid-template-columns: repeat(3, 1fr); } }
.ccard { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r); transition: border-color 300ms, transform 300ms var(--ease); }
.ccard:hover { border-color: var(--acc); transform: translateY(-3px); }
.ccard > .ic { margin-left: auto; color: var(--acc); }
.ccard-txt { display: grid; gap: 2px; min-width: 0; }
.ccard-txt small { color: var(--mute); font-size: 15px; overflow-wrap: anywhere; }
.ccard-main { background: linear-gradient(160deg, var(--tint), var(--card) 70%); border-color: rgb(255 107 26 / 0.45); }
.cfacts { display: grid; gap: 16px; margin: 32px 0 0; }
@media (min-width: 768px) { .cfacts { grid-template-columns: 1fr 1fr; } }
.cfacts dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); }
.cfacts dd { margin: 4px 0 0; font-size: 18px; }

/* the quote form */
.qform-wrap { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .qform-wrap { grid-template-columns: 5fr 7fr; gap: 64px; } }
.qform-copy { display: grid; gap: 14px; }
.qform-copy h2 { font-size: clamp(26px, 3.2vw, 40px); }
.qform-direct { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.qform-direct .ic { color: var(--acc); }
.qform-direct a { text-decoration: underline; text-underline-offset: 3px; }
.qform { display: grid; gap: 8px; padding: clamp(20px, 3vw, 32px); border-radius: 22px; }
.qform label { font-weight: 700; font-size: 15px; margin-top: 10px; }
.qform label:first-child { margin-top: 0; }
.qform input, .qform select, .qform textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid #8d877f; background: var(--card); font-size: 16px; }
.qform textarea { resize: vertical; min-height: 130px; }
.qform input:focus-visible, .qform select:focus-visible, .qform textarea:focus-visible { outline-offset: 1px; border-color: var(--acc); }
.qform .btns { margin-top: 14px; }
.qform-note { margin-top: 6px; font-size: 14px; color: var(--mute); }

/* ---------- footer ---------- */
.foot { margin-top: var(--sec); border-radius: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px) 0 0; background: radial-gradient(900px 400px at 50% 0%, rgb(255 107 26 / 0.14), transparent 70%), var(--bg); }
.foot-cta { padding-top: clamp(64px, 9vw, 112px); padding-bottom: 64px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.foot-title { font-size: clamp(32px, 5.6vw, 72px); letter-spacing: -0.04em; max-width: 18ch; }
.foot-cta .lead { margin: 0 auto 10px; }
.foot-cta .btns { justify-content: center; }
.foot-grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 32px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 2fr 1.2fr 1fr 1.4fr; } }
.foot-brand { display: inline-flex; align-items: center; min-height: 44px; }
.foot-grid .mute { margin-top: 8px; max-width: 34ch; font-size: 15px; }
.foot-col { display: grid; gap: 4px; align-content: start; font-size: 15px; color: var(--mute); }
.foot-col h2 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; }
.foot-col a { display: inline-flex; align-items: center; min-height: 32px; overflow-wrap: anywhere; }
.foot-col a:hover, .foot-legal a:hover, .foot-link:hover { color: var(--acc); }
.foot-legal { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13.5px; color: var(--mute); }
.foot-legal a, .foot-link { margin-left: 14px; text-decoration: underline; text-underline-offset: 3px; }
.foot-link { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; cursor: pointer; }
@media (max-width: 767px) { .foot-legal { padding-bottom: 104px; } }

/* two buttons that follow on phones once the first screen's buttons have scrolled away */
.bar { display: none; }
@media (max-width: 767px) {
  .bar:not([hidden]) { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; position: fixed; z-index: 60; left: 8px; right: 8px; bottom: 8px; padding: 8px; border-radius: 18px; background: rgb(14 14 17 / 0.97); border: 1px solid var(--line-2); }
  .bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; font-weight: 700; font-size: 15px; background: var(--card-2); }
  .bar .bar-main { background: var(--fill); color: var(--fill-ink); }
}

/* the question about counting visits: Accept and Reject look the same */
.consent { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin-inline: auto; display: grid; gap: 14px; padding: 18px; border-radius: 18px; background: rgb(14 14 17 / 0.98); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgb(0 0 0 / 0.6); font-size: 15px; }
.consent[hidden] { display: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-btn { background: #f4f3f1; color: #17130e; }
.consent-btn:hover { background: #ffffff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 767px) { .phero-ic { display: none; } }
/* a guide's picture, at the top of the article */
.guide-pic { margin: 0 0 28px; display: grid; gap: 8px; }
.guide-pic img { width: 100%; height: auto; border-radius: 16px; }
.guide-pic figcaption { font-size: 14px; color: var(--mute); }
.guide .guide-pic + h2, .guide h2 + .guide-pic { margin-top: 28px; }
.gcard-pic { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 4px; }
