:root {
  --paper: #f7f4ec;
  --ink: #171614;
  --muted: #67625a;
  --line: rgba(23, 22, 20, 0.14);
  --blue: #2857d6;
  --green: #0f8f6b;
  --coral: #d45d46;
  --gold: #c7962e;
  --panel: rgba(255, 252, 244, 0.78);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
.field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f7f4ec 0%, #eef4f1 54%, #f4efe7 100%);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  background: rgba(247, 244, 236, 0.76);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark { width: 16px; height: 16px; background: conic-gradient(from 90deg, var(--blue), var(--green), var(--gold), var(--coral), var(--blue)); border-radius: 4px; }
nav { display: flex; gap: clamp(12px, 3vw, 28px); color: var(--muted); font-size: 0.95rem; }
nav a:hover { color: var(--ink); }
.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 7vw, 96px);
  padding: clamp(46px, 8vw, 92px) clamp(18px, 6vw, 86px) 7vh;
}
.eyebrow, .section-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(4.4rem, 13vw, 11.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}
.lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: #39352f;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ghost { background: rgba(255,255,255,0.32); }
.signal-panel {
  align-self: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(20, 33, 38, 0.12);
}
.panel-head, .metric-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); font-weight: 800; }
.live-dot { color: var(--green); }
.live-dot::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
.metric-row { padding: 20px 0 0; color: var(--muted); }
.metric-row strong { color: var(--ink); font-size: 2.4rem; }
.bars { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 10px; height: 160px; margin-top: 28px; }
.bars span { min-width: 20px; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--blue), var(--green)); animation: breathe 2.8s ease-in-out infinite alternate; animation-delay: calc(var(--h) * -0.015s); }
.section { padding: 74px clamp(18px, 6vw, 86px); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.work-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.66);
}
.card-index { color: var(--coral); font-weight: 900; }
.work-card h2 { margin: 72px 0 14px; font-size: clamp(1.35rem, 2vw, 2rem); }
.work-card p, .step p { color: var(--muted); line-height: 1.6; }
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink); color: var(--paper); }
.ticker-track { display: flex; width: max-content; gap: 48px; padding: 18px 0; animation: marquee 26s linear infinite; font-weight: 900; text-transform: uppercase; }
.ticker-track span { min-width: max-content; }
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 8vw, 110px); align-items: start; }
.section-title { margin: 0; font-size: clamp(2.4rem, 6vw, 5.8rem); line-height: 0.96; }
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.step span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 900; }
.step p { margin: 0; font-size: 1.08rem; }
.showcase {
  margin: 0 clamp(18px, 6vw, 86px) 72px;
  padding: clamp(28px, 5vw, 54px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e9efe9;
}
.showcase h2 { margin: 0; max-width: 780px; font-size: clamp(2rem, 5vw, 5rem); line-height: 1; }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(1.6); } }
@keyframes breathe { to { transform: scaleY(0.78); filter: hue-rotate(16deg); } }
@media (max-width: 880px) {
  .topbar { align-items: flex-start; }
  nav { font-size: 0.88rem; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 56px; }
  .card-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 210px; }
  .work-card h2 { margin-top: 46px; }
  .showcase { align-items: stretch; flex-direction: column; }
}
@media (max-width: 560px) {
  .topbar { position: relative; flex-direction: column; }
  h1 { font-size: clamp(4rem, 23vw, 6rem); }
  .signal-panel { padding: 18px; }
  .bars { height: 118px; }
  .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
}
