:root {
  --bg: #f2ede4;
  --surface: #ffffff;
  --surface-2: #f8f4ec;
  --text: #111c2b;
  --muted: #5f6b7a;
  --line: #d9d1c6;
  --navy: #091624;
  --navy-2: #102235;
  --accent: #b88a4a;
  --accent-2: #d0b077;
  --shadow: 0 22px 50px rgba(8, 20, 32, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 15%, rgba(184, 138, 74, 0.09), transparent 25%),
    radial-gradient(circle at 85% 10%, rgba(16, 34, 53, 0.08), transparent 22%);
  z-index: -1;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 999px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(9, 22, 36, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 38px rgba(2, 8, 16, 0.24);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(184, 138, 74, 0.95), rgba(208, 176, 119, 0.82));
  color: #08111c;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(208, 176, 119, 0.45);
  background: rgba(208, 176, 119, 0.1);
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

main {
  padding-top: 80px;
}

.breadcrumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb span.sep {
  margin: 0 10px;
  color: #a6b0bd;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 58px;
  background: linear-gradient(180deg, #091624 0%, #0d1a2a 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 90%);
}

.hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(208, 176, 119, 0.18) 0, rgba(208, 176, 119, 0.1) 30%, rgba(208, 176, 119, 0) 70%);
  filter: blur(8px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(208, 176, 119, 0.2), rgba(208, 176, 119, 1));
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-2);
}

.hero .subhead {
  margin: 24px 0 0;
  max-width: 62ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.74);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #08111c;
  box-shadow: 0 14px 30px rgba(184, 138, 74, 0.18);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(184, 138, 74, 0.24);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 600;
}

.chip strong {
  color: #fff;
}

.hero-panel {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel-grid {
  display: grid;
  gap: 14px;
}

.panel-card {
  background: rgba(8, 17, 28, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
}

.panel-card .kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 8px;
}

.panel-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
}

.panel-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.panel-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.mini-stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
}

.mini-stat .value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.mini-stat .label {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.section {
  padding: 78px 0;
}

.section--surface {
  background: var(--bg);
}

.section--paper {
  background: #f8f5ef;
  border-top: 1px solid rgba(16, 34, 53, 0.06);
  border-bottom: 1px solid rgba(16, 34, 53, 0.06);
}

.section--dark {
  background: var(--navy);
  color: #fff;
}

.section-head {
  margin-bottom: 30px;
  max-width: 780px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 68ch;
}

.section--dark .section-eyebrow {
  color: #d8bc8b;
}

.section--dark .section-head h2,
.section--dark .section-head p {
  color: #fff;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(9, 22, 36, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(9, 22, 36, 0.08);
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.section--dark .card h3,
.section--dark .card p {
  color: #fff;
}

.card-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.card-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.card-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex: 0 0 7px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

.stat .value {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat .label {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.timeline-index {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(184, 138, 74, 0.12);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.2rem;
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  overflow: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

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

.table th {
  background: rgba(184, 138, 74, 0.08);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #415063;
}

.table td {
  color: var(--text);
}

.table tr:last-child td {
  border-bottom: 0;
}

.kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kv {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.kv .k {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.kv .v {
  font-size: 1.08rem;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}

.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

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

.footer {
  padding: 34px 0 44px;
  background: #08111c;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
}

.footer h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.68);
}

.footer a:hover {
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .tiny {
  color: rgba(255, 255, 255, 0.52);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(184, 138, 74, 0.12);
  color: #8c6732;
  font-size: 12px;
  font-weight: 700;
}

.hero .badge {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

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

.hero .note {
  color: rgba(255, 255, 255, 0.56);
}

.rule {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}

.hero .rule {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1120px) {
  .hero-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(9, 22, 36, 0.98);
    padding: 18px 20px 22px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .grid-3,
  .grid-2,
  .stats,
  .kv-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
