/* =====================================================================
   The Minds Studio — website v2.0
   Tokens → base → chrome (nav, menu, cursor, loader, overlays) → components → sections → pages
   ===================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --ink: #f2f2ee;
  --ink-2: #a3a39e;
  --ink-3: #8a8a84;
  --line: rgba(242, 242, 238, 0.1);
  --line-2: rgba(242, 242, 238, 0.18);
  --accent: #29a8ff;
  --accent-2: #3d6bff;
  --accent-grad: linear-gradient(115deg, #4cc3ff 0%, #29a8ff 45%, #3d6bff 100%);
  --accent-ink: #04121f;
  --accent-text: #5cbcff;
  --light-bg: #ecece7;
  --light-ink: #0a0a0a;

  --f-sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-brand: "Montserrat", var(--f-sans);

  --pad: clamp(16px, 2.6vw, 40px);
  --gut: clamp(12px, 1.4vw, 20px);
  --nav-h: 72px;
  --r: 3px;
  --r-lg: 4px;
  --r-s: 2px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.15, 1);

  --t-display: clamp(3rem, min(8vw, 12.6vh), 8.25rem);
  --t-h2: clamp(2.35rem, 5.4vw, 5.25rem);
  --t-h3: clamp(1.5rem, 2.5vw, 2.25rem);
  --t-lead: clamp(1.125rem, 1.45vw, 1.375rem);
  --t-body: 1rem;
  --t-mono: 0.75rem;
}

[data-theme="light"] {
  --bg: var(--light-bg);
  --bg-2: #e2e2dc;
  --bg-3: #d8d8d1;
  --ink: var(--light-ink);
  --ink-2: #5d5d58;
  --ink-3: #6e6e68;
  --line: rgba(10, 10, 10, 0.12);
  --line-2: rgba(10, 10, 10, 0.22);
  --accent-text: #0b6fd0;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
sup { font-size: 0.55em; vertical-align: top; position: relative; top: 0.1em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
svg path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg.star path, .star path { fill: currentColor; stroke: none; }

.wrap { padding-inline: var(--pad); width: 100%; }
.mono { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.4; font-weight: 400; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.brand { font-family: var(--f-brand); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; line-height: 1; }
.brand sup { font-size: 0.42em; top: -0.05em; margin-left: 0.08em; font-weight: 600; }
.h2 { font-size: var(--t-h2); line-height: 0.98; letter-spacing: -0.04em; font-weight: 500; }
.h2 .serif, .contact__title .serif { letter-spacing: -0.02em; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--accent-grad); color: var(--accent-ink); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* elements JS animates in stay hidden until app.js has set their start state */
html.js:not(.reduced):not(.ready) :is([data-split], [data-reveal], [data-intro], [data-intro-nav], [data-stagger], [data-ink]) { visibility: hidden; }
html.js:not(.reduced):not(.ready) :is(.hero__title .hl > span, .wheel, .guides) { visibility: hidden; }

/* ---------- letter roll (chars built by app.js) ---------- */

.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.15; }
.roll__a, .roll__b { display: block; white-space: nowrap; }
.roll__b { position: absolute; left: 0; top: 100%; }
.roll__a > span, .roll__b > span { display: inline-block; transition: transform 0.55s var(--ease); transition-delay: calc(var(--i) * 14ms); }
:is(a, button, label):hover .roll > span > span,
:is(a, button):focus-visible .roll > span > span { transform: translateY(-100%); }

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

.btn {
  --b-bg: var(--ink); --b-ink: var(--bg); --b-line: transparent;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 6px 0 22px; border-radius: var(--r-s);
  background: var(--b-bg); color: var(--b-ink); box-shadow: inset 0 0 0 1px var(--b-line);
  font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  overflow: hidden; isolation: isolate; will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--b-fill, var(--accent-grad)); transform: translateY(101%); transition: transform 0.6s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--b-ink-h, var(--accent-ink)); }
.btn--light { --b-bg: var(--ink); --b-ink: var(--bg); }
.btn--accent { --b-bg: var(--accent); --b-ink: var(--accent-ink); --b-fill: var(--ink); --b-ink-h: var(--bg); background: var(--accent-grad); }
.btn--ghost { --b-bg: transparent; --b-ink: var(--ink); --b-line: var(--line-2); }
.btn--sm { height: 40px; padding: 0 5px 0 16px; font-size: 0.875rem; gap: 10px; }
.btn__icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 1px; background: var(--b-ink); color: var(--b-bg); overflow: hidden; transition: background 0.5s var(--ease), color 0.5s var(--ease); flex: none; }
.btn--ghost .btn__icon { background: var(--ink); color: var(--bg); }
.btn--sm .btn__icon { width: 30px; height: 30px; }
.btn__icon svg { width: 16px; height: 16px; grid-area: 1 / 1; transition: transform 0.55s var(--ease); }
.btn__icon svg:last-child { transform: translate(-150%, 150%); }
.btn:hover .btn__icon svg:first-child { transform: translate(150%, -150%); }
.btn:hover .btn__icon svg:last-child { transform: translate(0, 0); }
.btn:hover .btn__icon { background: var(--b-ink-h, var(--accent-ink)); color: var(--b-fill, var(--accent)); }
.btn__label { position: relative; display: inline-block; }

/* cut corners: top-right and bottom-left trimmed on a 45° line (buttons, arrow boxes, back-to-top, menu) */
.btn, .btn__icon, .nav__burger, .totop, .footer__go-i {
  --cut: 10px;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.btn { box-shadow: none; }
.btn--sm { --cut: 8px; }
.btn__icon { --cut: 7px; }
.btn--sm .btn__icon { --cut: 5px; }
.footer__go-i { --cut: clamp(12px, 1.6vw, 26px); }
/* the outline of ghost buttons follows the cut (a 1px ring clipped to the same shape) */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--b-line);
  clip-path: polygon(evenodd,
    0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 0,
    1px 1px, 1px calc(100% - var(--cut) - 0.41px), calc(var(--cut) + 0.41px) calc(100% - 1px), calc(100% - 1px) calc(100% - 1px),
    calc(100% - 1px) calc(var(--cut) + 0.41px), calc(100% - var(--cut) - 0.41px) 1px, 1px 1px);
}
/* clip-path hides outlines, so keyboard focus shows the hover fill instead */
.btn:focus-visible { outline: none; }
.btn:focus-visible::before { transform: translateY(0); }
.btn:focus-visible { color: var(--b-ink-h, var(--accent-ink)); }

/* ---------- section scaffolding ---------- */

.label { font-weight: 400; display: inline-flex; gap: 10px; align-items: baseline; font-family: var(--f-mono); font-size: var(--t-mono); text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink-2); white-space: nowrap; }
.label__n { color: var(--ink); }
.sec-top { display: flex; align-items: center; gap: 20px; margin-bottom: clamp(28px, 4vw, 56px); }
.hr { display: block; flex: 1; height: 1px; background: var(--line-2); transform-origin: 0 50%; }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: end; margin-bottom: clamp(48px, 7vw, 110px); }
.sec-head .h2 { grid-column: 1 / span 8; }
.sec-head__sub { grid-column: 9 / -1; color: var(--ink-2); font-size: var(--t-lead); line-height: 1.4; max-width: 36ch; }
.sec-head__sub a, .pricing__note a { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.5s var(--ease); }
.sec-head__sub a:hover, .pricing__note a:hover { background-size: 0 1px; background-position: 100% 100%; }
section { position: relative; }

.pulse { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-grad); margin-right: 8px; vertical-align: 0.05em; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent-grad); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3.2); opacity: 0; } }

.corners i { position: absolute; width: 18px; height: 18px; border: 0 solid var(--accent); transition: transform 0.6s var(--ease), opacity 0.4s; opacity: 0; z-index: 2; pointer-events: none; }
.corners i:nth-child(1) { top: 14px; left: 14px; border-top-width: 1.5px; border-left-width: 1.5px; transform: translate(12px, 12px); }
.corners i:nth-child(2) { top: 14px; right: 14px; border-top-width: 1.5px; border-right-width: 1.5px; transform: translate(-12px, 12px); }
.corners i:nth-child(3) { bottom: 14px; left: 14px; border-bottom-width: 1.5px; border-left-width: 1.5px; transform: translate(12px, -12px); }
.corners i:nth-child(4) { bottom: 14px; right: 14px; border-bottom-width: 1.5px; border-right-width: 1.5px; transform: translate(-12px, -12px); }
a:hover .corners i, a:focus-visible .corners i { opacity: 1; transform: translate(0, 0); }

/* ring badge text */
.ring { width: 100%; height: 100%; overflow: visible; }
.ring text { font-family: var(--f-mono); font-size: 15px; letter-spacing: 0.08em; fill: currentColor; text-transform: uppercase; }

/* ---------- overlays: guides, grain, edge blur, cursor, page transition ---------- */

.guides { position: fixed; inset: 0 var(--pad); z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; mix-blend-mode: difference; }
.guides i { border-left: 1px solid rgba(255, 255, 255, 0.045); transform-origin: 50% 50%; }
.guides i:last-child { border-right: 1px solid rgba(255, 255, 255, 0.045); }

.grain { position: fixed; inset: 0; z-index: 61; pointer-events: none; overflow: hidden; opacity: 0.07; }
.grain::before { content: ""; position: absolute; inset: -50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-2%, 4%); } 80% { transform: translate(5%, 1%); } 100% { transform: translate(0, 0); } }

.edgeblur { transition: opacity 0.5s; }
.edgeblur.is-off { opacity: 0; }
.edgeblur { position: fixed; left: 0; right: 0; bottom: 0; height: 84px; z-index: 55; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg) 55%, transparent)); }
.edgeblur i { position: absolute; inset: 0; }
.edgeblur i:nth-child(1) { backdrop-filter: blur(0.5px); -webkit-backdrop-filter: blur(0.5px); mask-image: linear-gradient(to bottom, transparent 0%, #000 20%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%); }
.edgeblur i:nth-child(2) { backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px); mask-image: linear-gradient(to bottom, transparent 20%, #000 40%); -webkit-mask-image: linear-gradient(to bottom, transparent 20%, #000 40%); }
.edgeblur i:nth-child(3) { backdrop-filter: blur(3.5px); -webkit-backdrop-filter: blur(3.5px); mask-image: linear-gradient(to bottom, transparent 40%, #000 60%); -webkit-mask-image: linear-gradient(to bottom, transparent 40%, #000 60%); }
.edgeblur i:nth-child(4) { backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); mask-image: linear-gradient(to bottom, transparent 60%, #000 80%); -webkit-mask-image: linear-gradient(to bottom, transparent 60%, #000 80%); }
.edgeblur i:nth-child(5) { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); mask-image: linear-gradient(to bottom, transparent 80%, #000 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 80%, #000 100%); }

.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; opacity: 0; display: none; }
html.has-cursor .cursor { display: block; }
.cursor__dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; mix-blend-mode: difference; transition: transform 0.45s var(--ease), opacity 0.3s; }
.cursor.is-link .cursor__dot { transform: scale(3.4); }
.cursor.is-label .cursor__dot { transform: scale(0); }
.cursor.is-down .cursor__dot { transform: scale(0.6); }
.cursor__label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(0.3); opacity: 0; padding: 10px 14px; border-radius: var(--r-s); background: var(--accent-grad); color: var(--accent-ink); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; transition: transform 0.5s var(--ease), opacity 0.3s; }
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }

.ptr { position: fixed; inset: 0; z-index: 280; display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; }
.ptr i { background: var(--light-bg); transform: scaleY(0); transform-origin: 50% 100%; }
html.ptr-in .ptr i { transform: scaleY(1); }
html.ptr-in .ptr { pointer-events: auto; }

/* ---------- loader ---------- */

.loader { position: fixed; inset: 0; z-index: 290; display: none; place-items: center; color: var(--ink); }
html.js.intro .loader { display: grid; }
html.js.intro body { overflow: hidden; }
.loader__cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.loader__cols i { background: var(--bg); border-left: 1px solid rgba(255, 255, 255, 0.05); }
.loader__word { position: relative; font-size: clamp(26px, 8.4vw, 150px); visibility: hidden; will-change: transform; }
.loader__base { display: block; color: rgba(242, 242, 238, 0.14); }
.loader__fill { position: absolute; left: 0; top: 0; clip-path: inset(0 100% 0 0); }
.loader__meta { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: flex-end; color: var(--ink-2); }

/* ---------- nav ---------- */

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--nav-h); color: var(--ink); transition: color 0.4s; }
.nav::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity 0.4s; }
.nav.is-scrolled::before { opacity: 1; }
.nav.on-light { --bg: var(--light-bg); --ink: var(--light-ink); --ink-2: #5d5d58; --line: rgba(10, 10, 10, 0.12); --line-2: rgba(10, 10, 10, 0.22); }
.nav.menu-open, .nav.menu-open.on-light { --bg: #121212; --ink: #f2f2ee; --ink-2: #a3a39e; --line: rgba(242, 242, 238, 0.1); }
.nav.menu-open::before { opacity: 0; }
.nav__inner { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav__brand { justify-self: start; font-size: 18px; display: inline-flex; }
.nav__links { display: flex; gap: clamp(18px, 2.2vw, 34px); font-size: 0.9375rem; }
.nav__item a { display: inline-flex; align-items: flex-start; gap: 3px; color: var(--ink); opacity: 0.92; }
.nav__item a[aria-current="page"] .roll::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; }
.nav__item sup { font-family: var(--f-mono); font-size: 9px; color: var(--ink-2); top: -0.2em; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 18px; }
.nav__status { display: flex; align-items: center; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.nav__burger { display: none; position: relative; width: 44px; height: 44px; border-radius: var(--r-s); background: var(--ink); }
.nav__burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--bg); transition: transform 0.6s var(--ease); }
.nav__burger i:first-child { top: 18px; }
.nav__burger i:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 190; background: var(--bg-2); clip-path: inset(0 0 100% 0); }
.menu__inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 32px; }
.menu__links { display: flex; flex-direction: column; }
.menu__link { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.menu__link .mono { color: var(--ink-3); }
.menu__label { display: inline-block; font-size: clamp(2.2rem, 10vw, 3.6rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; }
.menu__foot { display: grid; gap: 10px; color: var(--ink-2); }
.menu__social { display: flex; gap: 20px; }

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

.hero { position: relative; min-height: max(760px, 100svh); padding-top: calc(var(--nav-h) + 18px); overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; color: var(--ink); }
.hero__glow { position: absolute; left: 50%; top: 38%; width: min(1100px, 90vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); z-index: -1; background: radial-gradient(closest-side, rgba(41, 168, 255, 0.08), rgba(61, 107, 255, 0.03) 45%, transparent 70%), radial-gradient(closest-side at 60% 60%, rgba(255, 255, 255, 0.05), transparent 70%); filter: blur(20px); pointer-events: none; }
.hero__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); color: var(--ink-2); }
.hero__meta p:last-child { justify-self: end; color: var(--ink); }
.hero__body { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(28px, 5vh, 64px); }
.hero__title { font-size: var(--t-display); font-weight: 500; line-height: 0.9; letter-spacing: -0.055em; display: flex; flex-direction: column; align-items: center; }
.hl { display: block; padding: 0 0.04em 0.04em; }
.hl > span { display: inline-block; text-shadow: 0 0 34px rgba(255, 255, 255, 0.28), 0 0 90px rgba(255, 255, 255, 0.12); }
.hl .serif { font-size: 1.08em; letter-spacing: -0.03em; color: var(--ink); }
.hl .amp { color: var(--accent); background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 28px rgba(41, 168, 255, 0.45)); }
.hl--fade > span { padding-bottom: 0.14em; margin-bottom: -0.14em; background: linear-gradient(180deg, var(--ink) 25%, rgba(242, 242, 238, 0.28) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.16)); }
.hero__lead { max-width: 60ch; margin-top: clamp(20px, 2.4vw, 32px); color: var(--ink-2); font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.45; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.hero__hint { position: absolute; left: var(--pad); bottom: 22px; z-index: 3; display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.hero__hint span:first-child { color: var(--ink); }
.hero__hint-line { position: relative; width: 48px; height: 1px; background: var(--line-2); overflow: hidden; }
.hero__hint-line::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: hint 2.4s var(--ease-io) infinite; }
@keyframes hint { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

.wheel { position: relative; flex: 1; min-height: 300px; margin-top: clamp(16px, 3vh, 36px); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.wheel__ring { position: absolute; left: 50%; top: 0; width: 0; height: 0; will-change: transform; }
.wcard { position: absolute; left: 0; top: 0; width: var(--cw, 300px); margin-left: calc(var(--cw, 300px) / -2); transform-origin: 50% var(--R, 1400px); display: block; padding: 6px; border-radius: 4px; background: var(--bg-3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.06); -webkit-user-drag: none; }
.wcard__img { display: block; aspect-ratio: 4 / 3; border-radius: 2px; overflow: hidden; background: var(--bg-2); }
.wcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); pointer-events: none; }
.wcard:hover .wcard__img img { transform: scale(1.06); }
.wcard__cap { display: flex; justify-content: space-between; padding: 9px 6px 3px; color: var(--ink-2); font-size: 10.5px; }
.wcard__cap span:first-child { color: var(--ink); }
.wheel.is-drag .wcard { pointer-events: none; }

/* ---------- about ---------- */

.about { padding: clamp(110px, 14vw, 200px) 0 clamp(90px, 11vw, 160px); }
.about__ink { font-size: clamp(1.75rem, 3.9vw, 3.75rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; max-width: 22ch; }

/* ---------- business card (85 × 55 mm) ---------- */

/* no preserve-3d chain: each layer carries its own perspective, so clicks always land on the card */
.bcard { --mx: 50%; --my: 50%; position: relative; width: min(100%, 470px); padding: 18px 0 8px; }
.bcard__inner { position: relative; aspect-ratio: 85 / 55; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.bcard__inner.is-drag { cursor: grabbing; }
.bcard__face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 7.5% 8%; border-radius: 3px; overflow: hidden; }
.bcard__face.is-off { visibility: hidden; }
.bcard__face::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.12), transparent 45%); mix-blend-mode: screen; }
.bcard__front { color: var(--ink); background: radial-gradient(120% 100% at 0% 0%, #20211d, transparent 60%), linear-gradient(150deg, #171816, #0b0b0b 72%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 40px 80px -34px rgba(0, 0, 0, 0.9); }
.bcard__front::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent-grad); }
.bcard__back { color: #111; background: linear-gradient(150deg, #f1f1ec, #e1e1da); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), 0 40px 80px -34px rgba(0, 0, 0, 0.9); }
.bcard__back::after { mix-blend-mode: soft-light; }
.bcard__top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bcard__mark { width: 21%; height: auto; }
.bcard__mark--ink { width: 13%; filter: invert(1); }
.bcard__tag, .bcard__role, .bcard__k { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.bcard__tag { font-size: clamp(9px, 0.7vw, 11px); color: var(--ink-3); }
.bcard__back .bcard__tag { color: #6b6b66; }
.bcard__id { position: relative; z-index: 1; display: grid; gap: 10px; }
.bcard__name { font-size: clamp(20px, 2.1vw, 30px); letter-spacing: -0.02em; }
.bcard__role { font-size: clamp(8.5px, 0.66vw, 10.5px); color: var(--ink-2); }
.bcard__list { position: relative; z-index: 1; display: grid; gap: 0; }
.bcard__list li { display: grid; grid-template-columns: 6.5em 1fr; gap: 10px; align-items: baseline; padding: 2.4% 0; border-top: 1px solid rgba(0, 0, 0, 0.12); font-size: clamp(11.5px, 1.05vw, 15px); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.bcard__list li:first-child { border-top: 0; }
.bcard__k { font-size: clamp(8px, 0.62vw, 10px); color: #6b6b66; }
.bcard__list a { justify-self: start; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); overflow-wrap: anywhere; }
.bcard__list a:hover { background-size: 100% 1px; }
.bcard__shadow { position: absolute; left: 12%; right: 12%; bottom: 40px; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, 0.7); filter: blur(18px); }
.bcard__flip { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 9px 14px 9px 10px; border: 1px solid var(--line-2); border-radius: var(--r-s); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); transition: background 0.4s, color 0.4s, border-color 0.4s; }
.bcard__flip svg { width: 16px; height: 16px; transition: transform 0.7s var(--ease); }
.bcard__flip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bcard__flip:hover svg, .bcard__flip[aria-pressed="true"] svg { transform: rotate(180deg); }
.bcard__flip-k { color: var(--ink-3); }
.bcard__flip:hover .bcard__flip-k { color: inherit; opacity: 0.6; }
.about__ink .ink-soft { color: var(--ink-2); }
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); margin-top: clamp(64px, 9vw, 140px); align-items: start; }
.about__visual { grid-column: 1 / span 5; position: relative; }
.about__visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.about__visual .strips { position: absolute; inset: 0; display: flex; border-radius: var(--r); overflow: hidden; }
.about__visual .strips > div { position: relative; flex: 1 1 0; overflow: hidden; }
.about__visual .strips img { position: absolute; top: 0; height: 100%; max-width: none; object-fit: cover; border-radius: 0; aspect-ratio: auto; }
.about__visual figcaption { display: flex; justify-content: space-between; padding-top: 12px; color: var(--ink-2); }
.about__caps { grid-column: 7 / -1; }
.about__k { color: var(--ink-2); margin-bottom: 14px; }
.caps li { display: flex; gap: 22px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); font-size: clamp(1.125rem, 1.7vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.25; }
.caps li:last-child { border-bottom: 1px solid var(--line); }
.caps .mono { color: var(--ink-3); flex: none; width: 2.4em; }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); margin-top: clamp(48px, 6vw, 80px); }
.stat__n { font-size: clamp(3rem, 6.4vw, 6.25rem); line-height: 0.9; letter-spacing: -0.06em; font-weight: 500; font-variant-numeric: tabular-nums; display: flex; align-items: flex-start; }
.stat__s { font-size: 0.45em; color: var(--accent-text); margin-left: 0.06em; letter-spacing: -0.02em; }
.stat__l { margin-top: 12px; color: var(--ink-2); max-width: 16ch; }

/* ---------- work (home): 3D billboard wall ---------- */

.work { position: relative; }
.work__pin { position: relative; }
.work__head { position: relative; z-index: 2; padding-top: clamp(40px, 6vw, 80px); }
.work__headrow { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 70px); }
.work__h { max-width: 14ch; }
.work__gl, .work__hud { display: none; }
.work__fallback { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(48px, 6vw, 90px) var(--gut); padding-bottom: clamp(100px, 12vw, 170px); }

html.has-gl .work__pin { height: 100svh; min-height: 640px; display: flex; flex-direction: column; overflow: hidden; }
html.has-gl .work__head { padding-top: calc(var(--nav-h) + 10px); padding-bottom: 46px; background: linear-gradient(to bottom, var(--bg) 62%, transparent); pointer-events: none; }
html.has-gl .work__head a { pointer-events: auto; }
html.has-gl .work__head .sec-top { margin-bottom: 18px; }
html.has-gl .work__headrow { margin-bottom: 0; }
html.has-gl .work__h { font-size: clamp(2rem, 3.6vw, 3.5rem); max-width: none; }
html.has-gl .work__gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; touch-action: pan-y; }
html.has-gl .work__gl.is-drag { cursor: grabbing; }
html.has-gl .work__hud { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: clamp(22px, 3.5vh, 40px); pointer-events: none; background: linear-gradient(to top, var(--bg) 20%, transparent); padding-top: 60px; }
html.has-gl .work__fallback { display: none; }
.work__hud a { pointer-events: auto; }
.work__count { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.work__swap { position: relative; display: inline-block; overflow: hidden; vertical-align: bottom; }
.work__swap > span { display: inline-block; }
.work__count .work__swap { color: var(--ink); }
.work__feat { margin-left: 10px; padding: 3px 7px; border-radius: var(--r-s); background: var(--accent-grad); color: var(--accent-ink); }
.work__title { display: block; margin-top: 6px; font-size: clamp(2.2rem, 5vw, 4.75rem); line-height: 0.95; letter-spacing: -0.05em; font-weight: 500; }
.work__sub { margin-top: 8px; color: var(--ink-2); font-size: var(--t-lead); }
.work__hud-r { display: grid; gap: 10px; justify-items: end; text-align: right; padding-right: 74px; }
.work__meta { color: var(--ink); }
.work__hint { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.work__hint-i { position: relative; width: 26px; height: 16px; border: 1px solid var(--line-2); border-radius: 1px; }
.work__hint-i::after { content: ""; position: absolute; top: 4px; left: 4px; width: 6px; height: 6px; background: var(--accent-grad); animation: hintx 2.2s var(--ease-io) infinite; }
@keyframes hintx { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }

.pcard__media { position: relative; display: block; border-radius: var(--r); overflow: hidden; }
.pcard__img { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--tint); border-radius: var(--r); }
.pcard__img img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; transition: scale 1.1s var(--ease); }
.pcard__media:hover .pcard__img img { scale: 1.045; }
.pcard__info { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 18px; align-items: baseline; padding-top: 20px; }
.pcard__n { color: var(--ink-3); grid-row: span 2; }
.pcard__name { font-size: var(--t-h3); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; }
.pcard__sub { grid-column: 2; color: var(--ink-2); }
.pcard__meta { grid-column: 3; grid-row: 1 / span 2; color: var(--ink-2); text-align: right; display: grid; gap: 4px; }
.pcard__meta span { color: var(--ink-3); }

/* ---------- band / marquees ---------- */

.band { padding: clamp(20px, 3vw, 40px) 0 clamp(90px, 11vw, 150px); overflow: hidden; }
.mq { overflow: hidden; white-space: nowrap; }
.mq__track { display: flex; width: max-content; will-change: transform; }
.mq__group { display: flex; align-items: center; flex: none; }
.mq--big { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(14px, 2vw, 26px) 0; }
.band__word { font-size: clamp(3.25rem, 9vw, 9rem); line-height: 1; letter-spacing: -0.05em; font-weight: 500; padding: 0 0.22em; }
.band__word--outline { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.band__thumb { display: block; width: clamp(90px, 10vw, 160px); aspect-ratio: 4 / 3; border-radius: var(--r-s); overflow: hidden; flex: none; transform: rotate(-6deg); }
.band__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mq--small { padding: 18px 0; color: var(--ink-2); }
.mq--small .mq__group span { padding: 0 22px; font-size: 13px; }
.mq--small .star { width: 10px; height: 10px; color: var(--accent); flex: none; }

/* ---------- services (light) ---------- */

.services { background: var(--bg); color: var(--ink); padding: clamp(110px, 13vw, 190px) 0; border-radius: clamp(18px, 3vw, 36px) clamp(18px, 3vw, 36px) 0 0; }
.srv { border-top: 1px solid var(--line-2); }
.srv__row { position: relative; border-bottom: 1px solid var(--line-2); isolation: isolate; }
.srv__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--light-ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.7s var(--ease); }
.srv__head { width: 100%; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: center; padding: clamp(22px, 3vw, 40px) 0; text-align: left; transition: color 0.5s var(--ease), padding 0.7s var(--ease); }
.srv__n { grid-column: 1 / span 1; color: var(--ink-2); transition: color 0.5s; }
.srv__name { grid-column: 2 / span 6; font-size: clamp(1.9rem, 4.6vw, 4.5rem); line-height: 1; letter-spacing: -0.045em; font-weight: 500; transition: transform 0.7s var(--ease); }
.srv__plus { grid-column: 12; justify-self: end; position: relative; width: 44px; height: 44px; border-radius: var(--r-s); border: 1px solid var(--line-2); transition: transform 0.6s var(--ease), background 0.5s, border-color 0.5s; }
.srv__plus::before, .srv__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: currentColor; transition: transform 0.6s var(--ease); }
.srv__plus::after { transform: rotate(90deg); }
.srv__body { overflow: hidden; }
.srv__in { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); }
.srv__text { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.45; transition: color 0.5s; }
.srv__items { display: flex; flex-wrap: wrap; gap: 6px; }
.srv__items li { padding: 7px 11px; border: 1px solid var(--line-2); border-radius: var(--r-s); color: var(--ink-2); font-size: 11px; transition: color 0.5s, border-color 0.5s; }
.srv-float { position: fixed; left: 0; top: 0; z-index: 70; width: clamp(240px, 24vw, 360px); aspect-ratio: 4 / 3; pointer-events: none; border-radius: var(--r); overflow: hidden; opacity: 0; visibility: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45); }
.srv-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }

@media (min-width: 992px) {
  .srv__row { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: center; }
  .srv__h { grid-column: 1 / span 8; }
  .srv__head { grid-template-columns: repeat(8, 1fr); }
  .srv__name { grid-column: 2 / -1; }
  .srv__plus { display: none; }
  .srv__body { grid-column: 9 / -1; height: auto !important; }
  .srv__in { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 18px 0; }
  .srv__img { display: none; }
  .srv__row:hover::before { transform: scaleY(1); }
  .srv__row:hover { color: var(--light-bg); }
  .srv__row:hover .srv__name { transform: translateX(18px); }
  .srv__row:hover .srv__n, .srv__row:hover .srv__text { color: rgba(236, 236, 231, 0.65); }
  .srv__row:hover .srv__items li { color: var(--light-bg); border-color: rgba(236, 236, 231, 0.3); }
  .srv__row:hover .srv__head { padding-inline: 18px; }
}

/* ---------- process ---------- */

@media (min-width: 992px) {
  .process { padding: clamp(40px, 5vw, 80px) 0; }
  .process__pin { padding: calc(var(--nav-h) + 10px) 0 40px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .process .step { min-height: min(54vh, 500px); }
}

.process { padding: clamp(110px, 13vw, 180px) 0; }
.process__head .sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.process__bar { grid-column: 9 / -1; height: 2px; background: var(--line); position: relative; overflow: hidden; align-self: end; margin-bottom: 0.6em; }
.process__bar span { position: absolute; inset: 0; background: var(--accent-grad); transform: scaleX(0); transform-origin: 0 50%; }
.process__track { display: flex; gap: var(--gut); padding-inline: var(--pad); width: max-content; }
.step { position: relative; width: clamp(300px, 34vw, 520px); min-height: clamp(360px, 40vw, 520px); padding: clamp(22px, 2.4vw, 36px); border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.step:nth-child(even) { background: var(--bg-3); }
.step__n { font-size: clamp(7rem, 15vw, 14rem); line-height: 0.8; letter-spacing: -0.07em; font-weight: 500; color: transparent; -webkit-text-stroke: 1px var(--line-2); margin: -0.06em 0 0 -0.04em; }
.step__k { color: var(--ink-2); margin-bottom: 14px; }
.step__name { font-size: var(--t-h3); letter-spacing: -0.035em; line-height: 1.05; font-weight: 500; margin-bottom: 12px; }
.step__text { color: var(--ink-2); max-width: 38ch; }
.step__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.step__tags li { padding: 6px 10px; border-radius: var(--r-s); background: rgba(255, 255, 255, 0.05); font-size: 11px; color: var(--ink-2); }
.step:last-child { background: var(--accent-grad); color: var(--accent-ink); border-color: transparent; }
.step:last-child .step__n { -webkit-text-stroke-color: rgba(10, 10, 10, 0.3); }
.step:last-child :is(.step__k, .step__text) { color: rgba(10, 10, 10, 0.7); }
.step:last-child .step__tags li { background: rgba(4, 18, 31, 0.1); color: var(--accent-ink); }

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

.pricing { padding: clamp(50px, 6vw, 90px) 0 clamp(110px, 13vw, 180px); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); align-items: stretch; }
.plan { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; isolation: isolate; top: 0; transition: top 0.7s var(--ease), border-color 0.5s; }
/* the hover lift uses `top`: GSAP owns this card's transform for the scroll reveal */
.plan::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.07), transparent 60%); opacity: 0; transition: opacity 0.5s; }
.plan::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(76, 195, 255, 0.75), rgba(61, 107, 255, 0.4) 35%, transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.plan:hover::before, .plan:hover::after { opacity: 1; }
.plan:hover { top: -6px; }
.plan--pop { background: linear-gradient(180deg, #08172a, var(--bg-2) 55%); border-color: rgba(41, 168, 255, 0.35); }
.plan__badge { position: absolute; top: 14px; right: 14px; width: 96px; height: 96px; color: var(--accent); }
.plan__badge .ring { animation: spin 14s linear infinite; }
.plan__badge .ring text { font-size: 17px; }
.plan__badge-star { position: absolute; inset: 0; display: grid; place-items: center; }
.plan__badge-star .star { width: 18px; height: 18px; animation: spin 6s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.plan__k { color: var(--ink-2); margin-bottom: 26px; }
.plan--pop .plan__k { color: var(--accent-text); }
.plan__name { font-size: clamp(1.5rem, 2vw, 1.875rem); letter-spacing: -0.03em; font-weight: 500; line-height: 1.1; }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 14px; font-size: clamp(2.6rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -0.055em; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan__price .mono { color: var(--ink-2); letter-spacing: 0.02em; }
.plan__text { color: var(--ink-2); min-height: 4.65em; margin-bottom: 26px; }
.plan .btn { align-self: stretch; justify-content: space-between; }
.plan__fh { color: var(--ink-3); margin: 30px 0 10px; }
.plan__list li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.4; }
.plan__list svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--accent); }
.pricing__note { margin-top: 28px; color: var(--ink-2); text-align: center; text-transform: none; font-size: 12.5px; }

/* ---------- faq ---------- */

.faq { padding: clamp(60px, 8vw, 120px) 0 clamp(110px, 13vw, 180px); }
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); }
.faq__side .h2 { font-size: clamp(2.3rem, 4.6vw, 4.5rem); }
.faq__side { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; display: grid; gap: 28px; justify-items: start; }
.faq__side .sec-head__sub { max-width: 32ch; }
.faq__list { grid-column: 7 / -1; border-top: 1px solid var(--line-2); }
.acc { border-bottom: 1px solid var(--line-2); }
.acc__q { width: 100%; display: grid; grid-template-columns: 3em 1fr 40px; gap: 12px; align-items: center; padding: 26px 0; text-align: left; font-size: clamp(1.125rem, 1.65vw, 1.5rem); letter-spacing: -0.025em; line-height: 1.25; font-weight: 500; }
.acc__n { color: var(--ink-3); }
.acc__icon { position: relative; width: 40px; height: 40px; border-radius: var(--r-s); border: 1px solid var(--line-2); transition: background 0.5s var(--ease), border-color 0.5s, transform 0.6s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; margin: -0.75px 0 0 -6.5px; background: currentColor; transition: transform 0.6s var(--ease), background 0.4s; }
.acc__icon::after { transform: rotate(90deg); }
.acc__q:hover .acc__icon { transform: rotate(90deg); }
.acc__q[aria-expanded="true"] .acc__icon { background: var(--accent-grad); border-color: var(--accent); transform: rotate(180deg); }
.acc__q[aria-expanded="true"] .acc__icon::before, .acc__q[aria-expanded="true"] .acc__icon::after { background: var(--accent-ink); }
.acc__q[aria-expanded="true"] .acc__icon::after { transform: rotate(0deg); }
.acc__a { height: 0; overflow: hidden; }
html:not(.js) .acc__a { height: auto; }
.acc__a p { padding: 0 52px 28px 3.75em; color: var(--ink-2); font-size: 1.0625rem; max-width: 60ch; }

/* ---------- contact ---------- */

.contact { padding: clamp(80px, 10vw, 150px) 0 clamp(80px, 9vw, 130px); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: start; }
.contact__side { grid-column: 1 / span 5; display: grid; gap: 30px; position: sticky; top: calc(var(--nav-h) + 40px); }
.contact__title { font-size: clamp(2.6rem, 5.4vw, 5.5rem); line-height: 0.95; letter-spacing: -0.05em; font-weight: 500; }
.contact__lead { color: var(--ink-2); font-size: var(--t-lead); line-height: 1.45; max-width: 40ch; }
.clist { border-top: 1px solid var(--line-2); }
.cline { width: 100%; display: grid; grid-template-columns: 5.5em 1fr auto; gap: 14px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-2); text-align: left; transition: padding 0.6s var(--ease); }
.cline__k, .cline__a { color: var(--ink-3); }
.cline__v { font-size: clamp(1.125rem, 1.6vw, 1.5rem); letter-spacing: -0.025em; overflow-wrap: anywhere; transition: color 0.4s; }
.cline__a { position: relative; overflow: hidden; transition: color 0.4s; }
:is(a, button).cline:hover { padding-left: 10px; }
:is(a, button).cline:hover .cline__v, :is(a, button).cline:hover .cline__a { color: var(--accent-text); }
.cline.is-copied .cline__a { color: var(--accent-text); }
.cline--social .cline__v { display: flex; gap: 22px; flex-wrap: wrap; }
.contact__status { display: flex; align-items: center; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.cform { grid-column: 7 / -1; display: grid; gap: 22px; padding: clamp(24px, 3vw, 44px); border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); }
.cform__head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cform__t { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.035em; font-weight: 500; line-height: 1.1; }
.cform__s { margin-top: 8px; color: var(--ink-2); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__l { color: var(--ink-2); padding: 0; }
.field__l em { font-style: normal; color: var(--ink-3); }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--bg); font-size: 1rem; outline: none; transition: border-color 0.3s, background 0.3s; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus { border-color: var(--accent); background: var(--bg-3); }
.field input.is-invalid { border-color: #ff6b5a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r-s); border: 1px solid var(--line-2); font-size: 0.9375rem; transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s; }
.chip span::before { content: ""; width: 6px; height: 6px; background: var(--ink-3); transition: background 0.4s, transform 0.5s var(--ease); }
.chip:hover span { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:checked + span::before { background: var(--accent-grad); transform: rotate(45deg) scale(1.2); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cform__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.cform__msg { color: var(--ink-2); text-transform: none; }
.cform__msg.is-error { color: #ff8a7a; }

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

.footer { --fx: 50%; --fy: 30%; position: relative; padding-top: clamp(60px, 7vw, 110px); background: var(--bg-2); overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.footer__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px circle at var(--fx) var(--fy), rgba(41, 168, 255, 0.09), rgba(61, 107, 255, 0.04) 40%, transparent 65%); pointer-events: none; }
.footer__k { display: flex; align-items: center; color: var(--ink-2); margin-bottom: 18px; }
.footer__go { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: clamp(40px, 5vw, 70px); }
.footer__go-t { font-size: clamp(4rem, 15vw, 15rem); line-height: 0.86; letter-spacing: -0.065em; font-weight: 500; transition: color 0.5s var(--ease); }
.footer__go-t .roll { line-height: 0.95; padding-bottom: 0.04em; }
.footer__go:hover .footer__go-t { color: var(--accent); }
.footer__go-i { display: grid; place-items: center; width: clamp(64px, 9vw, 150px); aspect-ratio: 1; border-radius: var(--r-s); background: var(--accent-grad); color: var(--accent-ink); flex: none; transition: transform 0.8s var(--ease), background 0.5s, color 0.5s; }
.footer__go-i svg { width: 40%; height: 40%; transition: transform 0.8s var(--ease); }
.footer__go:hover .footer__go-i { background: var(--ink); color: var(--bg); transform: rotate(-8deg); }
.footer__go:hover .footer__go-i svg { transform: rotate(45deg); }
.footer__mq { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; color: var(--ink-2); }
.footer__mq .mq__group span { padding: 0 24px; font-size: 13px; }
.footer__mq .star { width: 10px; height: 10px; color: var(--accent); flex: none; }
.footer__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); padding-top: clamp(56px, 7vw, 100px); }
.footer__about { grid-column: 1 / span 5; display: grid; gap: 22px; align-content: start; justify-items: start; }
.footer__line { font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.25; letter-spacing: -0.03em; max-width: 26ch; }
.footer__mail { font-size: clamp(1.125rem, 1.5vw, 1.375rem); color: var(--accent-text); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.footer__col { grid-column: span 2; display: grid; gap: 8px; align-content: start; }
.footer__grid > :nth-child(2) { grid-column: 7 / span 2; }
.footer__h { color: var(--ink-3); margin-bottom: 8px; }
.footer__col a { justify-self: start; }
.footer__time { margin-top: 10px; color: var(--ink-2); display: flex; align-items: center; font-variant-numeric: tabular-nums; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: clamp(56px, 7vw, 100px); padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); }
.footer__mark { margin-top: clamp(40px, 5vw, 70px); overflow: hidden; }
.footer__mark .brand { display: inline-block; font-size: 15vw; letter-spacing: -0.045em; line-height: 0.8; color: var(--ink); white-space: nowrap; transform: translateY(16%); }
.footer__mark .brand .ch { display: inline-block; transform-origin: 50% 100%; }

/* ---------- back to top ---------- */

.totop { position: fixed; right: var(--pad); bottom: 22px; z-index: 210; display: grid; place-items: center; width: 54px; height: 54px; border-radius: var(--r-s); background: color-mix(in srgb, var(--bg-2) 80%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0.5s, background 0.4s, color 0.4s; }
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop > svg:last-child { width: 18px; height: 18px; transition: transform 0.6s var(--ease); }
.totop:hover { background: var(--accent-grad); color: var(--accent-ink); }
.totop:hover > svg:last-child { transform: translateY(-3px); }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.totop__ring polygon { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 100 100; }
.totop__prog { stroke: var(--accent) !important; }

/* ---------- work index page ---------- */

.phero { padding: calc(var(--nav-h) + clamp(60px, 9vw, 130px)) 0 clamp(40px, 5vw, 70px); }
.phero__title { display: flex; align-items: flex-start; gap: 0.12em; font-size: clamp(3.4rem, 12.5vw, 13rem); line-height: 0.86; letter-spacing: -0.06em; font-weight: 500; }
.phero__count { font-size: clamp(14px, 1.4vw, 20px); color: var(--accent-text); top: 0.6em; letter-spacing: 0; }
.phero__lead { margin-top: clamp(28px, 3vw, 44px); max-width: 46ch; color: var(--ink-2); font-size: var(--t-lead); line-height: 1.45; }
.phero__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { display: inline-flex; align-items: flex-start; gap: 4px; height: 38px; align-items: center; padding: 0 14px; border-radius: var(--r-s); border: 1px solid var(--line-2); font-size: 0.875rem; transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s; }
.filter sup { font-family: var(--f-mono); font-size: 9px; color: var(--ink-3); top: -0.5em; transition: color 0.4s; }
.filter:hover { border-color: var(--ink-2); }
.filter.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter.is-on sup { color: var(--bg); opacity: 0.6; }
.viewtog { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: var(--r-s); background: var(--bg-3); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; }
.viewtog button { position: relative; z-index: 1; height: 32px; padding: 0 14px; border-radius: 1px; color: var(--ink-2); transition: color 0.4s; }
.viewtog button[aria-pressed="true"] { color: var(--bg); }
.viewtog__knob { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 1px; background: var(--ink); transition: transform 0.6s var(--ease); }
.viewtog.is-list .viewtog__knob { transform: translateX(100%); }

.windex { padding-bottom: clamp(100px, 12vw, 180px); }
.windex__list { display: grid; position: relative; }
.windex.is-grid .windex__list { grid-template-columns: repeat(2, 1fr); gap: clamp(48px, 6vw, 90px) var(--gut); }
.windex.is-grid .witem.is-shift { margin-top: clamp(0px, 9vw, 140px); }
.witem.is-out { display: none; }
.witem__link { position: relative; display: grid; }
.windex.is-grid .witem__link { grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: baseline; }
.witem__media { position: relative; display: block; border-radius: var(--r); overflow: hidden; }
.windex.is-grid .witem__media { grid-column: 1 / -1; margin-bottom: 18px; }
.witem__img { display: block; aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.witem__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease); }
.witem__link:hover .witem__img img { scale: 1.05; }
.witem__n { color: var(--ink-3); }
.witem__name { margin: 0; font-size: var(--t-h3); letter-spacing: -0.035em; line-height: 1.05; font-weight: 500; }
.witem__sub { color: var(--ink-2); }
.windex.is-grid .witem__sub { grid-column: 2; }
.witem__tags { color: var(--ink-2); }
.windex.is-grid .witem__tags { grid-column: 3; grid-row: 2; text-align: right; }
.windex.is-grid .witem__year { grid-column: 3; grid-row: 3; text-align: right; color: var(--ink-3); }
.windex.is-grid .witem__arrow { display: none; }
.witem__arrow svg { width: 22px; height: 22px; }

.windex.is-list .windex__list { border-top: 1px solid var(--line-2); }
.windex.is-list .witem { border-bottom: 1px solid var(--line-2); }
.windex.is-list .witem__link { grid-template-columns: 4em 4fr 4fr 3fr 4em 40px; gap: var(--gut); align-items: center; padding: clamp(18px, 2.2vw, 30px) 0; isolation: isolate; }
.windex.is-list .witem__link::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--tint); transform: scaleY(0); transition: transform 0.6s var(--ease); }
.windex.is-list .witem__link:hover::before { transform: scaleY(1); }
.windex.is-list .witem__media { display: none; }
.windex.is-list .witem__name { transition: transform 0.6s var(--ease); }
.windex.is-list .witem__link:hover .witem__name { transform: translateX(14px); }
.windex.is-list .witem__year { color: var(--ink-3); }
.windex.is-list .witem__arrow { justify-self: end; transition: transform 0.6s var(--ease); }
.windex.is-list .witem__link:hover .witem__arrow { transform: translateX(6px); color: var(--accent); }
.windex__empty { padding: 60px 0; color: var(--ink-2); }
.wfloat { position: fixed; left: 0; top: 0; z-index: 70; width: clamp(260px, 26vw, 420px); aspect-ratio: 4 / 3; pointer-events: none; border-radius: var(--r); overflow: hidden; opacity: 0; visibility: hidden; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9); }
.wfloat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }

.badge-feat { display: inline-block; margin-left: 12px; padding: 4px 8px; border-radius: var(--r-s); background: var(--accent-grad); color: var(--accent-ink); font-size: 10px; letter-spacing: 0.04em; vertical-align: middle; transform: translateY(-0.2em); }
.windex.is-grid .witem--feat { grid-column: 1 / -1; }
.windex.is-grid .witem--feat .witem__img { aspect-ratio: 21 / 9; }
.windex.is-grid .witem--feat .witem__name { font-size: clamp(2rem, 4vw, 3.5rem); }

/* ---------- case study ---------- */

.chero { padding: calc(var(--nav-h) + clamp(40px, 6vw, 90px)) 0 clamp(40px, 5vw, 70px); }
.chero__top { display: flex; justify-content: space-between; color: var(--ink-2); margin-bottom: clamp(36px, 5vw, 72px); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.back__i svg { width: 16px; height: 16px; transition: transform 0.6s var(--ease); }
.back:hover .back__i svg { transform: translateX(-4px); }
.chero__title { font-size: clamp(3.4rem, 13vw, 14rem); line-height: 0.86; letter-spacing: -0.065em; font-weight: 500; }
.chero__row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 40px); }
.chero__note { color: var(--ink-2); padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-s); }
.chero__sub { font-size: clamp(1.25rem, 2.3vw, 2rem); letter-spacing: -0.03em; line-height: 1.15; color: var(--ink-2); max-width: 26ch; }
.chero__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); margin-top: clamp(40px, 5vw, 80px); border-top: 1px solid var(--line-2); }
.chero__meta div { padding-top: 16px; }
.chero__meta dt { color: var(--ink-3); margin-bottom: 8px; }
.chero__meta dd { font-size: 1.0625rem; line-height: 1.35; }
.cbreak { padding: 0 var(--pad); }
.cbreak__frame { display: block; height: min(92svh, 62vw); border-radius: var(--r-lg); overflow: hidden; background: var(--tint, var(--bg-2)); }
.cbreak__frame img { width: 100%; height: 116%; margin-top: -8%; object-fit: cover; }
.coverview { padding: clamp(100px, 12vw, 180px) 0 clamp(60px, 8vw, 120px); }
.coverview__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); }
.coverview__text { grid-column: 1 / span 9; font-size: clamp(1.6rem, 3.3vw, 3.1rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 500; }
.coverview__tags { grid-column: 11 / -1; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.coverview__tags li { padding: 7px 12px; border-radius: var(--r-s); border: 1px solid var(--line-2); color: var(--ink-2); font-size: 11px; }
.cgallery { padding-bottom: clamp(100px, 12vw, 180px); }
.cgallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 5vw, 80px) var(--gut); align-items: start; }
.cg--full { grid-column: 1 / -1; }
.cg--half:nth-of-type(odd) { margin-top: clamp(0px, 8vw, 120px); }
.cg__img { display: block; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.cg__img img { width: 100%; height: 116%; margin-top: -8%; object-fit: cover; }
.cg figcaption { padding-top: 12px; color: var(--ink-3); }
.cnext { border-top: 1px solid var(--line); }
.cnext__link { position: relative; display: block; overflow: hidden; isolation: isolate; }
.cnext__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tint); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.8s var(--ease); }
.cnext__link:hover::before { transform: scaleY(1); }
.cnext__in { position: relative; display: grid; gap: 14px; padding-block: clamp(70px, 10vw, 150px); }
.cnext__k { color: var(--ink-2); }
.cnext__name { font-size: clamp(3.2rem, 12vw, 12rem); line-height: 0.88; letter-spacing: -0.065em; font-weight: 500; }
.cnext__sub { color: var(--ink-2); font-size: var(--t-lead); }
.cnext__img { position: absolute; right: var(--pad); top: 50%; width: clamp(200px, 26vw, 400px); aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; transform: translateY(-50%) rotate(4deg) scale(0.85); opacity: 0; transition: transform 0.9s var(--ease), opacity 0.5s; }
.cnext__img img { width: 100%; height: 100%; object-fit: cover; }
.cnext__link:hover .cnext__img { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }

/* ---------- 404 ---------- */

.nf { min-height: 90svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 40px) 0 80px; }
.nf .wrap { display: grid; gap: 24px; justify-items: start; }
.nf .mono { color: var(--accent-text); }
.nf__title { font-size: clamp(3.4rem, 12vw, 12rem); line-height: 0.88; letter-spacing: -0.06em; font-weight: 500; }
.nf__lead { color: var(--ink-2); font-size: var(--t-lead); }

/* ---------- split text helpers (SplitText output) ---------- */

.line-mask { padding-bottom: 0.06em; margin-bottom: -0.06em; }
.ch { will-change: transform; }

/* ---------- responsive ---------- */

@media (max-width: 1199px) {
  .nav__status { display: none; }
}

@media (max-width: 991px) {
  :root { --nav-h: 64px; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .hide-sm { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .sec-head .h2, .sec-head__sub { grid-column: 1; }
  .about__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__visual, .about__caps { grid-column: 1; }
  .about__ink { max-width: none; }
  html.has-gl .work__hud { flex-direction: column; align-items: start; }
  html.has-gl .work__hud-r { justify-items: start; text-align: left; }
  .pcard__info { grid-template-columns: auto 1fr; }
  .pcard__meta { grid-column: 2; grid-row: auto; text-align: left; display: flex; gap: 12px; }
  .srv__head { grid-template-columns: 3em 1fr 44px; }
  .srv__n { grid-column: 1; }
  .srv__name { grid-column: 2; }
  .srv__plus { grid-column: 3; }
  .srv__body { height: 0; }
  .srv__in { grid-template-columns: 1fr; gap: 16px; padding: 0 0 28px 3em; }
  .srv__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
  .srv__img img { width: 100%; height: 100%; object-fit: cover; }
  .srv__head[aria-expanded="true"] .srv__plus { transform: rotate(135deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .srv-float { display: none; }
  .process__track { flex-direction: column; width: auto; }
  .step { width: auto; min-height: 0; gap: 40px; }
  .step__n { font-size: clamp(5rem, 22vw, 8rem); }
  .process__bar { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan__text { min-height: 0; }
  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq__side, .faq__list { grid-column: 1; position: static; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__side, .cform { grid-column: 1; position: static; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 48px 20px; }
  .footer__about { grid-column: 1 / -1; }
  .footer__col, .footer__grid > :nth-child(2) { grid-column: span 1; }
  .footer__grid > :nth-child(4) { grid-column: 1 / -1; }
  .windex.is-list .witem__link { grid-template-columns: 3em 1fr auto; }
  .windex.is-list .witem__sub, .windex.is-list .witem__tags { display: none; }
  .windex.is-list .witem__year { display: none; }
  .wfloat { display: none; }
  .chero__meta { grid-template-columns: 1fr 1fr; }
  .coverview__text { grid-column: 1 / -1; }
  .coverview__tags { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: flex-start; margin-top: 20px; }
  .cnext__img { display: none; }
}

@media (max-width: 767px) {
  .windex.is-grid .windex__list { grid-template-columns: 1fr; }
  .windex.is-grid .witem.is-shift { margin-top: 0; }
  .cgallery__grid { grid-template-columns: 1fr; }
  .cg--half:nth-of-type(odd) { margin-top: 0; }
  .about__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat__l { font-size: 0.875rem; }
  .hero { min-height: max(700px, 100svh); }
  .hero__lead { font-size: 1.0625rem; }
  .hero__hint { display: none; }
  .btn { height: 48px; padding-left: 18px; }
  .btn__icon { width: 34px; height: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .work__fallback { grid-template-columns: 1fr; }
  .cform__row { grid-template-columns: 1fr; }
  .cline { grid-template-columns: 4.5em 1fr auto; }
  .totop { width: 48px; height: 48px; bottom: 16px; --cut: 9px; }
  html.has-gl .work__pin { min-height: 560px; }
  .work__hint { display: none; }
  .acc__q { grid-template-columns: 2.2em 1fr 36px; }
  .acc__icon { width: 36px; height: 36px; }
  .acc__a p { padding: 0 0 24px 2.8em; }
  .edgeblur { height: 56px; }
  .edgeblur i:nth-child(n + 4) { display: none; }
  .guides { grid-template-columns: repeat(2, 1fr); }
  .guides i:nth-child(n + 3) { display: none; }
  .guides i:nth-child(2) { border-right: 1px solid rgba(255, 255, 255, 0.045); }
  .plan__badge { width: 80px; height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .grain { display: none; }
}
