:root {
  --ink: #171817;
  --muted: #61645f;
  --paper: #f7f3eb;
  --paper-2: #ebe2d4;
  --line: rgba(23, 24, 23, 0.12);
  --orange: #ec6a1a;
  --green: #5d7a61;
  --steel: #53616d;
  --white: #fffaf2;
  --shadow: 0 24px 70px rgba(27, 24, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(247, 243, 235, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  display: none;
}

.brand::before {
  content: "";
  width: 22px;
  height: 25px;
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.header-cta,
.button {
  text-decoration: none;
}

.header-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: #fff;
  background: #171817;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 11, 10, 0.84), rgba(10, 11, 10, 0.52) 42%, rgba(10, 11, 10, 0.16)),
    linear-gradient(0deg, rgba(10, 11, 10, 0.36), rgba(10, 11, 10, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(128px, 18vh, 190px) 0 148px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(76px, 14vw, 172px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 26px 0 0;
  font-size: clamp(28px, 4.8vw, 64px);
  font-weight: 850;
  line-height: 1.14;
}

.hero-copy span {
  white-space: nowrap;
}

.hero-sub {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0 22px;
  font-weight: 850;
}

.button.primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.button.secondary {
  color: #fff;
}

.signal-panel {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 56px);
  top: min(620px, calc(100svh - 116px));
  display: grid;
  grid-template-columns: repeat(3, minmax(94px, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(23, 24, 23, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.signal-panel div {
  padding: 16px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.signal-panel div:last-child {
  border-right: 0;
}

.metric-label {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 900;
}

.signal-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.1;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 32px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

.intro-band p {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.35;
}

.intro-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.intro-points span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 750;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 920px;
  margin-bottom: 42px;
}

.section-head.compact {
  margin-bottom: 26px;
}

h2 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(34px, 5.2vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow),
.platform-copy p:not(.eyebrow),
.safety-copy p:not(.eyebrow),
.contact p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.issue {
  min-height: 270px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.55);
}

.issue.highlight {
  background: #dfe8dd;
}

.issue-no {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.issue h3,
.case-view h3,
.phase h3,
.product-grid h3 {
  margin: 18px 0 0;
  font-size: 22px;
  line-height: 1.3;
}

.issue p,
.phase p,
.product-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.platform {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  background: #e9ece7;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 34px;
}

.flow span {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--orange);
  transform: translateY(-50%);
  z-index: 1;
}

.platform-visual {
  margin: 0;
}

.platform-visual img,
.case-view img,
.safety-copy img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.platform-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.case-tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.case-tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.case-view {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  min-height: 430px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  background: var(--white);
}

.case-view img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-kicker {
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.case-view p:not(.case-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.safety {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 80px);
  background: var(--ink);
  color: #fff;
}

.safety .eyebrow,
.contact .eyebrow {
  color: #ff8d45;
}

.safety-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.safety-copy img {
  margin-top: 34px;
  box-shadow: none;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  width: 100%;
  min-height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.accordion-item span {
  font-size: 20px;
  font-weight: 850;
}

.accordion-item small {
  color: #ffb385;
  font-weight: 850;
}

.accordion-item em {
  display: none;
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
}

.accordion-item.is-open {
  border-color: rgba(236, 106, 26, 0.8);
  background: rgba(236, 106, 26, 0.16);
}

.accordion-item.is-open em {
  display: block;
}

.roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.phase {
  position: relative;
  min-height: 250px;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}

.phase::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
}

.phase.is-current::before {
  background: var(--orange);
  border-color: var(--orange);
}

.phase span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.products {
  background: #eef0ed;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-grid article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 32px;
  align-items: end;
  padding: clamp(72px, 10vw, 130px) clamp(20px, 5vw, 72px);
  background: #171817;
  color: #fff;
}

.contact h2 {
  max-width: 850px;
}

.contact p {
  color: rgba(255, 255, 255, 0.7);
}

address {
  display: grid;
  gap: 10px;
  font-style: normal;
  font-weight: 750;
}

address a {
  color: #ffb385;
  font-size: 20px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .intro-band,
  .platform,
  .case-view,
  .safety,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro-points {
    justify-content: flex-start;
  }

  .issue-grid,
  .roadmap-track,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-panel {
    left: 20px;
    right: 20px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span {
    font-size: 15px;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 12px;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-inner {
    width: min(100% - 32px, 1120px);
    padding-top: 112px;
    padding-bottom: 190px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .signal-panel {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .signal-panel div {
    padding: 12px 10px;
  }

  .signal-panel strong {
    font-size: 16px;
  }

  .issue-grid,
  .roadmap-track,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .issue,
  .phase,
  .product-grid article {
    min-height: auto;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow span:not(:last-child)::after {
    display: none;
  }

  .case-view {
    padding: 14px;
  }

  .accordion-item {
    grid-template-columns: 1fr;
  }
}
