:root {
  --bg: #050c15;
  --bg-elevated: #091728;
  --bg-card: #0b1d30;
  --border: #16304d;
  --text: #dce6f2;
  --text-muted: #8ba0b8;
  --headline: #eaf2fb;
  --accent: #ff8b34;
  --accent-soft: #ffae75;
  --success: #7ac99d;
  --shadow: 0 14px 34px rgba(1, 10, 22, 0.45);
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-sm: 10px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 5% -10%, #0e2a45 0%, transparent 38%),
    radial-gradient(circle at 100% 110%, #261811 0%, transparent 30%),
    var(--bg);
}

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

a:hover {
  color: #f2f7ff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  background: #112943;
  color: var(--headline);
}

.skip-link:focus {
  top: 0.8rem;
}

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(22, 48, 77, 0.6);
  background: rgba(5, 12, 21, 0.87);
  backdrop-filter: blur(9px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-name {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--headline);
}

.brand-sep {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.brand-domain {
  letter-spacing: 0.24em;
  font-size: 0.73rem;
  color: var(--text-muted);
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.56rem 0.78rem;
  border-radius: 999px;
  font-size: 0.94rem;
  color: var(--text-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--headline);
  background: rgba(20, 46, 74, 0.8);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--headline);
  padding: 0.5rem 0.74rem;
  font: inherit;
}

main {
  display: block;
}

.section {
  padding: clamp(3.2rem, 4vw, 5.2rem) 0;
  border-bottom: 1px solid rgba(22, 48, 77, 0.56);
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.4rem;
  align-items: start;
}

.hero-title {
  margin: 1.25rem 0 1rem;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--headline);
}

.accent {
  color: var(--accent);
}

.hero-copy {
  margin: 0;
  max-width: 66ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  border-radius: 999px;
  padding: 0.62rem 1.1rem;
  border: 1px solid var(--border);
  color: var(--headline);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #ff9c4c 0%, var(--accent) 100%);
  border-color: #ff9f52;
  color: #21150d;
}

.btn-secondary {
  background: rgba(12, 32, 50, 0.85);
}

.btn-text {
  border-color: transparent;
  padding-inline: 0.4rem;
  color: var(--text-muted);
}

.badges-area {
  margin-top: 2.4rem;
}

.badges-area h2 {
  margin: 0 0 0.95rem;
  font-size: 0.8rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(120px, 28vw);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(31, 72, 114, 0.65);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16, 34, 53, 0.92) 0%, rgba(8, 21, 36, 0.92) 100%);
  box-shadow: var(--shadow);
}

.badge-link img {
  width: 92%;
  height: auto;
}

.hero-media {
  background: linear-gradient(180deg, rgba(12, 28, 43, 0.95) 0%, rgba(9, 22, 37, 0.95) 100%);
  border: 1px solid rgba(23, 53, 86, 0.72);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media figcaption {
  padding: 0.8rem 1.05rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-stats {
  margin-top: 1rem;
  border: 1px solid rgba(23, 53, 86, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(7, 20, 34, 0.95);
  padding: 1rem 1.1rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.22rem 0;
  border-bottom: 1px solid rgba(24, 54, 85, 0.5);
}

.stat-row:last-child {
  border-bottom: 0;
}

.stat-key {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-transform: lowercase;
  letter-spacing: 0.08em;
}

.stat-value {
  color: var(--headline);
  font-size: 0.97rem;
  text-align: right;
}

.stat-value.accent {
  color: var(--accent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.feature-card {
  padding: 0.25rem 0.2rem;
}

.feature-card h2,
.feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  color: #a3b4c8;
  font-size: 1rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 1.7rem;
  align-items: start;
}

.story-lead h2 {
  margin: 0.85rem 0 1rem;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--headline);
  line-height: 1.06;
}

.story-lead p {
  margin: 0;
  color: var(--text-muted);
  max-width: 34ch;
}

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

.story-card {
  border: 1px solid rgba(22, 48, 77, 0.8);
  border-radius: var(--radius-lg);
  background: rgba(10, 24, 40, 0.88);
  padding: 1.25rem 1.1rem;
}

.story-card h3 {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.story-card p {
  margin: 0.5rem 0 0;
  color: #a5b6cb;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 1.6rem;
  align-items: start;
}

.contact-lead h2 {
  margin: 0.9rem 0 1rem;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--headline);
}

.contact-lead p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36ch;
}

.meta-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(24, 54, 84, 0.62);
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(24, 54, 84, 0.62);
}

.meta-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: lowercase;
}

.meta-value {
  color: var(--headline);
  font-size: 0.95rem;
}

.form-shell {
  border: 1px solid rgba(23, 53, 86, 0.8);
  border-radius: var(--radius-xl);
  background: rgba(8, 21, 36, 0.95);
  padding: 1.1rem 1.1rem 1.2rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

label {
  font-size: 0.82rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--text-muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(27, 59, 90, 0.9);
  border-radius: 12px;
  background: #061221;
  color: var(--headline);
  font: inherit;
  padding: 0.76rem 0.86rem;
}

input::placeholder,
textarea::placeholder {
  color: #6f839a;
}

textarea {
  min-height: 165px;
  resize: vertical;
}

.form-notes {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.form-status {
  margin: 0;
  font-size: 0.89rem;
  color: var(--text-muted);
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: #ff9d87;
}

.submit-button {
  width: 100%;
  margin-top: 0.85rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff9d52 0%, var(--accent) 100%);
  color: #21150d;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  padding: 0.83rem 1rem;
  cursor: pointer;
}

.submit-button:hover {
  filter: brightness(1.05);
}

.page-hero {
  padding: clamp(2.7rem, 4vw, 4rem) 0 2rem;
}

.page-hero h1 {
  margin: 0.8rem 0 0.8rem;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: clamp(2.1rem, 4.3vw, 3.4rem);
  color: var(--headline);
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 64ch;
  font-size: 1.04rem;
}

.section-heading {
  margin-bottom: 1.15rem;
}

.section-heading h2 {
  margin: 0.65rem 0 0;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
  color: var(--headline);
}

.surface {
  border: 1px solid rgba(22, 48, 77, 0.8);
  border-radius: var(--radius-lg);
  background: rgba(10, 24, 40, 0.86);
  padding: 1.1rem;
}

.surface h2,
.surface h3 {
  margin: 0 0 0.55rem;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  color: var(--headline);
}

.surface p,
.surface li {
  color: #a5b6ca;
}

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

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

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.timeline li {
  border-left: 3px solid rgba(255, 139, 52, 0.5);
  padding-left: 0.85rem;
}

.timeline strong {
  color: var(--headline);
}

.document-list {
  margin-top: 1rem;
}

.document-title {
  display: block;
  color: var(--headline);
  font-weight: 700;
  line-height: 1.35;
}

a.document-title {
  text-decoration: underline;
  text-decoration-color: rgba(255, 139, 52, 0.55);
  text-underline-offset: 0.18em;
}

a.document-title:hover {
  color: #ffffff;
  text-decoration-color: var(--accent);
}

.document-meta {
  display: block;
  margin-top: 0.18rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.pills li {
  border: 1px solid rgba(30, 67, 103, 0.85);
  border-radius: 999px;
  color: #aec0d4;
  font-size: 0.87rem;
  padding: 0.34rem 0.72rem;
}

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

.media-grid figure {
  margin: 0;
  border: 1px solid rgba(22, 48, 77, 0.8);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(8, 20, 34, 0.95);
}

.media-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-grid figcaption {
  padding: 0.6rem 0.7rem 0.8rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.placeholder-note {
  margin: 0.4rem 0 0;
  color: #f0bf95;
  font-size: 0.9rem;
}

.site-footer {
  padding: 1.45rem 0 2.8rem;
  border-top: 1px solid rgba(22, 48, 77, 0.56);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 930px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 4vw;
    width: min(270px, 90vw);
    border: 1px solid rgba(22, 48, 77, 0.92);
    border-radius: 12px;
    background: rgba(6, 17, 29, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.45rem;
  }

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

  .site-nav a {
    width: 100%;
    border-radius: 10px;
  }

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

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

@media (max-width: 670px) {
  .brand-name {
    font-size: 1.5rem;
  }

  .brand-domain {
    display: none;
  }

  .feature-grid,
  .grid-2,
  .grid-3,
  .story-cards,
  .media-grid {
    grid-template-columns: 1fr;
  }

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