/* =========================================================
   ELTAND — Creative Technology Studio  (v3 · Porcelain + Ember)
   "Look sharp online. Work smarter behind the scenes."
   Light, Swiss-editorial, gallery-grade. One accent, used
   surgically: ember orange.
   ========================================================= */

:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --fg: #0a0a0a;
  --muted: #7a7a74;
  --line: rgba(10, 10, 10, 0.12);
  --line-soft: rgba(10, 10, 10, 0.07);

  --accent: #ff4d00;
  --accent-deep: #e04300;
  --grad: linear-gradient(120deg, var(--accent), var(--accent-deep));

  --ff-sans: "General Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-mono: "Space Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 4vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-sans);
  font-weight: 400;
  line-height: 1.4;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; color: var(--accent); }
::selection { background: var(--accent); color: #fff; }
img, canvas { display: block; max-width: 100%; }

.mono { font-family: var(--ff-mono); font-weight: 400; letter-spacing: 0.02em; }

/* outlined display text */
.stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(10, 10, 10, 0.85);
}

/* ---------- Background WebGL + paper grain ---------- */
.bg-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
/* NOTE: no global fixed grain overlay — a full-viewport overlay element
   (even without blend modes) corrupts text rendering inside the hero's
   composited clip-path lens layer. Texture lives inside the layers that
   need it instead (see .hero__layer--back). */

/* =========================================================
   Preloader
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.preloader__word {
  font-weight: 600;
  font-size: clamp(3rem, 13vw, 10rem);
  line-height: 0.9; letter-spacing: -0.03em;
  display: flex; overflow: hidden;
  color: var(--fg);
}
.preloader__word span { display: inline-block; transform: translateY(110%); }
.preloader__counter {
  position: absolute; bottom: var(--pad); right: var(--pad);
  font-family: var(--ff-mono);
  font-size: clamp(2.5rem, 9vw, 7rem); line-height: 0.9;
  color: var(--accent);
}
.preloader__pct { color: var(--muted); font-size: 0.4em; vertical-align: top; }
.preloader__tag {
  position: absolute; bottom: calc(var(--pad) + 0.4rem); left: var(--pad);
  font-family: var(--ff-mono); font-size: 0.8rem;
  color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase;
}
.preloader__bar {
  position: absolute; top: 50%; left: var(--pad); right: var(--pad);
  transform: translateY(2.5rem);
  height: 1px; background: var(--line); overflow: hidden;
}
.preloader__bar span { display: block; height: 100%; width: 0%; background: var(--accent); }

/* =========================================================
   Scroll progress
   ========================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 140;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  will-change: transform;
}

/* =========================================================
   Custom cursor
   ========================================================= */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 150;
  pointer-events: none; will-change: transform;
}
.cursor {
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border: 1px solid rgba(10, 10, 10, 0.55); border-radius: 50%;
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease),
              background .4s var(--ease), border-color .4s var(--ease);
}
.cursor-dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; background: var(--accent); border-radius: 50%; }
.cursor__label {
  font-family: var(--ff-mono); font-size: .68rem; color: #fff;
  opacity: 0; transform: scale(.5); transition: opacity .3s, transform .3s var(--ease);
  white-space: nowrap;
}
.cursor.is-hover {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: var(--accent); border-color: var(--accent);
}
.cursor.has-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.cursor.has-label .cursor__label { opacity: 1; transform: scale(1); }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1rem, 2.2vw, 1.5rem) var(--pad);
}
.nav__brand { font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; }
.nav__brand span { font-size: 0.65em; vertical-align: super; color: var(--accent); }
.nav__links {
  display: flex; gap: clamp(.8rem, 2vw, 2rem);
  font-size: 0.92rem; font-weight: 500;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--line-soft); border-radius: 100px;
  background: rgba(255,255,255,0.65); backdrop-filter: blur(12px);
}
.nav__links a { position: relative; padding: 0.2em 0; color: var(--muted); transition: color .35s; }
.nav__links a:hover { color: var(--fg); }
.nav__cta {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .92rem; font-weight: 500;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--line-soft); border-radius: 100px;
  background: rgba(255,255,255,0.65); backdrop-filter: blur(12px);
  transition: border-color .4s, background .4s, color .4s;
}
.nav__cta:hover { border-color: rgba(255,77,0,0.5); background: rgba(255,77,0,0.06); color: var(--accent); }
.nav__cta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: .35; } }
.nav__right { display: inline-flex; align-items: center; gap: clamp(0.6rem, 1.4vw, 1.1rem); }
.nav__lang { display: inline-flex; align-items: center; font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.05em; }
.nav__lang-link { padding: 0.2rem 0.45rem; color: var(--muted); transition: color .3s; }
.nav__lang-link:hover { color: var(--fg); }
.nav__lang-link.is-active { color: var(--accent); }
.nav__lang-link + .nav__lang-link { border-left: 1px solid var(--line); }

.nav__burger { display: none; background: none; border: 0; cursor: pointer; }

/* =========================================================
   Layout helpers
   ========================================================= */
section { position: relative; z-index: 2; padding-inline: var(--pad); }

.section-head {
  position: relative;
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 1rem;
  padding-block: clamp(4rem, 9vw, 9rem) clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
/* ghost section numeral */
.section-head::before {
  content: attr(data-num);
  position: absolute; right: 0; bottom: 0.5rem;
  font-weight: 700;
  font-size: clamp(7rem, 20vw, 18rem);
  line-height: 0.8; letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10, 10, 10, 0.08);
  pointer-events: none; user-select: none;
  z-index: -1;
}
.section-head__label { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; }
.section-head__title {
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  line-height: 1.0; letter-spacing: -0.025em;
  max-width: 18ch;
}
.reveal-line { overflow: hidden; }
.reveal-line > span { display: inline-block; }
.section-head__title span, [data-split] { display: inline-block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 500; font-size: 0.98rem;
  padding: 0.85rem 1.5rem; border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .4s var(--ease), background .4s, border-color .4s, color .4s, box-shadow .4s;
  will-change: transform;
}
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 32px rgba(255,77,0,0.25); }
.btn--primary:hover { background: var(--accent-deep); box-shadow: 0 16px 40px rgba(255,77,0,0.32); }
.btn--ghost { border-color: var(--line); color: var(--fg); }
.btn--ghost:hover { border-color: rgba(10,10,10,0.4); background: rgba(10,10,10,0.03); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  min-height: 100svh;
  position: relative;
  padding: 0;
}
/* two perfectly overlapping layers — identical layout, inverted skin */
.hero__layer {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: clamp(6rem, 9vw, 8rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-inline: var(--pad);
}
.hero__layer--back {
  position: absolute; inset: 0; z-index: 3;
  /* plain color only — an feTurbulence SVG background (here or as any
     full-viewport overlay) corrupts text in this composited lens layer */
  background: #0a0a0a;
  color: #fafaf8;
  clip-path: circle(0px at 50% 50%);
  -webkit-clip-path: circle(0px at 50% 50%);
  will-change: clip-path;
}
/* engine-room circuit grid inside the lens */
.hero__layer--back::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,77,0,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,77,0,0.10) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 45%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 45%, #000 30%, transparent 75%);
}
.hero__layer--back .hero__eyebrow { color: var(--accent); }
.hero__layer--back .hero__meta { color: rgba(250,250,248,0.55); }
.hero__layer--back .stroke { -webkit-text-stroke-color: rgba(250,250,248,0.85); }
.hero__layer--back em { text-shadow: 0 0 36px rgba(255,77,0,0.5); }
.hero__layer--back .hero__lede { color: rgba(250,250,248,0.85); }
.hero__sysrow { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); flex-wrap: wrap; font-size: 0.72rem; letter-spacing: 0.12em; color: rgba(250,250,248,0.7); }
.hero__sysrow span::before {
  content: "●"; margin-right: 0.5em; color: var(--accent);
  animation: pulse 2s infinite;
}
.hero__sys {
  position: absolute; font-size: 0.62rem; letter-spacing: 0.12em;
  color: rgba(250,250,248,0.5);
}
.hero__sys--1 { top: 31%; left: 6%; }
.hero__sys--2 { top: 47%; right: 9%; }
.hero__sys--3 { top: 68%; left: 12%; }

/* instrument ring around the lens */
.hero__lensring {
  position: absolute; top: 0; left: 0; z-index: 4;
  width: 0; height: 0;
  border: 1px solid rgba(255,77,0,0.75); border-radius: 50%;
  pointer-events: none; opacity: 0;
  transition: opacity .3s;
}
.hero__lensring span {
  position: absolute; top: -1.6em; left: 50%; transform: translateX(-50%);
  font-size: 0.62rem; letter-spacing: 0.18em; color: var(--accent);
  white-space: nowrap;
}
.hero__top, .hero__bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; flex-wrap: wrap;
}
.hero__eyebrow, .hero__meta { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; }
.hero__title {
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 7vw, 7rem);
  line-height: 0.96; letter-spacing: -0.03em;
  margin-block: auto;
  padding-block: clamp(1rem, 3vw, 2rem);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line__inner { display: inline-block; }
.hero__title .line--indent { padding-left: clamp(3rem, 14vw, 14rem); }
.hero__title .line--indent-sm { padding-left: clamp(1.5rem, 6vw, 6rem); }
.hero__lede { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--fg); max-width: 46ch; line-height: 1.5; }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__scrollhint {
  position: absolute; bottom: clamp(1.5rem,3vw,2.5rem); left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; color: var(--muted); letter-spacing: 0.15em;
  z-index: 4;
}

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  border-block: 1px solid var(--line); overflow: hidden;
  margin-top: clamp(2rem,5vw,4rem); background: rgba(255,255,255,0.5);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 2rem; white-space: nowrap;
  padding-block: clamp(1rem, 2.2vw, 1.7rem);
  font-weight: 500; font-size: clamp(1.6rem, 4vw, 3rem);
  letter-spacing: -0.02em; will-change: transform;
}
.marquee__track .dot { color: var(--accent); font-family: var(--ff-mono); }

/* =========================================================
   Intro / statement (scroll-scrubbed word fill)
   ========================================================= */
.intro { padding-block: clamp(5rem, 12vw, 11rem); }
.intro__label { color: var(--muted); margin-bottom: 2rem; font-size: 0.8rem; letter-spacing: 0.08em; }
.intro__statement {
  font-weight: 500;
  font-size: clamp(1.6rem, 4.2vw, 3.6rem);
  line-height: 1.18; letter-spacing: -0.02em; max-width: 24ch;
}
.intro__statement [data-words] { display: inline; }
.intro__statement .word { display: inline-block; }
.intro__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); padding-top: 2rem;
}
.intro__col { color: var(--muted); font-size: clamp(0.95rem, 1.3vw, 1.15rem); }
.intro__col strong {
  display: block; font-weight: 600; color: var(--fg);
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1; margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

/* =========================================================
   Services — sticky stacked panels
   ========================================================= */
.services { padding-bottom: clamp(4rem, 9vw, 9rem); }
.stack { margin-top: clamp(2rem, 4vw, 3.5rem); }
.panel {
  position: sticky;
  top: clamp(5.5rem, 10vh, 8rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(10, 10, 10, 0.07);
  overflow: hidden;
  will-change: transform;
}
.panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(90% 120% at 85% 110%, rgba(255, 77, 0, 0.07), transparent 60%);
}
.panel__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  min-height: clamp(420px, 62vh, 560px);
  padding: clamp(2rem, 4vw, 4rem);
}
.panel__kicker { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.1em; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.panel__num {
  display: inline-block; margin-right: 0.9rem;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 77, 0, 0.75);
  font-weight: 700; font-size: 1.4em; vertical-align: middle;
}
.panel__title {
  font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 1.2rem;
}
.panel__desc { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; margin-bottom: 1.8rem; max-width: 46ch; }
.panel__tags { display: flex; flex-wrap: wrap; gap: 0.45rem 0.55rem; font-size: 0.72rem; }
.panel__tags li {
  color: var(--muted); padding: 0.32rem 0.7rem;
  border: 1px solid var(--line); border-radius: 100px;
}

/* panel art shells */
.panel__art { display: grid; place-items: center; }

/* 01 — browser mock */
.ui-window {
  width: min(100%, 380px);
  border: 1px solid var(--line-soft); border-radius: 12px;
  background: var(--bg);
  padding: 0 1.1rem 1.3rem;
  box-shadow: 0 24px 60px rgba(10, 10, 10, 0.10);
  transform: rotate(-2deg);
}
.ui-window__bar { display: flex; gap: 6px; padding-block: 0.85rem; }
.ui-window__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(10,10,10,0.14); }
.ui-window__bar i:first-child { background: var(--accent); }
.ui-window__hero {
  height: 110px; border-radius: 8px; margin-bottom: 0.9rem;
  background:
    radial-gradient(120% 160% at 20% 0%, rgba(255,77,0,0.55), transparent 60%),
    radial-gradient(120% 160% at 90% 100%, rgba(224,67,0,0.35), transparent 60%),
    #f1f1ed;
}
.ui-row { height: 9px; border-radius: 4px; background: rgba(10,10,10,0.09); margin-bottom: 0.6rem; }
.ui-pill { width: 96px; height: 28px; border-radius: 100px; background: var(--accent); margin-top: 0.9rem; }

/* 02 — automation flow */
.flow {
  display: flex; align-items: center; gap: 0.6rem;
  width: min(100%, 420px);
  font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.06em;
}
.flow__col { display: flex; flex-direction: column; gap: 0.9rem; }
.flow__node {
  padding: 0.55rem 0.8rem; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); color: var(--muted); text-align: center;
}
.flow__node--ok { border-color: rgba(255,77,0,0.5); color: var(--fg); }
.flow__hub {
  padding: 0.9rem 1rem; border-radius: 50%;
  border: 1px solid rgba(255,77,0,0.7);
  color: var(--accent); background: rgba(255,77,0,0.07);
  box-shadow: 0 0 30px rgba(255,77,0,0.25);
  animation: hubPulse 2.4s ease-in-out infinite;
}
@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(255,77,0,0.18); }
  50% { box-shadow: 0 0 38px rgba(255,77,0,0.4); }
}
.flow__wires { display: flex; flex-direction: column; gap: 1.4rem; flex: 1; }
.flow__wires i {
  display: block; height: 1px;
  background-image: linear-gradient(90deg, var(--accent) 50%, transparent 50%);
  background-size: 8px 1px;
  animation: wireFlow 0.9s linear infinite;
  opacity: 0.7;
}
@keyframes wireFlow { to { background-position: 8px 0; } }

/* 03 — AI chat */
.ui-chat { width: min(100%, 380px); display: flex; flex-direction: column; gap: 0.8rem; font-size: 0.72rem; line-height: 1.5; }
.ui-chat__bubble {
  padding: 0.75rem 1rem; border-radius: 12px; max-width: 85%;
  border: 1px solid var(--line); color: var(--muted); background: var(--bg);
}
.ui-chat__bubble--out {
  align-self: flex-end;
  border-color: rgba(255,77,0,0.4); color: var(--fg);
  background: rgba(255,77,0,0.06);
}
.ui-chat__bubble--typing { display: inline-flex; gap: 5px; align-self: flex-end; border-color: rgba(255,77,0,0.3); }
.ui-chat__bubble--typing i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: typing 1.2s ease-in-out infinite;
}
.ui-chat__bubble--typing i:nth-child(2) { animation-delay: 0.18s; }
.ui-chat__bubble--typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* =========================================================
   Process — pinned horizontal scroll
   ========================================================= */
.process { padding-bottom: clamp(4rem, 9vw, 9rem); overflow: hidden; }
.process .section-head { border-bottom: 0; }
.process__hint { width: 100%; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.14em; }
.process__viewport { overflow: hidden; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.process__track {
  display: flex; gap: 1px;
  width: max-content;
  background: var(--line); border: 1px solid var(--line);
  will-change: transform;
}
.process__step {
  width: clamp(300px, 32vw, 460px);
  min-height: clamp(280px, 44vh, 400px);
  background: var(--bg); padding: clamp(1.5rem, 2.2vw, 2.2rem);
  display: flex; flex-direction: column;
  transition: background .45s var(--ease);
  flex-shrink: 0;
}
.process__step:hover { background: var(--surface); }
.process__num { font-size: 0.9rem; color: var(--accent); }
.process__step h3 { font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 2rem); margin-top: auto; margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.process__step p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; max-width: 34ch; }
.process__bar {
  height: 2px; background: var(--line); margin-top: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
}
.process__bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* =========================================================
   Work / projects
   ========================================================= */
.work { padding-bottom: clamp(4rem, 9vw, 9rem); }
.work__list { position: relative; z-index: 2; }
.work__item {
  display: grid;
  grid-template-columns: auto 1.1fr 1fr 1.2fr auto auto;
  align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.3rem, 2.6vw, 2.1rem);
  border-bottom: 1px solid var(--line);
  position: relative; transition: padding .5s var(--ease);
}
.work__link { position: absolute; inset: 0; z-index: 2; }
.work__item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.work__item:hover { padding-inline: clamp(0.5rem,2vw,1.5rem); }
.work__item:hover::after { transform: scaleX(1); }
.work__index { color: var(--muted); font-size: 0.85rem; }
.work__name {
  font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  line-height: 1; letter-spacing: -0.02em; transition: color .4s;
}
.work__item:hover .work__name { color: var(--accent); }
.work__cat { color: var(--accent); font-size: 0.78rem; }
.work__tags { color: var(--muted); font-size: 0.92rem; }
.work__year { font-size: 0.85rem; color: var(--muted); }
.work__arrow {
  font-size: 1.3rem; color: var(--muted);
  opacity: 0; transform: translate(-8px, 8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), color .4s;
}
.work__item:hover .work__arrow { opacity: 1; transform: translate(0,0); color: var(--accent); }

.work__preview {
  position: fixed; top: 0; left: 0;
  width: clamp(220px, 24vw, 360px); height: clamp(260px, 28vw, 420px);
  z-index: 3; pointer-events: none; overflow: hidden; border-radius: 8px;
  opacity: 0; will-change: transform; border: 1px solid var(--line-soft);
  box-shadow: 0 30px 70px rgba(10, 10, 10, 0.18);
}
.work__preview-inner { width: 100%; height: 100%; background-size: cover; background-position: center; transform: scale(1.15); }

/* =========================================================
   Audit
   ========================================================= */
.audit { padding-block: clamp(5rem, 11vw, 10rem); }
.audit__inner {
  position: relative;
  border: 1px solid var(--line-soft); border-radius: 20px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255,77,0,0.06), transparent 50%),
    radial-gradient(120% 120% at 100% 100%, rgba(224,67,0,0.05), transparent 50%),
    var(--surface);
  box-shadow: 0 30px 70px rgba(10, 10, 10, 0.07);
  padding: clamp(2rem, 5vw, 4.5rem);
}
.tick {
  position: absolute; font-family: var(--ff-mono); font-size: 1rem;
  color: rgba(10, 10, 10, 0.3); user-select: none;
}
.tick--tl { top: 0.7rem; left: 0.9rem; }
.tick--tr { top: 0.7rem; right: 0.9rem; }
.tick--bl { bottom: 0.7rem; left: 0.9rem; }
.tick--br { bottom: 0.7rem; right: 0.9rem; }
.audit__label { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; margin-bottom: 1.5rem; }
.audit__title { font-weight: 600; font-size: clamp(2rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.audit__copy { color: var(--muted); font-size: clamp(1rem,1.4vw,1.2rem); line-height: 1.5; margin-bottom: 2.5rem; }
.audit__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem 1.5rem;
  margin-bottom: 2.5rem; font-size: 0.82rem;
}
.audit__grid li { color: var(--fg); padding-left: 1.4rem; position: relative; }
.audit__grid li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }

/* =========================================================
   CTA / contact
   ========================================================= */
.cta { padding-block: clamp(6rem, 14vw, 13rem); text-align: center; border-top: 1px solid var(--line); }
.cta__badge {
  position: relative;
  width: clamp(96px, 12vw, 140px); height: clamp(96px, 12vw, 140px);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.cta__badge svg { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.cta__badge text {
  font-family: var(--ff-mono); font-size: 8.2px; letter-spacing: 0.18em;
  fill: var(--muted);
}
.cta__badge-center {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 1.3rem; color: var(--accent);
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta__label { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.8rem; letter-spacing: 0.08em; }
.cta__title { font-weight: 600; font-size: clamp(2.6rem, 10vw, 9rem); line-height: 0.95; letter-spacing: -0.035em; margin-bottom: clamp(2rem,5vw,4rem); }
.cta__title .line { display: block; overflow: hidden; }
.cta__title .line__inner { display: inline-block; }
.cta__mail { font-weight: 500; font-size: clamp(1.3rem, 4vw, 2.8rem); position: relative; display: inline-block; letter-spacing: -0.01em; }
.cta__mail::after { content: ""; position: absolute; left: 0; bottom: 0.02em; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.cta__mail:hover::after { transform: scaleX(1); transform-origin: left; }
.cta__formlink { margin-top: clamp(1.8rem, 3.5vw, 2.8rem); }
.cta__row { display: flex; justify-content: center; gap: clamp(1.5rem,5vw,4rem); margin-top: clamp(3rem,7vw,5rem); flex-wrap: wrap; font-size: 0.9rem; }
.cta__link { color: var(--muted); transition: color .35s; }
.cta__link::after { content: "↗"; margin-left: 0.3em; display: inline-block; transition: transform .4s var(--ease); }
.cta__link:hover { color: var(--accent); }
.cta__link:hover::after { transform: translate(3px,-3px); }

/* =========================================================
   Footer
   ========================================================= */
.footer { padding: var(--pad); padding-bottom: 2rem; position: relative; z-index: 2; }
.footer__big {
  font-weight: 600; font-size: clamp(4rem, 25vw, 22rem); line-height: 0.8;
  letter-spacing: -0.04em; text-align: center; user-select: none; margin-bottom: 2rem;
  background: linear-gradient(180deg, rgba(10,10,10,0.12), rgba(10,10,10,0.015));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 1.5rem; color: var(--muted); font-size: 0.8rem;
}

/* reveal init states */
.reveal-card { opacity: 0; transform: translateY(40px); }

/* =========================================================
   Subpages (About / Legal)
   ========================================================= */
.page-hero {
  padding-top: clamp(8rem, 13vw, 12rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero__label { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; margin-bottom: 1.5rem; }
.page-hero__title {
  font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.4rem, 6.5vw, 6rem);
  line-height: 0.98; letter-spacing: -0.03em;
  max-width: 14ch;
}
.page-hero__title .line { display: block; overflow: hidden; }
.page-hero__title .line__inner { display: inline-block; }
.page-hero__lede {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55; max-width: 58ch;
}

/* about — values */
.values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  margin-block: clamp(3rem, 6vw, 5rem);
}
.value {
  background: var(--bg); padding: clamp(1.5rem, 2.5vw, 2.5rem);
  min-height: clamp(220px, 26vw, 300px);
  display: flex; flex-direction: column;
  transition: background .45s var(--ease);
}
.value:hover { background: var(--surface); }
.value__num { font-size: 0.85rem; color: var(--accent); }
.value h3 { font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.8rem); margin-top: auto; margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.value p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.value q { display: block; margin-top: 0.8rem; color: var(--fg); font-size: 0.9rem; font-style: italic; }

/* about — team */
.team {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem);
  margin-block: clamp(2.5rem, 5vw, 4rem);
}
.member {
  border: 1px solid var(--line-soft); border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(14, 15, 18, 0.05);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.member h3 { font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.02em; }
.member span { color: var(--accent); font-size: 0.78rem; letter-spacing: 0.1em; }

/* about — statement & quote reuse */
.about-block { padding-block: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.about-block:last-of-type { border-bottom: 0; }
.about-block h2 { font-weight: 600; font-size: clamp(1.8rem, 4vw, 3.2rem); letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 1.2rem; max-width: 20ch; }
.about-block > p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.6; max-width: 62ch; }
.about-block > p strong { color: var(--fg); font-weight: 500; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2rem, 4vw, 3rem); }
.about-cols h3 { font-weight: 600; font-size: 1.25rem; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.about-cols h3::before { content: "▸ "; color: var(--accent); }
.about-cols p { color: var(--muted); line-height: 1.6; font-size: 1rem; }
.bigquote {
  padding-block: clamp(4rem, 8vw, 7rem);
  text-align: center;
}
.bigquote blockquote {
  font-weight: 500; font-size: clamp(1.6rem, 4vw, 3.4rem);
  letter-spacing: -0.02em; line-height: 1.15; max-width: 24ch; margin-inline: auto;
}
.bigquote cite { display: block; margin-top: 1.5rem; font-style: normal; color: var(--muted); font-family: var(--ff-mono); font-size: 0.85rem; letter-spacing: 0.1em; }
.bigquote p { margin-top: 1.2rem; color: var(--muted); }

/* legal pages */
.legal { padding-block: clamp(3rem, 6vw, 5rem); max-width: 880px; }
.legal__intro p { color: var(--muted); line-height: 1.7; margin-bottom: 1.1rem; font-size: 1.02rem; }
.legal__section { margin-top: clamp(3rem, 5vw, 4.5rem); }
.legal__section h2 {
  font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -0.02em;
  margin-bottom: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.legal__section h2 .mono { color: var(--accent); font-size: 0.8em; margin-right: 0.6rem; }
.legal__section p { color: var(--muted); line-height: 1.7; margin-bottom: 1.1rem; font-size: 1.02rem; }
.legal__section p > strong:first-child { color: var(--fg); font-weight: 500; font-family: var(--ff-mono); font-size: 0.88em; margin-right: 0.4em; }
.legal__section h3 { font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; margin: 1.8rem 0 0.7rem; color: var(--fg); }
.legal__section ul { margin: 0 0 1.1rem; padding-left: 1.5rem; }
.legal__section li { position: relative; color: var(--muted); line-height: 1.7; font-size: 1.02rem; margin-bottom: 0.55rem; }
.legal__section li::before { content: "▸"; color: var(--accent); position: absolute; left: -1.5rem; }
.legal__section li ul { margin: 0.6rem 0 0.2rem; }
.legal__section li li::before { content: none; }
.legal__section li strong { color: var(--fg); font-weight: 600; }
.legal__section a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__updated { margin-top: clamp(3rem, 5vw, 4rem); color: var(--muted); font-size: 0.8rem; }

/* contact page */
.contact { padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; }
.contact__row {
  padding-block: clamp(1.2rem, 2vw, 1.7rem);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.45rem;
}
.contact__row:first-child { padding-top: 0; }
.contact__label { font-size: 0.68rem; letter-spacing: 0.14em; color: var(--accent); }
.contact__value { font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: -0.01em; }
a.contact__value { position: relative; display: inline-block; width: fit-content; }
a.contact__value::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
a.contact__value:hover::after { transform: scaleX(1); transform-origin: left; }
.contact__links { display: flex; gap: 1.4rem; font-size: 0.85rem; }

.contact__card {
  position: relative;
  border: 1px solid var(--line-soft); border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(14, 15, 18, 0.07);
  padding: clamp(1.8rem, 4vw, 3.5rem);
}
.field { margin-bottom: 1.4rem; }
.field label {
  display: block; margin-bottom: 0.55rem;
  font-size: 0.68rem; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase;
}
.field__input {
  width: 100%;
  font-family: var(--ff-sans); font-size: 1rem; color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85rem 1rem;
  transition: border-color .3s, box-shadow .3s;
  resize: vertical;
}
.field__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.14);
}
.field ul { margin-top: 0.5rem; font-size: 0.8rem; color: #c81e1e; }
.contact__submit { width: 100%; justify-content: center; margin-top: 0.5rem; }
.flash {
  padding: 0.9rem 1.1rem; border-radius: 10px; margin-bottom: 1.4rem;
  font-size: 0.78rem; letter-spacing: 0.04em;
}
.flash--success { border: 1px solid rgba(20, 140, 70, 0.4); background: rgba(20, 140, 70, 0.07); color: #0e7a3c; }
.flash--error { border: 1px solid rgba(200, 30, 30, 0.4); background: rgba(200, 30, 30, 0.06); color: #c81e1e; }

/* subpage mini-CTA */
.subcta {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.subcta h2 { font-weight: 600; font-size: clamp(1.8rem, 4.5vw, 3.6rem); letter-spacing: -0.025em; line-height: 1; }
.subcta h2 em { color: var(--accent); }

/* footer legal links */
.footer__row a { transition: color .35s; }
.footer__row a:hover { color: var(--fg); }
.footer__legal { display: flex; gap: 1.2rem; }

/* =========================================================
   Journal — blog listing
   ========================================================= */
.blog-filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  padding-block: clamp(2rem, 3.2vw, 2.8rem);
  border-bottom: 1px solid var(--line);
}
.blog-chip {
  font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.95rem; border-radius: 100px;
  border: 1px solid var(--line); color: var(--muted);
  transition: color .35s, border-color .35s, background .35s;
}
.blog-chip:hover { color: var(--fg); border-color: rgba(10,10,10,0.4); }
.blog-chip[aria-current="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }

/* featured (first post, full width) */
.featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 6vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.featured__media {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,77,0,0.08), rgba(10,10,10,0.04));
  border: 1px solid var(--line-soft);
}
.featured__media img, .post-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.featured:hover .featured__media img { transform: scale(1.04); }
.featured__tag {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--bg); color: var(--accent); padding: 0.35rem 0.7rem; border-radius: 100px;
}
.featured__eyebrow { color: var(--accent); font-size: 0.7rem; letter-spacing: 0.14em; }
.featured__title {
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.04;
  font-size: clamp(1.8rem, 3.4vw, 3rem); margin: 0.8rem 0 1rem; max-width: 18ch;
}
.featured__excerpt { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6; max-width: 48ch; }

/* card grid */
.posts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(1.8rem, 3vw, 2.8rem); row-gap: clamp(2.8rem, 5vw, 4rem);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}
.post-card { display: flex; flex-direction: column; }
.post-card__media {
  position: relative; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,77,0,0.07), rgba(10,10,10,0.04));
  border: 1px solid var(--line-soft); margin-bottom: 1.2rem;
}
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__eyebrow {
  font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
}
.post-card__title {
  font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -0.02em;
  line-height: 1.18; margin: 0.5rem 0 0.7rem;
}
.post-card__title a { background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 1px;
  background-position: 0 100%; background-repeat: no-repeat; transition: background-size .4s var(--ease); }
.post-card:hover .post-card__title a { background-size: 100% 1px; }
.post-card__excerpt { color: var(--muted); font-size: 0.95rem; line-height: 1.55; flex: 1; }
.post-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.1rem; font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted);
}
.post-card__more { color: var(--fg); transition: color .35s; }
.post-card:hover .post-card__more { color: var(--accent); }

/* empty state */
.blog-empty {
  padding-block: clamp(4rem, 9vw, 8rem); text-align: center; color: var(--muted);
  font-family: var(--ff-mono); font-size: 0.85rem; letter-spacing: 0.05em;
}

/* pagination */
.pager {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding-block: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--line);
  font-family: var(--ff-mono); font-size: 0.85rem;
}
.pager a, .pager span {
  min-width: 2.6rem; height: 2.6rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px; color: var(--muted); transition: color .3s, background .3s, border-color .3s;
  border: 1px solid transparent;
}
.pager a:hover { color: var(--fg); border-color: var(--line); }
.pager [aria-current="page"] { background: var(--fg); color: var(--bg); }

/* =========================================================
   Article (blog/show)
   ========================================================= */
.article { max-width: 760px; margin-inline: auto; }
.article__back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted);
  padding-top: clamp(7rem, 12vw, 10rem); transition: color .35s;
}
.article__back:hover { color: var(--accent); }
.article__head { padding-top: 2rem; padding-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.article__eyebrow { color: var(--accent); font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.article__title {
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.04;
  font-size: clamp(2rem, 5vw, 3.6rem); margin: 1rem 0; max-width: 20ch;
}
.article__meta {
  display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
  font-family: var(--ff-mono); font-size: 0.76rem; letter-spacing: 0.04em; color: var(--muted);
}
.article__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.article__cover {
  aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; margin-bottom: clamp(2.8rem, 5vw, 4rem);
  border: 1px solid var(--line-soft);
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }

/* rich-text prose */
.prose { color: var(--fg); font-size: clamp(1.05rem, 1.4vw, 1.18rem); line-height: 1.75; }
.prose > * + * { margin-top: 1.7rem; }
.prose h2 { font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; line-height: 1.15; margin-top: 2.6rem; }
.prose h3 { font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.015em; margin-top: 2rem; }
.prose p { color: rgba(10,10,10,0.82); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.4rem; color: rgba(10,10,10,0.82); }
.prose ul { list-style: none; }
.prose ul li { position: relative; }
.prose ul li::before { content: "▸"; color: var(--accent); position: absolute; left: -1.4rem; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.5rem; }
.prose blockquote {
  border-left: 2px solid var(--accent); padding: 0.2rem 0 0.2rem 1.4rem;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.01em; color: var(--fg);
}
.prose img { border-radius: 12px; border: 1px solid var(--line-soft); }
.prose pre {
  background: var(--fg); color: var(--bg); padding: 1.2rem 1.4rem; border-radius: 12px;
  overflow-x: auto; font-family: var(--ff-mono); font-size: 0.85rem; line-height: 1.6;
}
.prose code { font-family: var(--ff-mono); font-size: 0.88em; }
.prose :not(pre) > code {
  background: rgba(10,10,10,0.06); padding: 0.12em 0.4em; border-radius: 5px; color: var(--accent-deep);
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4rem; }

.article__tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.8rem; border-top: 1px solid var(--line);
}
.article__tag {
  font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted);
  border: 1px solid var(--line); padding: 0.4rem 0.85rem; border-radius: 100px; transition: color .35s, border-color .35s;
}
.article__tag:hover { color: var(--accent); border-color: var(--accent); }

/* =========================================================
   Cookie consent banner
   ========================================================= */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  padding-inline: var(--pad); padding-block: 1.1rem;
  background: var(--fg); color: var(--bg);
  transform: translateY(110%); transition: transform .5s var(--ease);
  box-shadow: 0 -20px 50px rgba(10, 10, 10, 0.18);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
  max-width: 1100px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; flex-wrap: wrap;
}
.cookie-banner__text { font-size: 0.9rem; line-height: 1.5; max-width: 62ch; color: rgba(250, 250, 248, 0.85); }
.cookie-banner__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; gap: 0.7rem; flex-shrink: 0; }
.cookie-banner__btn {
  font-family: var(--ff-mono); font-size: 0.78rem; letter-spacing: 0.04em;
  padding: 0.7rem 1.5rem; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: background .3s, border-color .3s, color .3s;
}
@media (hover: none) { .cookie-banner__btn { cursor: auto; } }
.cookie-banner__btn--ghost { background: transparent; border-color: rgba(250, 250, 248, 0.3); color: var(--bg); }
.cookie-banner__btn--ghost:hover { border-color: rgba(250, 250, 248, 0.7); }
.cookie-banner__btn--primary { background: var(--accent); color: #fff; }
.cookie-banner__btn--primary:hover { background: var(--accent-deep); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .panel__inner { grid-template-columns: 1fr; min-height: 0; gap: 2rem; }
  .panel { position: relative; top: auto; }
  .panel__art { order: -1; }

  .process__viewport { overflow: visible; }
  .process__track { flex-direction: column; width: 100%; }
  .process__step { width: 100%; min-height: 0; padding-block: 1.8rem; }
  .process__step h3 { margin-top: 0.8rem; }
  .process__bar, .process__hint { display: none; }

  .audit__grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { order: 1; }
  .value { min-height: 0; }
  .value h3 { margin-top: 1rem; }
  .team { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; }
  .work__item { grid-template-columns: auto 1fr auto; grid-template-areas: "idx name year" "cat cat cat" "tags tags tags"; row-gap: 0.5rem; }
  .work__index { grid-area: idx; } .work__name { grid-area: name; } .work__year { grid-area: year; text-align: right; }
  .work__cat { grid-area: cat; } .work__tags { grid-area: tags; }
  .work__arrow { display: none; }
  .featured { grid-template-columns: 1fr; }
  .featured__media { order: -1; }
  .posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; flex-direction: column; gap: 5px; }
  .nav__burger span { width: 26px; height: 2px; background: var(--fg); display: block; }
  .hero__title .line--indent { padding-left: clamp(1rem, 8vw, 3rem); }
  .hero__title .line--indent-sm { padding-left: 0; }
  .hero__sys { display: none; }
  .intro__grid { grid-template-columns: 1fr; }
  .audit__grid { grid-template-columns: 1fr; }
  .hero__scrollhint { display: none; }
  .section-head::before { display: none; }
  .posts { grid-template-columns: 1fr; }
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .hero__title .line__inner, .cta__title .line__inner, .preloader__word span { transform: none !important; }
  .hero__layer--back, .hero__lensring { display: none !important; }
}
