/* ==========================================================================
   NOKRA — Architectural Studio / Swiss Grid design system
   Carbon #0A0A0B · Technical Paper #F4F3EF · Accent #FF4F00 · System #10B981
   ========================================================================== */

/* ---------------------------------------------------------------- TOKENS */
:root {
  --carbon: #0A0A0B;
  --carbon-2: #101012;
  --carbon-3: #17171A;
  --carbon-4: #1E1E22;
  --paper: #F4F3EF;
  --paper-2: #EAE8E1;
  --paper-3: #DEDBD1;
  --accent: #FF4F00;
  --accent-soft: rgba(255, 79, 0, .1);
  --ok: #10B981;

  /* contextual (re-scoped by .section--paper) */
  --bg: var(--carbon);
  --fg: var(--paper);
  --muted: rgba(244, 243, 239, .6);
  --faint: rgba(244, 243, 239, .38);
  --line: rgba(244, 243, 239, .09);
  --line-strong: rgba(244, 243, 239, .18);
  --surface: var(--carbon-2);
  --surface-2: var(--carbon-3);

  --f-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1440px;
  --gutter: clamp(16px, 3vw, 40px);
  --status-h: 32px;
  --nav-h: 68px;
  --header-h: calc(var(--status-h) + var(--nav-h));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --noise-opacity: .03;
}

.section--paper,
.paper-scope {
  --bg: var(--paper);
  --fg: var(--carbon);
  --muted: rgba(10, 10, 11, .64);
  --faint: rgba(10, 10, 11, .42);
  --line: rgba(10, 10, 11, .12);
  --line-strong: rgba(10, 10, 11, .24);
  --surface: var(--paper-2);
  --surface-2: var(--paper-3);
}

/* ---------------------------------------------------------------- RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--carbon);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: opacity .45s ease;
}
html.i18n-pending body { opacity: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: var(--carbon); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

.mono { font-family: var(--f-mono); font-feature-settings: "zero" 1, "ss01" 1; }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- i18n SWITCH (150ms fade/blur) */
[data-i18n], [data-i18n-html], .i18n-dyn {
  transition: opacity .15s ease, filter .15s ease;
}
html.lang-switching [data-i18n],
html.lang-switching [data-i18n-html],
html.lang-switching .i18n-dyn {
  opacity: 0;
  filter: blur(5px);
}

/* ---------------------------------------------------------------- TEXTURE + GRID */
.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: difference;
}
.grid-overlay .shell {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.grid-overlay span { border-left: 1px solid rgba(255, 255, 255, .045); }
.grid-overlay span:last-child { border-right: 1px solid rgba(255, 255, 255, .045); }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* ---------------------------------------------------------------- PRIMITIVES */
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.dot--ok { background: var(--ok); box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.sq { display: inline-block; width: 7px; height: 7px; background: var(--accent); flex: none; }

.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding: 0 22px;
  font-family: var(--f-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease-out);
  will-change: transform;
}
.btn .arr { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease-out); }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn:hover .arr--down { transform: translateY(3px); }
.btn--accent { background: var(--accent); color: var(--carbon); }
.btn--accent:hover { background: var(--fg); color: var(--bg); }
.btn--ghost { border-color: var(--line-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--ink { background: var(--carbon); color: var(--paper); }
.btn--ink:hover { background: var(--carbon-4); }
.btn--outline { border-color: var(--line-strong); color: var(--fg); }
.btn--outline:hover { border-color: var(--fg); background: var(--surface); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 13.5px; }
.btn--xs { --h: 34px; padding: 0 12px; font-size: 12px; }
.btn--lg { --h: 60px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; justify-content: space-between; }
.btn .num { font-size: 11px; font-weight: 500; opacity: .75; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-size: 11px;
  line-height: 1;
  padding: 6px 8px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  letter-spacing: .02em;
}

/* ---------------------------------------------------------------- HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
}
.statusbar {
  height: var(--status-h);
  background: var(--carbon);
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: .07em;
  color: var(--muted);
  overflow: hidden;
}
.statusbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.sb-item { display: inline-flex; align-items: center; gap: 6px; }
.sb-item b { color: var(--paper); font-weight: 600; }
.sb-colon { margin-left: -6px; color: var(--faint); }
.sb-sep { color: var(--faint); }
.sb-ok { color: var(--ok); }
.sb-clock { margin-left: auto; color: var(--faint); font-variant-numeric: tabular-nums; }

.navbar {
  height: var(--nav-h);
  background: rgba(10, 10, 11, .8);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.navbar__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
/* the // symbol: short white slash + taller orange one passing in front */
.brand__mark { width: 30px; height: 30px; display: block; }
.brand__mark svg { width: 100%; height: 100%; overflow: visible; }
.brand__mark .bm-w { fill: var(--paper); }
.brand__mark .bm-o { fill: var(--accent); transition: transform .45s var(--ease-out); }
.brand:hover .brand__mark .bm-o { transform: translate(4px, -6px); }
.brand__name { font-family: var(--f-display); font-size: 19px; line-height: 1; letter-spacing: -.035em; }
.brand__name b { font-weight: 700; }
.brand__name span { font-weight: 400; color: rgba(244, 243, 239, .6); margin-left: .12em; }
.brand__sub { font-size: 10px; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; padding-left: 12px; border-left: 1px solid var(--line-strong); }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: 13.5px; font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  transition: color .25s;
}
.nav-link .n { font-size: 9.5px; color: var(--faint); transition: color .25s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav-link:hover, .nav-link.is-current { color: var(--paper); }
.nav-link:hover .n, .nav-link.is-current .n { color: var(--accent); }
.nav-link.is-current::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 14px; }

/* ---- language switch (pill) */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(244, 243, 239, .02);
}
.lang-switch__globe {
  width: 15px; height: 15px; margin: 0 6px 0 7px;
  fill: none; stroke: var(--muted); stroke-width: 1.3;
}
.lang-switch__indicator {
  position: absolute;
  top: 3px; bottom: 3px; left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--accent);
  transition: transform .42s var(--ease-out), width .42s var(--ease-out);
  z-index: 0;
}
.lang-btn {
  position: relative; z-index: 1;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: color .3s;
}
.lang-btn:hover { color: var(--paper); }
.lang-btn.is-active { color: var(--carbon); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--paper);
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 23px; }
.menu-open .menu-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

.statusbar, .navbar { position: relative; z-index: 2; }
/* full-screen menu: covers the whole screen under the bar with the logo and the X */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 1;
  height: 100vh; height: 100dvh;
  padding-top: var(--header-h);
  background: var(--carbon);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-out), visibility 0s linear .6s;
  visibility: hidden;
  overflow-y: auto;
}
.menu-open .mobile-drawer { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease-out); }
.drawer__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-top: clamp(24px, 6vh, 56px); padding-bottom: max(28px, env(safe-area-inset-bottom)); }
.drawer__nav { display: flex; flex-direction: column; }
.drawer-link {
  display: flex; align-items: baseline; gap: 16px;
  padding: clamp(14px, 2.6vh, 22px) 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: clamp(34px, 10vw, 56px); font-weight: 500; line-height: 1; letter-spacing: -.035em;
  color: var(--paper);
}
.drawer-link .mono { font-size: 11px; letter-spacing: .06em; color: var(--accent); transform: translateY(-.9em); }
.drawer-link, .drawer__bottom { opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .3s; }
.menu-open .drawer-link, .menu-open .drawer__bottom {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(.12s + var(--i, 0) * .06s);
}
.drawer__bottom { display: flex; flex-direction: column; gap: 18px; }
.drawer__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer__langs { display: flex; gap: 6px; }
.drawer__langs button { font-size: 11px; font-weight: 600; padding: 8px 11px; border: 1px solid var(--line-strong); color: var(--muted); transition: all .2s; }
.drawer__langs button.is-active { background: var(--accent); border-color: var(--accent); color: var(--carbon); }
.drawer__ig { font-size: 12px; color: var(--muted); }
.menu-lock, .menu-lock body { overflow: hidden; }
.menu-lock .wa-float { opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------------- SECTIONS */
.section { position: relative; background: var(--bg); color: var(--fg); }
.section > .shell {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding-top: clamp(72px, 9vw, 140px);
  padding-bottom: clamp(72px, 9vw, 140px);
}
.section + .section { border-top: 1px solid var(--line); }

.sec-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 18px;
  margin-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.sec-meta::before, .sec-meta::after {
  content: "+"; position: absolute; bottom: -9px;
  font-size: 13px; color: var(--faint); line-height: 1;
}
.sec-meta::before { left: -5px; }
.sec-meta::after { right: -5px; }
.sec-meta .coord { color: var(--faint); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.sec-title em { font-style: normal; color: var(--accent); }
.sec-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: .94;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.sec-intro { color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); max-width: 52ch; }

/* ---------------------------------------------------------------- HERO */
.hero > .shell { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  padding-top: calc(var(--header-h) + clamp(32px, 4vw, 56px)) !important;
  padding-bottom: 0 !important;
  min-height: 100svh;
}
.hero__left {
  padding-right: clamp(24px, 3.5vw, 56px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  padding-bottom: clamp(32px, 4vw, 56px);
}
.hero__left .sec-meta { margin-bottom: 0; }
.hero__copy { margin-block: auto; padding-top: clamp(40px, 6vw, 80px); }
.hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.3vw, 4.7rem);
  line-height: .98;
  letter-spacing: -.05em;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.hero__title .line { display: block; cursor: default; }
.hero__title .line + .line { margin-top: .06em; }
.hero__title em { font-style: normal; color: rgba(244, 243, 239, .34); transition: color .6s var(--ease); }
.hero__title .line.is-on em { color: var(--accent); }
.hero__title .line:last-child::after {
  content: "";
  display: inline-block;
  width: .07em; height: .78em;
  margin-left: .08em;
  vertical-align: -.04em;
  background: var(--accent);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero__sub { font-size: clamp(15px, 1.2vw, 18px); color: var(--muted); max-width: 46ch; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.hero__right {
  padding-left: clamp(24px, 3.5vw, 56px);
  padding-bottom: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
}

/* ---- hero stack drawing (3 isometric layers) */
.stack { position: relative; margin: 0; }
.stack__svg { width: 100%; height: auto; overflow: visible; }
.stack__wires path { stroke: rgba(244, 243, 239, .3); stroke-width: 1; stroke-dasharray: 3 5; }
.stack .layer-in { opacity: 0; transform: translateY(-36px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc((2 - var(--i)) * 140ms + 150ms); }
.stack.is-in .layer-in { opacity: 1; transform: none; }
.stack .layer {
  --lift: 0px;
  transform: translate(calc(var(--mx, 0) * var(--d) * 7px), calc(var(--my, 0) * var(--d) * 4px + var(--lift) + var(--sp, 0) * var(--d) * 46px));
  transition: transform .7s var(--ease-out);
}
.stack .layer.is-on { --lift: -12px; }
.pl-top { fill: var(--carbon-2); stroke: rgba(244, 243, 239, .42); stroke-width: 1; transition: stroke .5s, fill .5s; }
.pl-l { fill: var(--carbon-3); stroke: rgba(244, 243, 239, .2); stroke-width: 1; }
.pl-r { fill: var(--carbon-4); stroke: rgba(244, 243, 239, .2); stroke-width: 1; }
.layer.is-on .pl-top { stroke: var(--accent); fill: #121214; }
.layer.is-on .pl-l, .layer.is-on .pl-r { stroke: rgba(255, 79, 0, .45); }
.pl-art * { stroke: rgba(244, 243, 239, .4); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; transition: stroke .5s; }
.layer.is-on .pl-art * { stroke: rgba(244, 243, 239, .75); }
.pl-art .faint { stroke: rgba(244, 243, 239, .2); }
.pl-art .fill { fill: rgba(244, 243, 239, .08); }
.pl-art .acc-fill { fill: var(--accent); stroke: none; }
.pl-art .ok-fill { fill: var(--ok); stroke: none; opacity: .75; }
.pl-art .cell { fill: transparent; transition: fill .3s; }
.layer.is-on .pl-art .cell { animation: cell 2.4s steps(1) infinite; animation-delay: calc(var(--c) * 120ms); }
@keyframes cell { 0%, 70% { fill: transparent; } 72%, 86% { fill: rgba(255, 79, 0, .28); } }
.pl-art .scan { opacity: 0; }
.layer.is-on .pl-art .scan { opacity: .16; animation: scan 2.4s var(--ease) infinite; }
@keyframes scan { 0% { transform: translateY(0); } 100% { transform: translateY(135px); } }
.co-line { stroke: rgba(244, 243, 239, .3); stroke-width: 1; transition: stroke .5s; }
.co-pt { fill: var(--carbon); stroke: rgba(244, 243, 239, .5); stroke-width: 1; transition: fill .5s, stroke .5s; }
.co-n { font-family: var(--f-mono); font-size: 11px; font-weight: 600; fill: var(--faint); letter-spacing: .06em; transition: fill .5s; }
.co-t { font-family: var(--f-mono); font-size: 10.5px; fill: var(--muted); letter-spacing: .08em; transition: fill .5s; }
.layer.is-on .co-line { stroke: var(--accent); }
.layer.is-on .co-pt { fill: var(--accent); stroke: var(--accent); }
.layer.is-on .co-n { fill: var(--accent); }
.layer.is-on .co-t { fill: var(--paper); }
.packet { fill: var(--accent); opacity: 0; }
.packet--up { animation: pk-up 3.2s var(--ease) infinite; }
.packet--down { animation: pk-down 3.2s var(--ease) infinite 1.6s; }
@keyframes pk-up { 0% { transform: translateY(452px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(146px); opacity: 0; } }
@keyframes pk-down { 0% { transform: translateY(146px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(452px); opacity: 0; } }
.stack__cap {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 10.5px; letter-spacing: .1em; color: var(--faint);
}

.sec-head--solo { grid-template-columns: 1fr; }
.hero__scroll {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px !important; padding-bottom: 18px !important;
  border-top: 1px solid var(--line);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
}
.line-v { width: 32px; height: 1px; background: var(--faint); position: relative; overflow: hidden; }
.line-v::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateX(-100%); animation: slide 2.4s var(--ease) infinite; }
@keyframes slide { 60%, 100% { transform: translateX(100%); } }
@keyframes blinkc { 50% { opacity: 0; } }

/* ---------------------------------------------------------------- MARQUEE */
.marquee {
  overflow: hidden; background: var(--carbon); border-top: 1px solid var(--line); padding: clamp(18px, 2.4vw, 30px) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__group span, .marquee__group i {
  font-family: var(--f-display); font-weight: 500; font-style: normal;
  font-size: clamp(2.2rem, 5.6vw, 5rem); line-height: 1; letter-spacing: -.045em;
}
.marquee__group span { color: transparent; -webkit-text-stroke: 1px rgba(244, 243, 239, .38); padding: 0 .32em; transition: color .4s, -webkit-text-stroke-color .4s; }
.marquee__group span:hover { color: var(--paper); -webkit-text-stroke-color: var(--paper); }
.marquee__group i { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- PARTICLES (canvas, drawn by app.js) */
.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* ---------------------------------------------------------------- SERVICES (rows that invert on hover) */
.services { list-style: none; border-top: 1px solid var(--line-strong); }
.service {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 64px minmax(0, 1.15fr) minmax(0, 1fr) 40px; align-items: center; gap: 24px;
  padding: clamp(22px, 2.8vw, 36px) 16px;
  border-bottom: 1px solid var(--line-strong);
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--carbon); transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease-out);
}
.service > * { position: relative; z-index: 1; transition: color .45s var(--ease), transform .6s var(--ease-out), opacity .45s; }
.service__n { font-size: 12px; color: var(--accent); }
.service__t { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.8rem); line-height: 1.04; letter-spacing: -.04em; }
.service__d { color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); }
.service__arrow { justify-self: end; font-size: 26px; color: var(--accent); opacity: 0; transform: translate(-10px, -10px); }
.service:hover::before { transform: scaleY(1); }
.service:hover .service__t { color: var(--paper); transform: translateX(14px); }
.service:hover .service__d { color: rgba(244, 243, 239, .72); }
.service:hover .service__arrow { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- PROJECTS (screenshot cards, tilt + cursor light) */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.work {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--carbon-2); border: 1px solid var(--line-strong);
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: border-color .4s, transform .5s var(--ease-out);
}
.work.is-tilting { transition: border-color .4s, transform .12s linear; }
.work::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 79, 0, .12), transparent 62%);
}
.work:hover { border-color: rgba(255, 79, 0, .55); }
.work:hover::before { opacity: 1; }
.work--feat { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.work--feat:nth-child(2) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.work--feat:nth-child(2) .work__media { order: 2; border-right: 0; border-left: 1px solid var(--line); }

.work__media { position: relative; display: flex; flex-direction: column; background: #141416; border-bottom: 1px solid var(--line); overflow: hidden; }
.work--feat .work__media { border-bottom: 0; border-right: 1px solid var(--line); }
.work__bar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; flex: none; font-size: 10.5px; color: var(--faint); border-bottom: 1px solid var(--line); background: var(--carbon-3); }
.work__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(244, 243, 239, .16); }
.work__bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work__shot { display: block; overflow: hidden; flex: 1; }
.work__shot img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(.92); }
.work:hover .work__shot img { transform: scale(1.045) translateY(-1.5%); filter: none; }
.work[data-reveal] .work__shot img { transform: scale(1.14); }
.work[data-reveal].in .work__shot img { transform: scale(1); transition: transform 1.8s var(--ease-out); }

.work__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; flex: 1; padding: clamp(22px, 2.4vw, 34px); }
.work__top { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.work__top b { color: var(--accent); font-weight: 500; }
.work__title { margin-top: 6px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1; letter-spacing: -.045em; }
.work--feat .work__title { margin-top: auto; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.work__desc { color: var(--muted); font-size: 15px; max-width: 40ch; }
.work__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.work--feat .work__foot { margin-top: 10px; }
.work__links { display: flex; flex-wrap: wrap; gap: 8px; }
.work__link {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--paper);
  border: 1px solid var(--line-strong); transition: background .25s, color .25s, border-color .25s;
}
.work__link span { transition: transform .3s var(--ease-out); }
.work__link:hover { background: var(--accent); border-color: var(--accent); color: var(--carbon); }
.work__link:hover span { transform: translate(2px, -2px); }

/* ComunaCheck: terminal that prints the real script output, line by line, on a loop */
.work__media--term { background: #060607; }
.term { flex: 1; aspect-ratio: 16 / 10; padding: 16px 18px; font-size: clamp(10.5px, .9vw, 12.5px); line-height: 1.75; color: var(--muted); overflow: hidden; }
.term p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; animation: termLine 10s infinite; animation-delay: calc(var(--i) * .75s); }
.term .cmd { color: var(--paper); }
.term .ok { color: var(--ok); }
.term__cur span { display: inline-block; width: 8px; height: 14px; vertical-align: -2px; background: var(--accent); animation: blinkc 1s steps(1) infinite; }
@keyframes termLine { 0% { opacity: 0; transform: translateX(-6px); } 3%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }

/* ---------------------------------------------------------------- MANIFESTO (orange band) */
.band { position: relative; overflow: hidden; background: var(--paper); color: var(--carbon); }
.band__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 110px); align-items: center; padding-top: clamp(72px, 9vw, 140px); padding-bottom: clamp(72px, 9vw, 140px); position: relative; z-index: 1; }
.band__label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.band__label::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.band__aside p { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.6; max-width: 40ch; color: rgba(10, 10, 11, .66); }
.band__aside p + p { margin-top: 14px; }
.band__quote { position: relative; }
.band__qmark { position: absolute; left: -.08em; top: -.42em; font-family: var(--f-display); font-weight: 700; font-size: clamp(6rem, 12vw, 11rem); line-height: 1; color: var(--accent); opacity: .9; pointer-events: none; }
.band__statement { position: relative; font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 5.2vw, 5rem); line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.band__statement .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.band__statement .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--w) * 70ms + 150ms); }
.band.is-in .band__statement .w > span { transform: none; }
.band__statement .hl { font-weight: inherit; color: var(--accent); }
.band__cite { display: block; margin-top: 28px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(10, 10, 11, .5); }
.band__slashes { position: absolute; right: -4vw; top: 50%; width: clamp(260px, 38vw, 560px); transform: translateY(calc(-50% + (var(--bp, .5) - .5) * -140px)) rotate(calc((var(--bp, .5) - .5) * 8deg)); pointer-events: none; }
.band__slashes svg { width: 100%; height: auto; fill: rgba(255, 79, 0, .09); overflow: visible; }

/* ---------------------------------------------------------------- METHOD */
.method { --bg: #0D0D0F; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform-origin: left; transition: transform 2.2s var(--ease-out); }
.steps[data-reveal]::before { transform: scaleX(0); }
.steps[data-reveal].in::before { transform: scaleX(1); }
[data-reveal="line"] { opacity: 1; transform: none; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px clamp(16px, 2vw, 28px) 34px; border-right: 1px solid var(--line); }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; padding-right: 0; }
.step__n { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--accent); }
.step__n i { position: absolute; left: 0; top: -37px; width: 9px; height: 9px; background: var(--accent); }
.step:first-child .step__n i { left: 0; }
.step__t { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1; letter-spacing: -.05em; transition: color .4s, transform .6s var(--ease-out); }
.step:hover .step__t { color: var(--accent); transform: translateX(6px); }
.step__d { color: var(--muted); font-size: 15px; max-width: 30ch; }
.step__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.step__tags li { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--line-strong); color: var(--faint); transition: color .3s, border-color .3s; }
.step:hover .step__tags li { color: var(--paper); border-color: rgba(255, 79, 0, .55); }

/* ---------------------------------------------------------------- ABOUT */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.person { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.person__mark { position: relative; width: 112px; height: 112px; display: grid; place-items: center; border: 2px solid var(--fg); }
.person__mark span { font-family: var(--f-display); font-weight: 700; font-size: 60px; letter-spacing: -.04em; line-height: 1; }
.person__mark i { position: absolute; top: -7px; right: -7px; width: 16px; height: 16px; background: var(--accent); transition: transform .6s var(--ease-out); }
.person:hover .person__mark i { transform: translate(-48px, 48px) rotate(180deg); }
.person__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.035em; line-height: 1.05; }
.person__role { margin: 8px 0 12px; font-size: 11px; letter-spacing: .1em; color: var(--accent); }
.person__text { color: var(--muted); font-size: 15px; max-width: 38ch; }
.person__links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.about__link {
  display: inline-flex; gap: 6px; padding-bottom: 3px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg);
  border-bottom: 1px solid var(--line-strong); transition: color .25s, border-color .25s;
}
.about__link:hover { color: var(--accent); border-color: var(--accent); }
.about__shared { display: flex; align-items: center; gap: 10px; margin-top: clamp(36px, 4vw, 56px); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- CONTACT (name → live preview) */
.contact { overflow: hidden; }
.contact > .shell { position: relative; z-index: 1; padding-bottom: clamp(48px, 5vw, 80px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.contact__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 6rem); line-height: .94; letter-spacing: -.055em; text-wrap: balance; }
.contact__title em { font-style: normal; color: var(--accent); }
.contact__intro { max-width: 46ch; margin-top: 22px; color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); }
.field { display: block; margin-top: 30px; border: 0; }
.field__label { display: block; margin-bottom: 10px; padding: 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.field__input {
  width: 100%; height: 58px; padding: 0 2px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 500; letter-spacing: -.02em; color: var(--paper);
  transition: border-color .3s;
}
.field__input::placeholder { color: rgba(244, 243, 239, .22); }
.field__input:focus { outline: none; border-bottom-color: var(--accent); }
.field--types { margin-top: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  transition: color .25s, background .25s, border-color .25s, transform .3s var(--ease-out);
}
.chip:hover { color: var(--paper); border-color: var(--paper); transform: translateY(-2px); }
.chip.is-active { background: var(--paper); border-color: var(--paper); color: var(--carbon); }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 34px; }
.contact__mail { padding-bottom: 3px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-strong); transition: color .25s, border-color .25s; }
.contact__mail:hover { color: var(--accent); border-color: var(--accent); }

/* live preview of the visitor's future site */
.pv { --pv-bg: var(--paper); --pv-fg: var(--carbon); --pv-acc: var(--accent); --pv-mut: rgba(10, 10, 11, .6); --len: 11;
  position: relative; border: 1px solid var(--line-strong); background: var(--carbon-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.pv::before, .pv::after { content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid var(--accent); }
.pv::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.pv::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.pv__bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.pv__dots { display: flex; gap: 5px; }
.pv__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(244, 243, 239, .18); }
.pv__url { flex: 1; min-width: 0; padding: 4px 10px; background: var(--carbon); border: 1px solid var(--line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv__tag { font-size: 9.5px; font-weight: 600; letter-spacing: .1em; color: var(--accent); }
.pv__body { position: relative; overflow: hidden; aspect-ratio: 16 / 11; container-type: inline-size; background: var(--pv-bg); color: var(--pv-fg); transition: background .5s, color .5s; }
.pv__body > div { position: absolute; inset: 0; }
.pv--landing { --pv-bg: var(--accent); --pv-fg: var(--carbon); }
.pv--system { --pv-bg: #111113; --pv-fg: var(--paper); }
.pv--automation { --pv-bg: #060607; --pv-fg: var(--paper); }
.pv__body svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pv.is-empty [data-pv="name"] { opacity: .45; }
.pv-in { animation: pvIn .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes pvIn { from { opacity: 0; transform: translateY(1.8cqw); } }
.ps__name::after, .pl__name::after { content: ""; display: inline-block; width: .06em; height: .78em; margin-left: .06em; vertical-align: -.04em; background: var(--accent); animation: blinkc 1s steps(1) infinite; }
.pl__name::after { background: var(--carbon); }

/* -- site: institutional page, light */
.ps { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 0 4cqw 3.4cqw; }
.ps__nav { display: flex; align-items: center; gap: 3cqw; height: 9cqw; border-bottom: 1px solid rgba(10, 10, 11, .08); }
.ps__logo { display: inline-flex; align-items: center; gap: 1.2cqw; min-width: 0; max-width: 34%; font-family: var(--f-display); font-size: 2.3cqw; letter-spacing: -.02em; }
.ps__logo i { flex: none; width: 2.4cqw; height: 2.4cqw; background: var(--accent); transform: skewX(-18deg); }
.ps__logo b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps__nav nav { display: flex; gap: 2.6cqw; margin-left: auto; font-size: 1.75cqw; font-weight: 500; color: rgba(10, 10, 11, .55); }
.ps__nav nav span:first-child { color: var(--carbon); }
.ps__cta { padding: 1.1cqw 2.2cqw; font-size: 1.6cqw; font-weight: 700; background: var(--carbon); color: var(--paper); border-radius: 99px; white-space: nowrap; }
.ps__hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 5cqw; align-items: center; }
.ps__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6cqw; min-width: 0; }
.ps__k { display: inline-flex; align-items: center; gap: 1cqw; font-family: var(--f-mono); font-size: 1.5cqw; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ps__k::before { content: ""; width: 3cqw; height: 1px; background: currentColor; }
.ps__name { max-width: 100%; font-family: var(--f-display); font-weight: 700; font-size: clamp(4.4cqw, calc(10cqw - var(--len) * .22cqw), 8cqw); line-height: .95; letter-spacing: -.05em; overflow-wrap: anywhere; }
.ps__s { max-width: 30ch; font-size: 1.85cqw; line-height: 1.5; color: rgba(10, 10, 11, .62); }
.ps__btns { display: flex; flex-wrap: wrap; gap: 1.2cqw; margin-top: .6cqw; }
.ps__b1, .ps__b2 { display: inline-flex; align-items: center; gap: .8cqw; padding: 1.3cqw 2.2cqw; font-size: 1.7cqw; font-weight: 700; border-radius: 99px; white-space: nowrap; }
.ps__b1 { background: var(--accent); color: var(--carbon); }
.ps__b1 svg { width: 1.8cqw; height: 1.8cqw; }
.ps__b2 { border: 1px solid rgba(10, 10, 11, .2); }
.ps__art { position: relative; height: 80%; }
.ps__img { position: absolute; inset: 0; overflow: hidden; border-radius: 1.8cqw; background: linear-gradient(165deg, #FF8A4C 0%, #FF4F00 55%, #C23B00 100%); }
.ps__img i { position: absolute; display: block; }
.ps__img .sun { right: 14%; top: 12%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: #FFE4CC; box-shadow: 0 0 6cqw 1cqw rgba(255, 228, 204, .5); animation: psSun 5s ease-in-out infinite alternate; }
.ps__img .hill { border-radius: 50% 50% 0 0; }
.ps__img .h1 { left: -25%; right: 20%; bottom: -34%; height: 72%; background: #8F2C00; }
.ps__img .h2 { left: 30%; right: -35%; bottom: -44%; height: 74%; background: var(--carbon); }
.ps__badge { position: absolute; left: -6cqw; bottom: 7%; display: grid; grid-template-columns: auto auto; column-gap: 1cqw; align-items: center; padding: 1.4cqw 2cqw; background: #fff; color: var(--carbon); border-radius: 1.2cqw; box-shadow: 0 2cqw 4cqw -1.5cqw rgba(10, 10, 11, .4); animation: psFloat 4s ease-in-out infinite; }
.ps__badge .stars { grid-column: 1 / -1; font-size: 1.5cqw; letter-spacing: .12em; color: var(--accent); }
.ps__badge b { font-family: var(--f-display); font-size: 3cqw; line-height: 1.1; letter-spacing: -.03em; }
.ps__badge small { font-size: 1.3cqw; color: rgba(10, 10, 11, .55); white-space: nowrap; }
.ps__open { position: absolute; right: -1.6cqw; top: 6%; display: inline-flex; align-items: center; gap: .9cqw; padding: .9cqw 1.6cqw; font-size: 1.35cqw; font-weight: 600; background: var(--carbon); color: var(--paper); border-radius: 99px; white-space: nowrap; animation: psFloat 4s ease-in-out -2s infinite; }
.ps__open i { width: 1cqw; height: 1cqw; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 .5cqw rgba(16, 185, 129, .25); }
@keyframes psSun { to { transform: translateY(2.4cqw); } }
@keyframes psFloat { 50% { transform: translateY(-1.2cqw); } }
.ps__feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6cqw; }
.ps__feats li { display: flex; align-items: center; gap: 1.2cqw; min-width: 0; padding: 1.4cqw 1.6cqw; background: #fff; border: 1px solid rgba(10, 10, 11, .07); border-radius: 1.2cqw; font-size: 1.55cqw; font-weight: 600; }
.ps__feats svg { flex: none; width: 3.6cqw; height: 3.6cqw; padding: .75cqw; border-radius: .8cqw; background: rgba(255, 79, 0, .12); color: var(--accent); }
.ps__feats span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* -- landing page: campaign, bold orange */
.pl { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.pl__strip { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; padding: 1.3cqw 4cqw; background: var(--carbon); color: var(--paper); font-family: var(--f-mono); font-size: 1.45cqw; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.pl__strip b { margin-left: .6cqw; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.pl__main { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 5cqw; align-items: center; padding: 0 4cqw; }
.pl__main::before { content: ""; position: absolute; left: -24cqw; top: -20cqw; width: 72cqw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(10, 10, 11, .16); pointer-events: none; }
.pl__main::after { content: ""; position: absolute; left: -12cqw; top: -8cqw; width: 48cqw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(10, 10, 11, .12); pointer-events: none; }
.pl__copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5cqw; min-width: 0; }
.pl__k { padding: .7cqw 1.4cqw; background: var(--carbon); color: var(--accent); font-family: var(--f-mono); font-size: 1.4cqw; letter-spacing: .12em; text-transform: uppercase; }
.pl__name { max-width: 100%; font-family: var(--f-display); font-weight: 700; font-size: clamp(4.2cqw, calc(9.6cqw - var(--len) * .24cqw), 7.8cqw); line-height: .92; letter-spacing: -.05em; text-transform: uppercase; overflow-wrap: anywhere; }
.pl__s { max-width: 30ch; font-size: 1.85cqw; line-height: 1.45; color: rgba(10, 10, 11, .75); }
.pl__btn { position: relative; display: inline-flex; align-items: center; gap: 1cqw; padding: 1.6cqw 2.8cqw; background: var(--carbon); color: var(--paper); font-size: 1.9cqw; font-weight: 700; box-shadow: .8cqw .8cqw 0 rgba(10, 10, 11, .25); }
.pl__btn::after { content: ""; position: absolute; inset: -1px; border: 2px solid var(--carbon); animation: plRing 2.2s ease-out infinite; }
.pl__btn svg { width: 2cqw; height: 2cqw; }
@keyframes plRing { from { opacity: .7; transform: none; } to { opacity: 0; transform: scale(1.14, 1.5); } }
.pl__proof { display: flex; align-items: center; gap: 1.2cqw; font-size: 1.45cqw; font-weight: 600; }
.pl__avs { display: flex; }
.pl__avs i { width: 3.2cqw; height: 3.2cqw; margin-left: -1cqw; border-radius: 50%; border: .35cqw solid var(--accent); background: linear-gradient(135deg, #3a3a3f, #0A0A0B); }
.pl__avs i:first-child { margin-left: 0; }
.pl__avs i:nth-child(2) { background: linear-gradient(135deg, #F4F3EF, #c9c7bf); }
.pl__avs i:nth-child(3) { background: linear-gradient(135deg, #FFD2B3, #FF8A4C); }
.pl__form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.3cqw; padding: 3cqw 2.6cqw 2.4cqw; background: var(--paper); color: var(--carbon); box-shadow: 1.2cqw 1.2cqw 0 var(--carbon); }
.pl__ft { padding-right: 7cqw; font-family: var(--f-display); font-size: 2.5cqw; line-height: 1.1; letter-spacing: -.03em; }
.pl__field { padding: 1.3cqw 1.5cqw; background: #fff; border: 1px solid rgba(10, 10, 11, .18); font-size: 1.55cqw; color: rgba(10, 10, 11, .42); }
.pl__send { display: flex; justify-content: space-between; align-items: center; padding: 1.4cqw 1.6cqw; background: var(--accent); font-size: 1.7cqw; font-weight: 700; }
.pl__send svg { width: 2cqw; height: 2cqw; }
.pl__safe { font-size: 1.25cqw; color: rgba(10, 10, 11, .5); }
.pl__sticker { position: absolute; right: -3.4cqw; top: -5cqw; width: 10.5cqw; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--carbon); color: var(--paper); transform: rotate(12deg); }
.pl__sticker::before { content: ""; position: absolute; inset: .7cqw; border-radius: 50%; border: 1px dashed rgba(244, 243, 239, .45); animation: plSpin 14s linear infinite; }
.pl__sticker b { font-family: var(--f-display); font-size: 3cqw; line-height: 1; color: var(--accent); }
.pl__sticker small { font-family: var(--f-mono); font-size: 1.2cqw; letter-spacing: .14em; }
@keyframes plSpin { to { transform: rotate(360deg); } }
.pl__marq { overflow: hidden; padding: 1.2cqw 0; background: var(--carbon); color: var(--paper); font-family: var(--f-display); font-weight: 700; font-size: 2.2cqw; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.pl__marq > div { display: inline-flex; animation: plMarq 16s linear infinite; }
.pl__marq span, .pl__marq i { padding-right: 2cqw; }
.pl__marq i { font-style: normal; color: var(--accent); }
@keyframes plMarq { to { transform: translateX(-50%); } }

/* -- system: dashboard, dark */
.pd { display: grid; grid-template-columns: 19cqw minmax(0, 1fr); }
.pd__side { display: flex; flex-direction: column; gap: 3cqw; padding: 2.6cqw 1.6cqw; background: #0A0A0B; border-right: 1px solid rgba(244, 243, 239, .08); }
.pd__mark i { display: block; width: 3cqw; height: 3cqw; margin-left: 1cqw; background: var(--accent); transform: skewX(-18deg); }
.pd__side ul { display: flex; flex-direction: column; gap: .6cqw; }
.pd__side li { display: flex; align-items: center; gap: 1cqw; padding: 1.1cqw 1.2cqw; border-radius: .8cqw; font-size: 1.45cqw; color: rgba(244, 243, 239, .5); white-space: nowrap; overflow: hidden; }
.pd__side li svg { flex: none; width: 2.2cqw; height: 2.2cqw; }
.pd__side li.on { background: rgba(255, 79, 0, .14); color: var(--paper); }
.pd__side li.on svg { color: var(--accent); }
.pd__main { display: flex; flex-direction: column; gap: 2cqw; min-width: 0; padding: 2.4cqw 3cqw 3cqw; }
.pd__top { display: flex; align-items: center; gap: 2cqw; }
.pd__title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .3cqw; }
.pd__title small { font-family: var(--f-mono); font-size: 1.2cqw; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 243, 239, .45); }
.pd__title b { font-family: var(--f-display); font-size: 3cqw; letter-spacing: -.03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd__search { min-width: 18cqw; padding: 1cqw 1.6cqw; border: 1px solid rgba(244, 243, 239, .12); border-radius: 99px; font-size: 1.4cqw; color: rgba(244, 243, 239, .4); white-space: nowrap; }
.pd__av { flex: none; display: grid; place-items: center; width: 3.8cqw; height: 3.8cqw; border-radius: 50%; background: var(--accent); color: var(--carbon); font-size: 1.7cqw; font-weight: 700; }
.pd__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4cqw; }
.pd__kpi, .pd__card { min-width: 0; padding: 1.6cqw 1.8cqw; background: #18181B; border: 1px solid rgba(244, 243, 239, .07); border-radius: 1.2cqw; }
.pd__kpi { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; row-gap: .6cqw; }
.pd__kpi small, .pd__card > small { grid-column: 1 / -1; font-size: 1.3cqw; color: rgba(244, 243, 239, .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd__kpi b { font-family: var(--f-display); font-size: 3cqw; letter-spacing: -.03em; white-space: nowrap; }
.pd__kpi em, .pd__row em { font-style: normal; font-weight: 600; border-radius: 99px; white-space: nowrap; }
.pd__kpi em { padding: .4cqw .8cqw; font-size: 1.2cqw; }
.pd__kpi em.up, .pd__row em.ok { color: var(--ok); background: rgba(16, 185, 129, .12); }
.pd__kpi em.warn { color: var(--accent); background: rgba(255, 79, 0, .14); }
.pd__grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.4cqw; }
.pd__card { display: flex; flex-direction: column; gap: 1.2cqw; }
.pd__bars { flex: 1; min-height: 0; display: flex; align-items: flex-end; gap: 1.2cqw; border-bottom: 1px solid rgba(244, 243, 239, .1); background: repeating-linear-gradient(to top, rgba(244, 243, 239, .05) 0 1px, transparent 1px 25%); }
.pd__bars i { flex: 1; height: var(--h); border-radius: .5cqw .5cqw 0 0; background: rgba(244, 243, 239, .16); transform-origin: bottom; animation: pdBar .9s var(--ease-out) both; animation-delay: calc(.4s + var(--b) * 70ms); }
.pd__bars i.on { background: var(--accent); box-shadow: 0 0 2cqw rgba(255, 79, 0, .4); }
@keyframes pdBar { from { transform: scaleY(0); } }
.pd__days { display: flex; gap: 1.2cqw; margin-top: -.4cqw; }
.pd__days span { flex: 1; text-align: center; font-family: var(--f-mono); font-size: 1.15cqw; color: rgba(244, 243, 239, .4); }
.pd__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 1.2cqw; padding: 1.2cqw 0; border-top: 1px solid rgba(244, 243, 239, .07); font-size: 1.35cqw; white-space: nowrap; }
.pd__row span:first-child { font-family: var(--f-mono); color: rgba(244, 243, 239, .45); }
.pd__row span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.pd__row span:nth-child(3) { font-weight: 600; }
.pd__row em { padding: .35cqw .8cqw; font-size: 1.15cqw; }
.pd__row em.wait { color: #F5B544; background: rgba(245, 181, 68, .12); }
.pd__goal { display: grid; grid-template-columns: 1fr auto; align-items: end; row-gap: 1cqw; margin-top: auto; padding-top: 1.4cqw; border-top: 1px solid rgba(244, 243, 239, .07); }
.pd__goal small { font-size: 1.3cqw; color: rgba(244, 243, 239, .5); }
.pd__goal b { font-family: var(--f-display); font-size: 2.2cqw; }
.pd__goal i { grid-column: 1 / -1; position: relative; height: 1cqw; border-radius: 99px; background: rgba(244, 243, 239, .08); overflow: hidden; }
.pd__goal i::after { content: ""; position: absolute; inset: 0; width: 72%; border-radius: inherit; background: linear-gradient(90deg, #C23B00, var(--accent)); transform-origin: left; animation: pdGoal 1.2s var(--ease-out) .8s both; }
@keyframes pdGoal { from { transform: scaleX(0); } }

/* -- automation: spreadsheet -> Python -> report */
.pa { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 2.4cqw; padding: 3cqw 3.4cqw; font-family: var(--f-mono); background: radial-gradient(70cqw 34cqw at 50% 0%, rgba(16, 185, 129, .13), transparent 70%); }
.pa__flow { display: flex; align-items: center; }
.pa__node { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.2cqw; row-gap: .3cqw; align-items: center; padding: 1.4cqw 1.5cqw; background: #0E0E10; border: 1px solid rgba(244, 243, 239, .12); border-radius: 1cqw; }
.pa__node.is-py { border-color: rgba(255, 79, 0, .6); box-shadow: 0 0 3cqw -.5cqw rgba(255, 79, 0, .45); }
.pa__ico { grid-row: span 2; display: grid; place-items: center; width: 4.4cqw; height: 4.4cqw; border-radius: .8cqw; font-size: 1.2cqw; font-weight: 700; color: #fff; background: #21A366; }
.pa__node.is-py .pa__ico { background: var(--accent); color: var(--carbon); }
.pa__flow > :last-child .pa__ico { background: #E5484D; }
.pa__node b { font-size: 1.4cqw; font-weight: 600; color: var(--paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pa__node small { font-size: 1.15cqw; color: rgba(244, 243, 239, .45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pa__wire { position: relative; flex: 0 0 4.6cqw; height: 1px; background: repeating-linear-gradient(90deg, rgba(244, 243, 239, .35) 0 .6cqw, transparent .6cqw 1.2cqw); }
.pa__wire i { position: absolute; top: 50%; left: 0; width: 1cqw; height: 1cqw; margin-top: -.5cqw; border-radius: 50%; background: var(--ok); box-shadow: 0 0 1.5cqw var(--ok); animation: paFlow 1.6s linear infinite; }
.pa__flow > :nth-child(4) i { animation-delay: .8s; }
@keyframes paFlow { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 1cqw); opacity: 0; } }
.pa__term { display: flex; flex-direction: column; justify-content: center; gap: 1.8cqw; min-height: 0; overflow: hidden; padding: 2.4cqw 2.8cqw; background: #0B0B0D; border: 1px solid rgba(244, 243, 239, .1); border-radius: 1cqw; font-size: 1.75cqw; color: rgba(244, 243, 239, .6); }
.pa__term p, .pa__prog { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; animation: paLine 9s infinite; animation-delay: calc(var(--l, 0) * .55s); }
.pa__term .cmd { color: var(--paper); }
.pa__term .cmd span { color: var(--accent); }
.pa__term .ok { color: var(--ok); animation-delay: 3.4s; }
.pa__prog { display: flex; align-items: center; gap: 1.2cqw; }
.pa__prog i { position: relative; flex: 1; height: 1cqw; overflow: hidden; border-radius: 99px; background: rgba(244, 243, 239, .08); }
.pa__prog i::after { content: ""; position: absolute; inset: 0; background: var(--ok); transform-origin: left; animation: paProg 9s infinite; animation-delay: 2.2s; }
.pa__prog span { color: var(--ok); }
@keyframes paLine { 0% { opacity: 0; transform: translateX(-1cqw); } 4%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes paProg { 0% { transform: scaleX(0); } 11%, 100% { transform: scaleX(1); } }
.pa__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(244, 243, 239, .1); }
.pa__stats div { display: flex; flex-direction: column; gap: .6cqw; min-width: 0; padding-top: 1.8cqw; }
.pa__stats div + div { padding-left: 2.2cqw; border-left: 1px solid rgba(244, 243, 239, .1); }
.pa__stats b { font-family: var(--f-display); font-size: 3.6cqw; line-height: 1; letter-spacing: -.04em; color: var(--paper); }
.pa__stats div:first-child b { color: var(--ok); }
.pa__stats small { font-size: 1.2cqw; color: rgba(244, 243, 239, .45); }

/* direct contact list (like a business card) */
.direct { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line-strong); }
.direct__title { grid-column: 1 / -1; padding: 18px 0 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.direct__item { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px 0; border-bottom: 1px solid var(--line); }
.direct__item + .direct__item { padding-left: 20px; border-left: 1px solid var(--line); }
.direct__item span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.direct__item b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.15rem, 1.9vw, 1.7rem); letter-spacing: -.03em; overflow-wrap: anywhere; transition: color .3s, transform .5s var(--ease-out); }
.direct__item i { position: absolute; right: 4px; top: 18px; font-style: normal; color: var(--faint); transition: color .3s, transform .4s var(--ease-out); }
.direct__item:hover b { color: var(--accent); transform: translateX(6px); }
.direct__item:hover i { color: var(--accent); transform: translate(3px, -3px); }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 55;
  width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--accent); color: var(--carbon); border-radius: 2px;
  box-shadow: 0 18px 40px -14px rgba(255, 79, 0, .65);
  opacity: 0; transform: translateY(24px) scale(.8); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), background .25s;
}
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--paper); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float .b { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.wa-float .h { fill: currentColor; }
.wa-float::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--accent); animation: ring 2.6s var(--ease-out) infinite; pointer-events: none; }
@keyframes ring { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.5); } }

/* ---------------------------------------------------------------- FOOTER */
.footer { border-top: 0 !important; }
.footer > .shell { padding-top: 0 !important; padding-bottom: 28px; }
.f-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.f-langs button { font-size: 11px; padding: 7px 10px; border: 1px solid var(--line-strong); color: var(--muted); transition: all .2s; }
.f-langs button:hover { color: var(--paper); border-color: var(--paper); }
.f-langs button.is-active { background: var(--accent); border-color: var(--accent); color: var(--carbon); }
.footer__mark {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(3.4rem, 17vw, 17rem); line-height: .82; letter-spacing: -.065em;
  text-align: center; padding: clamp(8px, 1.5vw, 24px) 0 clamp(16px, 2.4vw, 32px);
  color: var(--paper);
  white-space: nowrap; overflow: hidden; user-select: none;
}
.footer__mark span { color: var(--accent); font-weight: 400; margin: 0 .04em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 10.5px; letter-spacing: .04em; color: var(--faint); padding-top: 20px; border-top: 1px solid var(--line); }
.footer__bottom a:hover { color: var(--accent); }

/* ---------------------------------------------------------------- SCROLL REVEAL
   app.js arms elements with [data-reveal] + a stagger index (--d), then
   removes both once they've landed so hover transitions stay untouched. */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), clip-path 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal="fade"] { transform: none; }
[data-reveal="clip"] { transform: translateY(28px); clip-path: inset(0 0 100% 0); }
[data-reveal].in { opacity: 1; transform: none; clip-path: inset(-10% -5% -25% -5%); }

/* section hairlines draw from left to right */
.sec-meta { border-bottom: 0; background: linear-gradient(var(--line), var(--line)) no-repeat left bottom / 100% 1px; }
.sec-meta[data-reveal] { background-size: 0% 1px; transition: opacity .8s var(--ease-out), background-size 1.6s var(--ease-out); }
.sec-meta[data-reveal].in { background-size: 100% 1px; }

/* top scroll progress */
.scroll-progress {
  position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
  background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* hero background: slow drifting blueprint dots + a faint warm glow */
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero::before {
  background-image: radial-gradient(rgba(244, 243, 239, .09) 1px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 48%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 72% 48%, #000 10%, transparent 75%);
  animation: dots-drift 14s linear infinite;
}
.hero::after {
  background: radial-gradient(circle at 74% 50%, rgba(255, 79, 0, .07), transparent 38%);
  animation: glow-breathe 9s ease-in-out infinite alternate;
}
.hero { overflow: hidden; }
.hero > .shell { position: relative; z-index: 1; }
@keyframes dots-drift { to { background-position: 28px 28px; } }
@keyframes glow-breathe { from { opacity: .55; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }

/* ---------------------------------------------------------------- RESPONSIVE */
@media (max-width: 1240px) {
  .brand__sub { display: none; }
  .nav-links { gap: 18px; }
  .sb-item--base { display: none; }
  .sb-item--base + .sb-sep { display: none; }
}
@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav-right { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__left { padding-right: 0; border-right: 0; }
  .hero__right { padding-left: 0; padding-top: 8px; }
  .hero__copy { padding-bottom: clamp(32px, 6vw, 56px); }
  .stack { max-width: 560px; width: 100%; margin: 0 auto; }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .work--feat, .work--feat:nth-child(2) { grid-template-columns: 1fr; }
  .work--feat .work__media, .work--feat:nth-child(2) .work__media { order: 0; border-right: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .work--feat .work__title { margin-top: 6px; }
  .band__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .pv { max-width: 620px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; padding-right: 0; }
  .step:nth-child(3) { padding-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .step:nth-child(n+3) .step__n i { display: none; }
  .team { grid-template-columns: 1fr; }
  .profile { padding-right: 0; }
  .profile + .profile { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-strong); margin-top: 40px; }
  .calc { grid-template-columns: 1fr; }
  .calc__form { border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .ticket { position: static; }
  .hub { grid-template-columns: 1fr; }
  .hub__intro { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .works { grid-template-columns: 1fr; }
  .direct { grid-template-columns: 1fr; }
  .direct__item + .direct__item { padding-left: 0; border-left: 0; }
  .people { grid-template-columns: 1fr; }
  .service { grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 6px 16px; }
  .service__d { grid-column: 2 / 3; }
  .service__arrow { grid-row: 1; grid-column: 3; }
  .bento__cell--a, .bento__cell--b, .bento__cell--c, .bento__cell--d { grid-column: span 12; min-height: 0; }
  .cases { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .fcol:nth-child(3) { padding-left: 0; border-left: 0; }
  .fcol:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sb-item--op, .sb-item--op + .sb-sep { display: none; }
}
@media (max-width: 640px) {
  .person { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(n) { padding-left: 0; padding-right: 0; border-right: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step__n i { display: none; }
  .band__slashes { right: -30vw; opacity: .7; }
  .person__mark { width: 76px; height: 76px; }
  .person__mark span { font-size: 40px; }
  .contact__actions .btn { width: 100%; justify-content: space-between; }
  :root { --status-h: 28px; --nav-h: 60px; }
  .statusbar { font-size: 9.5px; }
  .sb-clock .rome { display: none; }
  .brand__name { display: none; }
  .lang-btn { padding: 6px 8px; font-size: 10.5px; }
  .lang-switch__globe { margin: 0 4px 0 5px; }
  .co-t { font-size: 13px; }
  .co-n { font-size: 13px; }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  .prow { grid-template-columns: 1fr; gap: 10px; }
  .links a { grid-template-columns: 1fr auto; }
  .links .v { grid-column: 1; grid-row: 2; text-align: left; }
  .links .ar { grid-row: 1 / span 2; grid-column: 2; }
  .case__dl > div { grid-template-columns: 1fr; gap: 6px; }
  .case__meta { flex-direction: column; gap: 6px; }
  .opts--2, .opts--3 { grid-template-columns: 1fr; }
  .ticket__rows > div { grid-template-columns: 1fr; gap: 2px; }
  .footer__cols { grid-template-columns: 1fr; }
  .fcol, .fcol + .fcol { padding-left: 0; border-left: 0; }
  .fcol + .fcol { border-top: 1px solid var(--line); }
  .btn--lg { width: 100%; justify-content: space-between; }

  /* ---- cleaner phone layout: one idea per screen */
  :root { --status-h: 0px; }
  .statusbar { display: none; }
  .nav-right .lang-switch { display: none; }
  .brand__name { display: block; }
  .grid-overlay, .contact .particles { display: none; }
  .section > .shell { padding-top: 64px; padding-bottom: 64px; }
  .sec-meta .coord, .sec-intro { display: none; }
  .hero__right, .hero__scroll { display: none; }
  .hero__copy { padding-bottom: 56px; }
  .service { grid-template-columns: 40px minmax(0, 1fr); padding: 20px 0; }
  .service__d, .service__arrow { display: none; }
  .work__desc, .work__foot .tags { display: none; }
  .band__aside p { display: none; }
  .step__tags { display: none; }
  .person__text { display: none; }
  .contact__intro, .contact__mail, .pv, .contact__form .field { display: none; }
  .contact__actions { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { width: 100%; justify-content: center; animation: none !important; }
  .marquee__group + .marquee__group { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  /* reduced motion: no movement, but blocks still fade in so the page doesn't feel frozen */
  [data-reveal] { transform: none !important; clip-path: none !important; transition: opacity .8s ease !important; transition-delay: calc(var(--d, 0) * 70ms) !important; }
  .sec-meta[data-reveal] { background-size: 100% 1px; }
  .hero::before, .hero::after { animation: none; }
  .packet { display: none; }
  .term p { opacity: 1; animation: none !important; }
  .band__statement .w > span { transform: none; }
  .wa-float::after { display: none; }
  .pa__term p, .pa__prog { opacity: 1; animation: none !important; }
  .pa__prog i::after { animation: none !important; }
}
