:root {
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --surface-warm: #FBFAF7;
  --ink: #1A1A1A;
  --ink-soft: #47453F;
  --ink-muted: #6E6B63;
  --accent: #0E7490;
  --accent-deep: #155E75;
  --accent-bright: #06B6D4;
  --accent-soft: #E3F2F5;
  --accent-faint: #EEF6F8;
  --line: #E6E2D9;
  --band: #0E7490;
  --band-ink: #FFFFFF;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navigation ---------- */
.site-header {
  position: relative;
  z-index: 50;
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.main-nav.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: var(--accent);
  color: var(--band-ink);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

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

.brand-sub {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  color: var(--ink);
}

.nav-cta-label {
  font-size: 11px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-cta-num {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.fresh-start {
  padding: 150px 0 90px;
  background-color: var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding: 7px 14px;
  background-color: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 52px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--band-ink);
}

.btn-primary:hover {
  background-color: var(--accent-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--accent-deep);
  border-color: var(--accent);
}

.btn-ghost:hover {
  background-color: var(--accent-soft);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-panel {
  position: relative;
  background-color: var(--accent);
  color: var(--band-ink);
  border-radius: 18px;
  padding: 34px 30px;
  max-width: 360px;
  transform: rotate(2deg);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid var(--accent-bright);
  transform: rotate(-4deg) translate(-14px, 14px);
  z-index: -1;
}

.hero-panel-index {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 18px;
}

.hero-quote {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 26px;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--accent-bright);
  padding-top: 18px;
}

.hero-tag-num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: var(--band-ink);
}

.hero-tag-label {
  font-size: 14px;
  line-height: 1.35;
  color: #D5EFF4;
}

/* ---------- Impact strip ---------- */
.impact-strip {
  background-color: var(--band);
  color: var(--band-ink);
  padding: 60px 0;
}

.impact-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.impact-statement {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.impact-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 3px solid var(--accent-bright);
  padding-left: 16px;
}

.metric-num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  font-size: 13px;
  line-height: 1.4;
  color: #D5EFF4;
}

/* ---------- Service track ---------- */
.service-track {
  padding: 90px 0;
  background-color: var(--surface-warm);
}

.track-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 10px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.track-note {
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 260px;
  text-align: right;
}

.track-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 8px 24px 26px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.track-scroll::-webkit-scrollbar {
  height: 8px;
}

.track-scroll::-webkit-scrollbar-thumb {
  background-color: var(--line);
  border-radius: 999px;
}

.track-scroll::-webkit-scrollbar-track {
  background-color: var(--surface);
}

.track-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 26px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.track-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-bright);
}

.track-card-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.track-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.track-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.track-card-text {
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Pledge statement ---------- */
.pledge-statement {
  padding: 100px 0;
  background-color: var(--bg);
}

.pledge-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: start;
}

.pledge-lead {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--ink);
  border-left: 5px solid var(--accent);
  padding-left: 28px;
}

.pledge-aside {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
}

.pledge-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--accent-deep);
}

.pledge-text {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* ---------- Capability tabs ---------- */
.capability-tabs {
  padding: 90px 0;
  background-color: var(--accent-faint);
}

.tabs-head {
  margin-bottom: 34px;
}

.tabs-control {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 11px 24px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background-color: var(--surface);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--band-ink);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
}

.tab-panel-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink);
}

.tab-panel-text p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.tab-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.tab-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--ink-soft);
}

.tab-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background-color: var(--accent-bright);
}

.tab-panel-figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--accent);
  color: var(--band-ink);
  border-radius: 14px;
  padding: 34px 28px;
  text-align: center;
}

.figure-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.figure-num {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
}

.figure-label {
  font-size: 14px;
  line-height: 1.4;
  color: #D5EFF4;
}

/* ---------- Contact ---------- */
.contact-section {
  padding: 100px 0;
  background-color: var(--surface-warm);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-text {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: var(--surface);
  color: var(--ink);
}

.contact-item-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
}

.contact-item-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.form-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--surface-warm);
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent-bright);
  border-color: var(--accent);
}

.form-note {
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--ink);
  color: var(--bg);
  padding: 30px 0;
}

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

.footer-brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--bg);
}

.footer-copy {
  font-size: 14px;
  color: #C9C5BB;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: var(--accent-bright);
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--bg);
}

.footer-legal {
  font-size: 13px;
  color: #9B978D;
}

/* ---------- Scroll reveal ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner,
  .impact-inner,
  .pledge-inner,
  .contact-inner,
  .tab-panel-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 42px;
  }

  .pledge-lead {
    font-size: 28px;
  }

  .track-note {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 71px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .fresh-start {
    padding-top: 120px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .impact-statement {
    font-size: 24px;
  }

  .impact-metrics {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
