/* ============================================================
   蜂语网络 BeeTalk Networks — v5
   warm paper · white cards · large radii · hairline-free
   learned from apple.com / claude.ai: calm, generous, precise
   ============================================================ */

:root {
  /* neutral gray scale × pure bee yellow — no brown, no blue */
  --cream: #f6f6f3;
  --cream-2: #ebebe7;
  --card: #ffffff;
  --ink: #141414;
  --ink-2: #46463f;
  --muted: #80807a;
  --hairline: rgba(20, 20, 20, 0.08);

  --amber: #f6d400;
  --amber-bright: #ffe23d;
  --amber-deep: #7f7000;
  --amber-soft: #fbf3bf;

  --dark: #121212;
  --dark-2: #1a1a18;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-text: #eeeeea;
  --dark-muted: #8f8f87;

  --sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
          "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas,
          "Liberation Mono", monospace;

  --pad: clamp(20px, 4vw, 72px);
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(29, 27, 23, 0.04), 0 4px 16px rgba(29, 27, 23, 0.05);
  --shadow-lg: 0 2px 4px rgba(29, 27, 23, 0.05), 0 18px 44px rgba(29, 27, 23, 0.10);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-pop: cubic-bezier(0.2, 0, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--amber); color: var(--ink); }

a { color: inherit; text-decoration: none; }
a, button { cursor: pointer; }
a[target="_blank"] { text-decoration: underline; text-underline-offset: 2px; }
ul { list-style: none; }
svg { display: block; }

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

.mono { font-family: var(--mono); }

section[id] { scroll-margin-top: 72px; }

/* scroll reveal (progressive enhancement, JS adds .in) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

[data-reveal].in { opacity: 1; transform: none; }

.no-js [data-reveal] { opacity: 1; transform: none; }

/* staggered rise via animation: it releases the element when done,
   so hover transitions never inherit an entrance delay */
[data-reveal].stagger { opacity: 1; transform: none; transition: none; }

.stagger:not(.in) > * { opacity: 0; }

.stagger.in > * { animation: stagger-rise 0.45s var(--ease) backwards; }

.stagger.in > *:nth-child(1) { animation-delay: 0.03s; }
.stagger.in > *:nth-child(2) { animation-delay: 0.08s; }
.stagger.in > *:nth-child(3) { animation-delay: 0.13s; }
.stagger.in > *:nth-child(4) { animation-delay: 0.18s; }
.stagger.in > *:nth-child(5) { animation-delay: 0.23s; }
.stagger.in > *:nth-child(6) { animation-delay: 0.28s; }
.stagger.in > *:nth-child(7) { animation-delay: 0.33s; }
.stagger.in > *:nth-child(8) { animation-delay: 0.38s; }

@keyframes stagger-rise {
  from { opacity: 0; transform: translateY(28px); }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 52px);
  height: 64px;
  padding: 0 var(--pad);
  background: rgba(247, 244, 238, 0.8);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}

.brand-name {
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.2em;
}

.brand-text { line-height: 1.12; }

.brand-mark { display: block; }

.brand-wordmark { display: block; height: 24px; width: auto; }

.site-nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 40px);
  margin-left: auto;
  min-width: 0;
  flex-shrink: 1;
}

.site-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.25s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); }
.site-nav a.active::after { transform: scaleX(1); }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.header-phone svg { color: var(--amber-deep); }

.lang-switch {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  background: rgba(29, 27, 23, 0.06);
  border-radius: 999px;
  padding: 7px 16px;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}

.lang-switch:hover { background: var(--amber); color: var(--ink); }

/* hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  flex: none;
  background: rgba(29, 27, 23, 0.06);
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-phone { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% 18%, rgba(246, 212, 0, 0.06) 0%, transparent 62%),
    radial-gradient(1100px 520px at 78% 18%, #232320 0%, transparent 62%),
    radial-gradient(900px 600px at 12% 110%, #1c1c19 0%, transparent 60%),
    var(--dark);
  color: var(--dark-text);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(60px, 8vw, 112px) var(--pad) clamp(44px, 6vw, 80px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.3em;
  color: var(--amber);
  margin-bottom: 24px;
  animation: rise 0.7s var(--ease) both;
}

.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--amber);
}

.hero-eyebrow .eb-short { display: none; }

.hero h1 {
  font-size: clamp(31px, 5.2vw, 72px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.005em;
  max-width: 20em;
  animation: rise 0.7s 0.06s var(--ease) both;
}

.hero h1 .hl { color: var(--amber); }

.hero-sub {
  margin-top: 22px;
  max-width: 44em;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--dark-muted);
  animation: rise 0.7s 0.12s var(--ease) both;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  animation: rise 0.7s 0.18s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s, transform 0.18s var(--ease-pop),
              box-shadow 0.25s var(--ease);
}

.btn-solid {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(214, 182, 0, 0.3);
}

.btn-solid:hover {
  background: var(--amber-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(214, 182, 0, 0.4);
}

.btn-ghost {
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--dark-line);
}

.hero-stat {
  padding: 20px var(--pad) 24px;
  border-right: 1px solid var(--dark-line);
}

.hero-stat:last-child { border-right: none; }

.hero-stat .num {
  font-family: var(--mono);
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 700;
  color: var(--amber);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hero-stat .lbl {
  margin-top: 6px;
  font-size: 13px;
  color: var(--dark-muted);
  letter-spacing: 0.08em;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- marquee (flush against hero, no seams) ---------- */

.marquee {
  background: var(--amber);
  color: #1d1b17;
  overflow: hidden;
  padding: 12px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 44s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  white-space: nowrap;
  padding: 0 34px;
}

@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- section scaffolding ---------- */

.sec { padding: clamp(48px, 6vw, 88px) var(--pad) 0; }
.sec:last-of-type { padding-bottom: clamp(48px, 6vw, 88px); }

.sec-head { max-width: 56em; }

.sec-head .kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--amber-deep);
  text-transform: uppercase;
}

.sec-head .kicker b { font-weight: 400; padding-right: 14px; }

.sec-head h2 {
  margin-top: 10px;
  font-size: clamp(27px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.22;
}

.sec-head .desc {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 44em;
}

.sec-body { margin-top: clamp(26px, 3.4vw, 44px); }

/* ---------- services — white cards on cream ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}

.svc {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--r-md);
  padding: clamp(20px, 1.8vw, 28px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease-pop), box-shadow 0.25s var(--ease);
}

.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.svc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.svc-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--amber);
  border-radius: 14px;
}

.svc .no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
}

.svc h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.svc .en-name {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--amber-deep);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 4px 0 10px;
}

.svc > p:not(.en-name) {
  font-size: 14px;
  color: var(--ink-2);
  flex: 1;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.svc-tags li {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 5px 13px;
  color: var(--ink-2);
  background: var(--cream);
  border-radius: 999px;
}

.industries {
  margin-top: 16px;
  padding: 0 clamp(20px, 2.6vw, 36px);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.industries b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--amber-deep);
  padding-right: 16px;
  text-transform: uppercase;
}

/* ---------- process — five quiet cards ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}

.step {
  background: var(--card);
  border-radius: var(--r-md);
  padding: clamp(18px, 1.6vw, 24px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease-pop), box-shadow 0.25s var(--ease);
}

.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }


.step .no {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
}

.step h3 {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.step .en {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 3px 0 12px;
}

.step > p:not(.en) { font-size: 13px; color: var(--ink-2); }

/* ---------- capability map (tech section) ---------- */

.capmap {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(16px, 1.8vw, 26px);
}

.capmap > .cap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--amber-deep);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.capmap > .cap i {
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: none;
}

.cap-row {
  display: grid;
  grid-template-columns: minmax(170px, 225px) 1fr;
  gap: 8px 18px;
  align-items: stretch;
}

.cap-row + .cap-row { margin-top: 8px; }

/* plain-text domain label — clearly not a tile */
.cap-dom {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 46px;
  color: var(--ink);
  white-space: nowrap;
}

.cap-dom::before {
  content: "";
  flex: none;
  width: 12px;
  height: 13px;
  background: var(--amber);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.cap-dom b { font-size: 15px; letter-spacing: 0.04em; }

.cap-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.cap-tiles span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10px;
  height: 46px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease-pop);
}

.cap-tiles span:hover { transform: translateY(-4px); }

.t-cream .cap-tiles span { background: var(--cream); color: var(--ink-2); }
.t-ink .cap-tiles span { background: var(--ink); color: #f2f2ee; }
.t-soft .cap-tiles span { background: var(--amber-soft); color: #5c5200; }
.t-amber .cap-tiles span { background: var(--amber); color: var(--ink); }
.t-gray .cap-tiles span { background: #e4e4df; color: var(--ink-2); }
.t-slate .cap-tiles span { background: #46463f; color: #eeeeea; }

/* ---------- process: hex numbers, deliverables, gantt ---------- */

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.hexnum {
  flex: none;
  width: 40px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--amber);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
}

.step-head h3 { margin: 0; font-size: 16.5px; letter-spacing: 0.04em; }
.step-head .en { margin: 0; }

.step-out {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(20, 20, 20, 0.14);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--amber-deep);
}

.gantt-card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(16px, 1.8vw, 26px);
  margin-top: clamp(14px, 1.6vw, 22px);
  overflow-x: auto;
}

.gantt-card .cap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--amber-deep);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.gantt-card .cap i {
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: none;
}

.gantt { position: relative; min-width: 620px; }

/* weekly grid lines — solid at mid-height, fading out top and bottom */
.gantt::before {
  content: "";
  position: absolute;
  left: 154px;
  right: 0;
  top: -6px;
  bottom: 2px;
  background:
    repeating-linear-gradient(90deg,
      rgba(20, 20, 20, 0.09) 0 1px,
      transparent 1px calc(100% / 12));
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), #000 30%, #000 72%, transparent);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), #000 30%, #000 72%, transparent);
  pointer-events: none;
}

/* horizontal row lines — run out under the phase labels, fading at both ends */
.g-row {
  background:
    linear-gradient(90deg,
      transparent,
      rgba(20, 20, 20, 0.08) 10%,
      rgba(20, 20, 20, 0.08) 90%,
      transparent)
    left top / 100% 1px no-repeat;
}

.g-wk {
  display: none;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber-deep);
  letter-spacing: 0.06em;
}

.g-scale {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 4px;
  margin-bottom: 10px;
}

.g-scale .g-weeks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.g-scale span {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  text-align: center;
}

.g-scale .g-axis { text-align: left; letter-spacing: 0.1em; }

.g-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 4px;
  padding: 5px 0;
}

.g-name { font-size: 12.5px; color: var(--ink-2); }

.g-track {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.g-track i {
  grid-column: var(--s) / var(--e);
  height: 14px;
  border-radius: 4px;
  background: var(--amber-soft);
  box-shadow: inset 0 0 0 1px rgba(246, 212, 0, 0.75);
}

.g-track i.solid { background: var(--amber); box-shadow: none; }

/* ---------- engineering practices ---------- */

.prax-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}

.prax {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease-pop), box-shadow 0.25s var(--ease);
}

.prax:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.prax .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--amber);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.prax h4 { font-size: 15px; letter-spacing: 0.03em; }

.prax small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--amber-deep);
  text-transform: uppercase;
  margin: 2px 0 8px;
}

.prax p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }

/* ---------- engagement models ---------- */

.models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
}

.model {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2vw, 30px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.model:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.model .badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  background: var(--amber);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.model h3 { font-size: 19px; letter-spacing: 0.03em; }

.model .m-en {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--amber-deep);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 4px 0 10px;
}

.model > p { font-size: 13.5px; color: var(--ink-2); flex: 1; }

.m-specs { margin-top: 16px; border-top: 1px solid var(--hairline); }

.m-specs div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 13px;
}

.m-specs div:last-child { border-bottom: none; }
.m-specs .k { color: var(--muted); flex: none; }
.m-specs .v { text-align: right; color: var(--ink-2); }


/* ============================================================
   FINALE — one continuous dark closing act
   ============================================================ */

.finale {
  background: var(--dark);
  color: var(--dark-text);
}

.finale .sec {
  padding: clamp(40px, 4.5vw, 68px) var(--pad) 0;
}

.finale .kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--amber);
  text-transform: uppercase;
}

.finale .kicker b { font-weight: 400; padding-right: 14px; color: var(--amber); }

.fin-head h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--dark-text);
}

.fin-head .lede {
  margin-top: 22px;
  max-width: 30em;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.85;
  color: #cfcfc9;
}

/* about: intro + creed, side by side, roomy */
.about-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 90px);
  margin-top: clamp(24px, 3vw, 40px);
  align-items: start;
}

.about-body p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--dark-muted);
}

.creed { display: flex; flex-direction: column; gap: 2px; }

.creed li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.creed li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.07); }

.creed li::before {
  content: "";
  flex: none;
  align-self: center;
  width: 9px;
  height: 10px;
  background: var(--amber);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.creed b { flex: none; font-size: 15.5px; letter-spacing: 0.04em; color: var(--dark-text); }
.creed span { font-size: 13.5px; color: var(--dark-muted); }

/* commitments — four figures, generous spacing, no dividers touching */
.commit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.commit b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.commit span {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--dark-muted);
  letter-spacing: 0.04em;
}

/* contact */
.cta h3 {
  margin-top: 18px;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.cta h3 em { font-style: normal; color: var(--amber); }

.tel {
  display: inline-block;
  margin-top: clamp(22px, 2.8vw, 38px);
  font-family: var(--mono);
  font-size: clamp(36px, 6.4vw, 92px);
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: color 0.25s;
}

.tel:hover { color: var(--amber); }

.cta-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px clamp(28px, 4vw, 72px);
  margin-top: clamp(30px, 3.5vw, 48px);
  padding-top: clamp(24px, 2.6vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-meta .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
}

.cta-meta .v {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #d4d4ce;
}

/* the signature amber rule into the footer */
.fin-rule {
  height: 3px;
  margin-top: clamp(40px, 5vw, 72px);
  background: var(--amber);
}

/* ---------- footer (inside finale) ---------- */

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(120px, 1fr));
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(44px, 5.5vw, 72px) var(--pad) clamp(36px, 4vw, 52px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--dark-text);
  margin-bottom: 18px;
}

.footer-brand .brand-name { font-size: 17px; font-weight: 700; letter-spacing: 0.12em; }

.footer-brand-col p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--dark-muted);
  max-width: 24em;
}

.footer-col h5 {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--dark-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul li { margin-bottom: 11px; }

.footer-col ul a {
  font-size: 13.5px;
  color: #cbcbc5;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--amber); }

.footer-col address {
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.85;
  color: #cbcbc5;
}

.footer-col address a { transition: color 0.2s; }
.footer-col address a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dark-muted);
}

.footer-bottom a { color: var(--dark-muted); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--amber); }

/* ---------- responsive ---------- */

/* nav scrolls horizontally instead of disappearing */
.site-nav { overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }

@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid .step:last-child { grid-column: 1 / -1; }
  .prax-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-tiles { grid-template-columns: repeat(4, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .site-header { gap: 12px; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .lang-switch { margin-left: auto; }
  .site-nav a::after { display: none; }
  .site-nav a.active { color: var(--amber-deep); }

  /* nav becomes a dropdown menu under the header */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 6px var(--pad) 14px;
    background: var(--cream);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 20px 40px rgba(20, 20, 20, 0.1);
    overflow: visible;
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease),
                visibility 0.3s;
  }

  .menu-open .site-nav {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .site-nav a {
    display: block;
    padding: 14px 0;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--hairline);
  }

  .site-nav a:last-child { border-bottom: none; }

  .nav-phone {
    display: block;
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
  }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid var(--dark-line); }
  .hero-stat:nth-child(2n) { border-right: none; }
  .models { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; gap: 28px; }
  .commit { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .cta-meta { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 16px; }
  .brand-wordmark { height: 21px; }
  .lang-switch { padding: 6px 13px; }
  .svc-grid, .process-grid { grid-template-columns: 1fr; }
  .process-grid .step:last-child { grid-column: auto; }
  .prax-grid { gap: 10px; }
  .cap-row { grid-template-columns: 1fr; }
  .cap-dom { height: 34px; margin-top: 6px; }
  .cap-tiles { grid-template-columns: repeat(3, 1fr); }
  .cap-tiles span {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    height: auto;
    min-height: 44px;
    padding: 7px 8px;
    font-size: 12px;
  }

  /* gantt: no horizontal scroll — stacked rows with week labels */
  .gantt-card { overflow-x: visible; }
  .gantt::before { display: none; }
  .gantt-card .cap i { flex-basis: 100%; }
  .gantt { min-width: 0; }
  .g-scale { display: none; }
  .g-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--hairline);
    background: none;
  }
  .g-row:last-child { border-bottom: none; }
  .g-name {
    flex: 1 1 auto;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
  }
  .g-wk { display: block; flex: none; }
  .g-track { flex-basis: 100%; }
  .g-track i { height: 12px; }
  .hero-eyebrow { white-space: nowrap; }
  .hero-eyebrow .eb-full { display: none; }
  .hero-eyebrow .eb-short { display: inline; }
  .hero-stat { padding: 16px 20px 18px; }
  .commit { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-meta { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand-col p { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-bg { opacity: 0.45; }
}

/* very narrow phones: two tile columns so long labels stay legible */
@media (max-width: 430px) {
  .cap-tiles { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: clamp(28px, 8vw, 34px); }
  .tel { font-size: clamp(30px, 11vw, 42px); }
}

/* short / landscape viewports: compress the tall dark panels */
@media (max-height: 560px) and (min-width: 620px) {
  .hero-inner { padding-top: clamp(44px, 8vh, 72px); padding-bottom: clamp(28px, 5vh, 44px); }
}

@media (orientation: landscape) and (max-width: 900px) {
  .hero-inner { padding-top: 52px; padding-bottom: 36px; }
  .hero h1 { font-size: clamp(30px, 6vw, 46px); }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stat:nth-child(-n+2) { border-bottom: none; }
  .hero-stat:nth-child(2n) { border-right: 1px solid var(--dark-line); }
  .hero-stat:last-child { border-right: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  [data-reveal], .stagger > * { opacity: 1 !important; transform: none !important; }
}
