:root {
  --bg: oklch(0.986 0.004 75);
  --surface: oklch(0.975 0.005 75);
  --fg: oklch(0.205 0.012 60);
  --muted: oklch(0.52 0.012 60);
  --faint: oklch(0.66 0.01 60);
  --line: oklch(0.885 0.006 70);
  --line-strong: oklch(0.82 0.008 65);
  --accent: oklch(0.605 0.176 38);
  --accent-fg: oklch(0.99 0.004 75);
  --grid-opacity: 1;

  --font-display: "Space Grotesk", "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--accent-fg); }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- background grid ---------- */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: var(--grid-opacity);
  background-image:
    linear-gradient(to right, color-mix(in oklch, var(--line) 60%, transparent) 1px, transparent 1px);
  background-size: calc((min(100vw, var(--maxw)) - 0px) / 12) 100%;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
}
.grid-bg::after {
  content: "";
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: min(100vw, var(--maxw));
  transform: translateX(-50%);
  border-left: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
  border-right: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
}

/* ---------- section HUD (instrument readout) ---------- */
.hud {
  position: fixed; left: 18px; bottom: 18px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint);
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
}
.hud.on { opacity: 1; }
.hud .hud-mark { width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); flex-shrink: 0; }
@media (max-width: 1100px) { .hud { display: none; } }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, backdrop-filter .3s;
}
header .brand { color: #000; text-shadow: none; }
header.scrolled {
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
header.scrolled .brand { color: var(--fg); text-shadow: none; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: 0.02em; }
.brand .mark {
  width: 13px; height: 13px; background: var(--accent);
  transform: rotate(45deg);
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.navlink {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #000; position: relative; padding: 4px 0;
  transition: color .2s;
}
header.scrolled .nav-links a.navlink { color: var(--muted); text-shadow: none; }
.nav-links a.navlink::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px;
  background: var(--accent); transition: width .25s ease;
}
.nav-links a.navlink:hover { color: #000; }
header.scrolled .nav-links a.navlink:hover { color: var(--fg); }
.nav-links a.navlink:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 20px; border-radius: 0; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); border: 1px solid var(--accent); }
.btn-primary:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translate(3px, -3px); }

@media (max-width: 760px) { .nav-links .navlink { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 1; min-height: min(94vh, 880px); display: flex; align-items: flex-end; overflow: hidden; padding-top: 120px; padding-bottom: clamp(44px, 6vw, 84px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: #16110f; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%;; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background:
    linear-gradient(180deg, rgba(18,13,11,0.62) 0%, rgba(18,13,11,0.14) 13%, rgba(18,13,11,0) 24%),
    linear-gradient(95deg, rgba(18,13,11,0.92) 0%, rgba(18,13,11,0.66) 36%, rgba(18,13,11,0.20) 64%, rgba(18,13,11,0.34) 100%),
    linear-gradient(0deg, rgba(18,13,11,0.82) 0%, rgba(18,13,11,0) 52%); }
.hero-grid { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1.45fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: end; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.hero-eyebrow .dot { width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); animation: pulse 2.4s ease-in-out infinite; }
.hero-eyebrow .coords { margin-left: auto; }
.hero .mono { color: rgba(255,255,255,0.74); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
h1.hero-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(38px, 6.4vw, 86px); line-height: 1.0; letter-spacing: -0.025em;
  margin: 0; text-wrap: balance; color: #fff;
}
h1.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: 30px; max-width: 46ch; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,0.84); line-height: 1.6; }
.hero-cta { margin-top: 38px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--fg); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero .spec { display: none; } }

/* spec card */
.spec {
  border: 1px solid var(--line-strong); border-radius: 0; background: var(--surface);
  overflow: hidden;
}
.spec-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.spec-head .mark-sq { width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); flex-shrink: 0; }
.spec-head .dots { display: flex; gap: 6px; }
.spec-head .dots i { width: 8px; height: 8px; background: var(--line-strong); display: block; transform: rotate(45deg); }
.spec-head .ttl { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--faint); letter-spacing: .05em; }
.spec-body { padding: 16px 16px 18px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.85; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; }
.spec-row .k { color: var(--faint); }
.spec-row .v { color: var(--fg); text-align: right; white-space: nowrap; }
.spec-row .v.ok { color: var(--accent); }
.spec-sep { height: 1px; background: var(--line); margin: 12px 0; }
/* spec card on the dark hero photo */
.hero .spec { background: rgba(24,19,17,0.60); backdrop-filter: blur(14px); border-color: rgba(255,255,255,0.16); box-shadow: 0 26px 64px -28px rgba(0,0,0,0.7); }
.hero .spec-head { border-bottom-color: rgba(255,255,255,0.12); }
.hero .spec-head .dots i { background: rgba(255,255,255,0.28); }
.hero .spec-head .ttl { color: rgba(255,255,255,0.52); }
.hero .spec-row .k { color: rgba(255,255,255,0.5); }
.hero .spec-row .v { color: rgba(255,255,255,0.92); }
.hero .spec-sep { background: rgba(255,255,255,0.12); }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 0; background: var(--surface); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: scroll 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 14px; padding: 16px 28px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.ticker-item::before { content: ""; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
.ticker-item .idx { font-size: 10.5px; color: var(--faint); letter-spacing: .1em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- section scaffold ---------- */
section.block { position: relative; z-index: 1; padding-block: clamp(56px, 9vw, 130px); }
.sec-head {
  position: relative;
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head::before {
  content: "+"; position: absolute; left: -7px; top: -11px;
  font-family: var(--font-mono); font-size: 14px; line-height: 1; color: var(--accent);
}
.sec-head::after {
  content: "+"; position: absolute; right: -7px; top: -11px;
  font-family: var(--font-mono); font-size: 14px; line-height: 1; color: var(--line-strong);
}
.sec-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.sec-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -0.02em; margin: 0; line-height: 1.05; }
.sec-lead { margin-left: auto; max-width: 38ch; color: var(--muted); font-size: 16px; }

/* services (legacy list style) */
.services { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 64px 1fr auto; gap: clamp(16px, 4vw, 48px);
  align-items: start; padding: clamp(26px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line);
  transition: padding-left .3s ease;
}
.svc:hover { padding-left: 10px; }
.svc .n { font-family: var(--font-mono); font-size: 13px; color: var(--faint); padding-top: 6px; }
.svc h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.4vw, 29px); margin: 0 0 10px; letter-spacing: -0.015em; }
.svc p { margin: 0; color: var(--muted); max-width: 52ch; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 0; padding: 4px 9px; white-space: nowrap; }
.svc .go { font-family: var(--font-mono); font-size: 22px; color: var(--line-strong); transition: color .2s, transform .2s; align-self: center; }
.svc:hover .go { color: var(--accent); transform: translate(4px, -4px); }
@media (max-width: 720px) { .svc { grid-template-columns: 1fr; gap: 8px; } .svc .go { display: none; } }

/* offer cells — fused, ruled, invert on hover */
.offer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong);
}
.offer {
  display: flex; flex-direction: column; position: relative;
  background: var(--surface); border: none; border-radius: 0;
  padding: clamp(26px, 2.6vw, 38px);
  transition: background .25s ease;
}
.offer:hover { background: var(--fg); }
.offer .top { display: flex; align-items: center; justify-content: space-between; min-height: 24px; margin-bottom: 26px; }
.offer .n { font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: .08em; transition: color .25s; }
.offer .badge { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; background: var(--accent); color: var(--accent-fg); border-radius: 0; padding: 5px 10px; white-space: nowrap; }
.offer .glyph { width: 30px; height: 30px; color: var(--accent); }
.offer h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 2vw, 26px); margin: 0 0 12px; letter-spacing: -0.015em; transition: color .25s; }
.offer p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; transition: color .25s; }
.offer .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.offer .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 0; padding: 4px 9px; white-space: nowrap; transition: color .25s, border-color .25s; }
.offer .lnk { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg); transition: color .25s; }
.offer .lnk .a { color: var(--accent); transition: transform .2s; }
.offer:hover h3 { color: var(--accent); }

.offer-note {
  margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line-strong);
  padding: clamp(24px, 2.6vw, 36px) clamp(26px, 2.6vw, 38px);
}
.offer-note-txt { flex: 1 1 380px; }
.offer-note-eyebrow { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.offer-note p { margin: 0; color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.55; max-width: 58ch; }
.offer-note .btn { flex: 0 0 auto; }
.offer:hover p { color: color-mix(in oklch, var(--bg) 72%, transparent); }
.offer:hover .n { color: color-mix(in oklch, var(--bg) 45%, transparent); }
.offer:hover .tag { color: color-mix(in oklch, var(--bg) 65%, transparent); border-color: color-mix(in oklch, var(--bg) 22%, transparent); }
.offer:hover .lnk { color: var(--bg); }
.offer:hover .lnk .a { transform: translate(3px, -3px); }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } }

/* compact process band */
.flow { border-top: 1px solid var(--line); background: var(--surface); }
.flow .wrap { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding-block: clamp(26px, 3vw, 40px); flex-wrap: wrap; }
.flow .lead { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.flow .chain { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 20px); flex-wrap: wrap; counter-reset: flowstep; }
.flow .node { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-weight: 500; font-size: clamp(15px, 1.5vw, 18px); color: var(--fg); counter-increment: flowstep; }
.flow .node::before { content: "0" counter(flowstep); font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); letter-spacing: .06em; }
.flow .sep { font-size: 0; width: clamp(14px, 2vw, 32px); height: 1px; background: var(--line-strong); }

/* team */
.team { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-lead { max-width: 60ch; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.6; color: var(--fg); margin: 0 0 8px; text-wrap: pretty; }
.about-lead + .about-lead { margin-top: 18px; color: var(--muted); font-size: 16px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 28px); margin-top: clamp(36px, 5vw, 60px); }
.member { display: flex; flex-direction: column; gap: 14px; }
.member .ava { width: 100%; aspect-ratio: 1; border-radius: 0; overflow: hidden; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; position: relative; }
.member .ava .mono-ini { font-family: var(--font-display); font-weight: 500; font-size: 30px; color: var(--line-strong); letter-spacing: .02em; }
.member .ava img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .45s ease; }
.member:hover .ava img { filter: grayscale(0%); }
.member .nm { font-family: var(--font-display); font-weight: 500; font-size: 17px; }
.member .ro { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.member .ro .ptn { color: var(--accent); }
@media (max-width: 820px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* testimonial */
.quote { background: var(--bg); border-top: 1px solid var(--line); }

.quote-carousel { position: relative; display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); margin-top: clamp(40px, 5vw, 64px); }
.quote-track { position: relative; display: grid; flex: 1 1 auto; min-width: 0; }
.quote-slide { grid-area: 1 / 1; margin: 0; display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); opacity: 0; visibility: hidden; transform: translateX(16px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.quote-slide.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

.quote-ava { width: clamp(110px, 12vw, 156px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--surface); border: 1px solid var(--line); }
.quote-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }

.quote-body { min-width: 0; }
.quote-body blockquote { position: relative; margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(18px, 2vw, 26px); line-height: 1.45; letter-spacing: -0.01em; text-wrap: pretty; }
.quote-body .mk { position: absolute; top: -0.35em; left: -0.06em; font-family: var(--font-display); font-size: 3em; line-height: 1; color: color-mix(in oklch, var(--accent) 22%, transparent); pointer-events: none; }
.quote-cite { margin-top: 24px; display: flex; flex-direction: column; gap: 4px; }
.quote-cite .quote-name { font-size: clamp(15px, 1.5vw, 18px); color: var(--fg); }
.quote-cite .quote-company { font-style: italic; font-size: clamp(14px, 1.4vw, 16px); color: var(--muted); }

.quote-arrow { flex-shrink: 0; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; color: var(--fg); background: transparent; border: 1px solid var(--line-strong); border-radius: 0; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.quote-arrow:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

@media (max-width: 720px) {
  .quote-carousel { gap: 8px; }
  .quote-slide { flex-direction: column; align-items: flex-start; text-align: left; gap: 20px; }
  .quote-body .mk { position: static; display: block; margin-bottom: -0.3em; }
}

/* process */
.process { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.step { background: var(--surface); padding: clamp(22px, 2.6vw, 34px); min-height: 220px; display: flex; flex-direction: column; transition: background .25s; }
.step:hover { background: var(--bg); }
.step .sn { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.step h4 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin: 16px 0 10px; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.step .ico { margin-top: auto; width: 26px; height: 26px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--faint); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }

/* work */
#arbeiten { background: var(--bg); }
.work-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.filter-btn {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: transparent; border: 1px solid var(--line-strong); border-radius: 0;
  padding: 8px 14px; cursor: pointer; transition: color .2s, background .2s, border-color .2s;
}
.filter-btn:hover { color: var(--fg); border-color: var(--fg); }
.filter-btn.is-active { color: var(--accent-fg); background: var(--accent); border-color: var(--accent); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 52px); }
.case.is-hidden { display: none; }
.case { display: block; min-width: 0; }
.case .ph {
  aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 0; overflow: hidden; position: relative;
  background-color: var(--surface);
  background-image: repeating-linear-gradient(135deg, color-mix(in oklch, var(--line) 35%, transparent) 0 1px, transparent 1px 16px);
  transition: border-color .25s ease;
}
.case .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.case:hover .ph { border-color: var(--line-strong); }
.case:hover .ph img { transform: scale(1.035); }
.case .ph .lbl {
  position: absolute; left: 12px; top: 12px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: color-mix(in oklch, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 4px 9px; border: 1px solid var(--line); border-radius: 0; white-space: nowrap;
  transition: color .25s ease, border-color .25s ease;
}
.case:hover .ph .lbl { color: var(--fg); border-color: var(--line-strong); }
.case .ph .case-go {
  position: absolute; right: 12px; bottom: 12px;
  width: 32px; height: 32px; display: grid; place-items: center;
  font-size: 15px; line-height: 1; color: var(--accent-fg); background: var(--accent);
  opacity: 0; transform: translate(4px, 4px); transition: opacity .25s ease, transform .25s ease;
}
.case:hover .ph .case-go { opacity: 1; transform: translate(0, 0); }
.case .meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 16px; }
.case h3 { font-family: var(--font-display); font-weight: 500; font-size: 19px; margin: 0; letter-spacing: -0.015em; transition: color .2s ease; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case:hover h3 { color: var(--accent); }
.case .yr { font-family: var(--font-mono); font-size: 12px; color: var(--faint); flex-shrink: 0; }
.case p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* statement */
.statement { border-top: 1px solid var(--line); }
.statement p { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3.4vw, 42px); line-height: 1.28; letter-spacing: -0.015em; max-width: 22ch; margin: 0; text-wrap: balance; }
.statement p span { color: var(--faint); }
.statement .by { margin-top: 32px; display: flex; align-items: center; gap: 14px; }
.statement .by .ln { width: 38px; height: 1px; background: var(--line-strong); }

/* contact */
.contact { background: var(--fg); color: var(--bg); position: relative; z-index: 1; }
.contact .wrap { padding-block: clamp(60px, 9vw, 120px); }
.contact .mono { color: color-mix(in oklch, var(--bg) 60%, transparent); }
.contact h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 5.2vw, 68px); letter-spacing: -0.025em; line-height: 1.02; margin: 22px 0 0; max-width: 16ch; }
.contact h2 a { border-bottom: 2px solid var(--accent); transition: color .2s; }
.contact h2 a:hover { color: var(--accent); }
.contact-meta { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid color-mix(in oklch, var(--bg) 22%, transparent); padding-top: 30px; }
.cm .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in oklch, var(--bg) 50%, transparent); }
.cm .v { margin-top: 8px; font-size: 16px; }
.cm a:hover { color: var(--accent); }
@media (max-width: 640px) { .contact-meta { grid-template-columns: 1fr; } }

/* contact form */
.contact-form { margin-top: clamp(36px, 5vw, 60px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.form-field--full { grid-column: 1 / -1; }
.form-label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in oklch, var(--bg) 55%, transparent); margin-bottom: 8px; }
.form-optional { color: color-mix(in oklch, var(--bg) 35%, transparent); }
.form-input {
  width: 100%; background: color-mix(in oklch, var(--bg) 7%, transparent);
  border: 1px solid color-mix(in oklch, var(--bg) 20%, transparent);
  border-radius: 0; color: var(--bg); font-family: var(--font-body); font-size: 15.5px;
  padding: 12px 14px; transition: border-color .2s, background .2s; outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: color-mix(in oklch, var(--bg) 30%, transparent); }
.form-input:focus { border-color: var(--accent); background: color-mix(in oklch, var(--bg) 10%, transparent); }
.form-input--err { border-color: var(--accent) !important; }
.form-textarea { resize: vertical; min-height: 130px; }
.form-err-msg { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: .04em; }
.form-error-banner { margin-bottom: 20px; padding: 12px 16px; border: 1px solid var(--accent); border-radius: 0; font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .04em; }
.form-submit { margin-top: 28px; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-success { display: flex; align-items: flex-start; gap: 16px; margin-top: clamp(28px, 4vw, 48px); padding: 28px; border: 1px solid color-mix(in oklch, var(--bg) 22%, transparent); border-radius: 0; }
.form-success-icon { font-family: var(--font-mono); font-size: 18px; color: var(--accent); flex-shrink: 0; line-height: 1.6; }
.form-success p { margin: 0; font-size: 16px; color: color-mix(in oklch, var(--bg) 80%, transparent); line-height: 1.6; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-field--full { grid-column: 1; } }

/* footer */
footer { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding-block: 44px; flex-wrap: wrap; }
.foot .mono { font-size: 11.5px; }
.foot .brand { font-size: 16px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-addr { font-style: normal; line-height: 1.7; color: var(--muted); }
.foot-contact { gap: 8px; }
.foot-contact a { color: var(--muted); transition: color .2s; }
.foot-contact a:hover { color: var(--accent); }
.foot-meta { text-align: right; }
@media (max-width: 640px) { .foot { gap: 22px; } .foot-meta { text-align: left; } }

/* project detail */
.proj-header { padding-block: clamp(56px, 8vw, 100px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.proj-header-inner { display: flex; flex-direction: column; gap: 28px; }
.proj-header-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.proj-back { font-size: 11px; letter-spacing: .1em; color: var(--muted); transition: color .2s; }
.proj-back:hover { color: var(--accent); }
.proj-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.proj-badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.proj-badge.accent { color: var(--accent); border-color: color-mix(in oklch, var(--accent) 40%, var(--line)); }
.proj-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 5.5vw, 72px); letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
.proj-tagline { font-size: clamp(17px, 1.8vw, 22px); color: var(--accent); margin: 0; font-weight: 400; max-width: 60ch; }

.proj-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; padding-block: clamp(40px, 6vw, 72px); }
.proj-image-col { }
.proj-image { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 56px -20px rgba(0,0,0,0.16); background: var(--surface); min-height: 180px; }
.proj-image img { display: block; width: 100%; height: auto; }
.proj-image--empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/10; }

.proj-info-col { display: flex; flex-direction: column; gap: 32px; }
.proj-content { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.75; color: var(--muted); }
.proj-content p { margin: 0 0 1.3em; }
.proj-content p:last-child { margin-bottom: 0; }
.tech-group { display: flex; flex-direction: column; gap: 12px; }
.tech-label { font-size: 10px; letter-spacing: .14em; }
.tech-group .tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tech-group .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 0; padding: 4px 9px; white-space: nowrap; }

@media (max-width: 860px) { .proj-main { grid-template-columns: 1fr; } }

.proj-nav { border-top: 1px solid var(--line); }
.proj-nav-inner { display: grid; grid-template-columns: 1fr 1fr; padding-block: clamp(32px, 4vw, 56px); }
.proj-nav-link { display: flex; flex-direction: column; gap: 8px; padding: 16px; transition: color .2s; }
.proj-nav-link:hover { color: var(--accent); }
.proj-nav-link .mono { font-size: 10px; letter-spacing: .12em; color: var(--faint); }
.proj-nav-link:hover .mono { color: var(--accent); }
.proj-nav-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.01em; }
.proj-nav-link--next { text-align: right; }
@media (max-width: 600px) { .proj-nav-inner { grid-template-columns: 1fr; } }

/* products — fused cells */
.prod-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong);
}
.prod { position: relative; display: flex; flex-direction: column; background: var(--surface); border: none; border-radius: 0; padding: clamp(28px, 3.5vw, 44px); transition: background .25s ease; }
.prod:hover { background: var(--bg); }
.prod .prod-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.prod .prod-badge { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; background: var(--accent); color: var(--accent-fg); border-radius: 0; padding: 5px 10px; }
.prod h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.8vw, 36px); margin: 0 0 10px; letter-spacing: -0.02em; }
.prod .tagline { font-size: 15.5px; color: var(--muted); line-height: 1.55; margin: 0 0 20px; }
.prod p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.prod .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.prod .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 0; padding: 4px 9px; white-space: nowrap; }
.prod .prod-footer { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.prod .prod-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg); }
.prod .prod-link .a { color: var(--accent); transition: transform .2s; }
.prod:hover .prod-link .a { transform: translate(3px, -3px); }
.prod .partner { font-family: var(--font-mono); font-size: 11px; color: var(--faint); }
.prod .partner a:hover { color: var(--accent); }
@media (max-width: 720px) { .prod-grid { grid-template-columns: 1fr; } }

/* service detail page */
.svc-det-bar { padding-top: 28px; }
.back-lnk { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.back-lnk:hover { color: var(--fg); }
.svc-det-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.svc-det-badge { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; background: var(--accent); color: var(--accent-fg); border-radius: 0; padding: 5px 10px; white-space: nowrap; display: inline-block; margin-bottom: 22px; }
.svc-det-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 6vw, 72px); letter-spacing: -0.025em; line-height: 1.0; margin: 0 0 24px; }
.svc-det-desc { font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); line-height: 1.6; max-width: 56ch; margin: 0 0 24px; }
.svc-det-ext { margin-top: 36px; }
.btn-xl { padding: 20px 34px; font-size: 13.5px; letter-spacing: 0.12em; gap: 12px; }
.btn-xl .arr { font-size: 1.15em; }
.svc-det-ext + .svc-det-cta { margin-top: 16px; }
.svc-det-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.svc-det-content { border-top: 1px solid var(--line); padding-top: clamp(48px, 7vw, 96px); }
.svc-prose { max-width: 100ch; }
.svc-prose h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.015em; margin: 52px 0 18px; }
.svc-prose h2:first-child { margin-top: 0; }
.svc-prose p { color: var(--muted); line-height: 1.7; margin: 0 0 20px; }
.svc-prose ul { list-style: none; padding: 0; margin: 0 0 20px; }
.svc-prose ul li { color: var(--muted); line-height: 1.6; padding: 10px 0 10px 20px; border-bottom: 1px solid var(--line); position: relative; }
.svc-prose ul li:first-child { border-top: 1px solid var(--line); }
.svc-prose ul li::before { content: "–"; position: absolute; left: 0; color: var(--accent); }
.svc-prose ul li strong { color: var(--fg); font-weight: 500; }
.svc-prose ol { list-style: none; padding: 0; margin: 0 0 20px; counter-reset: svc-step; }
.svc-prose ol li { counter-increment: svc-step; color: var(--muted); display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.svc-prose ol li:first-child { border-top: 1px solid var(--line); }
.svc-prose ol li::before { content: "0" counter(svc-step); font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; flex-shrink: 0; padding-top: 2px; }
.svc-prose ol li strong { color: var(--fg); font-weight: 500; }
.svc-det-projects { border-top: 1px solid var(--line); }
.svc-proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(28px, 4vw, 44px); }
.svc-proj { display: block; }
.svc-proj-ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt, var(--bg)); }
.svc-proj-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-proj:hover .svc-proj-ph { border-color: var(--fg); }
.svc-proj-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 11px; }
.svc-proj-meta h3 { font-family: var(--font-display); font-weight: 500; font-size: 16px; margin: 0; letter-spacing: -0.01em; }
.svc-proj-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
@media (max-width: 900px) { .svc-proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-proj-grid { grid-template-columns: 1fr; } }
.svc-det-bottom { border-top: 1px solid var(--line); }
.svc-det-cta-lead { font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px); font-weight: 400; letter-spacing: -0.01em; margin: 0; }

.svc-det-hero .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.svc-det-hero .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 0; padding: 4px 9px; white-space: nowrap; }

/* faq */
.faq { background: var(--bg); border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; padding: clamp(18px, 2vw, 26px) 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(17px, 1.7vw, 21px); letter-spacing: -0.01em; color: var(--fg); transition: color .2s; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--accent); }
.faq-ico { flex-shrink: 0; font-family: var(--font-mono); font-size: 22px; line-height: 1; color: var(--accent); transition: transform .25s ease; }
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-a { padding: 0 0 clamp(18px, 2vw, 26px); max-width: 70ch; }
.faq-a p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* reveal */
html.reveal-on [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
html.reveal-on [data-reveal].in { opacity: 1; transform: none; }
html.reveal-off [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-on [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .member .ava img { filter: grayscale(0%); }
}
