/* Hamilton Clemens — personal site
   Palette and type borrowed from h2ohamilton.com:
   cream #F5EDD8, navy #1B2A6B, gold #C9A227, mid-blue #3D5A99
   Cinzel headings, Inter body */

:root {
  --cream: #F5EDD8;
  --cream-deep: #E8DCC0;
  --navy: #1B2A6B;
  --navy-deep: #0B122E;
  --blue: #3D5A99;
  --gold: #C9A227;
  --gold-soft: rgba(201, 162, 39, 0.45);
  --gold-faint: rgba(201, 162, 39, 0.18);
  --text: #1B2A6B;
  --text-muted: rgba(27, 42, 107, 0.74);
  --white: #fff;
  --font-serif: "Cinzel", "Times New Roman", Times, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 42rem;
  --wide: 70rem;
  --nav-h: 4.25rem;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(27, 42, 107, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--gold); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--cream);
  padding: 0.5rem 1rem;
  border-radius: 0 0 6px 6px;
}
.skip-link:focus { top: 0; color: var(--cream); }

/* ----- Header / nav ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(245, 237, 216, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--gold-soft);
  box-shadow: 0 1px 0 var(--gold-faint);
}

.nav-wrap {
  max-width: var(--wide);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
}
.brand:hover { color: var(--navy); }
.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.4rem;
  background: var(--navy);
  color: var(--gold);
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--gold-soft);
  background: transparent;
  border-radius: 0.4rem;
  cursor: pointer;
  padding: 0;
  color: var(--navy);
}
.nav-toggle:hover { background: var(--gold-faint); }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  content: "";
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 4.5px; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* ----- Shared layout ----- */
.section {
  padding: 5rem 1.5rem;
}
.section-inner {
  max-width: var(--wide);
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}
.section h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: var(--navy);
  text-transform: uppercase;
}
.gold-rule {
  display: block;
  width: 4.5rem;
  height: 1px;
  background: var(--gold);
  margin: 0 0 1.75rem;
  border: 0;
}

.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.15rem; color: var(--text-muted); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); font-weight: 600; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  line-height: 1;
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-solid {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-solid:hover {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-on-navy.btn-outline { color: var(--gold); }
.btn-on-navy.btn-outline:hover { background: var(--gold); color: var(--navy-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }

/* ----- Hero ----- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.5rem 5rem;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  width: min(80vw, 44rem);
  height: min(80vw, 44rem);
  border-radius: 50%;
  background: var(--gold);
  filter: blur(140px);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-photo {
  width: 11.5rem;
  height: 11.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 10px rgba(201, 162, 39, 0.12), var(--shadow-soft);
  margin-bottom: 2rem;
}
.hero-eyebrow {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 4.15rem);
  letter-spacing: 0.1em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 1.1rem;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.15rem;
  margin: 0 0 1.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero-tags .dot {
  color: var(--gold);
  padding: 0 0.55rem;
  font-weight: 400;
}
.hero-lead {
  max-width: 34rem;
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ----- Photo band ----- */
.photo-band {
  padding: 0;
  line-height: 0;
}
.photo-band img {
  width: 100%;
  height: min(42vw, 28rem);
  object-fit: cover;
  object-position: center 55%;
}

/* ----- About ----- */
.about .about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
  max-width: 40rem;
}
.stat {
  border-top: 1px solid var(--gold-soft);
  padding-top: 1rem;
}
.stat-value {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin: 0 0 0.25rem;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
  line-height: 1.4;
}

/* ----- Experience ----- */
.experience { background: linear-gradient(180deg, var(--cream) 0%, #efe6cd 100%); }
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.job {
  background: rgba(245, 237, 216, 0.7);
  border: 1px solid var(--gold-faint);
  border-left: 2px solid var(--gold);
  padding: 1.6rem 1.6rem 1.5rem;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.45rem;
}
.job h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.2rem;
  color: var(--navy);
}
.job-role {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 500;
  margin: 0 0 0.85rem;
}
.job p { margin: 0 0 0.85rem; color: var(--text-muted); }
.job p:last-child { margin-bottom: 0; }
.job ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--text-muted);
}
.job li { margin: 0 0 0.45rem; }
.job li:last-child { margin-bottom: 0; }

/* ----- Credentials ----- */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 0.9rem;
}
.cred {
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid var(--gold-soft);
  background: transparent;
}
.cred-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.35rem;
  font-weight: 500;
}
.cred h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  margin: 0 0 0.3rem;
  color: var(--navy);
  line-height: 1.3;
}
.cred p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ----- Photos ----- */
.photos { background: #efe6cd; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery figure { margin: 0; }
.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery button:hover img,
.gallery button:focus-visible img { transform: scale(1.04); }
.gallery figcaption {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.55rem 0.1rem 0;
  line-height: 1.4;
}
.gallery .span-wide img { aspect-ratio: 16 / 10; }
.systems-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.systems-pair figure { margin: 0; }
.systems-pair button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}
.systems-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.systems-pair button:hover img,
.systems-pair button:focus-visible img { transform: scale(1.04); }
.systems-pair figcaption {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.55rem 0.1rem 0;
  line-height: 1.4;
}

/* ----- Resume ----- */
.resume-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid var(--gold-soft);
  padding: 2rem 2.1rem;
  background: rgba(245, 237, 216, 0.5);
}
.resume-panel h2 { margin-bottom: 0.6rem; }
.resume-panel p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
}

/* ----- Contact / footer band ----- */
.contact {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 5rem 1.5rem 3.5rem;
}
.contact .section-label { color: var(--gold); }
.contact h2 {
  color: var(--cream);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}
.contact .prose p { color: rgba(245, 237, 216, 0.78); }
.contact-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.contact-list li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 1rem;
}
.contact-list dt,
.contact-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.contact a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.contact a:hover { color: var(--gold); }
.contact-list li > * { justify-self: start; }
.placeholder {
  display: inline-block;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  border-bottom: 1px dashed var(--gold-soft);
  color: rgba(245, 237, 216, 0.7);
  font-style: italic;
  padding: 0 0.15rem;
}
.placeholder-note {
  font-size: 0.85rem;
  color: rgba(245, 237, 216, 0.55);
  margin: 1.25rem 0 0;
}

.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  padding: 1.4rem 1.5rem 2rem;
  color: rgba(245, 237, 216, 0.55);
  font-size: 0.82rem;
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}
.site-footer a { color: rgba(245, 237, 216, 0.8); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

/* ----- Training photos (under credentials) ----- */
.training {
  margin-top: 3rem;
}
.training-intro {
  max-width: var(--measure);
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}
.training-gallery,
.dive-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.training-gallery figure,
.dive-gallery figure { margin: 0; }
.training-gallery button,
.dive-gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}
.training-gallery img,
.dive-gallery img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.training-gallery img { aspect-ratio: 4 / 5; }
.dive-gallery img { aspect-ratio: 4 / 3; }
.training-gallery button:hover img,
.training-gallery button:focus-visible img,
.dive-gallery button:hover img,
.dive-gallery button:focus-visible img { transform: scale(1.04); }
.training-gallery figcaption,
.dive-gallery figcaption {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.55rem 0.1rem 0;
  line-height: 1.4;
}

/* ----- Diving ----- */
.diving { background: var(--cream); }
.dive-clip {
  margin: 0 0 1.75rem;
}
.dive-clip video {
  width: 100%;
  max-width: 52rem;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--navy-deep);
}
.dive-clip figcaption {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.55rem 0.1rem 0;
  line-height: 1.4;
  max-width: 52rem;
}

/* ----- Lightbox ----- */
.lightbox {
  border: 0;
  padding: 0;
  background: rgba(11, 18, 46, 0.94);
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
.lightbox::backdrop { background: rgba(11, 18, 46, 0.94); }
.lightbox-inner {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem 2rem;
}
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100dvh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.lightbox figcaption {
  color: var(--cream);
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  text-align: center;
  max-width: 40rem;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 1px solid var(--gold-soft);
  color: var(--cream);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}
.lightbox-close:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

/* ----- 404 ----- */
.page-404 {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.page-404 main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.page-404 h1 {
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1rem;
}

/* ----- Responsive ----- */
@media (max-width: 800px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-list {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: var(--cream);
    border-bottom: 1px solid var(--gold-soft);
    box-shadow: var(--shadow-soft);
  }
  .nav-open .nav-list { display: flex; }
  .nav-list a {
    display: block;
    padding: 0.85rem 1.5rem;
    border-bottom: 0;
  }
  .nav-list a:hover { background: var(--gold-faint); }
  .gallery,
  .training-gallery,
  .dive-gallery { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; gap: 0.85rem; }
  .contact-list li { grid-template-columns: 1fr; gap: 0.15rem; }
  .hero { padding: 3.25rem 1.25rem 3.5rem; }
  .section { padding: 3.5rem 1.25rem; }
  .resume-panel { padding: 1.5rem 1.25rem; }
}

@media (max-width: 520px) {
  .gallery,
  .training-gallery,
  .dive-gallery { grid-template-columns: 1fr; }
  .systems-pair { grid-template-columns: 1fr; }
  .hero-photo { width: 9.5rem; height: 9.5rem; }
  .brand-name { display: none; }
}

@media (min-width: 801px) {
  .about .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}


/* ----- Featured job photo ----- */
.job-photo {
  margin: 1.1rem 0 1.2rem;
}
.job-photo button {
  display: block;
  width: 100%;
  max-width: 46rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}
.job-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.job-photo button:hover img,
.job-photo button:focus-visible img { transform: scale(1.03); }
.job-photo figcaption {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.55rem 0.1rem 0;
  line-height: 1.4;
  max-width: 46rem;
}

/* ----- Latest posts (homepage) ----- */
.latest-posts {
  padding-top: 0;
}
.post-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 0.9rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gold-soft);
  padding: 1.25rem 1.3rem 1.35rem;
  text-decoration: none;
  color: var(--navy);
  background: rgba(245, 237, 216, 0.5);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.post-card:hover {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--cream);
}
.post-card-date {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 0.45rem;
}
.post-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: var(--navy);
  text-transform: none;
}
.post-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.latest-more {
  margin: 1.5rem 0 0;
}

/* ----- Blog pages ----- */
.blog-hero h1 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.blog-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.blog-index li {
  border-top: 1px solid var(--gold-faint);
  padding: 1.4rem 0;
}
.blog-index li:last-child { border-bottom: 1px solid var(--gold-faint); }
.blog-index a {
  text-decoration: none;
  color: var(--navy);
}
.blog-index a:hover h2 { color: var(--navy); }
.blog-index h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: none;
  margin: 0 0 0.4rem;
  line-height: 1.25;
}
.blog-index .post-date {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
}
.blog-index p {
  margin: 0;
  color: var(--text-muted);
  max-width: var(--measure);
}

.article-wrap {
  max-width: 46rem;
  margin: 0 auto;
}
.article-header h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: none;
  margin: 0 0 0.75rem;
  color: var(--navy);
}
.article-meta {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.5rem;
}
.article-body p { margin: 0 0 1.15rem; color: var(--text-muted); }
.article-body p:last-child { margin-bottom: 0; }
.article-body h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: none;
  margin: 2rem 0 0.8rem;
}
.article-body ul {
  margin: 0 0 1.15rem;
  padding: 0 0 0 1.15rem;
  color: var(--text-muted);
}
.article-body li { margin: 0 0 0.45rem; }
.article-body figure {
  margin: 1.5rem 0;
}
.article-body figure img {
  width: 100%;
  height: auto;
  display: block;
}
.article-body figcaption {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.5rem 0.1rem 0;
  line-height: 1.4;
}
.article-body figure.clip-vertical {
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}
.article-body figure.clip-vertical video {
  width: 100%;
  height: auto;
  aspect-ratio: 406 / 720;
  display: block;
  background: var(--navy-deep);
}

.article-footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.article-footer a { text-decoration: none; border-bottom: 1px solid var(--gold); }

#email-link a { color: inherit; }
.contact #email-link a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.contact #email-link a:hover { color: var(--gold); }
