/* =============================================================
   CÓDIGO ZERO — Design system
   Swiss/grid · monospace + sans · brand yellow & cyan accents
   ============================================================= */

:root {
  /* Palette */
  --c-primary: #F2D74E;     /* brand yellow */
  --c-secondary: #7DE1E1;   /* brand cyan */
  --c-signal: #E5533D;

  /* Surfaces (dark default) */
  --bg: #0E0E0C;
  --bg-alt: #141412;
  --fg: #F4F1EA;
  --fg-mute: #8A8A82;
  --fg-soft: #B8B8AE;
  --line: rgba(244, 241, 234, 0.10);
  --line-strong: rgba(244, 241, 234, 0.22);
  --card: rgba(244, 241, 234, 0.025);
  --card-hover: rgba(244, 241, 234, 0.05);

  /* Type */
  --font-display: "Space Grotesk", "Inter", -apple-system, system-ui, sans-serif;
  --font-body: "Space Grotesk", "Inter", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Geometry */
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
  --radius-lg: 4px;
  --col-gap: 24px;

  /* Density */
  --section-py: clamp(80px, 10vw, 160px);
}

[data-theme="light"] {
  --bg: #F4F1EA;
  --bg-alt: #ECE7DC;
  --fg: #0E0E0C;
  --fg-mute: #6B6B63;
  --fg-soft: #3A3A36;
  --line: rgba(14, 14, 12, 0.12);
  --line-strong: rgba(14, 14, 12, 0.28);
  --card: rgba(14, 14, 12, 0.025);
  --card-hover: rgba(14, 14, 12, 0.05);
}

[data-density="tight"] { --section-py: clamp(56px, 7vw, 100px); }
[data-density="loose"] { --section-py: clamp(110px, 14vw, 220px); }

[data-font="inter"]        { --font-display: "Inter Tight", system-ui, sans-serif; --font-body: "Inter Tight", system-ui, sans-serif; }
[data-font="fraunces"]     { --font-display: "Fraunces", Georgia, serif; }
[data-font="ibm"]          { --font-display: "IBM Plex Sans", system-ui, sans-serif; --font-body: "IBM Plex Sans", system-ui, sans-serif; }

[data-uppercase="on"] .section-title,
[data-uppercase="on"] .hero-title { text-transform: uppercase; letter-spacing: -0.01em; }

/* ============================================================= */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 240ms ease, color 240ms ease;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em; font-weight: 500; }
.uppercase { text-transform: uppercase; letter-spacing: 0.06em; }
.accent-c { color: var(--c-secondary); }

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 36px; height: 36px; border-radius: 4px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-name { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.nav-brand-meta { font-size: 10px; color: var(--fg-mute); }

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 500;
}
.nav-links a {
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 200ms ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--c-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 240ms ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav-burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--fg);
  transition: transform 240ms ease, opacity 200ms ease;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Drawer */
.nav-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.nav-drawer.is-open { visibility: visible; pointer-events: auto; }
.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 280ms ease;
}
.nav-drawer.is-open .nav-drawer-backdrop { opacity: 1; }
.nav-drawer-inner {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  height: 100dvh;
  background-color: #0E0E0C !important;
  border-left: 1px solid #2a2a26;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) 24px;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.5, 0, 0.2, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  color: #F4F1EA;
}
[data-theme="light"] .nav-drawer-inner {
  background-color: #F4F1EA !important;
  color: #0E0E0C;
  border-left-color: #d8d2c4;
}
.nav-drawer.is-open .nav-drawer-inner { transform: translateX(0); }
.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 24px;
}
.nav-drawer-head .nav-brand-name { font-size: 14px; }
.nav-drawer-close {
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  cursor: pointer;
  position: relative;
  padding: 0;
  flex-shrink: 0;
}
.nav-drawer-close span {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 1.5px;
  background: var(--fg);
  transform-origin: center;
}
.nav-drawer-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-drawer-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.nav-drawer-close:hover { background: var(--c-primary); }
.nav-drawer-close:hover span { background: var(--bg); }
.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.nav-drawer-links a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  transition: color 200ms ease, padding 240ms ease;
}
.nav-drawer-links a:hover,
.nav-drawer-links a:focus { color: var(--c-primary); padding-left: 8px; }
.nav-drawer-links a .mono {
  font-size: 11px;
  color: var(--fg-mute);
  font-weight: 400;
}
.nav-drawer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  margin-top: 24px;
}

@media (max-width: 880px) {
  .nav-inner { grid-template-columns: auto 1fr; }
  .nav-links { display: none; }
  .nav-actions { justify-self: end; }
}

/* Segmented */
.seg {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.seg button {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--fg-mute);
  transition: all 200ms ease;
}
.seg button.on { background: var(--fg); color: var(--bg); }

.theme-toggle {
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 200ms ease;
}
.theme-toggle:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}
.btn .mono { font-size: 12px; }
.btn-lg { padding: 14px 22px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: var(--fg);
  color: var(--bg);
}
.btn-primary:hover { background: var(--c-primary); color: #0E0E0C; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--c-secondary); color: var(--c-secondary); }

/* =============================================================
   SECTIONS
   ============================================================= */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-py) var(--gutter);
  border-top: 1px solid var(--line);
  position: relative;
}
.section-alt { background: var(--bg-alt); }
.section-alt { max-width: none; }
.section-alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-alt { padding: var(--section-py) var(--gutter); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-mute);
  margin-bottom: 32px;
}
.section-label .hairline {
  display: block;
  width: 56px; height: 1px;
  background: var(--line-strong);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 56px 0;
  max-width: 14ch;
  text-wrap: balance;
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 120px) var(--gutter) 0;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; }

.grid-overlay {
  position: absolute;
  inset: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
}
[data-grid="on"] .grid-overlay { opacity: 1; }
.grid-col { background: linear-gradient(var(--line), var(--line)); background-size: 1px 100%; background-repeat: no-repeat; background-position: left top; }
.grid-col:last-child { background-position: right top; background-size: 1px 100%; box-shadow: 1px 0 0 var(--line); }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  margin-bottom: 40px;
  color: var(--fg-soft);
  font-size: 11px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); display: inline-block; }
.dot-live { background: #4CD787; box-shadow: 0 0 0 3px rgba(76, 215, 135, 0.15); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(76, 215, 135, 0.15);} 50% { box-shadow: 0 0 0 6px rgba(76, 215, 135, 0.05);} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: 0;
  display: flex;
  flex-direction: column;
  text-wrap: balance;
}
.hero-line { display: block; }
.hero-line-accent {
  display: block;
  color: var(--c-primary);
  position: relative;
  text-wrap: balance;
}
.brace-inline {
  color: var(--c-secondary);
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 0.92em;
  text-shadow: 0 0 24px color-mix(in srgb, var(--c-secondary) 40%, transparent);
  white-space: pre;
}
.brace-big-l, .brace-big-r {
  color: var(--c-secondary);
  font-weight: 300;
  font-family: var(--font-mono);
  font-size: 0.92em;
  line-height: 1;
  display: inline-block;
  transform: translateY(0.05em);
  text-shadow: 0 0 24px color-mix(in srgb, var(--c-secondary) 40%, transparent);
}
.hero-accent-text {
  color: var(--c-primary);
}

.hero-foot {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  padding-bottom: clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.hero-desc {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 52ch;
  margin: 0;
}
.hero-meta { display: flex; flex-direction: column; gap: 14px; }
.hero-meta-row { display: flex; align-items: center; gap: 10px; color: var(--fg-soft); }
.hero-cta { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .hero-foot { grid-template-columns: 1fr; gap: 32px; }
}

.ticker {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker-group {
  display: inline-flex; gap: 32px; padding-right: 32px;
  color: var(--fg-mute);
  font-size: 12px;
  align-items: center;
}
@keyframes ticker { from { transform: translateX(0);} to { transform: translateX(-25%);} }

/* =============================================================
   SERVICES
   ============================================================= */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.svc-card {
  background: var(--bg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 240ms ease;
  min-height: 320px;
}
.svc-card:hover { background: var(--card-hover); }
.svc-head { display: flex; align-items: baseline; gap: 14px; }
.svc-n { color: var(--fg-mute); font-size: 12px; }
.svc-k { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.svc-d { color: var(--fg-soft); font-size: 14px; line-height: 1.55; flex: 1; margin: 0; }
.svc-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 10px;
  color: var(--fg-soft);
}
.svc-arrow {
  position: absolute;
  top: 32px; right: 32px;
  font-size: 16px;
  color: var(--fg-mute);
  transition: color 240ms ease, transform 240ms ease;
}
.svc-card:hover .svc-arrow { color: var(--c-primary); transform: translate(2px, -2px); }

@media (max-width: 880px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   PROCESS
   ============================================================= */
.proc-list { list-style: none; padding: 0; margin: 0; }
.proc-row {
  display: grid;
  grid-template-columns: 80px 200px 1fr;
  gap: 32px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  animation: row-in 600ms ease both;
}
.proc-row:last-child { border-bottom: 1px solid var(--line); }
@keyframes row-in { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none; } }

.proc-n { color: var(--fg-mute); font-size: 13px; padding-top: 4px; }
.proc-bar { padding-top: 10px; }
.proc-bar span { display: block; height: 2px; background: var(--c-primary); width: 0; animation: bar-grow 1.2s cubic-bezier(.2,.7,.2,1) 0.4s forwards; }
@keyframes bar-grow { to { width: 100%; } }
.proc-row:nth-child(1) .proc-bar span { background: var(--c-primary); }
.proc-row:nth-child(2) .proc-bar span { background: var(--c-secondary); }
.proc-row:nth-child(3) .proc-bar span { background: var(--c-primary); }
.proc-row:nth-child(4) .proc-bar span { background: var(--c-secondary); }
.proc-k { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 8px 0; }
.proc-d { color: var(--fg-soft); margin: 0; max-width: 60ch; }

@media (max-width: 760px) {
  .proc-row { grid-template-columns: 1fr; gap: 12px; }
  .proc-bar span { width: 48px; animation: none; }
}

/* =============================================================
   STACK
   ============================================================= */
.stack-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.stack-desc { color: var(--fg-soft); max-width: 40ch; margin: 0; font-size: 16px; }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stack-cell {
  background: var(--bg);
  padding: 24px 24px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: baseline;
  transition: background 200ms ease, color 200ms ease;
}
.stack-cell:hover { background: var(--fg); color: var(--bg); }
.stack-cell:hover .stack-i,
.stack-cell:hover .stack-c { color: var(--bg); opacity: 0.6; }
.stack-i { color: var(--fg-mute); }
.stack-n { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.stack-c { color: var(--fg-mute); font-size: 10px; }

@media (max-width: 760px) {
  .stack-head { grid-template-columns: 1fr; gap: 16px; }
  .stack-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   WORK
   ============================================================= */
.work-groups { display: flex; flex-direction: column; gap: 48px; }
.work-group-head {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 8px;
}
.work-group-tag { color: var(--c-primary); font-size: 11px; }
.work-group-line { flex: 1; height: 1px; background: var(--line-strong); }
.work-group-count { color: var(--fg-mute); font-size: 11px; }

.work-list {
  border-top: 1px solid var(--line);
}
.work-row {
  display: grid;
  grid-template-columns: 48px minmax(180px, 1fr) minmax(0, 1.6fr) 30px;
  gap: 32px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding 240ms ease;
}
.work-row::before {
  content: "";
  position: absolute;
  inset: 0 -100vw;
  background: var(--bg);
  z-index: -1;
  opacity: 0;
  transition: opacity 240ms ease;
}
.work-row.is-hover { padding-left: 16px; padding-right: 16px; }
.work-row[data-accent="yellow"].is-hover .work-k { color: var(--c-primary); }
.work-row[data-accent="cyan"].is-hover .work-k { color: var(--c-secondary); }
.work-n { color: var(--fg-mute); font-size: 12px; }
.work-k { font-size: clamp(24px, 3vw, 36px); font-weight: 500; letter-spacing: -0.02em; transition: color 240ms ease; }
.work-tag { color: var(--fg-mute); }
.work-t { color: var(--fg-soft); font-size: 14px; line-height: 1.5; }
.work-y { color: var(--fg-mute); text-align: right; }
.work-arrow { color: var(--fg-mute); font-size: 14px; transition: transform 240ms ease, color 240ms ease; text-align: right; }
.work-row.is-hover .work-arrow { color: var(--fg); transform: translate(2px, -2px); }

@media (max-width: 880px) {
  .work-row { grid-template-columns: auto 1fr auto; gap: 8px 14px; padding: 18px 0; }
  .work-t { grid-column: 2 / 3; font-size: 13px; }
}

/* =============================================================
   MOBILE TUNING
   ============================================================= */
@media (max-width: 760px) {
  :root { --gutter: 18px; --col-gap: 12px; }
  .nav-inner { gap: 8px; padding: 10px var(--gutter); }
  .nav-brand img { width: 32px; height: 32px; }
  .nav-brand-text { display: none; }
  .nav-actions .seg { display: none; }
  .nav-actions .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-actions .btn { padding: 8px 12px; font-size: 12px; }
  .theme-toggle { width: 28px; height: 28px; }

  .hero { min-height: auto; padding-top: 32px; }
  .hero-title { font-size: clamp(34px, 11vw, 80px); letter-spacing: -0.035em; }
  .hero-eyebrow { margin-bottom: 24px; font-size: 10px; }
  .hero-foot { margin-top: 32px; padding-bottom: 32px; }
  .hero-cta { display: flex; flex-direction: column; gap: 8px; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: space-between; }
  .ticker-group { font-size: 10px; gap: 18px; padding-right: 18px; }

  .section-title { font-size: clamp(30px, 8vw, 56px); margin-bottom: 32px; }
  .section-label { margin-bottom: 24px; }

  .svc-card { padding: 22px; min-height: 240px; }
  .svc-k { font-size: 22px; }

  .stack-cell { padding: 18px; grid-template-columns: auto 1fr; }
  .stack-cell .stack-c { grid-column: 2 / 3; }
  .stack-n { font-size: 18px; }

  .price-card { padding: 24px; }
  .price-amount { font-size: 36px; }
  .price-flag { top: 12px; right: 12px; }

  .seg-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .seg-wide .seg-radio { padding: 10px 6px; font-size: 10px; }

  .contact-form { padding: 18px; }
  .contact-link { font-size: 16px; }

  .footer-mark { font-size: clamp(56px, 22vw, 120px); flex-wrap: wrap; }
  .footer-zero { font-size: 0.5em; }
  .footer-meta { flex-direction: column; gap: 8px; font-size: 10px; }

  .work-group-head { gap: 10px; }
  .work-k { font-size: 18px; }
  .work-row { padding: 14px 0; }
}

/* =============================================================
   PRICING
   ============================================================= */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.price-card {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.price-card.is-featured {
  background: linear-gradient(180deg, color-mix(in srgb, var(--c-primary) 8%, var(--bg)) 0%, var(--bg) 50%);
}
.price-flag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--c-primary);
  color: #0E0E0C;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}
.price-n { font-size: 14px; font-weight: 500; color: var(--fg-mute); margin: 0; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.price-num { display: flex; align-items: baseline; gap: 8px; margin: 8px 0; flex-wrap: wrap; }
.price-from { color: var(--fg-mute); font-size: 11px; }
.price-amount { font-size: 44px; font-weight: 500; letter-spacing: -0.03em; font-family: var(--font-display); }
.price-unit { color: var(--fg-mute); }
.price-d { color: var(--fg-soft); margin: 0; font-size: 14px; line-height: 1.5; }
.price-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-feats li { display: flex; gap: 10px; font-size: 14px; color: var(--fg-soft); align-items: baseline; }
.price-tick { color: var(--c-primary); }

@media (max-width: 880px) {
  .price-grid { grid-template-columns: 1fr; }
}

.price-note {
  display: flex; gap: 12px; align-items: baseline;
  margin: 32px auto 0;
  max-width: 70ch;
  color: var(--fg-soft);
  line-height: 1.6;
  padding: 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  font-size: 12px;
}
.price-note-tag { color: var(--c-primary); flex-shrink: 0; }

/* =============================================================
   CONTACT
   ============================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-desc { color: var(--fg-soft); margin: 0 0 32px 0; max-width: 44ch; }
.contact-direct { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-or { color: var(--fg-mute); margin-bottom: 4px; }
.contact-link {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 18px;
  padding: 6px 0;
  transition: color 200ms ease;
}
.contact-link:hover { color: var(--c-secondary); }
.contact-handle { color: var(--fg-mute); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { color: var(--fg-mute); }
.field input, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--fg);
  padding: 8px 0;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 200ms ease;
  font-family: inherit;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--c-primary); }

.seg-wide { width: 100%; }
.seg-wide .seg-radio {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  color: var(--fg-mute);
  transition: all 200ms ease;
}
.seg-radio input { position: absolute; opacity: 0; pointer-events: none; }
.seg-radio:has(input:checked) { background: var(--fg); color: var(--bg); }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 24px; }
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px var(--gutter) 32px;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-mark {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(80px, 16vw, 220px);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.footer-brace { color: var(--c-secondary); font-family: var(--font-mono); font-weight: 300; }
.footer-zero { color: var(--fg); font-size: 0.6em; align-self: center; letter-spacing: -0.02em; font-weight: 500; }
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--fg-mute);
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* =============================================================
   SCROLL RAIL
   ============================================================= */
.rail {
  position: fixed;
  top: 50%; right: 12px;
  transform: translateY(-50%);
  width: 2px; height: 30vh;
  background: var(--line);
  z-index: 30;
  pointer-events: none;
}
.rail-fill {
  width: 100%;
  background: var(--c-primary);
  transition: height 80ms linear;
}
.rail-pct {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  color: var(--fg-mute);
  font-size: 10px;
}
@media (max-width: 760px) { .rail { display: none; } }

/* =============================================================
   FORM helpers
   ============================================================= */
.btn-primary:disabled { opacity: 0.6; }
