*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #0b3054;
  --ink-soft: #2a5070;
  --brand: #125aa2;
  --brand-deep: #0b3054;
  --rust: #125aa2;
  --paper: #d9f1fd;
  --paper-deep: #b8e2f8;
  --cream: #edf7fe;
  --shadow: rgba(11, 48, 84, 0.16);
  --line: rgba(11, 48, 84, 0.16);
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(18, 90, 162, 0.10), transparent 28%),
    radial-gradient(circle at bottom right, rgba(11, 48, 84, 0.07), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #edf7fe 100%);
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 5px,
      rgba(21, 38, 55, 0.02) 5px,
      rgba(21, 38, 55, 0.02) 6px
    );
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: inherit;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.topbar {
  background: var(--ink);
  color: #f7f4ec;
  border-bottom: 3px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 0;
  font-size: 0.92rem;
}

.topbar a {
  color: #d9f1fd;
  text-decoration: none;
}

.topbar__email {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(18, 90, 162, 0.20);
  box-shadow: 0 10px 24px var(--shadow);
  background: #d9f1fd;
}

.brand__text {
  display: grid;
  gap: 0.18rem;
}

.brand__text strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brand__text span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(11, 48, 84, 0.06);
  color: var(--ink);
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(18, 90, 162, 0.22);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  box-shadow: 0 10px 20px var(--shadow);
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2.2rem;
  padding: 3.2rem 0 2.2rem;
  align-items: center;
}

.hero__copy,
.page-hero__copy {
  display: grid;
  gap: 1.1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  background: rgba(18, 90, 162, 0.10);
  border: 1px solid rgba(18, 90, 162, 0.22);
  border-radius: 999px;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.35rem;
}

.lead,
.section-header p,
.service-card p,
.mini-card p,
.type-card p,
.partner-card p,
.partner-tile p,
.callout-panel p,
.yard-card p,
.source-item p,
.timeline__item p,
.hero-note p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 28px rgba(18, 90, 162, 0.28);
}

.button--secondary {
  background: var(--brand-deep);
  color: #fff;
  box-shadow: 0 14px 28px rgba(11, 48, 84, 0.22);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid var(--line);
}

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

.mini-card,
.service-card,
.type-card,
.partner-card,
.partner-tile,
.yard-card,
.callout-panel,
.source-item,
.hero-note,
.yard-note {
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 30px var(--shadow);
}

.mini-card {
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}

.mini-card strong {
  font-size: 1rem;
}

.mini-card__label,
.callout-panel__eyebrow,
.yard-note__heading,
.hero-note__label,
.cta-band__eyebrow {
  font-family: "Special Elite", cursive;
  color: var(--rust);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.hero__media,
.page-hero__media {
  position: relative;
  display: grid;
  gap: 1rem;
}

.stamp {
  position: absolute;
  top: -0.7rem;
  right: 0;
  transform: rotate(8deg);
  padding: 0.55rem 1rem;
  border: 2px solid rgba(18, 90, 162, 0.5);
  background: rgba(217, 241, 253, 0.90);
  color: var(--brand-deep);
  font-family: "Special Elite", cursive;
  text-transform: uppercase;
  z-index: 1;
  box-shadow: 0 14px 24px rgba(11, 48, 84, 0.12);
}

.photo-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px var(--shadow);
  background: #e6eef6;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card--large {
  min-height: 370px;
}

.hero__side-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 1rem;
}

.yard-note {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(11, 48, 84, 0.12);
  background: rgba(11, 48, 84, 0.06);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-deep);
}

.marquee__track span::after {
  content: "•";
  color: var(--rust);
  margin-left: 1rem;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 4.4rem 0;
}

.shell--tall {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.shell--tight {
  padding-top: 2.4rem;
  padding-bottom: 4.4rem;
}

.section-header {
  display: grid;
  gap: 0.8rem;
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.card-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

.card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  padding: 1.4rem;
  display: grid;
  gap: 0.75rem;
}

.service-card__index,
.timeline__year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(18, 90, 162, 0.10);
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 0.92rem;
}

.type-card {
  overflow: hidden;
}

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

.type-card__body {
  padding: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 1.4rem;
  align-items: start;
}

.split-layout__copy {
  display: grid;
  gap: 1rem;
}

.yard-grid {
  display: grid;
  gap: 1rem;
}

.yard-card,
.partner-tile,
.partner-card,
.source-item,
.callout-panel,
.hero-note {
  padding: 1.4rem;
}

.yard-card__note {
  color: var(--brand-deep);
  font-weight: 600;
}

.partner-tile {
  display: grid;
  gap: 0.7rem;
}

.partner-card {
  display: grid;
  gap: 0.8rem;
}

.partner-card__header {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
}

.partner-card__header a,
.link-arrow {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.partner-card__header a:hover,
.link-arrow:hover {
  text-decoration: underline;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  align-items: center;
  padding: 1.4rem 1.5rem;
  border-radius: 28px;
  border: 1px solid rgba(18, 90, 162, 0.18);
  background:
    linear-gradient(120deg, rgba(18, 90, 162, 0.10), rgba(255, 255, 255, 0.95)),
    rgba(255, 255, 255, 0.90);
  box-shadow: 0 18px 34px var(--shadow);
}

.cta-band h3 {
  max-width: 700px;
}

.number-list {
  display: grid;
  gap: 0.95rem;
  padding-left: 1.3rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.number-list--wide {
  max-width: 900px;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

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

.timeline__item {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px var(--shadow);
}

.source-list {
  display: grid;
  gap: 1rem;
}

.callout-panel {
  display: grid;
  gap: 0.85rem;
}

.site-footer {
  background: linear-gradient(180deg, #0b3054 0%, #0a2540 100%);
  color: #f1f4f7;
  margin-top: 2rem;
  padding-top: 2.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.6rem;
}

.footer-grid h2,
.footer-grid h3 {
  color: #fff;
  margin-bottom: 0.8rem;
}

.footer-grid p,
.footer-bottom p {
  color: rgba(241, 244, 247, 0.76);
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: #d9f1fd;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 2rem;
  margin-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .card-grid--four,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-strip,
  .card-grid--three,
  .footer-grid,
  .card-grid--two,
  .hero,
  .page-hero,
  .split-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .topbar__inner,
  .cta-band,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .masthead {
    flex-wrap: wrap;
  }

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

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.4rem;
  }

  body.menu-open .site-nav {
    display: flex;
  }

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

  .hero,
  .page-hero,
  .section {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .hero__side-grid,
  .card-grid--four,
  .card-grid--three,
  .card-grid--two,
  .timeline {
    grid-template-columns: 1fr;
  }

  .brand {
    flex: 1 1 auto;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(calc(100% - 1.1rem), var(--max));
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.85rem;
  }

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

  .brand__text strong {
    font-size: 1.15rem;
  }

  .photo-card--large {
    min-height: 250px;
  }
}

.site-editor-toolbar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  width: min(340px, calc(100% - 1.5rem));
  padding: 0.85rem;
  border-radius: 24px;
  background: rgba(16, 33, 49, 0.96);
  color: #f7f4ec;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-editor-toolbar button {
  font: inherit;
}

.site-editor-toolbar__primary {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #f3bf57;
  color: #102131;
  font-weight: 800;
  cursor: pointer;
}

.site-editor-toolbar__panel {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.site-editor-toolbar__panel[hidden] {
  display: none;
}

.site-editor-toolbar__note {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(247, 244, 236, 0.82);
}

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

.site-editor-toolbar__buttons button {
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.site-editor-active .site-editor-target,
.site-editor-active .site-editor-image-target {
  outline: 3px dashed rgba(243, 191, 87, 0.8);
  outline-offset: 6px;
}

.site-editor-active .site-editor-target {
  cursor: text;
  border-radius: 6px;
}

.site-editor-active .site-editor-target:focus {
  background: rgba(243, 191, 87, 0.12);
  outline-color: #f3bf57;
}

.site-editor-active .site-editor-image-target {
  cursor: pointer;
  position: relative;
}

.site-editor-active .site-editor-image-target::after {
  content: "Click to replace image";
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(16, 33, 49, 0.9);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  pointer-events: none;
}

.site-editor-toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 1100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(18, 90, 162, 0.94);
  color: #fff;
  box-shadow: 0 14px 24px rgba(18, 90, 162, 0.28);
}

@media (max-width: 780px) {
  .site-editor-toolbar {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }
}
