:root {
  --ink: #102332;
  --ink-soft: #3d4b56;
  --navy: #0c2438;
  --navy-deep: #071722;
  --navy-light: #173d58;
  --paper: #f5f1e9;
  --paper-deep: #e9e1d3;
  --white: #fffdf8;
  --line: rgba(16, 35, 50, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --brass: #b8894d;
  --brass-light: #dfbd84;
  --red: #8c3430;
  --shadow: 0 24px 70px rgba(5, 22, 34, 0.14);
  --shadow-soft: 0 12px 36px rgba(5, 22, 34, 0.09);
  --radius: 1.5rem;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1100px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.96rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--paper-deep) 46%, var(--navy-light));
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 6.5vw, 5.9rem);
}

h2 {
  font-size: clamp(1.95rem, 3.6vw, 3.3rem);
}

h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
}

::selection {
  background: var(--brass-light);
  color: var(--navy-deep);
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.narrow {
  width: min(calc(100% - 2rem), 780px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: var(--brass-light);
}

.lede {
  max-width: 720px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.8vw, 1.4rem);
  line-height: 1.5;
}

.section {
  padding: clamp(3.25rem, 5.5vw, 5.25rem) 0;
}

.section--white {
  background: var(--white);
}

.section--ink {
  background: var(--navy-deep);
  color: var(--white);
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  max-width: 740px;
  margin-bottom: clamp(1.8rem, 3.5vw, 3rem);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.section--ink .section-heading p {
  color: rgba(255, 253, 248, 0.72);
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 3px;
  right: 0;
  left: 0;
  color: var(--white);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.site-header.is-scrolled,
.interior-page .site-header {
  background: rgba(245, 241, 233, 0.94);
  box-shadow: 0 1px 0 var(--line);
  color: var(--navy);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand__text {
  display: grid;
  font-family: var(--serif);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.15;
}

.brand__text small {
  margin-top: 0.18rem;
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.68;
  text-transform: uppercase;
}

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

.site-nav a {
  padding: 0.5rem 0.66rem;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a[aria-current="page"],
.interior-page .site-nav a:hover,
.interior-page .site-nav a[aria-current="page"] {
  background: rgba(12, 36, 56, 0.08);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  width: 18px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.nav-toggle span {
  font-size: 0;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(82svh, 780px);
  align-items: end;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 17, 27, 0.97) 0%, rgba(4, 17, 27, 0.82) 47%, rgba(4, 17, 27, 0.2) 76%),
    linear-gradient(0deg, rgba(4, 17, 27, 0.92) 0%, transparent 45%),
    url("assets/images/alaska-memorial.jpg") center / cover;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.18) 1px, transparent 0);
  background-size: 28px 28px;
  content: "";
  opacity: 0.1;
  mask-image: linear-gradient(to right, black, transparent 66%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: min(82svh, 780px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.68fr);
  align-items: end;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  padding-top: 6.5rem;
}

.hero__copy {
  padding: clamp(2.75rem, 5.5vh, 4.5rem) 0;
}

.hero__copy h1 {
  max-width: 700px;
  margin-bottom: 0.8rem;
}

.hero__identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.2rem;
  margin-bottom: 1rem;
  color: var(--brass-light);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.hero__identity span + span::before {
  margin-right: 1.2rem;
  color: rgba(255, 255, 255, 0.38);
  content: "•";
}

.hero__lead {
  max-width: 610px;
  margin-bottom: 1.4rem;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(0.94rem, 1.2vw, 1.06rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.65rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button--primary {
  background: var(--brass-light);
  color: var(--navy-deep);
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

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

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

.button--outline {
  border-color: var(--line);
  background: transparent;
  color: var(--navy);
}

.button__arrow {
  font-size: 1.05em;
}

.hero__portrait-wrap {
  align-self: end;
  padding-top: 7rem;
}

.hero__portrait {
  position: relative;
  width: min(100%, 410px);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 0;
  border-radius: 18rem 18rem 0 0;
  background: #7899c8;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.035);
}

.hero__portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 22, 34, 0.5), transparent 38%);
  content: "";
}

.hero__portrait img {
  width: 100%;
  aspect-ratio: 0.79;
  object-fit: cover;
}

.hero__portrait-caption {
  position: absolute;
  z-index: 2;
  right: 1.1rem;
  bottom: 1.1rem;
  left: 1.1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__portrait-caption span:last-child {
  color: var(--brass-light);
}

.facts-bar {
  position: relative;
  z-index: 4;
  background: var(--navy);
  color: var(--white);
}

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

.fact {
  padding: 1.05rem clamp(1rem, 2.5vw, 1.8rem);
  border-right: 1px solid var(--line-light);
}

.fact:first-child {
  padding-left: 0;
}

.fact:last-child {
  border-right: 0;
}

.fact__label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--brass-light);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact__value {
  font-family: var(--serif);
  font-size: clamp(0.94rem, 1.25vw, 1.12rem);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.story-grid__image {
  position: relative;
}

.story-grid__image::before {
  position: absolute;
  z-index: 0;
  top: -1.4rem;
  right: -1.4rem;
  width: 45%;
  aspect-ratio: 1;
  border: 1px solid var(--brass);
  border-radius: 50%;
  content: "";
  opacity: 0.45;
}

.story-grid__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 0.88;
  border-radius: 11rem 11rem 1rem 1rem;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.story-grid__copy h2 {
  margin-bottom: 1rem;
}

.story-grid__copy p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.story-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-link {
  display: grid;
  gap: 0.18rem;
  padding: 0.85rem 0.8rem 0.85rem 0;
  text-decoration: none;
}

.story-link:nth-child(even) {
  padding-left: 1.1rem;
  border-left: 1px solid var(--line);
}

.story-link strong {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.story-link span {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 1.4rem;
}

.timeline::before {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 7.2rem;
  width: 1px;
  background: linear-gradient(var(--brass), rgba(184, 137, 77, 0.16));
  content: "";
}

.timeline__item {
  position: relative;
  display: grid;
  min-height: 6.8rem;
  grid-template-columns: 6.3rem 1fr;
  gap: 1.6rem;
  padding: 0 0 1.65rem;
}

.timeline__year {
  color: var(--brass-light);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.timeline__content {
  max-width: 780px;
}

.timeline__content::before {
  position: absolute;
  top: 0.28rem;
  left: 6.85rem;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--navy-deep);
  border-radius: 50%;
  background: var(--brass-light);
  box-shadow: 0 0 0 5px var(--navy-deep);
  content: "";
}

.timeline__content h3 {
  margin-bottom: 0.4rem;
  color: var(--white);
}

.timeline__content p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.67);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.feature-row__copy {
  padding: clamp(1.7rem, 3.5vw, 2.8rem);
}

.feature-row__copy h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.feature-row__copy p {
  max-width: 640px;
  color: var(--ink-soft);
}

.feature-row__image {
  min-height: 310px;
}

.feature-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.news-card__date {
  display: grid;
  min-height: 190px;
  place-content: center;
  padding: 1.5rem;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.news-card__date strong {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 0.85;
}

.news-card__date span {
  margin-top: 0.8rem;
  color: var(--brass-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.news-card__body {
  display: grid;
  align-content: center;
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
}

.news-card__body h3 {
  max-width: 760px;
  margin-bottom: 0.7rem;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
}

.news-card__body p {
  max-width: 700px;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "↗";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translate(2px, -2px);
}

.memorial-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 23, 34, 0.98), rgba(7, 23, 34, 0.72)),
    url("assets/images/service-honor.jpg") 76% 53% / cover;
  color: var(--white);
}

.memorial-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 420px;
  align-content: center;
}

.memorial-cta h2 {
  max-width: 830px;
  margin-bottom: 1rem;
}

.memorial-cta p {
  max-width: 650px;
  color: rgba(255, 253, 248, 0.72);
}

.page-hero {
  position: relative;
  display: grid;
  min-height: min(50svh, 560px);
  align-items: end;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 23, 34, 0.96), rgba(7, 23, 34, 0.52)),
    var(--hero-image, url("assets/images/alaska-memorial.jpg")) center / cover;
  content: "";
}

.page-hero--service {
  --hero-image: url("assets/images/service-honor.jpg");
}

.page-hero--family {
  --hero-image: url("assets/images/alaska-lake.jpg");
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.4fr);
  align-items: end;
  gap: 2rem;
  padding: clamp(7rem, 13vh, 9.5rem) 0 clamp(2.5rem, 4.5vw, 4rem);
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 0.7rem;
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
}

.page-hero__lead {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.76);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.page-hero__number {
  justify-self: end;
  color: rgba(255, 255, 255, 0.13);
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 0.72;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.82fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.article-aside {
  position: sticky;
  top: 8rem;
}

.article-aside__label {
  display: block;
  margin-bottom: 1rem;
  color: var(--brass);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-aside nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.article-aside a {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.article-aside a:hover {
  color: var(--navy);
}

.article-content > section {
  padding-bottom: clamp(2.2rem, 4.5vw, 4rem);
}

.article-content h2 {
  max-width: 780px;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.article-content p {
  max-width: 760px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.article-content p + p {
  margin-top: 1rem;
}

.pull-panel {
  margin: 0 0 clamp(2.2rem, 4.5vw, 4rem);
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  border-left: 5px solid var(--brass);
  background: var(--navy);
  color: var(--white);
}

.pull-panel p {
  margin-bottom: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.5;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 1.6rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--line);
}

.detail-grid__item {
  padding: 1.05rem;
  background: var(--white);
}

.detail-grid__item span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brass);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.detail-grid__item strong {
  font-family: var(--serif);
  font-size: 1.08rem;
}

.portrait-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.portrait-feature__image img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.portrait-feature__copy {
  display: grid;
  align-content: center;
  padding: clamp(1.8rem, 4vw, 3.2rem);
}

.portrait-feature__copy h2 {
  margin-bottom: 0.9rem;
}

.portrait-feature__copy p {
  color: rgba(255, 253, 248, 0.7);
}

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

.honor-card {
  position: relative;
  min-height: 220px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.honor-card::after {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 11rem;
  aspect-ratio: 1;
  border: 1px solid var(--brass);
  border-radius: 50%;
  content: "";
  opacity: 0.28;
}

.honor-card__star {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1.35rem;
  place-items: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
  color: var(--brass);
  font-size: 1.2rem;
}

.honor-card h3 {
  margin-bottom: 0.65rem;
}

.honor-card p {
  color: var(--ink-soft);
}

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

.legacy-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 0 0 rgba(5, 22, 34, 0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.legacy-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
}

.legacy-card__number {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 2.35rem;
}

.legacy-card h3 {
  margin-top: auto;
  margin-bottom: 0.7rem;
}

.legacy-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.resource-emergency {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.resource-emergency h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

.resource-emergency p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.72);
}

.resource-emergency__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.resource-tools {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.resource-search {
  width: 100%;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--white);
  color: var(--ink);
}

.resource-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.filter-button {
  padding: 0.62rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

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

.resource-card {
  display: grid;
  min-height: 205px;
  align-content: space-between;
  padding: clamp(1.25rem, 2.5vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--white);
}

.resource-card[hidden] {
  display: none;
}

.resource-card__category {
  margin-bottom: 1.1rem;
  color: var(--brass);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resource-card h3 {
  margin-bottom: 0.7rem;
}

.resource-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.resource-empty {
  display: none;
  padding: 3rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  text-align: center;
}

.resource-empty.is-visible {
  display: block;
}

.next-page {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.next-page__link {
  display: flex;
  min-height: 175px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-decoration: none;
}

.next-page__link span {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--brass);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.next-page__link strong {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.next-page__arrow {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  transition: transform 180ms ease;
}

.next-page__link:hover .next-page__arrow {
  transform: translateX(0.5rem);
}

.site-footer {
  padding: 3rem 0 1.5rem;
  background: var(--navy-deep);
  color: var(--white);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: start;
  gap: 3rem;
  padding-bottom: 2.2rem;
}

.site-footer__title {
  max-width: 600px;
  margin-bottom: 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.2;
}

.site-footer__copy {
  max-width: 550px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.9rem;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.55rem 2rem;
}

.site-footer__links a {
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 253, 248, 0.48);
  font-size: 0.72rem;
}

.back-to-top {
  position: fixed;
  z-index: 35;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--navy);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 3rem 1rem;
  background:
    linear-gradient(rgba(7, 23, 34, 0.84), rgba(7, 23, 34, 0.92)),
    url("assets/images/alaska-memorial.jpg") center / cover;
  color: var(--white);
  text-align: center;
}

.not-found h1 {
  margin-bottom: 0.6rem;
}

.not-found p {
  max-width: 560px;
  color: rgba(255, 253, 248, 0.72);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--paper);
    box-shadow: var(--shadow);
    color: var(--navy);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 0.85rem 0.9rem;
    border-radius: 0.6rem;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    background: rgba(12, 36, 56, 0.08);
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.64fr);
    gap: 1.5rem;
  }

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

  .article-aside {
    position: static;
  }

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

  .article-aside a {
    padding-right: 1rem;
  }

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

  .legacy-card:last-child {
    grid-column: 1 / -1;
    min-height: 260px;
  }
}

@media (max-width: 740px) {
  html {
    scroll-padding-top: 5.5rem;
  }

  .site-header__inner {
    min-height: 64px;
  }

  .brand__text {
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(4, 17, 27, 0.98) 8%, rgba(4, 17, 27, 0.74) 65%, rgba(4, 17, 27, 0.45)),
      url("assets/images/alaska-memorial.jpg") center / cover;
  }

  .hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 5.5rem;
  }

  .hero__copy {
    order: 2;
    padding: 1.5rem 0 2.75rem;
  }

  .hero__portrait-wrap {
    order: 1;
    width: min(66vw, 315px);
    margin: 1.25rem auto 0;
    padding-top: 0;
  }

  .hero__portrait img {
    aspect-ratio: 0.92;
  }

  .hero__portrait-caption {
    right: 0.8rem;
    bottom: 0.8rem;
    left: 0.8rem;
  }

  .hero__identity span + span::before {
    display: none;
  }

  .hero__identity {
    display: grid;
    gap: 0.25rem;
  }

  .facts-bar__inner {
    grid-template-columns: 1fr;
  }

  .fact {
    padding: 0.9rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

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

  .story-grid__image {
    width: min(82vw, 430px);
  }

  .story-links,
  .feature-row,
  .news-card,
  .portrait-feature,
  .honors,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .story-link:nth-child(even) {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-row__image {
    min-height: 240px;
  }

  .news-card__date {
    min-height: 145px;
  }

  .page-hero {
    min-height: 420px;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
  }

  .page-hero__number {
    display: none;
  }

  .article-aside nav {
    grid-template-columns: 1fr 1fr;
  }

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

  .portrait-feature__image img {
    min-height: 320px;
    max-height: 500px;
  }

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

  .legacy-card:last-child {
    grid-column: auto;
  }

  .legacy-card {
    min-height: 250px;
  }

  .resource-emergency,
  .resource-tools {
    grid-template-columns: 1fr;
  }

  .resource-emergency__actions,
  .resource-filters {
    justify-content: flex-start;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .shell,
  .narrow {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .brand__text small {
    display: none;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 2.8rem 0;
  }

  .page-hero {
    min-height: 390px;
  }

  .page-hero__inner {
    padding: 6.25rem 0 2.25rem;
  }

  .timeline::before {
    left: 0.3rem;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-left: 2rem;
  }

  .timeline__content::before {
    left: -0.05rem;
  }

  .article-aside nav {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
