/* stratum — shared styles for inner pages (index.html keeps its own design runtime) */
:root {
  --bg: #f5f5f3;
  --bg-2: #ecece8;
  --ink: #0a0a0b;
  --ink-2: #1c1c1f;
  --muted: #55555c;
  --muted-2: #6a6a70;
  --line: rgba(10, 10, 11, .14);
  --accent: oklch(0.55 0.22 268);
  --accent-2: oklch(0.72 0.16 268);
  --go: oklch(0.62 0.17 150);
  --pad-x: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, .84, .12, 1);
  --sans: 'Geist', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); }
body { color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ── helpers ─────────────────────────────────────────── */
.wrap { padding-left: var(--pad-x); padding-right: var(--pad-x); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.label { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.label::before { content: ''; width: 6px; height: 6px; background: var(--accent); flex: 0 0 6px; }
.dark .label { color: #a2a2aa; }
.dark .label::before { background: var(--accent-2); }
.dark { background: var(--ink); color: var(--bg); }
.dark a { color: var(--bg); }
.dark a:hover { color: var(--accent-2); }
.sq { display: inline-block; width: 5px; height: 5px; background: currentColor; }

/* section head: label column + big heading */
.shead { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-end; }
.shead > .label { flex: 1 1 180px; padding-bottom: 1.2em; }
.shead > .shead-main { flex: 4 1 560px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.h2 { margin: 0; font-size: clamp(52px, 8vw, 148px); font-weight: 600; line-height: .9; letter-spacing: -0.06em; }
.h3 { margin: 0; font-size: clamp(28px, 3.2vw, 54px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.lead { margin: 0; font-size: clamp(16px, 1.3vw, 21px); line-height: 1.45; letter-spacing: -0.012em; color: var(--ink-2); text-wrap: pretty; }
.dark .lead { color: #c9c9cf; }
.body { margin: 0; font-size: clamp(16px, 1.1vw, 18px); line-height: 1.55; letter-spacing: -0.01em; color: #2a2a2f; text-wrap: pretty; }
.dark .body { color: #a9a9b0; }
.section { position: relative; padding-top: clamp(96px, 14vh, 180px); padding-bottom: clamp(96px, 14vh, 180px); display: flex; flex-direction: column; gap: clamp(56px, 9vh, 110px); }

/* ── buttons ─────────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; gap: 16px; height: 62px; padding: 0 10px 0 30px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; overflow: hidden; isolation: isolate; border: 0; cursor: pointer; transition: transform .25s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 999px; background: var(--accent); transform: translateY(102%); transition: transform .52s var(--ease); }
.btn:hover { color: #fff; }
.btn:hover::before { transform: translateY(0); }
.btn .arr { width: 42px; height: 42px; border-radius: 50%; background: var(--bg); color: var(--ink); display: grid; place-items: center; font-size: 18px; line-height: 1; transition: transform .52s var(--ease); }
.btn:hover .arr { transform: rotate(-45deg); }
.btn.sm { height: 48px; font-size: 15px; padding: 0 8px 0 22px; gap: 12px; }
.btn.sm .arr { width: 34px; height: 34px; font-size: 15px; }
.dark .btn { background: var(--bg); color: var(--ink); }
.dark .btn .arr { background: var(--ink); color: var(--bg); }
.dark .btn:hover { color: #fff; }
.link-u { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ── nav ─────────────────────────────────────────────── */
.nav { position: fixed; top: 16px; left: 50%; z-index: 50; transform: translate(-50%, 0); display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); padding: 7px 7px 7px 22px; border-radius: 999px; background: rgba(245, 245, 243, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(10, 10, 11, .08); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; animation: navIn .9s var(--ease-out) .2s backwards; }
@keyframes navIn { from { transform: translate(-50%, -160%); } }
.logo { display: flex; align-items: flex-start; gap: 2px; font-weight: 700; font-size: 19px; letter-spacing: -0.05em; line-height: 1; }
.logo::after { content: ''; width: .2em; height: .2em; background: var(--accent); margin-top: .05em; }
/* logo lockup: small "Digital Studio" under the wordmark, bottom right */
.lw { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.ls { display: block; font-size: max(8px, .27em); font-weight: 500; letter-spacing: .02em; line-height: 1; margin-top: .35em; opacity: .62; white-space: nowrap; }
.foot-mark .lw { line-height: .76; }
.foot-mark .ls { font-size: .1em; margin-top: .6em; letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); }
.nav-links a { position: relative; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 4px; height: 4px; margin-left: -2px; background: var(--accent); }
.nav-cta { display: flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; transition: background .3s; }
.nav-cta:hover { background: var(--accent); color: #fff; }
/* menu button (same as the home header) */
.hb { position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; padding: 0 13px; transition: background .35s, transform .35s var(--ease); }
.hb span { display: block; height: 1.6px; border-radius: 2px; background: var(--bg); transition: width .45s var(--ease); }
.hb span:nth-child(1) { width: 20px; } .hb span:nth-child(2) { width: 13px; } .hb span:nth-child(3) { width: 17px; }
.hb:hover { background: var(--accent); transform: scale(1.06); }
.hb:hover span { width: 20px; }
.hb:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hb-fixed { position: fixed; top: 20px; right: clamp(16px, 2.2vw, 34px); z-index: 51; box-shadow: 0 8px 24px -10px rgba(10, 10, 11, .45); animation: hbIn .9s var(--ease-out) .3s backwards; }
@keyframes hbIn { from { opacity: 0; transform: scale(.6); } }
@media (max-width: 820px) {
  .nav { left: 12px; right: auto; transform: none; animation-name: navInM; padding: 0 22px; height: 46px; }
  @keyframes navInM { from { transform: translateY(-160%); } }
  .nav-links, .nav > .nav-cta { display: none; }
  .hb-fixed { top: 16px; right: 12px; }
}

/* ── page hero (inner pages) ─────────────────────────── */
.phero { position: relative; overflow: hidden; padding: clamp(150px, 24vh, 240px) var(--pad-x) clamp(64px, 10vh, 120px); display: flex; flex-direction: column; gap: clamp(28px, 5vh, 56px); }
.phero .crumbs { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.phero .crumbs a { color: var(--muted); }
.phero .crumbs a:hover { color: var(--accent); }
.phero h1 { margin: 0; font-weight: 600; font-size: clamp(64px, 11vw, 232px); line-height: .84; letter-spacing: -0.062em; }
.phero h1 .ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.phero h1 .ln > span { display: inline-flex; align-items: baseline; white-space: nowrap; animation: lineUp 1.2s var(--ease-out) backwards; }
.phero h1 .ln:nth-child(2) > span { animation-delay: .13s; }
.phero h1 .ln:nth-child(3) > span { animation-delay: .26s; }
@keyframes lineUp { from { transform: translateY(108%); } }
.caret { display: inline-block; width: .075em; height: .64em; margin-left: .07em; background: var(--accent); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.phero .phero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; animation: fadeUp 1s var(--ease-out) .55s backwards; }
.phero .phero-foot .lead { max-width: 34em; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
.phero .sweep { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; z-index: 3; pointer-events: none; opacity: 0; background: var(--accent); box-shadow: 0 0 24px 2px oklch(0.55 0.22 268 / .6); animation: sweep 1.3s cubic-bezier(.6, 0, .2, 1) .05s; }
@keyframes sweep { 0% { transform: translateX(0); opacity: 0; } 12%, 85% { opacity: 1; } 100% { transform: translateX(100vw); opacity: 0; } }
.phero .grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(10, 10, 11, .07) 1px, transparent 1px), linear-gradient(to bottom, rgba(10, 10, 11, .07) 1px, transparent 1px); background-size: 56px 56px; background-position: -1px -1px; -webkit-mask-image: radial-gradient(360px circle at var(--mx, 78%) var(--my, 40%), #000 0%, transparent 72%); mask-image: radial-gradient(360px circle at var(--mx, 78%) var(--my, 40%), #000 0%, transparent 72%); }
.phero > *:not(.grid-bg):not(.rings):not(.sweep) { position: relative; z-index: 2; }

/* orbiting rings decoration */
.rings { position: absolute; aspect-ratio: 1; perspective: 1400px; pointer-events: none; }
.rings .r1, .rings .r2 { position: absolute; border-radius: 50%; }
.rings .r1 { inset: 0; border: 1px solid oklch(0.55 0.22 268 / .5); --b: rotateX(70deg) rotateY(-22deg); transform: var(--b); animation: spin 20s linear infinite; }
.rings .r2 { inset: 16%; border: 1px dashed rgba(10, 10, 11, .2); --b: rotateX(62deg) rotateY(28deg); transform: var(--b); animation: spin 34s linear infinite reverse; }
.rings .r1::before { content: ''; position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.rings .r2::before { content: ''; position: absolute; left: 50%; bottom: -3px; width: 5px; height: 5px; margin-left: -2px; background: var(--ink); }
.dark .rings .r1 { border-color: oklch(0.72 0.16 268 / .45); }
.dark .rings .r1::before { background: var(--accent-2); box-shadow: 0 0 16px var(--accent-2); }
.dark .rings .r2 { border-color: rgba(245, 245, 243, .18); }
.dark .rings .r2::before { background: var(--bg); }
@keyframes spin { from { transform: var(--b) rotateZ(0); } to { transform: var(--b) rotateZ(360deg); } }
.phero .rings { right: -6vw; top: 8vh; width: min(52vw, 760px); }

/* ── media ───────────────────────────────────────────── */
.media { position: relative; overflow: hidden; border-radius: 4px; background: #eaeae6; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.media .chip { position: absolute; left: 14px; top: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(245, 245, 243, .86); font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--ink); }
.media.parallax img { height: 118%; will-change: transform; }

/* ── reveal ──────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].in { opacity: 1; animation: reveal 1.1s var(--ease-out) backwards; animation-delay: var(--d, 0ms); }
@keyframes reveal { from { opacity: 0; transform: translateY(40px); filter: blur(6px); } }

/* scroll-filled paragraph */
.fill-text { background-image: linear-gradient(180deg, var(--ink) 0%, #c2c2bd 0%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── marquee ─────────────────────────────────────────── */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(22px, 3vw, 40px) 0; }
.marquee-track { display: flex; width: max-content; font-size: clamp(28px, 3.4vw, 56px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; animation: marq 38s linear infinite; }
.marquee-track > div { display: flex; align-items: center; gap: clamp(28px, 3.4vw, 56px); padding-right: clamp(28px, 3.4vw, 56px); }
.marquee-track i { width: 8px; height: 8px; background: var(--ink); display: inline-block; }
.marquee-track i.a { background: var(--accent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ── stats ───────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted-2); }
.stat .v { font-size: clamp(34px, 4vw, 64px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.dark .stats { border-color: rgba(245, 245, 243, .16); }
.dark .stat .k { color: #8a8a92; }

/* ── feature list (why us / values) ──────────────────── */
.feat-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 28px; }
.feat { display: flex; flex-direction: column; gap: 18px; padding: 32px 0 40px; border-top: 1px solid var(--line); transition: background .4s, padding .4s var(--ease); }
.dark .feat { border-color: rgba(245, 245, 243, .16); }
.feat:hover { background: rgba(10, 10, 11, .03); }
.dark .feat:hover { background: rgba(245, 245, 243, .04); }
.feat .no { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.dark .feat .no { color: var(--accent-2); }
.feat .t { font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
.feat .d { font-size: 16px; line-height: 1.5; color: #55555c; text-wrap: pretty; }
.dark .feat .d { color: #a9a9b0; }

/* ── reviews ─────────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.review { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(24px, 2.4vw, 40px); border-radius: 4px; background: var(--bg-2); transition: background .4s, transform .4s var(--ease); }
.review:hover { background: #e6e6f2; transform: translateY(-6px); }
.review.dk { background: var(--ink); color: var(--bg); }
.review.dk:hover { background: var(--ink); }
.review blockquote { margin: 0; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.3; letter-spacing: -0.025em; text-wrap: pretty; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review .who { display: flex; flex-direction: column; gap: 3px; }
.review .who b { font-size: 15px; font-weight: 500; }
.review .who span { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--muted); }
.review.dk .who span { color: #a9a9b0; }
.stars { display: flex; gap: 3px; color: var(--accent); font-size: 14px; letter-spacing: 2px; }
.review.dk .stars { color: var(--accent-2); }

/* ── CTA block ───────────────────────────────────────── */
.cta { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: clamp(40px, 6vh, 72px); padding: clamp(110px, 16vh, 200px) var(--pad-x); border-top: 1px solid var(--line); }
.cta .rings { right: 4vw; top: 50%; width: min(44vw, 640px); margin-top: calc(min(44vw, 640px) / -2); }
.cta h2 { position: relative; margin: 0; font-size: clamp(64px, 11vw, 232px); font-weight: 600; line-height: .84; letter-spacing: -0.062em; }
.cta .row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; }
.cta .row .lead { max-width: 30em; }
.cta .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.cta .acts > a:not(.btn) { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ── footer ──────────────────────────────────────────── */
.foot { display: flex; flex-direction: column; gap: clamp(56px, 8vh, 96px); padding: clamp(72px, 10vh, 120px) var(--pad-x) clamp(20px, 2.4vw, 34px); background: var(--ink); color: var(--bg); }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 40px 32px; }
.foot-cols .tagline { font-size: 22px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; max-width: 13em; text-wrap: pretty; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-col .h { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: #8a8a92; margin-bottom: 6px; }
.foot-col span { color: #c9c9cf; }
.foot a { color: var(--bg); }
.foot a:hover { color: var(--accent-2); }
.foot-mark { display: flex; align-items: flex-start; gap: .04em; font-size: clamp(96px, 23vw, 440px); font-weight: 700; letter-spacing: -0.075em; line-height: .76; overflow: hidden; padding-bottom: .04em; }
.foot-mark::after { content: ''; width: .18em; height: .18em; flex: 0 0 .18em; background: var(--accent-2); margin-top: .02em; }
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 20px; border-top: 1px solid rgba(245, 245, 243, .14); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: #a2a2aa; }
.foot-bar a { color: #a2a2aa; }
.foot-bar .live { display: flex; align-items: center; gap: 8px; }
.foot-bar .live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--go); }

/* ── forms ───────────────────────────────────────────── */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field { position: relative; display: flex; flex-direction: column; gap: 10px; }
.field > label, .field > .flabel { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.field > label i, .field > .flabel i { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(10, 10, 11, .25); background: transparent; padding: 10px 0 14px; font-size: clamp(18px, 1.5vw, 24px); letter-spacing: -0.02em; outline: none; border-radius: 0; transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.4; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 6px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #a6a6a2; }
.field::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field:has(.chips)::after { display: none; }
.field.err input, .field.err select, .field.err textarea { border-color: oklch(0.6 0.2 25); }
.field .emsg { display: none; font-family: var(--mono); font-size: 11px; color: oklch(0.55 0.2 25); }
.field.err .emsg { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; font-weight: 500; cursor: pointer; user-select: none; transition: background .3s, color .3s, border-color .3s; }
.chip-opt span::before { content: ''; width: 6px; height: 6px; background: currentColor; opacity: .3; transition: opacity .3s, background .3s; }
.chip-opt:hover span { border-color: var(--ink); }
.chip-opt input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-opt input:checked + span::before { opacity: 1; background: var(--accent-2); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── whatsapp (styles also injected on index by site.js) ─ */
