@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --navy: #15171a;
  --navy-soft: #25282c;
  --blue: #8e1b2c;
  --gold: #b77a3b;
  --ink: #171717;
  --text: #2b2927;
  --muted: #6f6861;
  --line: #ded4c7;
  --bg: #f3ede2;
  --white: #faf8f3;
  --hero: linear-gradient(135deg, #15171a 0%, #4b1b22 48%, #8e1b2c 100%);
  --shadow: 0 14px 34px rgba(21, 23, 26, 0.1);
  --radius: 20px;
  --max: 1200px;
  --header-h: 134px;
  --header-condensed-h: calc(var(--header-h) * 0.9);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  padding-top: var(--header-h);
}

body.has-hero {
  padding-top: 0;
}

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

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

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

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

h1,
h2,
h3,
h4 {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  line-height: 1.02;
  color: var(--ink);
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
}

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

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: 1.15rem;
  color: #f4eae7;
  max-width: 760px;
}

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

.section {
  padding: 68px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-alt {
  background: #e9ded1;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.message-layout .photo-frame {
  align-self: center;
}


.message-signoff {
  margin-top: 28px;
}

.message-closing {
  margin: 0 0 8px;
  font-size: 0.98rem;
  color: var(--muted);
}

.signature-wrap {
  width: min(100%, 400px);
}

.signature-apng {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(8px);
}

.message-signoff.is-visible .signature-apng {
  animation: fadeInSignature .45s ease-out forwards;
}

.message-name {
  margin: 8px 0 0;
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  color: var(--navy);
}

@keyframes fadeInSignature {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--navy);
}

.btn-primary:hover {
  background: #efe3d7;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-soft);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(21, 23, 26, 0.16);
}

.btn-outline:hover {
  background: rgba(21, 23, 26, 0.04);
}

/* =========================
   HEADER
   ========================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(21, 23, 26, 0.08);
  transform: translateY(0);
  transition:
    transform 0.28s ease,
    min-height 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.site-header.is-hidden {
  transform: translateY(calc(-1 * var(--header-h) - 6px));
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(21, 23, 26, 0.08);
}

.site-header.is-condensed {
  min-height: var(--header-condensed-h);
}

body.has-hero .site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

body.has-hero .site-header.is-solid,
body.has-hero .site-header:hover,
body.has-hero .site-header:focus-within {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(21, 23, 26, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(21, 23, 26, 0.08);
}

.header-shell {
  padding: 0;
}

body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .header-shell {
  background: transparent;
}

.masthead-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 78px;
  border-bottom: 1px solid rgba(21, 23, 26, 0.12);
  transition: min-height 0.22s ease, border-color 0.22s ease;
}

.site-header.is-condensed .masthead-row {
  min-height: 70.2px;
}

body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .masthead-row {
  border-bottom-color: rgba(255, 255, 255, 0.42);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.brand-centered {
  justify-self: center;
  text-align: center;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 1px;
  transition: width 0.22s ease, height 0.22s ease;
}

.site-header.is-condensed .brand-logo {
  width: 50.4px;
  height: 50.4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-name {
  margin: 0;
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.15vw, 2.6rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--navy);
  transition: font-size 0.22s ease;
}

.site-header.is-condensed .brand-name {
  font-size: clamp(1.71rem, 1.935vw, 2.34rem);
}

.brand-tagline {
  margin: 6px 0 0;
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--navy-soft);
  transition: font-size 0.22s ease, margin-top 0.22s ease;
}

.site-header.is-condensed .brand-tagline {
  font-size: 0.612rem;
  margin-top: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 10px;
  transition: opacity 0.22s ease, transform 0.22s ease, max-height 0.22s ease, padding 0.22s ease, margin 0.22s ease;
  transform-origin: top center;
}

.site-header.is-condensed .site-nav {
  padding: 6px 0 8px;
}

.site-nav-scroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.site-nav-scroll::-webkit-scrollbar {
  display: none;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 44px;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}

.site-nav-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
  flex: 0 0 auto;
}

.site-nav-arrow:hover {
  color: var(--blue);
}

.site-nav-arrow[hidden] {
  display: none !important;
}

.site-nav-arrow span {
  font-size: 3rem;
  line-height: 0.7;
  font-weight: 300;
  transform: translateY(-2px);
}

.site-nav a {
  display: block;
  padding: 6px 1px 9px;
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2b2927;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .brand-name,
body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .brand-tagline,
body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .site-nav a,
body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .site-nav-arrow {
  color: rgba(255, 255, 255, 0.96);
}

body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .site-nav a:hover,
body.has-hero .site-header:not(.is-solid):not(:hover):not(:focus-within) .site-nav a.active {
  border-bottom-color: rgba(255, 255, 255, 0.96);
}

.site-header.nav-hidden {
  min-height: 78px;
}

.site-header.is-condensed.nav-hidden {
  min-height: 70.2px;
}

.site-header.nav-hidden .site-nav {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  max-height: 0;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  overflow: hidden;
}



@media (max-width: 780px) {
  .site-nav {
    gap: 6px;
    padding: 8px 0 12px;
  }

  .site-nav-scroll {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .site-nav ul {
    justify-content: flex-start;
    gap: 26px;
    width: max-content;
    min-width: 100%;
    padding: 0;
  }

  .site-nav a {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
  }

  .site-header.nav-hidden .site-nav {
    padding-top: 0;
    padding-bottom: 0;
    border: 0;
  }

  .site-header.nav-hidden .site-nav-scroll {
    max-width: 0;
    overflow: hidden;
  }

  .site-header.nav-hidden .site-nav-arrow {
    width: 0;
    min-width: 0;
    opacity: 0;
    overflow: hidden;
  }

  .site-nav-arrow {
    display: inline-flex;
    width: 20px;
    height: 20px;
  }

  .site-nav-arrow span {
    font-size: 3.4rem;
  }
}

/* =========================
   HERO
   ========================= */

.hero {
  padding: calc(var(--header-h) + 32px) 0 72px;
  background: var(--hero);
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(142, 27, 44, 0.06) 0%, rgba(142, 27, 44, 0.16) 100%);
}

.hero-basket {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  pointer-events: none;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero h1,
.hero h2,
.hero h3 {
  color: var(--white);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 28px;
}

.hero-panel h3 {
  margin-bottom: 12px;
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-clean li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
}

.list-clean li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 9px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 16px;
}

.stat-box strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

/* =========================
   PAGE SECTIONS
   ========================= */

.page-hero {
  padding: 76px 0 40px;
  background: linear-gradient(180deg, rgba(142, 27, 44, 0.08), transparent 90%);
}

.page-hero .lead {
  color: var(--text);
  max-width: 820px;
}

.metric {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  display: block;
  font-size: 1.65rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-card {
  height: 100%;
}

.feature-card .eyebrow {
  margin-bottom: 8px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

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

.timeline-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: start;
}

.timeline-sticky-image {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: var(--header-condensed-h) 0 24px;
  display: flex;
  align-items: center;
}

.timeline-sticky-image-frame {
  width: 100%;
  max-height: calc(100vh - var(--header-condensed-h) - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.timeline-sticky-image-frame img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - var(--header-condensed-h) - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.timeline-item {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
  border-left: 5px solid var(--blue);
  transform-origin: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease, filter 0.24s ease;
}

.timeline-item:hover,
.timeline-item:focus-visible,
.timeline-item.is-focused {
  z-index: 5;
  transform: translateY(-8px) scale(1.045);
  box-shadow: 0 26px 55px rgba(142, 27, 44, 0.28);
  border-left-color: var(--gold);
}

.timeline:has(.timeline-item:hover) .timeline-item:not(:hover),
.timeline:has(.timeline-item:focus-visible) .timeline-item:not(:focus-visible),
.timeline:has(.timeline-item.is-focused) .timeline-item:not(.is-focused) {
  opacity: 0.48;
  filter: saturate(0.65);
  transform: scale(0.985);
}

.timeline-year-start h3 {
  transform-origin: left center;
  transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.timeline-year-start:hover h3,
.timeline-year-start:focus-visible h3 {
  color: var(--gold);
  text-shadow: 0 8px 18px rgba(21, 23, 26, 0.2);
  transform: translateY(-3px) scale(1.02);
}

.linked-results .card h3 a,
.news-item h3 a {
  display: inline-block;
  position: relative;
  z-index: 1;
  transform-origin: left center;
  transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.linked-results .card h3 a:hover,
.linked-results .card h3 a:focus-visible,
.news-item h3 a:hover,
.news-item h3 a:focus-visible {
  z-index: 2;
  color: var(--gold);
  text-shadow: 0 8px 18px rgba(21, 23, 26, 0.28);
  transform: translateY(-5px) scale(1.08);
}

.home-feature-cards .feature-card {
  position: relative;
  z-index: 1;
  transform-origin: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease, filter 0.24s ease;
}

.home-feature-cards .feature-card:hover,
.home-feature-cards .feature-card:focus-within {
  z-index: 5;
  transform: translateY(-8px) scale(1.045);
  box-shadow: 0 26px 55px rgba(142, 27, 44, 0.28);
}

.home-feature-cards .grid:has(.feature-card:hover) .feature-card:not(:hover),
.home-feature-cards .grid:has(.feature-card:focus-within) .feature-card:not(:focus-within) {
  opacity: 0.48;
  filter: saturate(0.65);
  transform: scale(0.985);
}

.priority-cards .feature-card {
  position: relative;
  z-index: 1;
  transform-origin: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease, filter 0.24s ease;
}

.priority-cards .feature-card:hover {
  z-index: 5;
  transform: translateY(-8px) scale(1.045);
  box-shadow: 0 26px 55px rgba(142, 27, 44, 0.28);
}

.priority-cards .grid:has(.feature-card:hover) .feature-card:not(:hover) {
  opacity: 0.48;
  filter: saturate(0.65);
  transform: scale(0.985);
}

@media (max-width: 780px) {
  .timeline-layout {
    grid-template-columns: 1fr;
  }

  .timeline-sticky-image {
    position: static;
    grid-row: 1;
    height: auto;
    padding: 0;
  }

  .timeline-sticky-image-frame,
  .timeline-sticky-image-frame img {
    max-height: none;
  }

  .timeline-sticky-image-frame img {
    width: 100%;
  }

  .timeline-item:hover,
  .timeline-item:focus-visible,
  .timeline-item.is-focused {
    transform: translateY(-4px) scale(1.015);
  }

  .home-feature-cards .feature-card:hover,
  .home-feature-cards .feature-card:focus-within {
    transform: translateY(-4px) scale(1.015);
  }

  .priority-cards .feature-card:hover {
    transform: translateY(-4px) scale(1.015);
  }
}

@media (max-width: 780px) and (hover: none),
       (max-width: 780px) and (pointer: coarse) {
  .home-feature-cards .feature-card:hover,
  .home-feature-cards .feature-card:focus-within,
  .priority-cards .feature-card:hover {
    z-index: 1;
    transform: none;
    box-shadow: var(--shadow);
  }

  .home-feature-cards .grid:has(.feature-card:hover) .feature-card:not(:hover),
  .home-feature-cards .grid:has(.feature-card:focus-within) .feature-card:not(:focus-within),
  .priority-cards .grid:has(.feature-card:hover) .feature-card:not(:hover) {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-item {
    transition: none;
  }

  .timeline-year-start h3 {
    transition: none;
  }

  .linked-results .card h3 a,
  .news-item h3 a {
    transition: none;
  }

  .home-feature-cards .feature-card {
    transition: none;
  }

  .priority-cards .feature-card {
    transition: none;
  }
}

.news-item {
  display: grid;
  gap: 12px;
}

.news-meta {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

.photo-frame,
.map-card {
  min-height: 360px;
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(142, 27, 44, 0.08), rgba(183, 122, 59, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy);
  font-weight: 700;
  padding: 24px;
}

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

/* =========================
   FORMS / CTA / FOOTER
   ========================= */

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

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d8ccbe;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
}

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

.form-actions {
  margin-top: 18px;
}

.notice {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
}

.notice.show {
  display: block;
}

.cta-band {
  background: var(--hero);
  color: var(--white);
  border-radius: 28px;
  padding: 36px;
}

.cta-band h2,
.cta-band h3 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  background: #15171a;
  color: rgba(255, 255, 255, 0.88);
  padding: 34px 0;
  margin-top: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

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

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
  :root {
    --header-h: 130px;
  }

  .brand-name {
    font-size: clamp(1.3rem, 2vw, 1.9rem);
  }

  .site-nav ul {
    gap: 20px;
  }

  .site-nav a {
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 980px) {
  .grid-4,
  .grid-3,
  .grid-2,
  .hero-grid,
  .split,
  .footer-grid,
  .form-grid,
  .menu-panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  :root {
    --header-h: 124px;
  }

  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .section,
  .section-tight {
    padding: 44px 0;
  }

  .page-hero {
    padding: 48px 0 30px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .site-header.is-condensed .brand-logo {
    width: 45px;
    height: 45px;
  }

  .brand-name {
    font-size: clamp(1.15rem, 5.5vw, 1.65rem);
    letter-spacing: 0.01em;
  }

  .site-header.is-condensed .brand-name {
    font-size: clamp(1.035rem, 4.95vw, 1.485rem);
  }

  .brand-tagline {
    font-size: 0.5rem;
    letter-spacing: 0.22em;
    margin-top: 4px;
  }

  .site-header.is-condensed .brand-tagline {
    font-size: 0.45rem;
    margin-top: 3px;
  }

  .site-nav ul {
    gap: 10px 14px;
  }

  .site-nav a {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    padding-bottom: 7px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: calc(var(--header-h) + 22px) 0 48px;
    min-height: auto;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-panel,
  .card,
  .cta-band {
    padding: 22px;
  }

  .btn-group {
    gap: 10px;
  }

  .btn-group .btn {
    flex: 1 1 100%;
  }

  .message-layout {
    gap: 24px;
  }

  .message-layout .photo-frame,
  .map-card {
    min-height: 0;
    padding: 12px;
  }

  .message-layout .photo-frame img,
  .map-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .timeline-sticky-image-frame img {
    width: min(100%, 380px);
    margin: 0 auto;
  }

  .home-feature-cards .feature-card:hover,
  .home-feature-cards .feature-card:focus-within,
  .priority-cards .feature-card:hover,
  .timeline-item:hover,
  .timeline-item:focus-visible,
  .timeline-item.is-focused {
    z-index: 1;
    transform: none;
    box-shadow: var(--shadow);
  }

  .timeline-item:hover,
  .timeline-item:focus-visible,
  .timeline-item.is-focused {
    border-left-color: var(--blue);
  }

  .home-feature-cards .grid:has(.feature-card:hover) .feature-card:not(:hover),
  .home-feature-cards .grid:has(.feature-card:focus-within) .feature-card:not(:focus-within),
  .priority-cards .grid:has(.feature-card:hover) .feature-card:not(:hover),
  .timeline:has(.timeline-item:hover) .timeline-item:not(:hover),
  .timeline:has(.timeline-item:focus-visible) .timeline-item:not(:focus-visible),
  .timeline:has(.timeline-item.is-focused) .timeline-item:not(.is-focused) {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .timeline-year-start:hover h3,
  .timeline-year-start:focus-visible h3 {
    color: var(--ink);
    text-shadow: none;
    transform: none;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* APNG signature adjustments */
.signature-wrap.signature-wrap-large{
  width:min(100%, 400px);
}
.signature-apng{
  width:100%;
  max-width:280px;
  object-fit:contain;
}
