/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: var(--fw-bold);
  margin: 0 0 var(--space-4);
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--fw-extrabold); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: var(--fw-semibold); }
h5 { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: var(--fw-semibold); }
h6 { font-size: var(--fs-h6); line-height: var(--lh-h6); font-weight: var(--fw-semibold); }

p { margin: 0 0 var(--space-4); max-width: 68ch; }
p:last-child { margin-bottom: 0; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--color-text); max-width: 60ch; }
small, .text-small { font-size: var(--fs-small); line-height: var(--lh-small); }
.text-muted { color: var(--color-text-muted); }

a { color: var(--color-link); text-decoration-color: rgba(15, 42, 71, 0.35); text-underline-offset: 0.15em; }
a:hover { text-decoration-color: currentColor; }

ul, ol { padding-left: 1.25em; }
address { font-style: normal; line-height: var(--lh-body); }

button { font-family: inherit; }

/* Focus visibility — never suppressed */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-gold-800);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  z-index: 200;
  transition: top var(--duration-fast) var(--ease-standard);
  font-weight: var(--fw-semibold);
}
.skip-link:focus {
  top: var(--space-4);
}

.section {
  padding-block: var(--space-10);
}
.section--tight { padding-block: var(--space-8); }
.section--alt { background: var(--color-surface-alt); }
.section--navy { background: var(--color-navy); color: rgba(255,255,255,0.92); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--color-white); }
.section--navy a:not(.button) { color: #CFE0F0; }

.section__head {
  max-width: 46rem;
  margin-bottom: var(--space-7);
}
.section__head--center { margin-inline: auto; text-align: center; }

.grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--duration-slow) var(--ease-standard), transform var(--duration-slow) var(--ease-standard);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.divider {
  border: none;
  border-top: var(--border-width) solid var(--color-border);
  margin: var(--space-8) 0;
}

/* Image placeholders — replaced with real photography per README/image plan */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gray-100), #E4E7EC);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-gray);
  width: 100%;
  overflow: hidden;
}
.img-placeholder svg { opacity: 0.55; }
.img-placeholder--16x9 { aspect-ratio: 16 / 9; }
.img-placeholder--4x3 { aspect-ratio: 4 / 3; }
.img-placeholder--1x1 { aspect-ratio: 1 / 1; border-radius: 50%; }
.img-placeholder--3x4 { aspect-ratio: 3 / 4; }
.img-placeholder--3x1 { aspect-ratio: 3 / 1; }
