:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #5f6862;
  --paper: #f8f7f1;
  --panel: #ffffff;
  --line: #d8ddd5;
  --forest: #1f6b4d;
  --forest-dark: #0f3e31;
  --clay: #b45439;
  --ochre: #d9a441;
  --water: #2f6f8f;
  --shadow: 0 22px 60px rgba(19, 28, 23, 0.18);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

code {
  font-family: "Courier New", monospace;
  font-size: 0.94em;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 52px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.topbar[data-elevated="true"] {
  color: var(--ink);
  background: rgba(248, 247, 241, 0.94);
  box-shadow: 0 10px 30px rgba(19, 28, 23, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0;
}

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

.top-action {
  padding: 10px 15px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  padding: 120px clamp(18px, 5vw, 72px) 34px;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 48%;
  filter: saturate(0.94) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 15, 13, 0.86), rgba(9, 15, 13, 0.52) 44%, rgba(9, 15, 13, 0.18)),
    linear-gradient(0deg, rgba(9, 15, 13, 0.72), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-bottom: 62px;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 12vw, 150px);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin: 28px 0 0;
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.35;
}

.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: 13px 18px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.1;
}

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

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.hero-status {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1040px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.hero-status span {
  min-height: 78px;
  padding: 18px;
  background: rgba(16, 28, 24, 0.72);
  font-size: 15px;
  line-height: 1.35;
}

.hero-status strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-title {
  max-width: 850px;
}

.section h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: 0;
}

.section p {
  line-height: 1.6;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  background: #fff;
}

.intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.workflow {
  background: #eef1e8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
}

.steps article {
  min-height: 250px;
  padding: 24px;
  background: #fff;
}

.steps span {
  display: block;
  margin-bottom: 52px;
  color: var(--clay);
  font-weight: 700;
}

.steps p,
.feature-panel p {
  margin: 0;
  color: var(--muted);
}

.capabilities {
  background: #f8f7f1;
}

.capability-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  margin-top: 42px;
}

.feature-list {
  display: grid;
  gap: 8px;
}

.feature-tab {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.feature-tab.active {
  color: #fff;
  border-color: var(--forest-dark);
  background: var(--forest-dark);
}

.feature-panels {
  min-height: 330px;
  padding: clamp(28px, 6vw, 58px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 62, 49, 0.94), rgba(47, 111, 143, 0.9)),
    url("assets/karasu-field-map.jpg") center / cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-panel {
  max-width: 720px;
}

.feature-panel h3 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

.feature-panel p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.package {
  background: #fff;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  background: var(--line);
}

.package-grid p {
  min-height: 116px;
  margin: 0;
  padding: 22px;
  color: var(--ink);
  background: #f8f7f1;
  font-size: 20px;
  font-weight: 700;
}

.package-grid p:nth-child(2),
.package-grid p:nth-child(5) {
  border-top: 5px solid var(--clay);
}

.package-grid p:nth-child(3),
.package-grid p:nth-child(4) {
  border-top: 5px solid var(--water);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  color: #fff;
  background: var(--forest-dark);
}

.contact .button.primary {
  background: var(--clay);
}

.strategy-page {
  background: #f3f0e8;
}

.strategy-hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  padding: 120px clamp(18px, 5vw, 72px) 34px;
}

.strategy-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
  filter: saturate(0.9) contrast(1.04);
}

.strategy-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 20, 18, 0.9), rgba(8, 20, 18, 0.58) 48%, rgba(8, 20, 18, 0.22)),
    linear-gradient(0deg, rgba(8, 20, 18, 0.78), transparent 46%);
}

.strategy-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding-bottom: 44px;
}

.strategy-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(48px, 9vw, 126px);
  line-height: 0.92;
  letter-spacing: 0;
}

.strategy-lead {
  max-width: 790px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2.1vw, 27px);
  line-height: 1.38;
}

.strategy-position {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  padding: 24px clamp(20px, 4vw, 36px);
  border-left: 5px solid var(--ochre);
  background: rgba(16, 28, 24, 0.78);
  box-shadow: var(--shadow);
}

.strategy-position p {
  max-width: 820px;
  margin: 0;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.45;
}

.strategy-section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.strategy-section-title {
  max-width: 940px;
}

.strategy-section-title h2,
.focus-copy h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.strategy-section-title p,
.focus-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.strategy-priorities {
  background: #fff;
}

.current-state-section {
  background: #fff;
}

.current-state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
}

.current-state-grid article {
  min-height: 210px;
  padding: 24px;
  background: #f8f7f1;
}

.current-state-grid h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.15;
}

.current-state-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.coverage-section {
  background: #eef1e8;
}

.coverage-table-wrap {
  margin-top: 38px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.coverage-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
}

.coverage-table th,
.coverage-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.45;
  text-align: left;
}

.coverage-table thead th {
  color: #fff;
  background: var(--forest-dark);
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.coverage-table tbody th {
  width: 220px;
  color: var(--forest-dark);
  font-size: 16px;
}

.coverage-table tbody td {
  color: var(--muted);
}

.coverage-table tbody td:nth-child(2) {
  width: 150px;
  color: var(--ink);
  font-weight: 700;
}

.coverage-table tbody tr:nth-child(even) {
  background: #fbfaf5;
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
}

.priority-item {
  min-height: 260px;
  padding: 24px;
  background: #f8f7f1;
}

.priority-item span {
  display: block;
  margin-bottom: 54px;
  color: var(--clay);
  font-weight: 700;
}

.priority-item h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.15;
}

.priority-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.priority-core {
  color: #fff;
  background: var(--forest-dark);
}

.priority-core p {
  color: rgba(255, 255, 255, 0.82);
}

.roles-section {
  background: #eef1e8;
}

.roles-table-wrap {
  margin-top: 38px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 50px rgba(19, 28, 23, 0.1);
}

.roles-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.roles-table th,
.roles-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
  text-align: left;
}

.roles-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #fff;
  background: var(--forest-dark);
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.roles-table tbody th {
  width: 210px;
  color: var(--forest-dark);
  font-size: 17px;
}

.roles-table tbody td {
  color: var(--muted);
}

.roles-table tbody tr:nth-child(even) {
  background: #fbfaf5;
}

.roles-table tbody tr:last-child th,
.roles-table tbody tr:last-child td {
  border-bottom: 0;
}

.organization-section {
  background: #fff;
}

.organization-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
}

.organization-grid article {
  min-height: 300px;
  padding: 24px;
  background: #f8f7f1;
}

.organization-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--clay);
  font-weight: 700;
}

.organization-grid h3 {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.15;
}

.organization-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.organization-grid .organization-type {
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 700;
}

.product-line-section {
  background: #eef1e8;
}

.product-line-table-wrap {
  margin-top: 38px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.product-line-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}

.product-line-table th,
.product-line-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
  text-align: left;
}

.product-line-table thead th {
  color: #fff;
  background: var(--forest-dark);
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-line-table tbody th {
  width: 180px;
  color: var(--forest-dark);
  font-size: 17px;
}

.product-line-table tbody td {
  color: var(--muted);
}

.product-line-table tbody tr:nth-child(even) {
  background: #fbfaf5;
}

.product-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
}

.product-notes article {
  min-height: 170px;
  padding: 22px;
  background: #fff;
}

.product-notes h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.product-notes p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.market-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0;
  background: var(--line);
}

.market-summary-grid article {
  min-height: 180px;
  padding: 22px;
  background: #fff;
}

.market-summary-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--copper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  font-weight: 700;
}

.market-summary-grid h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.market-summary-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.source-list {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.source-list p {
  margin: 0;
}

.source-list p + p {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.source-list a {
  color: var(--forest-dark);
  font-weight: 700;
  text-decoration: none;
}

.source-list a:hover {
  text-decoration: underline;
}

.quarter-plan-section {
  background: #fff;
}

.quarter-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
}

.quarter-plan-grid article {
  min-height: 280px;
  padding: 24px;
  background: #f8f7f1;
}

.quarter-plan-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--clay);
  font-weight: 700;
}

.quarter-plan-grid h3 {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.15;
}

.quarter-plan-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.quarter-plan-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.quarter-plan-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.quarter-plan-table th,
.quarter-plan-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
  text-align: left;
}

.quarter-plan-table thead th {
  color: #fff;
  background: var(--forest-dark);
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.quarter-plan-table tbody th {
  width: 280px;
  color: var(--forest-dark);
}

.quarter-plan-table tbody td {
  color: var(--muted);
}

.quarter-impact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
}

.quarter-impact article {
  padding: 22px;
  background: #fff;
}

.quarter-impact h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.quarter-impact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.next-quarter-section {
  background: #eef1e8;
}

.next-stage-section {
  background: #fff;
}

.stage-detail-section {
  background: #eef1e8;
}

.stage-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
}

.stage-detail-grid article {
  min-height: 390px;
  padding: 24px;
  background: #fff;
}

.stage-detail-grid span {
  display: block;
  margin-bottom: 36px;
  color: var(--clay);
  font-weight: 700;
}

.stage-detail-grid h3 {
  margin: 0 0 16px;
  font-size: 23px;
  line-height: 1.15;
}

.stage-detail-grid p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.stage-detail-grid p:last-child {
  margin-bottom: 0;
}

.stage-detail-grid strong {
  color: var(--ink);
}

.next-quarter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
}

.next-quarter-grid article {
  min-height: 250px;
  padding: 24px;
  background: #fff;
}

.next-quarter-grid span {
  display: block;
  margin-bottom: 36px;
  color: var(--clay);
  font-weight: 700;
}

.next-quarter-grid h3 {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.15;
}

.next-quarter-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.focus-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  color: #fff;
  background: var(--forest-dark);
}

.focus-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.focus-list span {
  min-height: 92px;
  display: grid;
  align-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  line-height: 1.25;
}

@media (max-width: 880px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .top-action {
    justify-self: end;
  }

  .hero {
    min-height: 94vh;
    padding-top: 96px;
  }

  .hero-content {
    padding-bottom: 34px;
  }

  .hero-status,
  .intro,
  .steps,
  .capability-layout,
  .package-grid,
  .contact,
  .current-state-grid,
  .priority-grid,
  .organization-grid,
  .product-notes,
  .market-summary-grid,
  .quarter-plan-grid,
  .quarter-impact,
  .next-quarter-grid,
  .stage-detail-grid,
  .focus-section {
    grid-template-columns: 1fr;
  }

  .steps article {
    min-height: 190px;
  }

  .steps span {
    margin-bottom: 28px;
  }

  .strategy-hero {
    min-height: 92vh;
    padding-top: 96px;
  }

  .strategy-hero-content {
    padding-bottom: 28px;
  }

  .priority-item {
    min-height: 190px;
  }

  .priority-item span {
    margin-bottom: 28px;
  }
}

@media (max-width: 520px) {
  .topbar {
    min-height: 62px;
    gap: 10px;
    padding-inline: 14px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .top-action {
    padding: 9px 10px;
    font-size: 13px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .feature-panels {
    min-height: 300px;
  }

  .strategy-hero h1 {
    font-size: 44px;
  }

  .focus-list {
    grid-template-columns: 1fr;
  }
}
