/* Kartoffel: product design studio, Berlin.
   Built on the rahulux.de system: dark only, Geist, lavender as the primary and interactive colour,
   yellow and blue only when something points to an offer. Motion: rough to resolved, settle don't bounce.
   Component styles for nav, hero, work cards, service cards, How a project runs, logo strip, testimonials,
   contact and footer are taken from rahulux.de so both sites move the same way. */

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #141414;
  --surface: #1A1A1A;
  --chip: #222222;
  --chip-hover: #2A2A2A;
  --stage: #262626;
  --fg: #ECECEC;
  --fg-2: #A1A1A1;
  --fg-3: #8A8A8A;
  --rule: #2A2A2A;
  --build: #C6ADF7;
  --improve: #FFEF93;
  --scale: #AEE0FF;
  --on-accent: #141414;
  --on-accent-muted: rgba(20, 20, 20, 0.72);
  --error: #FF9B91;
  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --gutter: clamp(24px, 4.8vw, 67px);
  --max: 1248px;
  --section-pad: clamp(96px, 12vw, 144px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-sans); font-weight: 400; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; }
:focus-visible { outline: 2px solid var(--build); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--build); color: var(--bg); }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-left: max(var(--gutter), 16px, env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), 16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; border-radius: 999px; background: var(--fg); color: var(--bg); }
.skip:focus { top: 16px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
svg.arrow, svg[viewBox="0 0 16 16"] { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Type ---------- */
.label { margin: 0 0 var(--s2); font-family: var(--f-mono); font-size: 12px; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.h2 { font-weight: 300; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.1; letter-spacing: -0.03em; max-width: 18ch; text-wrap: balance; }
.lede { max-width: 46ch; color: var(--fg-2); font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem); line-height: 1.55; text-wrap: pretty; }
.head { display: grid; gap: var(--s2); margin-bottom: var(--s6); }
.head .label { margin: 0; }
.head.split { gap: var(--s3); }
@media (min-width: 961px) { .head.split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; column-gap: var(--s6); } .head.split .label { grid-column: 1 / -1; } }
.lav { color: var(--build); }
.section { padding-block: var(--section-pad); }
.rule-top { border-top: 1px solid var(--rule); }
.fade { opacity: 0; animation: fade 700ms ease forwards; animation-delay: var(--d, 0ms); }
@keyframes fade { to { opacity: 1; } }

/* ---------- Buttons ---------- */
.cta, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--build); color: var(--bg); font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap; transition: transform 160ms ease; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.cta:active, .btn:active { transform: scale(0.97); }
.cta svg, .btn svg { transition: transform 320ms var(--ease-out); }
.cta:hover svg, .btn:hover svg, .cta:focus-visible svg, .btn:focus-visible svg { transform: translateX(4px); }
.btn-quiet { background: var(--chip); color: var(--fg); transition: background 200ms ease, transform 160ms ease; }
.btn-quiet:hover, .btn-quiet:focus-visible { background: var(--chip-hover); }
.btn-dark { background: var(--bg); color: var(--fg); }
.ul-link { color: var(--fg); background-image: linear-gradient(var(--build), var(--build)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 90%; transition: background-size 380ms var(--ease-out); }
.ul-link:hover, .ul-link:focus-visible { background-size: 100% 1px; }
.text-link { color: var(--fg); text-decoration: underline; text-decoration-color: var(--build); text-underline-offset: 3px; }

/* ---------- Global navigation (rahulux.de) ---------- */
.nav { position: fixed; z-index: 20; top: 0; left: 0; right: 0; padding-top: calc(var(--s3) + env(safe-area-inset-top, 0px)); padding-bottom: var(--s2); }
.nav::before { content: ""; position: absolute; inset: 0; background: rgb(20 20 20 / 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); opacity: 0; transition: opacity 240ms ease; pointer-events: none; }
.nav.scrolled::before { opacity: 1; }
.nav .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.brand { display: flex; align-items: center; min-height: 44px; color: var(--fg); }
.brand svg { display: block; height: 22px; width: auto; }
.links { display: flex; align-items: center; gap: var(--s4); }
.links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--fg-2); transition: color 200ms ease; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--build); transform: scaleX(0); transform-origin: right; transition: transform 380ms var(--ease-out); }
.links a:hover, .links a[aria-current="page"] { color: var(--fg); }
.links a:hover::after, .links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.right { display: flex; align-items: center; gap: var(--s4); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--fg-3); align-items: center; justify-content: center; }
.menu-btn i { position: relative; display: block; width: 16px; height: 8px; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--fg); border-radius: 2px; transition: transform 320ms var(--ease-out); }
.menu-btn i::before { top: 0; } .menu-btn i::after { bottom: 0; }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translateY(-3.25px) rotate(-45deg); }
.sheet { position: fixed; z-index: 15; inset: 0; background: var(--bg); padding-top: calc(120px + env(safe-area-inset-top, 0px)); visibility: hidden; opacity: 0; transition: opacity 280ms ease, visibility 0s linear 280ms; }
.sheet.open { visibility: visible; opacity: 1; transition-delay: 0s; }
.sheet nav { display: grid; gap: var(--s1); }
.sheet nav a { font-size: 40px; font-weight: 300; letter-spacing: -0.03em; line-height: 1.2; min-height: 48px; opacity: 0; transform: translateY(16px); transition: opacity 320ms ease, transform 480ms var(--ease-out); }
.sheet.open nav a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms + 80ms); }
.sheet .sheet-foot { margin-top: var(--s5); font-size: 15px; color: var(--fg-2); opacity: 0; transition: opacity 320ms ease 360ms; }
.sheet.open .sheet-foot { opacity: 1; }
@media (max-width: 860px) {
  .links { display: none; }
  .menu-btn { display: inline-flex; }
  .right { gap: var(--s1); }
  .nav { padding-top: calc(var(--s2) + env(safe-area-inset-top, 0px)); }
  .brand svg { height: 19px; }
}
@media (max-width: 380px) { .nav .cta { padding: 0 14px; } }

/* ---------- Hero (rahulux.de): pinned, the scribble around the emphasis word resolves into the offer path ---------- */
.track { position: relative; height: 260vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.stage .wrap { position: relative; height: 100%; }
.canvas { position: relative; height: 100%; }
.copy { position: relative; z-index: 2; padding-top: clamp(132px, 20vh, 200px); }
.eyebrow { margin: 0 0 var(--s3); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
h1.hero-h { font-weight: 300; font-size: clamp(2.5rem, 1rem + 5vw, 5.75rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 15ch; text-wrap: balance; }
#w { display: inline-block; color: var(--build); }
#w .l { display: inline-block; will-change: transform; }
.sub { margin: var(--s4) 0 0; max-width: 46ch; font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }
#grad stop { transition: stop-color 360ms ease; }
#tip { transition: fill 360ms ease; }
svg.ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.node { position: absolute; z-index: 2; display: grid; gap: 16px; justify-items: start; opacity: 0; transform: translateY(8px); transition: opacity 420ms ease, transform 560ms var(--ease-out); }
.node.on { opacity: 1; transform: none; }
.canvas.v .node { grid-template-columns: 12px minmax(0, 1fr); gap: var(--s2); align-items: start; padding-right: var(--s1); }
.canvas.v .node span { display: block; margin-top: 6px; max-width: none; }
.node .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 6px var(--bg); }
.node b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 12px; line-height: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c); }
.node span { display: block; margin-top: var(--s1); font-size: 14px; line-height: 1.4; color: var(--fg-2); max-width: 24ch; }
@media (max-width: 860px) { .copy { padding-top: clamp(104px, 15vh, 140px); } .sub { margin-top: var(--s3); } .hero-ctas { margin-top: var(--s3); } }
@media (max-width: 600px) { .track { height: 190vh; } .hero-ctas .btn { min-height: 44px; padding: 0 18px; font-size: 15px; } }
@media (max-height: 760px) and (min-width: 861px) { .copy { padding-top: 112px; } h1.hero-h { font-size: clamp(2.5rem, 1rem + 4.2vw, 4.75rem); } }

/* Smooth scroll (Lenis). Off with reduced motion. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Proof row ---------- */
.proof { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.proof-grid { display: grid; }
@media (min-width: 900px) { .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.proof-item { padding: var(--s5) 0; display: grid; gap: 12px; align-content: start; transition: opacity 600ms ease, transform 900ms var(--ease-out); }
@media (min-width: 900px) { .proof-item { padding: var(--s6) var(--s5); border-left: 1px solid var(--rule); } .proof-item:first-child { padding-left: 0; border-left: 0; } }
@media (max-width: 899px) { .proof-item + .proof-item { border-top: 1px solid var(--rule); } }
.proof-num { font-weight: 300; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; letter-spacing: -0.045em; }
.proof-num.lav { color: var(--build); }
.proof-item p { color: var(--fg); font-size: 16px; line-height: 1.5; max-width: 34ch; }
.proof-item .src { font-size: 14px; line-height: 1.45; color: var(--fg-3); }

/* ---------- Loose to settled, from a visible state (rahulux.de cards and quotes) ---------- */
.js .loose { opacity: 0.5; transform: translateY(20px); }
.js .settle { transition: opacity 600ms ease, transform 900ms var(--ease-out); }

/* ---------- Who it's for ---------- */
.aud { display: grid; gap: var(--s4); }
@media (min-width: 1000px) { .aud { grid-template-columns: 340px minmax(0, 1fr); gap: var(--s6); align-items: start; } }
.aud-tabs { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 999px) { .aud-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); } .aud-tabs::-webkit-scrollbar { display: none; } }
.aud-tab { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 56px; padding: 0 20px; border-radius: 999px; text-align: left; font-size: 17px; color: var(--fg-2); border: 1px solid transparent; white-space: nowrap; transition: background 200ms ease, color 200ms ease, border-color 200ms ease; }
.aud-tab:hover { color: var(--fg); border-color: var(--rule); }
.aud-tab[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.aud-tab .n { font-family: var(--f-mono); font-size: 12px; opacity: 0.7; }
.aud-panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: clamp(28px, 4vw, 56px); }
.aud-panel[hidden] { display: none; }
.aud-panel.enter { animation: panelIn 560ms var(--ease-out); }
@keyframes panelIn { from { opacity: 0.4; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.aud-line { font-weight: 300; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); line-height: 1.18; letter-spacing: -0.025em; max-width: 22ch; margin-bottom: var(--s3); text-wrap: balance; }
.aud-situ { color: var(--fg-2); max-width: 56ch; margin-bottom: var(--s5); }
.aud-cols { display: grid; gap: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--rule); }
@media (min-width: 760px) { .aud-cols { grid-template-columns: 1.3fr 1fr; gap: var(--s5); } }
.aud-cols h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: var(--s2); }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 1px; top: 0.4em; width: 13px; height: 7px; border-left: 1.75px solid var(--build); border-bottom: 1.75px solid var(--build); transform: rotate(-45deg); }
.offer-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--c); color: var(--on-accent); font-size: 15px; font-weight: 500; margin-bottom: var(--s2); }
.offer-chip svg { transition: transform 320ms var(--ease-out); }
.offer-chip:hover svg, .offer-chip:focus-visible svg { transform: translateX(4px); }
.proof-ref { font-size: 15px; color: var(--fg-2); }
.improve { --c: var(--improve); } .scale { --c: var(--scale); } .build { --c: var(--build); }

/* ---------- Selected work (rahulux.de): one image-led card per project, screens settle on hover ---------- */
.work { --surface-media: #222222; }
.projects { list-style: none; display: flex; flex-direction: column; gap: clamp(96px, 14vw, 160px); }
.proj { position: relative; display: grid; gap: var(--s3); border-radius: 18px; }
.proj[hidden] { display: none; }
.proj:has(.stretch:focus-visible) { outline: 2px solid var(--build); outline-offset: 8px; }
.stretch:focus-visible { outline: none; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 18px; }
.media { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 18px; overflow: hidden; background: var(--stage); }
.para { position: absolute; inset: 0; will-change: transform; }
.media-in { position: absolute; inset: 0; transition: transform 900ms var(--ease-out); }
.shots { position: absolute; inset: 0; transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0); transition: transform 900ms var(--ease-out); }
.shot { position: absolute; left: var(--l); top: var(--t); width: var(--w); border-radius: 10px; overflow: hidden; background: #F4F4F4; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06), 0 32px 64px -24px rgb(0 0 0 / 0.75); transition: transform 640ms var(--ease-out); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.shot.sub { z-index: 1; border-radius: 14px; transition-delay: 70ms; }
.tall .shot.main { border-radius: 14px; }
.js .shot.main { transform: translate3d(-1.5%, 3%, 0) rotate(-2deg) scale(0.97); }
.js .shot.sub { transform: translate3d(22%, 16%, 0) rotate(7deg); }
.js .proj[data-hover] .shot, .js .proj:focus-within .shot, .js .proj.seen .shot { transform: none; }
@media (max-width: 860px) { .shot { border-radius: 6px; } .shot.sub, .tall .shot.main { border-radius: 9px; } }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--build); color: var(--bg); font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap; }
.focus-pill { position: absolute; left: var(--s3); bottom: var(--s3); z-index: 2; opacity: 0; transform: translateY(4px); transition: opacity 200ms var(--ease-out), transform 360ms var(--ease-out); }
.proj:has(.stretch:focus-visible) .focus-pill { opacity: 1; transform: none; }
.info { display: grid; gap: var(--s2); min-width: 0; padding-inline: var(--s1); }
.keys { display: flex; flex-wrap: wrap; gap: var(--s1) 0; list-style: none; font-family: var(--f-mono); font-size: 12px; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.keys li { display: inline-flex; align-items: center; }
.keys li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--fg-3); margin-inline: 12px; }
.keys .offer { color: var(--c); }
.proj h3 { font-weight: 300; font-size: clamp(1.375rem, 1.05rem + 1.1vw, 2rem); line-height: 1.25; letter-spacing: -0.02em; max-width: 52ch; text-wrap: pretty; }
.proj h3 .name { font-weight: 400; }
.changed { color: var(--c); }
/* Letter settle: loose and slightly faded, then aligned. Never starts invisible. */
.wd { display: inline-block; white-space: nowrap; }
.lt { display: inline-block; transition: transform 950ms var(--ease-out) var(--d, 0ms), opacity 420ms ease var(--d, 0ms); }
.changed.snap .lt { transition: none; }
.changed.loose-l .lt, .settle-word.loose-l .lt { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0.6; }
@media (hover: hover) and (pointer: fine) {
  .js .proj .changed .lt { opacity: 0; }
  .js .proj[data-hover] .changed .lt, .js .proj:focus-within .changed .lt { opacity: 1; }
}
.cursor-pill { position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none; opacity: 0; scale: 0.85; transform-origin: 0 0; transition: opacity 200ms var(--ease-out), scale 360ms var(--ease-out); }
.cursor-pill.on { opacity: 1; scale: 1; }
@media (hover: none), (pointer: coarse) { .cursor-pill { display: none; } }
.end-link { display: inline-flex; align-items: center; gap: var(--s3); min-height: 44px; }
.end-text { display: grid; gap: 6px; }
.end-title { display: block; font-weight: 400; font-size: 17px; line-height: 1.1; letter-spacing: -0.01em; }
.end-sub { display: block; font-family: var(--f-mono); font-size: 12px; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.end-go { display: inline-grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--fg-3); color: var(--fg); transition: background 200ms ease, border-color 200ms ease, color 200ms ease; }
.end-go .arrow { transition: transform 360ms var(--ease-out); }
.end-link:hover .end-go, .end-link:focus-visible .end-go, .next:hover .end-go, .next:focus-visible .end-go { background: var(--build); border-color: var(--build); color: var(--bg); }
.end-link:hover .end-go .arrow, .end-link:focus-visible .end-go .arrow, .next:hover .end-go .arrow, .next:focus-visible .end-go .arrow { transform: rotate(-45deg); }
.work-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s2) var(--s4); margin-bottom: var(--s6); }
@media (max-width: 860px) { .work-top { margin-bottom: var(--s5); } .end-sub { display: none; } .end-go { width: 44px; height: 44px; } .media, .stretch::after, .proj { border-radius: 14px; } .info { padding-inline: 0; } .focus-pill { left: var(--s2); bottom: var(--s2); } }
.filters { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s6); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--fg-3); font-size: 15px; color: var(--fg-2); transition: background 200ms ease, color 200ms ease, border-color 200ms ease; }
.chip:hover { color: var(--fg); border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.note { display: flex; gap: 14px; align-items: flex-start; max-width: 760px; padding: 20px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: var(--build); stroke-width: 1.6; stroke-linecap: round; }

/* ---------- Services (rahulux.de cards: full colour, one-time drawings) ---------- */
.sv .wrap { container-type: inline-size; }
.cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.card { --c: var(--build); --ink: var(--on-accent); position: relative; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); border-radius: 18px; background: var(--c); color: var(--on-accent); transition: transform 560ms var(--ease-out), opacity 560ms ease; }
.card.improve { --c: var(--improve); } .card.scale { --c: var(--scale); }
.card.loose { opacity: 0.5; transform: translateY(20px); }
.c-label { font-family: var(--f-mono); font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-accent-muted); }
.card h3 { font-weight: 400; font-size: clamp(1.5rem, 1.15rem + 0.9vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.c-body { font-size: 17px; line-height: 1.55; max-width: 40ch; text-wrap: pretty; }
.card .ticks li { font-size: 15px; }
.card .ticks li::before { border-color: var(--on-accent); }
.c-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid rgb(20 20 20 / 0.18); font-size: 14px; color: var(--on-accent-muted); }
.c-go { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(20 20 20 / 0.5); color: var(--on-accent); flex: none; transition: background 200ms ease, color 200ms ease; }
.c-go .arrow { transition: transform 360ms var(--ease-out); }
.card:hover .c-go, .card:focus-within .c-go { background: var(--on-accent); color: var(--c); }
.card:hover .c-go .arrow, .card:focus-within .c-go .arrow { transform: rotate(-45deg); }
.card .stretch::after { border-radius: 18px; }
.art { display: block; width: 100%; height: 150px; overflow: visible; margin-bottom: var(--s3); touch-action: pan-y; }
.art path { fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.art .ink-fill { fill: var(--ink); stroke: none; }
.art .ring { fill: none; stroke: var(--ink); stroke-width: 1.75; }
@media (max-width: 1080px) { .card { padding: var(--s4) var(--s3); } .art { height: 120px; margin-bottom: var(--s2); } .c-body { font-size: 16px; } }
@container (max-width: 1127px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.entry { margin-top: var(--s3); display: grid; gap: var(--s3); align-items: center; padding: clamp(28px, 3.5vw, 44px); border-radius: 18px; background: var(--surface); border: 1px solid var(--rule); }
@media (min-width: 900px) { .entry { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s5); } }
.badge { display: inline-flex; align-items: center; justify-self: start; min-height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--build); color: var(--build); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.entry h3 { font-weight: 400; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem); line-height: 1.25; letter-spacing: -0.02em; margin-bottom: var(--s1); }
.entry p { color: var(--fg-2); font-size: 16px; max-width: 64ch; }

/* ---------- How a project runs (rahulux.de) ---------- */
.hw { border-top: 1px solid var(--rule); }
.hw-head { display: grid; gap: var(--s2); }
.hw-head .label { margin: 0; }
.hw-h2 { font-weight: 300; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.1; letter-spacing: -0.03em; max-width: 18ch; text-wrap: balance; }
.hw-lede { margin-top: var(--s1); max-width: 46ch; color: var(--fg-2); font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem); line-height: 1.55; }
.hw-track { position: relative; height: 420vh; }
.hw-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: var(--nav-h, 84px); }
.hw-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head canvas" "list canvas"; gap: var(--s5) var(--s6); align-items: center; align-content: center; }
.hw-head--desk { grid-area: head; align-self: end; }
.hw-head--desk .hw-h2 { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); }
.hw-list { grid-area: list; align-self: start; position: relative; min-width: 0; }
.hw-canvas { grid-area: canvas; }
.hw-head--phone { display: none; }
.hw-bar { position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; background: var(--rule); }
.hw-bar > i { display: block; width: 100%; height: 0; background: var(--build); }
.hw-stages { list-style: none; display: grid; gap: var(--s1); position: relative; }
.hw-stages li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: var(--s3); align-items: start; padding-block: 6px; }
.pip { width: 12px; height: 12px; margin-top: 0.45em; border-radius: 50%; border: 1.5px solid var(--fg-3); background: var(--bg); box-shadow: 0 0 0 5px var(--bg); transition: background 200ms ease, border-color 200ms ease, transform 360ms var(--ease-out); }
.hw-stages li.done .pip { background: var(--fg-3); }
.hw-stages li.on .pip { background: var(--build); border-color: var(--build); transform: scale(1.25); }
.hw-stages b { display: block; font-weight: 400; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--fg-3); transition: color 300ms ease; }
.hw-stages li.done b { color: var(--fg-2); }
.hw-stages li.on b { color: var(--fg); }
.hw-stages .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 520ms var(--ease-out); }
.hw-stages .more > div { overflow: hidden; }
.hw-stages li.on .more { grid-template-rows: 1fr; }
.hw-stages .more p { margin: var(--s1) 0 0; max-width: 40ch; color: var(--fg-2); font-size: 16px; line-height: 1.5; }
.hw-canvas { position: relative; aspect-ratio: 4 / 3; width: 100%; max-height: calc(100vh - var(--nav-h, 84px) - 64px); margin-inline: auto; border-radius: 18px; background: var(--surface); border: 1px solid var(--rule); container-type: inline-size; overflow: hidden; }
.hw-canvas::before { content: ""; position: absolute; inset: 0; opacity: var(--grid, 0); background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 8.333% 11.111%; }
.hw-inner { position: absolute; inset: 6%; }
.pc { position: absolute; will-change: left, top, width, height, transform; }
.pc > * { position: absolute; inset: 0; }
.l-note { display: flex; align-items: flex-start; padding: 1.6cqw; border-radius: 0.6cqw; background: #ECECEC; color: #141414; font-weight: 500; font-size: 1.9cqw; line-height: 1.2; letter-spacing: -0.01em; }
.pc:nth-child(3n) .l-note { background: #CFCFCF; }
.l-wire { border: 1.5px dashed var(--fg-3); border-radius: 1cqw; padding: 1.4cqw; display: grid; align-content: start; gap: 1cqw; }
.l-wire i { display: block; height: 1cqw; border-radius: 1cqw; background: var(--fg-3); opacity: 0.55; }
.l-ui { background: #262626; border: 1px solid var(--rule); border-radius: 1.2cqw; padding: 1.5cqw; color: var(--fg); font-size: 1.45cqw; line-height: 1.35; overflow: hidden; }
.l-ui .k { font-family: var(--f-mono); font-size: 1.15cqw; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.l-ui .t { display: block; margin-top: 0.4cqw; font-weight: 400; font-size: 2.2cqw; letter-spacing: -0.02em; }
.l-ui .v { font-weight: 300; font-size: 4.2cqw; letter-spacing: -0.03em; line-height: 1; margin-top: 0.8cqw; }
.l-ui .meter { height: 0.8cqw; border-radius: 1cqw; background: var(--rule); margin-top: 1.2cqw; }
.l-ui .meter i { display: block; width: 78%; height: 100%; border-radius: inherit; background: var(--build); }
.l-ui .row { display: flex; justify-content: space-between; align-items: center; gap: 1cqw; padding-block: 0.7cqw; border-bottom: 1px solid var(--rule); }
.l-ui .row:last-child { border-bottom: 0; }
.l-ui .sd { display: inline-block; width: 1cqw; height: 1cqw; border-radius: 50%; margin-right: 0.8cqw; }
.l-ui.side { background: #141414; display: grid; align-content: start; gap: 1.6cqw; }
.l-ui.side b { width: 3.2cqw; height: 3.2cqw; border-radius: 0.8cqw; background: var(--build); }
.l-ui.side i { display: block; height: 0.9cqw; border-radius: 1cqw; background: var(--fg-3); opacity: 0.6; }
.l-ui.side i.on { background: var(--fg); opacity: 1; }
.l-ui.lcta { background: transparent; color: var(--build); border: 1.5px solid var(--build); display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 1.7cqw; }
.l-ui.lchip { border-radius: 10cqw; display: flex; align-items: center; justify-content: center; gap: 0.8cqw; padding: 0 1.4cqw; font-size: 1.4cqw; }
.hw-ov { position: absolute; inset: 6%; pointer-events: none; opacity: 0; }
.hw-areas span { position: absolute; top: -4.5%; font-family: var(--f-mono); font-size: 1.4cqw; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); }
.hw-pins span { position: absolute; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: var(--build); color: #141414; display: grid; place-items: center; font-size: 1.6cqw; font-weight: 500; }
.hw-sys span { position: absolute; padding: 0.4cqw 1cqw; border-radius: 0.5cqw; background: var(--build); color: #141414; font-family: var(--f-mono); font-size: 1.2cqw; white-space: nowrap; }
.hw-cap { position: absolute; right: 2%; bottom: 2.5%; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-3); }
@media (max-width: 900px) {
  .hw-head--desk { display: none; }
  .hw-head--phone { display: grid; padding-top: var(--s7); }
  .hw-grid { grid-template-areas: "canvas" "list"; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .hw-track { height: 360vh; }
  .hw-sticky { align-items: flex-start; padding-top: calc(var(--nav-h, 76px) + var(--s2)); }
  .hw-canvas { order: -1; max-height: 38vh; }
  .hw-stages { gap: 2px; }
  .hw-stages li { padding-block: 4px; gap: var(--s2); }
  .hw-stages b { font-size: 1.125rem; }
  .hw-stages .more p { font-size: 15px; }
}

/* ---------- Why a small studio ---------- */
.compare { display: grid; gap: var(--s3); }
@media (min-width: 960px) { .compare { grid-template-columns: 1fr 1fr 1.15fr; } }
.cmp { padding: clamp(28px, 3vw, 40px); border-radius: 18px; background: var(--surface); border: 1px solid var(--rule); display: grid; gap: var(--s2); align-content: start; }
.cmp h3 { font-weight: 400; font-size: 22px; letter-spacing: -0.02em; margin-bottom: var(--s1); }
.cmp .label { margin: 0; }
.cmp ul { list-style: none; display: grid; gap: 12px; }
.cmp li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; color: var(--fg-2); }
.cmp li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 10px; height: 1.5px; background: var(--fg-3); }
.cmp.us { background: var(--build); border-color: var(--build); color: var(--on-accent); }
.cmp.us .label { color: var(--on-accent-muted); }
.cmp.us li { color: var(--on-accent); }
.cmp.us li::before { width: 12px; height: 7px; top: 0.42em; background: none; border-left: 1.75px solid var(--on-accent); border-bottom: 1.75px solid var(--on-accent); transform: rotate(-45deg); }

/* ---------- Logo strip (rahulux.de) ---------- */
.lg { padding-block: var(--section-pad) 0; border-top: 1px solid var(--rule); overflow: hidden; }
.lg-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s4); }
.lg-head .label { margin: 0; }
.lg-pause { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--fg-3); font-size: 13px; color: var(--fg-2); }
.lg-pause:hover { color: var(--fg); border-color: var(--fg); }
.lg-band { overflow: hidden; }
.lg-track { list-style: none; display: flex; width: max-content; animation: lgRun 48s linear infinite; }
.lg-track li { display: inline-flex; align-items: center; padding-right: clamp(64px, 8vw, 128px); font-size: clamp(14px, 13px + 0.2vw, 16px); line-height: 1.4; color: var(--fg-3); white-space: nowrap; transition: color 200ms ease; }
.lg-track li:hover { color: var(--fg); }
.lg-band:hover .lg-track, .lg.paused .lg-track { animation-play-state: paused; }
@keyframes lgRun { to { transform: translateX(-50%); } }

/* ---------- Testimonials (rahulux.de) ---------- */
.tm { padding-block: var(--section-pad); }
.tm-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); align-items: start; }
.tm-col { display: grid; gap: var(--s4); will-change: transform; }
.tm-col--b { margin-top: clamp(96px, 12vw, 192px); }
.tq { display: grid; gap: var(--s4); padding: clamp(28px, 3.4vw, 48px); border-radius: 18px; background: var(--surface); border: 1px solid var(--rule); transition: opacity 600ms ease, transform 900ms var(--ease-out); }
.tq.loose { opacity: 0.5; transform: translateY(32px) rotate(-0.6deg); }
.tq blockquote { font-weight: 300; font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem); line-height: 1.5; letter-spacing: -0.01em; color: var(--fg-2); text-wrap: pretty; }
.tq blockquote::before { content: "\201C"; } .tq blockquote::after { content: "\201D"; }
.hl { color: var(--fg); }
.hl .hw-w { display: inline-block; transition: transform 900ms var(--ease-out) var(--d, 0ms), color 420ms ease var(--d, 0ms); }
.hl.loose .hw-w { transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg)); }
.hl.on .hw-w { color: var(--c, var(--build)); }
.tq:nth-of-type(1) .hl { --c: var(--build); }
.tm-col:first-child .tq:nth-of-type(2) .hl { --c: var(--scale); }
.tm-col--b .tq:nth-of-type(1) .hl { --c: var(--improve); }
.tm-col--b .tq:nth-of-type(2) .hl { --c: var(--build); }
.tq figcaption { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s2); align-items: center; padding-top: var(--s3); border-top: 1px solid var(--rule); }
.tq-ini { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--fg-3); font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--fg-2); }
.tq-who { display: grid; gap: 2px; font-size: 14px; line-height: 1.4; color: var(--fg-3); min-width: 0; }
.tq-who a { justify-self: start; font-size: 16px; color: var(--fg); display: inline-flex; align-items: center; min-height: 32px; background-image: linear-gradient(var(--build), var(--build)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 85%; transition: background-size 380ms var(--ease-out); }
.tq-who a:hover, .tq-who a:focus-visible { background-size: 100% 1px; }
.tq-rel { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.tm-single { max-width: 820px; }
@media (max-width: 860px) { .tm-cols { grid-template-columns: minmax(0, 1fr); } .tm-col--b { margin-top: 0; } .tm-col { transform: none !important; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--s5); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s7); } }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 76px; padding-block: 18px; cursor: pointer; font-size: clamp(18px, 1rem + 0.4vw, 21px); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--fg-3); flex: none; transition: background 200ms ease, border-color 200ms ease, color 200ms ease; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 380ms var(--ease-out); }
.faq summary:hover .pm { border-color: var(--fg); }
.faq details[open] .pm { background: var(--build); border-color: var(--build); color: var(--bg); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .ans { padding: 0 60px 28px 0; color: var(--fg-2); max-width: 64ch; display: grid; gap: 12px; }
.faq details[open] .ans { animation: panelIn 520ms var(--ease-out); }

/* ---------- Contact (rahulux.de): the signature line under the closing question ---------- */
.ct { padding-block: var(--section-pad); border-top: 1px solid var(--rule); }
.ct .wrap { display: grid; gap: var(--s3); }
.ct .label { margin: 0; }
.ct-mark { position: relative; justify-self: start; max-width: 100%; }
.ct h2 { font-weight: 400; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); line-height: 1.15; letter-spacing: -0.03em; text-wrap: balance; }
.ct h2 span { display: block; }
.ct-ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ct-ink path { fill: none; stroke: var(--build); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ct-ink circle { fill: var(--build); opacity: 0; }
.ct-sub { max-width: 52ch; color: var(--fg-2); margin-top: var(--s2); }
.ct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s4); }
.ct-chip { display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px; border-radius: 999px; background: var(--chip); color: var(--fg); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.25rem); transition: background 200ms ease; }
.ct-chip svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; max-width: 0; margin-left: 0; opacity: 0; transform: translateX(-6px); transition: max-width 360ms var(--ease-out), margin 360ms var(--ease-out), opacity 240ms ease, transform 360ms var(--ease-out); }
.ct-chip:hover, .ct-chip:focus-visible { background: var(--chip-hover); }
.ct-chip:hover svg, .ct-chip:focus-visible svg { max-width: 18px; margin-left: 16px; opacity: 1; transform: none; }
@media (hover: none) { .ct-chip svg { max-width: 18px; margin-left: 16px; opacity: 1; transform: none; } }
.ct-actions .btn { min-height: 56px; padding: 0 28px; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); }

/* ---------- Footer ---------- */
.ft { padding-block: var(--s6) var(--s5); border-top: 1px solid var(--rule); }
.ft-grid { display: grid; gap: var(--s5); padding-bottom: var(--s5); }
@media (min-width: 900px) { .ft-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.ft-brand svg { height: 24px; width: auto; display: block; margin-bottom: var(--s2); color: var(--fg); }
.ft-brand p { color: var(--fg-2); font-size: 15px; max-width: 34ch; }
.ft-col h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: var(--s1); }
.ft-col ul { list-style: none; display: grid; }
.ft-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--rule); }
.ft-small { font-size: 13px; color: var(--fg-3); }
.ft-links a { position: relative; display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; color: var(--fg-2); }
.ft-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--build); transform: scaleX(0); transform-origin: left; transition: transform 380ms var(--ease-out); }
.ft-links a:hover, .ft-links a:focus-visible, .ft-links a[aria-current="page"] { color: var(--fg); }
.ft-links a:hover::after, .ft-links a:focus-visible::after, .ft-links a[aria-current="page"]::after { transform: scaleX(1); }
.ft-top { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--fg-3); font-size: 14px; }
.ft-top .arrow { transition: transform 320ms var(--ease-out); }
.ft-top:hover .arrow, .ft-top:focus-visible .arrow { transform: translateY(-3px); }

/* ---------- Inner page heads ---------- */
.page-head { padding-top: clamp(148px, 22vh, 220px); padding-bottom: var(--s7); }
.page-head h1 { font-weight: 300; font-size: clamp(2.5rem, 1rem + 5vw, 5.25rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 16ch; text-wrap: balance; }
.page-head .sub { margin-top: var(--s4); }
.page-head .note { margin-top: var(--s5); }
.crumb { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: var(--s3); font-size: 15px; color: var(--fg-2); transition: color 200ms ease; }
.crumb svg { transition: transform 320ms var(--ease-out); }
.crumb:hover { color: var(--fg); } .crumb:hover svg { transform: translateX(-4px); }

/* ---------- Services page ---------- */
.svd { display: grid; gap: var(--s5); padding-block: var(--s7); border-top: 1px solid var(--rule); }
@media (min-width: 1000px) { .svd { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: var(--s6); align-items: start; } .svd .card { position: sticky; top: 112px; } }
.svd .card { min-height: 0; }
.svd .card .btn-dark { align-self: flex-start; margin-top: var(--s2); }
.svd-blocks { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .svd-blocks { grid-template-columns: 1fr 1fr; } }
.svd-block h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: var(--s2); }
.svd-block p { color: var(--fg-2); font-size: 16px; }
.svd-block.full { grid-column: 1 / -1; padding: var(--s3); border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); }
.models { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .models { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.model { padding: var(--s4); border-radius: 18px; background: var(--surface); border: 1px solid var(--rule); display: grid; gap: 14px; align-content: start; }
.model .n { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--build); }
.model h3 { font-weight: 400; font-size: 24px; letter-spacing: -0.02em; }
.model p { color: var(--fg-2); font-size: 15px; }
.model dl { display: grid; gap: 12px; margin-top: var(--s1); padding-top: var(--s2); border-top: 1px solid var(--rule); font-size: 15px; }
.model dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 4px; }

/* ---------- Case pages ---------- */
.case-meta { display: grid; gap: var(--s3) var(--s4); margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--rule); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .case-meta { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.case-meta dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: var(--s1); }
.case-meta dd { font-size: 15px; line-height: 1.5; }
.case-hero { position: relative; border-radius: 18px; background: var(--stage); padding: clamp(20px, 5vw, 72px); overflow: hidden; }
.case-hero img, .frame img { border-radius: 10px; margin-inline: auto; background: #F4F4F4; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06), 0 32px 64px -24px rgb(0 0 0 / 0.75); transition: transform 900ms var(--ease-out); }
.js .case-hero.loose img { transform: translate3d(-1%, 3%, 0) rotate(-1.5deg) scale(0.97); opacity: 1; }
.js .case-hero.loose { opacity: 1; transform: none; }
.short { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .short { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.short > div { padding: var(--s4); border-radius: 18px; background: var(--surface); border: 1px solid var(--rule); }
.short h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: var(--s2); }
.short p { color: var(--fg-2); font-size: 16px; }
.decision { display: grid; gap: 12px; padding-block: var(--s4); border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .decision { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s4); } }
.decision .n { font-family: var(--f-mono); font-size: 12px; color: var(--build); padding-top: 7px; }
.decision h3 { font-weight: 400; font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; }
.decision p { color: var(--fg-2); font-size: 16px; }
.gallery { display: grid; gap: var(--s3); margin-top: var(--s5); }
@media (min-width: 900px) { .gallery.two { grid-template-columns: 1fr 1fr; } }
.gallery figure { display: grid; gap: 14px; align-content: start; }
.frame { border-radius: 18px; background: var(--stage); padding: clamp(16px, 3vw, 40px); display: grid; place-items: center; overflow: hidden; }
.frame img { max-height: 760px; width: auto; }
.js .frame.loose img { transform: translate3d(0, 4%, 0) rotate(-1deg) scale(0.97); }
.js .frame.loose { opacity: 1; transform: none; }
.gallery figcaption { font-size: 14px; color: var(--fg-2); }
.impact { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .impact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.impact > div { padding: var(--s4); border-radius: 18px; background: var(--surface); border: 1px solid var(--rule); display: grid; gap: 12px; align-content: start; }
.impact .big { font-weight: 300; font-size: clamp(2.75rem, 1.8rem + 2.6vw, 4.25rem); letter-spacing: -0.045em; line-height: 1; color: var(--c, var(--fg)); }
.impact h3 { font-size: 17px; font-weight: 500; }
.impact p { color: var(--fg-2); font-size: 15px; }
.also { margin-top: var(--s4); color: var(--fg-2); max-width: 70ch; }
.fit { display: grid; gap: var(--s3); padding: clamp(28px, 4vw, 56px); border-radius: 18px; background: var(--c); color: var(--on-accent); align-items: center; }
@media (min-width: 900px) { .fit { grid-template-columns: minmax(0, 1fr) auto; } }
.fit .c-label { display: block; margin-bottom: 12px; }
.fit h2 { font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); letter-spacing: -0.025em; line-height: 1.15; max-width: 24ch; }
.next { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding-block: var(--s5); margin-top: var(--s7); border-top: 1px solid var(--rule); }
.next .t { display: block; font-weight: 300; font-size: clamp(1.375rem, 1.1rem + 1vw, 2.25rem); letter-spacing: -0.025em; line-height: 1.2; max-width: 30ch; margin-top: var(--s2); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 960px) { .about-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--s7); } }
.portrait { border-radius: 18px; overflow: hidden; background: var(--stage); aspect-ratio: 900 / 985; }
.portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.js .portrait.loose img { transform: scale(1.04); }
.js .portrait.loose { opacity: 1; transform: none; }
.portrait-cap { margin-top: 14px; font-size: 14px; color: var(--fg-3); }
.prose { display: grid; gap: 20px; max-width: 62ch; }
.prose p { color: var(--fg-2); }
.prose strong { color: var(--fg); font-weight: 500; }
.facts { display: grid; margin-top: var(--s5); }
.facts div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--s2); padding-block: var(--s2); border-top: 1px solid var(--rule); font-size: 15px; }
.facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); padding-top: 3px; }
.four { display: grid; gap: var(--s3); }
@media (min-width: 760px) { .four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .four { grid-template-columns: repeat(4, minmax(0, 1fr)); } .four.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.four > div { padding: var(--s4); border-radius: 18px; background: var(--surface); border: 1px solid var(--rule); display: grid; gap: 12px; align-content: start; }
.four .n { font-family: var(--f-mono); font-size: 12px; color: var(--build); }
.four h3 { font-weight: 400; font-size: 22px; letter-spacing: -0.02em; }
.four p { color: var(--fg-2); font-size: 15px; }
.promises { list-style: none; display: grid; }
.promise { display: grid; gap: 14px; padding-block: var(--s4); border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .promise { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.promise h3 { font-weight: 300; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem); letter-spacing: -0.02em; line-height: 1.25; }
.promise blockquote { color: var(--fg-2); font-size: 16px; }
.promise cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-3); }
.name-note { display: grid; gap: var(--s4); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 18px; background: var(--surface); border: 1px solid var(--rule); }
@media (min-width: 900px) { .name-note { grid-template-columns: auto minmax(0, 1fr); gap: var(--s6); } }
.name-note .word { font-weight: 300; font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); letter-spacing: -0.04em; line-height: 1; color: var(--build); }
.name-note .word small { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin-top: var(--s2); }
.name-note p { font-size: clamp(17px, 1rem + 0.3vw, 20px); color: var(--fg-2); max-width: 48ch; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s7); } }
.cf { display: grid; gap: var(--s4); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.cf-field { display: grid; gap: var(--s1); border: 0; margin: 0; padding: 0; min-width: 0; }
.cf-field label, .cf-field legend { font-size: 15px; line-height: 1.4; color: var(--fg); padding: 0; }
.cf-field .opt { color: var(--fg-3); }
.cf-field input, .cf-field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--fg-3); border-radius: 12px; background: var(--surface); color: var(--fg); font: inherit; font-size: 17px; line-height: 1.5; transition: border-color 200ms ease, box-shadow 200ms ease; }
.cf-field textarea { min-height: 168px; resize: vertical; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: #7A7A7A; }
.cf-field input:hover, .cf-field textarea:hover { border-color: var(--fg-2); }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--build); box-shadow: 0 0 0 1px var(--build); }
.cf-field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.cf-hint { font-size: 14px; color: var(--fg-2); }
.choices { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--chip); color: var(--fg-2); font-size: 15px; transition: background 200ms ease, color 200ms ease; }
.choice span i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.choice:hover span { background: var(--chip-hover); color: var(--fg); }
.choice input:checked + span { background: var(--fg); color: var(--bg); }
.choice input:focus-visible + span { outline: 2px solid var(--build); outline-offset: 3px; }
.cf-err { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.4; color: var(--error); }
.cf-err[hidden] { display: none; }
.cf-err svg { flex: none; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.cf-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s3); }
.cf-send { min-height: 52px; padding: 0 28px; font-size: 16px; border: 0; }
.cf-send[disabled] { opacity: 0.6; cursor: progress; }
.cf-note { font-size: 14px; line-height: 1.5; color: var(--fg-2); max-width: 40ch; }
.cf-status { font-size: 15px; line-height: 1.5; }
.cf-status:empty { display: none; }
.cf-status.is-error { color: var(--error); }
.cf-status a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--build); text-underline-offset: 3px; }
.cf-done { padding: var(--s4); border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); display: grid; gap: var(--s1); }
.cf-done h3 { font-weight: 400; font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.25; letter-spacing: -0.02em; }
.cf-done p { color: var(--fg-2); }
.cf-done:focus { outline: none; }
@media (max-width: 640px) { .cf-row { grid-template-columns: 1fr; } }
.steps-list { list-style: none; display: grid; }
.steps-list li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: var(--s3); padding-block: var(--s3); border-top: 1px solid var(--rule); }
.steps-list .pip { background: var(--build); border-color: var(--build); }
.steps-list h3 { font-weight: 400; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 4px; }
.steps-list p { color: var(--fg-2); font-size: 15px; }
.direct { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s2); }

/* ---------- Legal ---------- */
.doc { max-width: 68ch; display: grid; gap: var(--s2); }
.doc h2 { margin-top: var(--s4); font-weight: 400; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.3; letter-spacing: -0.015em; }
.doc p, .doc li, .doc address { color: var(--fg-2); font-style: normal; line-height: 1.65; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc strong { color: var(--fg); font-weight: 500; }
.doc a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--build); text-underline-offset: 3px; }

/* ---------- Reduced motion: final states, no pinning ---------- */
@media (prefers-reduced-motion: reduce) {
  .fade { animation: none; opacity: 1; }
  .sheet, .sheet nav a, .node, .cta svg, .btn svg, .links a::after, .media-in, .shots, .shot, .focus-pill, .lt, .cursor-pill, .end-go, .end-go .arrow, .card, .tq, .hl .hw-w, .ct-chip, .ct-chip svg, .tq-who a, .ft-top .arrow, .settle, .pm::after, .portrait img, .case-hero img, .frame img { transition: none !important; }
  .js .shot { transform: none !important; }
  .js .loose, .card.loose, .tq.loose { opacity: 1; transform: none; }
  .changed.loose-l .lt, .settle-word.loose-l .lt, .hl.loose .hw-w { transform: none; opacity: 1; }
  .js .case-hero.loose img, .js .frame.loose img, .js .portrait.loose img { transform: none; }
  .aud-panel.enter, .faq details[open] .ans { animation: none; }
  .hw-track { height: auto; padding-block: var(--s5) var(--section-pad); }
  .hw-sticky { position: static; height: auto; padding-top: 0; }
  .hw-stages .more { grid-template-rows: 1fr; transition: none; }
  .pip, .hw-stages b { transition: none; }
  .hw-canvas { order: 0; max-height: none; }
  .lg-track { animation: none; flex-wrap: wrap; width: auto; row-gap: var(--s2); }
  .lg-track li[aria-hidden="true"] { display: none; }
  .lg-pause { display: none; }
  .tm-col { transform: none !important; }
}
