:root {
  --bg: #f4f1ea;
  --surface: #fffdf8;
  --surface-strong: #f9f5ee;
  --ink: #11233b;
  --muted: #5f6c7b;
  --line: rgba(17, 35, 59, 0.12);
  --brand: #0d5c63;
  --brand-strong: #073b4c;
  --accent: #c7792b;
  --accent-soft: #f2ddc5;
  --success: #2f7d4a;
  --shadow: 0 24px 60px rgba(18, 30, 48, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(199, 121, 43, 0.12), transparent 28%),
    linear-gradient(180deg, #fbf7f1 0%, #f4f1ea 42%, #fcfaf6 100%);
  line-height: 1.6;
}

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

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

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(252, 250, 246, 0.88);
  border-bottom: 1px solid rgba(17, 35, 59, 0.08);
}

.site-header__inner,
.section,
.site-footer__inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand img {
  width: 54px;
  height: 54px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
}

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

.site-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-strong);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  color: var(--brand-strong);
}

.hero {
  padding: 38px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13, 92, 99, 0.1);
  color: var(--brand-strong);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-grid,
.split-grid,
.news-grid,
.card-grid,
.stats-grid,
.footer-grid,
.contact-grid,
.jobs-grid,
.leadership-grid,
.documents-grid,
.timeline,
.feature-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.35fr 0.9fr;
  align-items: stretch;
  margin-top: 26px;
}

.hero-copy,
.hero-panel,
.panel,
.feature-card,
.news-card,
.document-card,
.contact-card,
.job-card,
.timeline-card,
.metric-card,
.quote-card,
.legal-card {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(17, 35, 59, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 92, 99, 0.18), transparent 68%);
}

.hero-copy h1 {
  margin: 16px 0 18px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.8rem, 4vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.hero-copy p,
.section-copy p,
.card-copy,
.muted {
  color: var(--muted);
}

.hero-actions,
.pill-list,
.meta-list,
.quick-links,
.document-links,
.badge-list,
.footer-links,
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button {
  background: var(--brand-strong);
  color: #fff;
}

.button-secondary {
  background: var(--accent);
  color: #fff;
}

.button-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-1px);
}

.hero-panel {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(7, 59, 76, 0.96), rgba(13, 92, 99, 0.92)),
    linear-gradient(120deg, rgba(199, 121, 43, 0.16), transparent);
  color: #f7fbff;
}

.hero-panel .muted,
.hero-panel p {
  color: rgba(247, 251, 255, 0.78);
}

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

.stock-cell {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stock-cell strong,
.metric-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
}

.metric-label,
.stock-cell span,
.mini-label {
  color: inherit;
  opacity: 0.78;
  font-size: 0.92rem;
}

.quote-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.section {
  padding: 34px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.section-header h2,
.section-header h1 {
  margin: 10px 0 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-header p {
  max-width: 60ch;
}

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

.metric-card {
  padding: 24px;
}

.metric-card strong {
  display: block;
  font-size: 2.2rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin-bottom: 8px;
}

.split-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.panel {
  padding: 28px;
}

.panel h3,
.feature-card h3,
.news-card h3,
.document-card h3,
.job-card h3,
.contact-card h3,
.timeline-card h3,
.legal-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.feature-grid,
.card-grid,
.leadership-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.news-card,
.document-card,
.job-card,
.contact-card,
.timeline-card,
.legal-card {
  padding: 24px;
}

.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13, 92, 99, 0.1);
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 0.9rem;
}

.news-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.news-card--featured {
  min-height: 100%;
}

.documents-grid {
  grid-template-columns: repeat(4, 1fr);
}

.document-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.document-links a {
  color: var(--brand);
  font-weight: 800;
}

.timeline {
  grid-template-columns: repeat(4, 1fr);
}

.timeline-card {
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: attr(data-year);
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.quote-card {
  padding: 26px;
  background: linear-gradient(180deg, #fefbf6, #f4ebdf);
}

.tabs {
  margin-bottom: 18px;
}

.tab-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  font-weight: 800;
}

.tab-button[aria-selected="true"] {
  color: #fff;
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.tab-panel[hidden] {
  display: none;
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

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

.job-card .button-ghost,
.contact-card .button-ghost,
.news-card .button-ghost,
.document-card .button-ghost {
  align-self: flex-start;
}

.support-form {
  display: grid;
  gap: 14px;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.support-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(47, 125, 74, 0.12);
  color: var(--success);
  font-weight: 700;
}

.site-footer {
  margin-top: 44px;
  border-top: 1px solid rgba(17, 35, 59, 0.08);
  background: rgba(255, 253, 248, 0.86);
}

.site-footer__inner {
  padding: 32px 0 40px;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
}

.footer-links {
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-meta {
  color: var(--muted);
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(17, 35, 59, 0.08);
  color: var(--muted);
  font-size: 0.94rem;
}

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

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

.mobile-nav {
  display: none;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .stats-grid,
  .feature-grid,
  .news-grid,
  .documents-grid,
  .timeline,
  .jobs-grid,
  .contact-grid,
  .footer-grid,
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid .news-card--featured,
  .contact-grid .panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .site-nav,
  .header-actions .button-ghost {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav {
    display: none;
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto 18px;
    background: rgba(255, 253, 248, 0.97);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow);
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 10px;
  }

  .mobile-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 700;
  }

  .mobile-nav a[aria-current="page"] {
    background: rgba(13, 92, 99, 0.08);
    color: var(--brand-strong);
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 20px;
  }

  .hero-copy,
  .hero-panel,
  .panel,
  .feature-card,
  .news-card,
  .document-card,
  .job-card,
  .contact-card,
  .timeline-card,
  .metric-card,
  .quote-card,
  .legal-card {
    padding: 22px;
    border-radius: 22px;
  }

  .hero-grid,
  .split-grid,
  .stats-grid,
  .feature-grid,
  .news-grid,
  .documents-grid,
  .timeline,
  .jobs-grid,
  .contact-grid,
  .footer-grid,
  .leadership-grid,
  .stock-strip {
    grid-template-columns: 1fr;
  }

  .section-header,
  .footer-bar {
    display: block;
  }

  .hero-copy h1 {
    max-width: none;
  }
}
