/* ============================================================
   Phi Labs — styles.css
   Plain CSS. No framework, no preprocessor, no build step.
   Tokens mirror /style.md.
   ============================================================ */

/* -------- 1. Reset + base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--ink-000);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* -------- 2. Design tokens -------- */
:root {
  /* Ink (dark) */
  --ink-000: #0B0B0B;
  --ink-050: #141414;
  --ink-100: #1E1E1E;
  --ink-300: #2A2A2A;
  --ink-500: #6E6E6E;
  --ink-700: #C6C6C6;
  --ink-900: #F5F5F5;

  /* Paper */
  --paper-000: #F4F1EA;
  --paper-100: #E8E3D4;
  --paper-700: #3A352B;
  --paper-900: #0B0B0B;

  /* Accents */
  --accent-yellow: #FFE24B;
  --accent-yellow-700: #E6C926;
  --accent-orange: #FF3B1A;
  --accent-orange-700: #D42E10;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 160px;

  /* Layout */
  --container: 1360px;
  --gutter: 80px;
  --radius-sm: 4px;
  --radius-md: 14px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;

  /* Fonts */
  --f-display: "Space Grotesk", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (max-width: 768px) {
  :root { --gutter: 24px; }
}

/* -------- 3. Utilities -------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: var(--space-4);
  background: var(--accent-yellow);
  color: var(--ink-000);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur-base) var(--ease);
  z-index: 1000;
}
.skip-link:focus { top: var(--space-4); }

/* Focus rings */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent-yellow);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Eyebrows */
.eyebrow {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  margin-bottom: var(--space-5);
}
.eyebrow--dark { color: var(--accent-orange); }

/* Display text */
.display {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  font-size: clamp(36px, 5.5vw, 88px);
  color: var(--ink-900);
}
.display--paper { color: var(--paper-900); }
.display em {
  font-style: italic;
  font-weight: 600;
  position: relative;
}
.display em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 4px;
  background: var(--accent-yellow);
}
.display--paper em::after { background: var(--accent-orange); }

/* -------- 4. Navigation -------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 11, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--ink-300);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: var(--space-4) var(--gutter);
  gap: var(--space-6);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-yellow);
  font-size: 15px;
}
.nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent-yellow);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: var(--accent-yellow);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast) var(--ease);
}
.nav__links a:hover { color: var(--accent-yellow); }
.nav__cta {
  padding: 10px 18px;
  background: var(--accent-yellow);
  color: var(--ink-000) !important;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav__cta:hover {
  background: var(--accent-yellow-700);
  transform: translateY(-1px);
}
.nav__burger {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--ink-900);
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-fast) var(--ease);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6) var(--gutter) var(--space-8);
  border-top: 1px solid var(--ink-300);
  background: var(--ink-000);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.mobile-menu a.btn { font-size: 15px; text-align: center; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .mobile-menu.is-open { display: flex; }
  .nav.is-menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.is-menu-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* -------- 5. Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 20px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  cursor: pointer;
}
.btn--primary {
  background: var(--accent-yellow);
  color: var(--ink-000);
}
.btn--primary:hover {
  background: var(--accent-yellow-700);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-900);
}
.btn--ghost:hover {
  background: var(--ink-900);
  color: var(--ink-000);
}
.section--paper .btn--ghost { color: var(--paper-900); border-color: var(--paper-900); }
.section--paper .btn--ghost:hover { background: var(--paper-900); color: var(--paper-000); }
.btn--full { width: 100%; }

/* -------- 6. Sections base -------- */
.section {
  padding: var(--space-10) 0;
  background: var(--ink-000);
  color: var(--ink-900);
}
.section--dark { background: var(--ink-000); color: var(--ink-900); }
.section--paper { background: var(--paper-000); color: var(--paper-900); }

@media (max-width: 768px) {
  .section { padding: var(--space-8) 0; }
}

.section__head {
  max-width: 980px;
  margin-bottom: var(--space-8);
}
.section__lede {
  margin-top: var(--space-5);
  max-width: 680px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-700);
}
.section__lede--paper { color: var(--paper-700); }

/* -------- 7. Hero -------- */
.hero {
  position: relative;
  padding: var(--space-10) 0 var(--space-8);
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(255, 226, 75, 0.08), transparent 70%),
    radial-gradient(900px 500px at 95% 10%, rgba(255, 59, 26, 0.06), transparent 70%),
    var(--ink-000);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(42, 42, 42, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 42, 42, 0.35) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  pointer-events: none;
  opacity: 0.5;
}
.hero > * { position: relative; z-index: 1; }

.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.92;
  font-size: clamp(56px, 11vw, 172px);
  text-transform: uppercase;
  margin: var(--space-5) 0 var(--space-6);
  color: var(--ink-900);
}
.hero__title span { display: block; }
.hero__title-accent { color: var(--accent-yellow); }

.hero__lede {
  max-width: 780px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-700);
  margin-bottom: var(--space-7);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-9);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  border-top: 1px solid var(--ink-300);
  border-bottom: 1px solid var(--ink-300);
  padding: var(--space-6) 0;
}
.stats li {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.stats strong {
  font-family: var(--f-mono);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stats span {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}

@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* -------- 8. Tape (marquee) -------- */
.tape {
  background: var(--accent-yellow);
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--ink-000);
  border-bottom: 1px solid var(--ink-000);
}
.tape__track {
  display: inline-flex;
  gap: var(--space-5);
  white-space: nowrap;
  animation: tape 60s linear infinite;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-000);
}
.tape__track span { display: inline-block; }
.tape__track em { font-style: normal; opacity: 0.6; }

@keyframes tape {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .tape__track { animation: none; }
}

/* -------- 9. Equation strip -------- */
.equation {
  background: var(--ink-000);
  padding: var(--space-9) 0;
  text-align: center;
  border-top: 1px solid var(--ink-300);
}
.equation__line {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 64px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink-900);
  line-height: 1.05;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  align-items: baseline;
}
.equation__line em {
  color: var(--accent-orange);
  font-style: normal;
  font-weight: 300;
  font-size: 0.9em;
  opacity: 0.9;
}
.equation__line-accent { color: var(--accent-yellow); }
.equation__caption {
  margin-top: var(--space-4);
  color: var(--ink-500);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* -------- 10. Grid helpers -------- */
.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

/* -------- 11. Proposition / notes -------- */
.note h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.005em;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
}
.note p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--paper-700);
}
.note__rule {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent-orange);
  margin-bottom: var(--space-4);
}

/* -------- 12. Service themes -------- */
.themes .theme-card {
  background: var(--ink-050);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-md);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.theme-card header { display: flex; flex-direction: column; gap: var(--space-3); }
.theme-card__tag {
  align-self: flex-start;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--accent-yellow);
  color: var(--ink-000);
}
.theme-card__tag--orange { background: var(--accent-orange); color: var(--ink-900); }
.theme-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.theme-card header p { color: var(--ink-700); font-size: 15px; }
.theme-card ul { display: flex; flex-direction: column; gap: var(--space-4); }
.theme-card li {
  padding-left: var(--space-5);
  position: relative;
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.55;
}
.theme-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 2px;
  background: var(--accent-yellow);
}
.theme-card li strong { color: var(--ink-900); font-weight: 600; }

/* -------- 13. Sovereignty layers -------- */
.layers {
  counter-reset: layer;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--paper-100);
}
.layers li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-6);
  padding: var(--space-7) 0;
  border-bottom: 1px solid var(--paper-100);
}
.layers__num {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: clamp(40px, 4vw, 64px);
  color: var(--accent-orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.layers h3 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}
.layers p {
  color: var(--paper-700);
  font-size: 16px;
  line-height: 1.65;
  max-width: 780px;
}
@media (max-width: 640px) {
  .layers li { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* -------- 14. Approach -------- */
.approach {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-9);
}
@media (max-width: 960px) { .approach { grid-template-columns: 1fr; } }

.approach__price-card {
  background: var(--accent-yellow);
  color: var(--ink-000);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-self: start;
  position: sticky;
  top: 100px;
}
.approach__tag {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.approach__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--ink-000);
}
.approach__currency { font-size: 22px; letter-spacing: 0.05em; }
.approach__num { font-size: clamp(48px, 6vw, 84px); letter-spacing: -0.03em; }
.approach__unit {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.approach__note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-000);
  opacity: 0.82;
}

.approach__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6) var(--space-7);
}
.approach__steps li { display: flex; flex-direction: column; gap: var(--space-3); }
.step {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-yellow);
}
.approach__steps h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.approach__steps p {
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 640px) { .approach__steps { grid-template-columns: 1fr; } }

/* Ladder */
.ladder {
  border-top: 1px solid var(--ink-300);
  padding-top: var(--space-7);
}
.ladder__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: var(--space-5);
  color: var(--ink-700);
}
.ladder__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}
.ladder__grid > div {
  padding: var(--space-5);
  background: var(--ink-050);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.ladder__h {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-yellow);
}
.ladder__grid > div span:last-child {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-700);
}
@media (max-width: 1100px) { .ladder__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .ladder__grid { grid-template-columns: 1fr; } }

/* -------- 15. Cases -------- */
.cases .case {
  background: var(--ink-050);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.cases .case:hover {
  transform: translateY(-4px);
  border-color: var(--accent-yellow);
}
.case__pillar {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-orange);
  font-weight: 600;
}
.case h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.case__metric {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-family: var(--f-mono);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--ink-300);
  border-bottom: 1px solid var(--ink-300);
}
.case__metric span {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-yellow);
}
.case__metric em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.case > p:last-child { color: var(--ink-700); font-size: 15px; line-height: 1.6; }

/* -------- 16. Team -------- */
.founder {
  background: var(--paper-000);
  border: 1px solid var(--paper-100);
  border-radius: var(--radius-md);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.founder__mark {
  width: 60px; height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-000);
  color: var(--accent-yellow);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
}
.founder h3 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  letter-spacing: -0.005em;
}
.founder__role {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-700);
}
.founder p:last-child { color: var(--paper-700); font-size: 16px; line-height: 1.65; }

/* -------- 17. Contact -------- */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-9);
  align-items: start;
}
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: var(--space-7); } }

.contact__copy p {
  margin-top: var(--space-5);
  color: var(--ink-700);
  font-size: 18px;
  line-height: 1.55;
  max-width: 520px;
}
.contact__meta {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
  border-top: 1px solid var(--ink-300);
  padding-top: var(--space-5);
  max-width: 520px;
}
.contact__meta li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-4);
  font-family: var(--f-mono);
  font-size: 13px;
}
.contact__meta li span {
  color: var(--ink-500);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact__meta li a {
  color: var(--accent-yellow);
  font-weight: 500;
  border-bottom: 1px dashed var(--ink-300);
  padding-bottom: 2px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--ink-050);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-md);
  padding: var(--space-7);
}
.contact__form label { display: flex; flex-direction: column; gap: var(--space-2); }
.contact__form label span {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.contact__form input, .contact__form textarea {
  font: inherit;
  color: var(--ink-900);
  background: var(--ink-000);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  width: 100%;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.contact__form input:focus, .contact__form textarea:focus {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 3px rgba(255, 226, 75, 0.18);
  outline: none;
}
.contact__form textarea { resize: vertical; min-height: 120px; }
.contact__note {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.08em;
  min-height: 1.4em;
}

/* -------- 18. Footer -------- */
.foot {
  background: var(--ink-000);
  color: var(--ink-700);
  padding: var(--space-9) 0 var(--space-6);
  border-top: 1px solid var(--ink-300);
}
.foot__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-5);
  flex-wrap: wrap;
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--ink-300);
  margin-bottom: var(--space-7);
}
.foot__brand {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(36px, 6vw, 72px);
  color: var(--accent-yellow);
  line-height: 1;
}
.foot__tag {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-700);
}
.foot__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}
@media (max-width: 720px) { .foot__grid { grid-template-columns: 1fr; } }

.foot__grid h4 {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: var(--space-4);
}
.foot__grid a {
  display: block;
  color: var(--ink-700);
  font-size: 15px;
  padding: var(--space-2) 0;
  transition: color var(--dur-fast) var(--ease);
}
.foot__grid a:hover { color: var(--accent-yellow); }
.foot__fine {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.08em;
}

/* -------- 19. Reveal on scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
