:root {
  --bg: #f8fafc;
  --ink: #0f172a;
  --muted: #475569;
  --line: #cbd5e1;
  --navy: #1e3a8a;
  --navy-deep: #172554;
  --amber: #b45309;
  --amber-deep: #9a3412;
  --amber-hot: #7c2d12;
  --white: #ffffff;
  --button-text: #ffffff;
  --navy-soft: #eef2ff;
  --selection: #fde68a;
  --danger: #b91c1c;
  --ok-bg: #ecfdf3;
  --err-bg: #fef2f2;
  --font: "Lato", "Segoe UI", sans-serif;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
}

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

a, button, summary { cursor: pointer; }

a { color: inherit; }

:focus { outline: none; }

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

::selection {
  background: var(--selection);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  background: var(--navy);
  color: var(--button-text);
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, var(--white));
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--button-text);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  transition: color 180ms ease;
}

.site-nav a:hover { color: var(--navy); }

.site-nav a[aria-current="page"] {
  color: var(--navy);
  box-shadow: inset 0 -2px 0 var(--amber);
}

.hero {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding: 1.5rem var(--pad) 4.5rem;
}

.hero:not(.has-image) .hero-copy {
  padding-top: clamp(2.5rem, 8vh, 6rem);
}

.hero.has-image {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: end;
  min-height: calc(100svh - 4.75rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--amber-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rule {
  width: 4rem;
  height: 3px;
  margin: 0 0 1.1rem;
  background: var(--amber);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--navy-deep);
  overflow-wrap: anywhere;
}

.lede {
  max-width: 38rem;
  margin: 1.35rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
}

.article-grid .lede { max-width: none; }

.lede p { margin: 0.85rem 0 0; }
.lede p:first-child { margin-top: 0; }

.lede a,
.footer-grid .fine a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.lede a:hover,
.footer-grid .fine a:hover { color: var(--amber); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 1.75rem 0 0;
}

.hero-figure { margin: 0; }

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--line);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  background: var(--navy);
  color: var(--button-text);
  border: 1px solid var(--navy);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:visited { color: var(--button-text); }

.button:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

.button-accent {
  background: var(--amber-deep);
  border-color: var(--amber-deep);
}

.button-accent:hover { background: var(--amber-hot); border-color: var(--amber-hot); }

.index {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 1rem;
}

.section-title {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--muted);
}

.entry {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  min-height: 44px;
}

.entry .num {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--amber-deep);
}

.entry strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  color: var(--navy-deep);
  transition: color 180ms ease;
}

.entry .excerpt {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
}

.entry .arrow { color: var(--amber-deep); }

.entry:hover strong { color: var(--navy); }

.band {
  margin-top: 3.5rem;
  background: var(--navy);
  color: var(--white);
}

.band :focus-visible { outline-color: var(--bg); }

.band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2.5rem;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.band h2 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.band p { margin: 0; max-width: 36rem; }

.article { padding: 3.5rem 0 5rem; }

.article h1 { font-size: clamp(3rem, 7vw, 5.4rem); max-width: 14ch; }

.article-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 40.8rem);
  gap: 1.5rem 2.25rem;
  align-items: start;
  margin-top: 1.75rem;
}

.article-split .prose { order: 1; margin-top: 0; }

.article-photo { order: 2; }

.figure {
  margin: 0;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--line);
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--line);
}

.photo-caption {
  position: absolute;
  top: 1rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  margin: 0;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
  text-align: center;
}

.prose {
  max-width: 40rem;
  margin-top: 1.75rem;
  font-size: 1.2rem;
}

.article-grid .prose {
  max-width: none;
  width: 100%;
  font-size: 1.4rem;
  line-height: 1.6;
}

.prose p,
.prose ul { margin: 0 0 1rem; }

.prose h2,
.prose h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.15;
  margin: 1.8rem 0 0.5rem;
}

.prose h2 { font-size: 2.1rem; }
.prose h3 { font-size: 1.6rem; }

.prose a {
  color: var(--amber-deep);
  text-underline-offset: 0.15em;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.carousel { margin: 0; max-width: 40.8rem; }

.article-split .carousel { max-width: none; }

.carousel-frame {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--line);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--line);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-80%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
}

.carousel-arrow-prev { left: 0.45rem; }

.carousel-arrow-next { right: 0.45rem; }

.carousel-thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  gap: 0.35rem;
  padding: 1.4rem 0.45rem 0.45rem;
  overflow-x: auto;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0));
}

.carousel-thumbs button {
  flex: 0 0 auto;
  width: 52px;
  height: 36px;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
}

.carousel-thumbs button[aria-current="true"] { border-color: #fff; }

.carousel-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-lines {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-lines a {
  color: var(--amber-deep);
  text-underline-offset: 0.15em;
}

.contact-form {
  position: relative;
  background: var(--white);
  border-top: 4px solid var(--navy);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.field { margin: 0 0 1.15rem; }

.field label,
.check {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
  font-size: 0.98rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.75rem 0;
  min-height: 48px;
}

.contact-form textarea {
  border: 1px solid var(--line);
  padding: 0.75rem;
  background: var(--bg);
  min-height: 9rem;
  resize: vertical;
}

.field-error {
  margin: 0.35rem 0 0;
  color: var(--danger);
  font-size: 0.95rem;
}

.fine {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
}

.alert {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--ok-bg);
  color: var(--ink);
}

.alert-error { background: var(--err-bg); }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.footer-grid p { margin: 0.25rem 0; }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  font-style: normal;
}

.footer-contact a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  .header-inner { align-items: flex-start; padding-block: 0.8rem; flex-wrap: wrap; }
  .hero:not(.has-image) .hero-copy { min-height: 0; padding-top: 2.5rem; }
  .hero.has-image {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding-top: 2rem;
  }
  .hero-figure img { aspect-ratio: 3 / 2; max-height: 420px; }
  .entry { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .entry .arrow { display: none; }
  .band-inner,
  .contact-grid,
  .footer-grid { display: flex; flex-direction: column; align-items: flex-start; }
  .article { padding-top: 2.5rem; }
  .article-split { grid-template-columns: 1fr; }
  .article-photo { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
