/* ==========================================================================
   TIPIT — THE FULCRUM (Swiss Modernist Brand & Web System)
   Palette: Alabaster #FAFAF8 · Carbon #0A0A0B · Tipit Red #A6111D · Steel #6E6E73
   Type: Inter / Helvetica Neue (Display & UI) + IBM Plex Mono / SF Mono (Indices)
   ========================================================================== */

:root {
  --alabaster: #fafaf8;
  --alabaster-2: #f1f1ed;
  --carbon: #0a0a0b;
  --carbon-2: #141416;
  --carbon-3: #1c1c1f;
  /* Tipit red: a richer, darker take on the legacy #b6161f */
  --red: #a6111d;
  --red-deep: #860c17;
  --red-bright: #e8434b; /* accents on near-black backgrounds */
  --red-soft: #f07379;
  --accent: var(--red);
  --accent-fill: var(--red);
  --accent-fill-hover: var(--red-deep);
  --steel: #6e6e73;
  --steel-dark: #4a4a4f;
  --chalk: #f5f5f2;
  --chalk-muted: #a6a6ac;
  --rule: rgba(10, 10, 11, 0.12);
  --rule-faint: rgba(10, 10, 11, 0.06);
  --rule-dark: rgba(250, 250, 248, 0.14);
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1220px;
  --gutter: clamp(20px, 4vw, 52px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Theme tokens (light). Dark values below; the always-dark bands keep the fixed brand colors. */
  --bg: var(--alabaster);
  --bg-2: var(--alabaster-2);
  --ink: var(--carbon);
  --ink-2: var(--steel-dark);
  --muted: var(--steel);
  --ink-hover: #232327;
  --outline: rgba(10, 10, 11, 0.24);
  --tint: rgba(10, 10, 11, 0.04);
  --header-bg: rgba(250, 250, 248, 0.92);
  --shadow: rgba(10, 10, 11, 0.12);
  color-scheme: light;
}

/* Self-hosted fonts (OFL-1.1, Latin subsets): no third-party requests. See assets/fonts/README.md. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f11;
    --bg-2: #151518;
    --ink: #f2f1ec;
    --ink-2: #b9b9bf;
    --muted: #8e8e95;
    --ink-hover: #ffffff;
    --outline: rgba(242, 241, 236, 0.3);
    --tint: rgba(242, 241, 236, 0.06);
    --header-bg: rgba(15, 15, 17, 0.86);
    --shadow: rgba(0, 0, 0, 0.5);
    --rule: rgba(242, 241, 236, 0.14);
    --rule-faint: rgba(242, 241, 236, 0.07);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0f0f11;
  --bg-2: #151518;
  --ink: #f2f1ec;
  --ink-2: #b9b9bf;
  --muted: #8e8e95;
  --ink-hover: #ffffff;
  --outline: rgba(242, 241, 236, 0.3);
  --tint: rgba(242, 241, 236, 0.06);
  --header-bg: rgba(15, 15, 17, 0.86);
  --shadow: rgba(0, 0, 0, 0.5);
  --rule: rgba(242, 241, 236, 0.14);
  --rule-faint: rgba(242, 241, 236, 0.07);
  --accent: var(--red-bright);
  --accent-fill-hover: #c0182a;
  color-scheme: dark;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--carbon);
  color: var(--alabaster);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   Swiss Section Index & Controls
   ========================================================================== */

.mono-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.mono-label--dark {
  color: var(--chalk-muted);
}

.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: clamp(40px, 5vw, 68px);
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-bar--dark {
  border-bottom-color: var(--rule-dark);
  color: var(--chalk-muted);
}

.section-bar__num {
  color: var(--accent);
  font-weight: 600;
  margin-right: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--carbon {
  background: var(--ink);
  color: var(--bg);
}
.btn--carbon:hover {
  background: var(--ink-hover);
}

.btn--accent {
  background: var(--accent-fill);
  color: #fff;
}
.btn--accent:hover {
  background: var(--accent-fill-hover);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--outline);
}
.btn--outline:hover {
  border-color: var(--ink);
  background: var(--tint);
}

.btn--white {
  background: #fff;
  color: var(--carbon);
}
.btn--white:hover {
  background: #f0eee9;
}

/* ==========================================================================
   Site Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__svg {
  height: 28px;
  width: auto;
  overflow: visible;
}

.brand__beam {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}

.brand:hover .brand__beam {
  transform: rotate(5deg);
}

.brand__coord {
  display: inline-block;
  padding-left: 14px;
  margin-left: 2px;
  border-left: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--ink);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__cta {
  padding: 10px 20px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.8px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
}

/* ==========================================================================
   Hero — Stark Alabaster + Hairline Swiss Architectural Grid + Fulcrum Schematic
   ========================================================================== */

.hero {
  position: relative;
  background: var(--bg);
  padding: clamp(56px, 7.5vw, 108px) 0 clamp(64px, 8vw, 108px);
}

/* Faint 4-column Swiss vertical grid inside container */
.hero__canvas {
  position: relative;
  background-image: linear-gradient(
    to right,
    var(--rule-faint) 1px,
    transparent 1px
  );
  background-size: 25% 100%;
  border-right: 1px solid var(--rule-faint);
}

.hero__top-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0;
}

.hero__status::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: inline-block;
}

.hero__headline {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.042em;
  color: var(--ink);
  margin: 0;
  max-width: 1060px;
}

.hero__headline .accent {
  color: var(--accent);
}

.hero__subrow {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 44px);
}

.hero__subhead {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--muted);
  margin: 0;
  font-weight: 400;
}

.hero__subhead strong {
  color: var(--ink);
  font-weight: 600;
}

.hero__actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Signature Interactive Fulcrum Schematic (Open on the Grid, Zero Box Clutter) */
.fulcrum-stage {
  margin-top: clamp(52px, 6.5vw, 88px);
  padding-top: clamp(36px, 4.5vw, 52px);
  border-top: 1px solid var(--rule);
}

.fulcrum-stage__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 24px;
}

.fulcrum-stage__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: 0;
  align-items: center;
}

.fulcrum-input {
  display: flex;
  align-items: center;
  gap: 0;
}

.fulcrum-input__text {
  padding-right: 18px;
}

.fulcrum-input__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}

.fulcrum-input__title {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

.fulcrum-input__line {
  flex: 1;
  height: 1px;
  background: var(--ink);
  position: relative;
  min-width: 28px;
}

.fulcrum-input__line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.fulcrum-lever {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
}

.fulcrum-lever svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

#fulcrum-beam {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.45s var(--ease);
}

.fulcrum-lever__caption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 0 0;
  text-align: center;
}

.fulcrum-outputs {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--ink);
}

.fulcrum-output {
  position: relative;
  padding-left: 28px;
}

.fulcrum-output::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--ink);
}

.fulcrum-output__btn {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-faint);
  padding: 14px 12px 14px 16px;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s var(--ease);
}

.fulcrum-output:last-child .fulcrum-output__btn {
  border-bottom: 0;
}

.fulcrum-output__btn::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.2s var(--ease);
}

.fulcrum-output__btn:hover,
.fulcrum-output__btn.is-active {
  background: var(--tint);
}

.fulcrum-output__btn.is-active::before {
  transform: translateY(-50%) scale(1.35);
}

.fulcrum-output__name {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.fulcrum-output__btn.is-active .fulcrum-output__name {
  color: var(--accent);
}

.fulcrum-output__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.fulcrum-readout {
  margin-top: 24px;
  padding: 16px 0 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
}

.fulcrum-readout__detail {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-2);
}

.fulcrum-readout__detail strong {
  color: var(--ink);
}

.fulcrum-readout__manifesto {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.fulcrum-readout__manifesto span {
  color: var(--accent);
  margin: 0 8px;
}

/* ==========================================================================
   Band 01 — Generational Parallel (Carbon Black)
   ========================================================================== */

.era-band {
  background: var(--carbon);
  color: var(--chalk);
  padding: clamp(72px, 8.5vw, 120px) 0;
}

.era-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.era-col {
  padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 52px) clamp(32px, 4vw, 56px) 0;
  min-width: 0;
}

.era-col + .era-col {
  padding: clamp(32px, 4vw, 56px) 0 clamp(32px, 4vw, 56px) clamp(20px, 4vw, 52px);
  border-left: 1px solid var(--rule-dark);
  position: relative;
}

.era-col + .era-col::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red-bright);
}

.era-col p.era-col__meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chalk-muted);
  margin: 0 0 20px;
}

.era-col + .era-col p.era-col__meta {
  color: var(--red-soft);
}

.era-col h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: #fff;
}

.era-col p {
  margin: 0;
  font-size: 17px;
  line-height: 1.68;
  color: var(--chalk-muted);
}

/* ==========================================================================
   Band 02 — What We Build (Alabaster, Open 4-Column Swiss Spec Grid)
   ========================================================================== */

.capabilities {
  background: var(--bg);
  padding: clamp(76px, 9vw, 132px) 0;
}

.capabilities__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px 60px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 76px);
}

.capabilities__head h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.038em;
  margin: 0;
  color: var(--ink);
}

.capabilities__head h2 span {
  color: var(--accent);
}

.capabilities__head p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.spec-col {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  transition: border-color 0.25s var(--ease);
}

.spec-col:hover,
.spec-col.is-highlight {
  border-top-color: var(--accent);
}

.spec-col__num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.spec-col h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}

.spec-col p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-2);
}

.spec-col__points {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 8px;
}

.spec-col__points li {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}

.spec-col__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 2px;
  background: var(--accent);
}

.verticals-strip {
  margin-top: clamp(52px, 6vw, 76px);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.verticals-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.verticals-strip__list li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 7px 13px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}

.verticals-strip__list li.is-proven {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.verticals-strip__list li.is-proven:hover {
  background: var(--accent-fill);
  border-color: var(--accent-fill);
}

/* ==========================================================================
   Band 03 — Proof in Practice (Lead Case Studies + Compact OpenInfra)
   ========================================================================== */

.work-header {
  background: var(--bg-2);
  padding: clamp(72px, 8vw, 112px) 0 clamp(44px, 5vw, 60px);
  border-top: 1px solid var(--rule);
}

.work-header__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px 60px;
  align-items: end;
}

.work-header h2 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}

.work-header p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* Case A: Foxtrot November */
.case-foxtrot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: clamp(72px, 8vw, 120px) 0;
  background:
    radial-gradient(ellipse 65% 75% at 88% 85%, rgba(255, 148, 0, 0.52), transparent 58%),
    linear-gradient(118deg, #24050c 0%, #660d16 46%, #c94400 100%);
}

.case-foxtrot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("foxtrot-fox.svg") no-repeat right -90px center / 760px;
  opacity: 0.1;
  pointer-events: none;
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.case-copy p.case-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffe2cc;
  margin: 0 0 26px;
}

.case-foxtrot__logo {
  width: 210px;
  height: auto;
  margin: 0 0 26px;
}

.case-copy h3 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: #fff;
}

.case-copy p {
  font-size: 17.5px;
  line-height: 1.66;
  color: rgba(255, 245, 238, 0.9);
  margin: 0 0 18px;
}

.case-list {
  list-style: none;
  margin: 26px 0 32px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.case-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 15.5px;
  color: #fff;
}

.case-list li::before {
  content: "+";
  font-family: var(--mono);
  color: #ffd194;
  font-weight: 600;
  flex-shrink: 0;
}

.case-stage {
  display: flex;
  justify-content: center;
}

.case-stage img {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 28px 40px rgba(20, 4, 6, 0.42));
}

/* Case B: Volo! */
.case-volo {
  position: relative;
  overflow: hidden;
  color: #f6efe4;
  padding: clamp(72px, 8vw, 120px) 0;
  background:
    radial-gradient(ellipse 55% 60% at 14% 92%, rgba(217, 165, 74, 0.22), transparent 58%),
    linear-gradient(125deg, #0b1622 0%, #132c44 55%, #1c3d5b 100%);
}

.case-volo .case-copy p.case-kicker {
  border-color: rgba(244, 216, 155, 0.36);
  color: #f4d89b;
}

.case-volo .case-copy p {
  color: rgba(242, 234, 222, 0.88);
}

.case-volo .case-list li::before {
  color: #e9c16d;
}

.case-volo .case-stage img {
  max-width: 470px;
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.48));
}

/* Compact OpenInfra Stewardship Strip */
.proof-openinfra {
  position: relative;
  isolation: isolate;
  color: var(--chalk);
  padding: clamp(52px, 6vw, 76px) 0;
  background-color: #0b1116;
  background-image:
    linear-gradient(95deg, rgba(10, 12, 16, 0.94) 0%, rgba(10, 12, 16, 0.88) 55%, rgba(10, 12, 16, 0.94) 100%),
    url("openinfra-background.png");
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-openinfra__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.proof-openinfra__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f7b749;
  margin: 0 0 18px;
}

.proof-openinfra__logo {
  width: 230px;
  height: auto;
  margin: 0 0 14px;
}

.proof-openinfra__meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--chalk-muted);
  margin: 0;
}

.proof-openinfra__copy p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(245, 245, 242, 0.88);
}

.proof-openinfra__projects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.proof-openinfra__projects a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(247, 183, 73, 0.5);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.proof-openinfra__projects a:hover {
  color: #f7b749;
  border-color: #f7b749;
}

.proof-openinfra__origin {
  font-size: 14px;
  color: var(--chalk-muted);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 0;
}

.proof-openinfra__origin a {
  color: #f7b749;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Band 04 — Method (Stark Alabaster, Swiss Specification Ledger)
   ========================================================================== */

.method {
  background: var(--bg);
  padding: clamp(76px, 9vw, 132px) 0;
}

.method__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.method__lead {
  position: sticky;
  top: 108px;
}

.method__lead h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  color: var(--ink);
}

.method__lead p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-2);
}

.method-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.method-ledger__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.method-ledger__num {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.method-ledger__item h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}

.method-ledger__item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-2);
}

/* ==========================================================================
   Band 05 — Heritage & Principles (Cool Alabaster, Open 4-Column Row)
   ========================================================================== */

.heritage {
  background: var(--bg-2);
  padding: clamp(76px, 9vw, 124px) 0;
  border-top: 1px solid var(--rule);
}

.heritage__head {
  max-width: 780px;
  margin-bottom: clamp(44px, 5vw, 68px);
}

.heritage__head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  color: var(--ink);
}

.heritage__head p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
}

.principles-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 36px);
}

.principle {
  border-top: 1px solid var(--ink);
  padding-top: 22px;
  min-width: 0;
}

.principle__tag {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.principle h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ink);
}

.principle p {
  margin: 0;
  font-size: 15px;
  line-height: 1.64;
  color: var(--ink-2);
}

/* ==========================================================================
   Band 06 — Contact (Carbon Black)
   ========================================================================== */

.contact {
  background: var(--carbon);
  color: var(--chalk);
  padding: clamp(76px, 9vw, 132px) 0 clamp(64px, 7vw, 96px);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.contact__copy h2 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  color: #fff;
}

.contact__copy h2 .accent {
  color: var(--red-bright);
}

.contact__copy > p {
  margin: 0 0 36px;
  font-size: 18px;
  line-height: 1.66;
  color: var(--chalk-muted);
}

.contact-meta {
  border-top: 1px solid var(--rule-dark);
  padding-top: 24px;
  display: grid;
  gap: 20px;
}

.contact-meta__row dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chalk-muted);
  margin-bottom: 4px;
}

.contact-meta__row dd {
  margin: 0;
  font-size: 16px;
  color: var(--chalk);
}

.phone-reveal,
.phone-number {
  font: inherit;
  color: var(--chalk);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--red-bright);
  padding: 0 0 2px;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.phone-reveal:hover,
.phone-number:hover {
  color: var(--red-soft);
}

.phone-reveal[hidden] {
  display: none;
}

.contact-panel {
  border-top: 2px solid var(--red-bright);
  background: var(--carbon-2);
  padding: clamp(28px, 3.5vw, 44px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.field {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

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

.field__optional {
  color: var(--chalk-muted);
}

.field input,
.field textarea {
  width: 100%;
  background: var(--carbon);
  color: #fff;
  border: 1px solid rgba(250, 250, 248, 0.2);
  border-radius: 4px;
  padding: 13px 15px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 3px rgba(232, 67, 75, 0.28);
  outline: none;
}

.form-footer {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cf-turnstile {
  max-width: 100%;
}

.form-submit {
  align-self: flex-start;
  padding: 15px 32px;
  font-size: 15px;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

#form-status {
  font-size: 15px;
  line-height: 1.55;
  color: #f7a8ac;
}

#form-status:empty {
  display: none;
}

#form-status.is-success {
  padding: 24px;
  background: #102419;
  color: #e4f7ec;
  border: 1px solid #3f8f63;
  border-radius: 4px;
  scroll-margin-top: 110px;
}

#form-status.is-success .confirmation-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2c8a56;
  color: #fff;
  font-size: 20px;
  margin-bottom: 10px;
}

#form-status.is-success h3 {
  font-size: 22px;
  margin: 0 0 6px;
  color: #fff;
}

#form-status.is-success p {
  margin: 0;
  color: #ccead9;
}

.form-note {
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--chalk-muted);
}

.form-note a {
  color: var(--chalk);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #060607;
  color: var(--chalk-muted);
  border-top: 1px solid var(--rule-dark);
  padding: 32px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a:hover {
  color: #fff;
}

/* ==========================================================================
   Progressive Scroll Reveal
   ========================================================================== */

.reveal {
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-pending {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .spec-grid,
  .principles-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fulcrum-stage__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .fulcrum-input__line {
    display: none;
  }

  .fulcrum-lever {
    padding: 0;
    align-items: flex-start;
  }

  .fulcrum-lever svg {
    max-width: 220px;
  }
}

@media (max-width: 960px) {
  .hero__subrow,
  .era-split,
  .capabilities__head,
  .work-header__grid,
  .case-grid,
  .proof-openinfra__grid,
  .method__grid,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .era-col,
  .era-col + .era-col {
    padding: 32px 0;
    border-left: 0;
  }

  .era-col + .era-col {
    border-top: 1px solid var(--rule-dark);
  }

  .method__lead {
    position: static;
  }

  .case-volo .case-stage {
    order: -1;
  }

  .brand__coord {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 24px var(--gutter) 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 20px 44px var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }

  .site-nav__link {
    font-size: 18px;
  }

  .site-nav__cta {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .spec-grid,
  .principles-row,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__canvas {
    background-image: none;
    border-right: 0;
  }

  .hero__actions .btn,
  .form-submit {
    width: 100%;
  }

  .fulcrum-output__btn {
    flex-direction: column;
    gap: 4px;
  }

  .method-ledger__item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal.is-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Typographic polish: balanced headings, no orphaned last words */
h1, h2, h3, .hero__subhead, .fulcrum-lever__caption {
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .fulcrum-lever {
    align-items: center;
    width: 100%;
  }

  .fulcrum-lever svg {
    max-width: 320px;
    margin: 8px auto 4px;
  }

  .fulcrum-lever__caption {
    max-width: 320px;
  }
}

/* Inline SVG marks follow the theme ink */
.brand,
.fulcrum-lever {
  color: var(--ink);
}

/* Theme toggle */
.header-inner {
  justify-content: flex-start;
}

.brand {
  margin-right: auto;
}

.site-nav {
  order: 1;
}

.theme-toggle {
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.theme-toggle:hover {
  border-color: var(--outline);
  background: var(--tint);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.45s var(--ease);
}

:root[data-theme="dark"] .theme-toggle svg {
  transform: rotate(180deg);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle svg {
    transform: rotate(180deg);
  }
}

.nav-toggle {
  order: 3;
}

/* Dark theme: keep the always-dark bands distinct from the page */
:root[data-theme="dark"] .era-band,
:root[data-theme="dark"] .contact,
:root[data-theme="dark"] .site-footer {
  background: #060607;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .era-band,
  :root:not([data-theme="light"]) .contact,
  :root:not([data-theme="light"]) .site-footer {
    background: #060607;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle svg {
    transition: none;
  }
}

/* Brand mark triangles follow the theme accent */
.mark-accent {
  fill: var(--accent);
}

/* Phones: keep section bars to one clean line and let long case kickers wrap gracefully */
@media (max-width: 640px) {
  .section-bar > span:last-child {
    display: none;
  }

  .case-copy p.case-kicker {
    border-radius: 12px;
    line-height: 1.6;
  }
}
