:root {
  color-scheme: light;
  --bg: #f4efe8;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: #ffffff;
  --text: #1b2530;
  --muted: #5c6775;
  --line: rgba(27, 37, 48, 0.1);
  --brand: #1d3c60;
  --brand-deep: #10243a;
  --accent: #a06e46;
  --accent-soft: #d9b08a;
  --callout-accent: #1d3c60;
  --callout-accent-soft: #9fb7d0;
  --shadow: 0 20px 50px rgba(17, 25, 33, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 60, 96, 0.12), transparent 32%),
    radial-gradient(circle at right 15%, rgba(160, 110, 70, 0.12), transparent 28%),
    linear-gradient(180deg, #fcfaf7 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header,
.site-footer,
.hero,
.section,
.page-content,
.contact-grid {
  width: 100%;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.site-header.compact {
  margin-bottom: 28px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-lockup-image {
  display: block;
  width: clamp(190px, 30vw, 320px);
  height: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--brand-deep), var(--brand));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand-copy span,
.eyebrow,
.card-kicker,
.site-footer {
  color: var(--muted);
}

.card-meta {
  margin: 12px 0 0;
  color: var(--brand-deep);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

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

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(29, 60, 96, 0.08);
  color: var(--brand-deep);
}

.nav-cta {
  background: var(--brand);
  color: #fff !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--brand-deep);
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-strong);
  padding: 10px 14px;
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 26px;
}

.hero-content,
.hero-panel,
.section,
.page-content,
.contact-grid {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-content,
.section,
.page-content {
  padding: 28px;
}

.hero-content {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 380px;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--brand-deep);
  text-wrap: balance;
}

.content-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-deep);
}

.lede {
  max-width: 64ch;
  font-size: 1.08rem;
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

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

.button-secondary {
  background: rgba(160, 110, 70, 0.12);
  color: var(--brand-deep);
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.panel-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(29, 60, 96, 0.1);
}

.panel-card span,
.panel-card strong,
.panel-card p {
  display: block;
}

.panel-card span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.panel-card strong {
  font-size: 1.15rem;
  color: var(--brand-deep);
}

.section,
.page-content {
  margin-bottom: 26px;
}

.section-heading {
  max-width: 66ch;
  margin-bottom: 22px;
}

.section-heading h2,
.section-split h2,
.info-card h2,
.info-card h3 {
  margin: 0;
  color: var(--brand-deep);
}

.section-heading h2,
.section-split h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
}

.section-heading p,
.split-copy p,
.info-card p {
  line-height: 1.7;
  color: var(--muted);
}

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

.info-card {
  padding: 22px;
  border-radius: 22px;
  background: var(--panel-strong);
  border: 1px solid rgba(29, 60, 96, 0.12);
  border-top: 4px solid var(--callout-accent);
  box-shadow: 0 14px 30px rgba(17, 25, 33, 0.06);
}

.info-card .card-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--callout-accent);
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.info-card a {
  color: var(--callout-accent);
  font-weight: 700;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.split-copy {
  display: grid;
  gap: 12px;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--panel-strong);
  border: 1px solid rgba(29, 60, 96, 0.12);
  box-shadow: 0 14px 30px rgba(17, 25, 33, 0.05);
}

.timeline-item h3 {
  margin: 0 0 8px;
  color: var(--brand-deep);
}

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

.timeline-year {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--callout-accent);
}

.content-hero {
  max-width: 72ch;
  padding: 6px 0 4px;
}

.page-content {
  padding-bottom: 10px;
}

.contact-grid {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 0 4px;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  padding: 18px 20px;
  border: 1px solid rgba(29, 60, 96, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(17, 25, 33, 0.22);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.cookie-banner__copy {
  display: grid;
  gap: 6px;
  max-width: 70ch;
}

.cookie-banner__copy strong {
  color: var(--brand-deep);
  font-size: 1rem;
}

.cookie-banner__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner__button--primary {
  background: var(--brand);
  color: #fff;
}

.cookie-banner__button--secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--brand-deep);
}

@media (max-width: 900px) {
  .hero,
  .section-split,
  .card-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: unset;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 10px;
  }

  .site-header {
    position: relative;
    flex-wrap: wrap;
  }

  .brand-lockup-image {
    width: min(84vw, 300px);
  }

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

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 4px;
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
  }

  .site-footer {
    flex-direction: column;
  }

  .cookie-banner {
    width: calc(100% - 20px);
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__button {
    width: 100%;
  }
}
