/* ==========================================================================
   The Eleanor H. Ayer Foundation
   ========================================================================== */

:root {
  --ink:        #15191a;
  --forest:     #243029;
  --forest-mid: #37483d;
  --sage:       #7f9382;
  --sage-pale:  #c9d3c7;
  --brass:      #b08d57;
  --brass-lt:   #cfae7c;
  --paper:      #fbf8f2;
  --paper-warm: #f3ede1;
  --rule:       #e0d8c8;
  --body:       #3d443f;
  --body-soft:  #68716b;

  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --measure: 64ch;
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);

  --step-6: clamp(2.75rem, 1.6rem + 5.4vw, 5.5rem);
  --step-5: clamp(2.1rem, 1.45rem + 3vw, 3.75rem);
  --step-4: clamp(1.7rem, 1.3rem + 1.9vw, 2.6rem);
  --step-3: clamp(1.35rem, 1.15rem + 0.9vw, 1.85rem);
  --step-2: clamp(1.12rem, 1.05rem + 0.35vw, 1.3rem);
  --step-1: 1rem;
  --step-0: 0.9375rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: var(--step-2);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 32;
  color: var(--forest);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--forest); text-decoration-color: var(--brass); text-underline-offset: 0.18em; }
a:hover { color: var(--brass); }

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 999;
  background: var(--forest); color: var(--paper);
  padding: 0.75rem 1.25rem; border-radius: 0 0 6px 6px;
  font: 600 0.9rem/1 var(--sans); text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: var(--paper); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* -------------------------------------------------------------- layout -- */

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, var(--wrap-narrow)); margin-inline: auto; }

.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--warm { background: var(--paper-warm); }
.section--dark { background: var(--forest); color: var(--sage-pale); }
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark a { color: var(--brass-lt); }

.eyebrow {
  font: 600 0.75rem/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: 0.85rem;
}
.eyebrow::after {
  content: ""; flex: 1; height: 1px; max-width: 5rem;
  background: currentColor; opacity: 0.4;
}
.section--dark .eyebrow { color: var(--brass-lt); }

.lede {
  font-size: var(--step-3);
  line-height: 1.5;
  color: var(--forest-mid);
  font-family: var(--serif);
  font-variation-settings: "SOFT" 0, "opsz" 24;
  font-weight: 400;
}
.section--dark .lede { color: var(--sage-pale); }

/* -------------------------------------------------------------- button -- */

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font: 600 0.9rem/1 var(--sans);
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 1rem 1.75rem;
  border: 1px solid var(--forest);
  background: var(--forest); color: var(--paper);
  text-decoration: none; border-radius: 2px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--brass); border-color: var(--brass); color: #fff; transform: translateY(-2px); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); border-color: var(--forest); color: var(--paper); }

.btn--light { background: transparent; border-color: rgba(251, 248, 242, 0.5); color: var(--paper); }
.btn--light:hover { background: var(--paper); border-color: var(--paper); color: var(--forest); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* ----------------------------------------------------------------- nav -- */

.site-head {
  position: fixed; inset: 0 0 auto; z-index: 100;
}
/* The solid background lives on a pseudo-element, not on .site-head
   itself: backdrop-filter would make the header a containing block and
   trap the fixed mobile drawer inside it. */
.site-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--rule);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.site-head.is-solid::before { opacity: 1; }
.site-head__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 1.1rem;
}
.brand { display: block; flex-shrink: 0; }
.brand img { width: clamp(160px, 18vw, 215px); transition: filter 0.35s var(--ease); }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.1rem); }
.nav a {
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--paper); text-decoration: none;
  padding-block: 0.4rem; position: relative;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
  opacity: 0.85;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--brass-lt);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--paper); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* solid state — after scrolling past the dark banner */
.site-head.is-solid .brand img { filter: brightness(0.32) saturate(0.6); }
.site-head.is-solid .nav a { color: var(--forest); opacity: 0.78; }
.site-head.is-solid .nav a:hover,
.site-head.is-solid .nav a[aria-current="page"] { color: var(--forest); opacity: 1; }
.site-head.is-solid .nav-toggle span { background: var(--forest); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px; align-items: flex-end;
}
.nav-toggle span {
  display: block; height: 2px; width: 26px; background: var(--paper);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.35s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 26px; }

@media (max-width: 960px) {
  .nav-toggle { display: flex; position: relative; z-index: 2; }
  /* Keep the close button above the open drawer, and light against it. */
  .site-head.is-solid .nav-toggle[aria-expanded="true"] span { background: var(--paper); }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(85vw, 340px);
    background: var(--forest);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.75rem; padding: 2rem var(--gutter);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.25);
  }
  .nav.is-open { transform: translateX(0); }
  .nav a, .site-head.is-solid .nav a { color: var(--paper); font-size: 0.95rem; opacity: 0.9; }
  body.nav-open { overflow: hidden; }
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: center;
  overflow: hidden; background: var(--ink);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s var(--ease);
}
.hero__media video.is-active { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 14, 12, 0.72) 0%, rgba(10, 14, 12, 0.3) 35%, rgba(10, 14, 12, 0.55) 70%, rgba(10, 14, 12, 0.88) 100%),
    radial-gradient(90% 70% at 50% 45%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero__inner { padding-block: 9rem 7rem; text-align: center; }

/* All five quotations share one grid cell, so the reel is always as tall
   as the longest of them — no min-height to guess at per breakpoint. */
.hero__quote { display: grid; }

.hero__quote blockquote {
  margin: 0; grid-area: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(14px);
  /* Outgoing clears quickly so two quotations never sit on top of
     each other; the incoming one waits for the gap, then fades up. */
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.hero__quote blockquote.is-active {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease) 0.4s, transform 0.8s var(--ease) 0.4s;
}

.hero__quote p {
  margin: 0; max-width: 20ch;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 0, "opsz" 120;
  font-weight: 400;
  font-size: var(--step-5);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}
@media (min-width: 700px) { .hero__quote p { max-width: 26ch; } }

.hero__attrib {
  margin-top: 2.25rem;
  font: 600 0.74rem/1 var(--sans);
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--brass-lt);
}

.hero__dots { display: flex; gap: 0.6rem; justify-content: center; margin-top: 2.5rem; }
.hero__dots button {
  width: 34px; height: 3px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.28); border-radius: 2px;
  transition: background 0.3s var(--ease);
}
.hero__dots button[aria-current="true"] { background: var(--brass-lt); }
.hero__dots button:hover { background: rgba(255, 255, 255, 0.6); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font: 600 0.68rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65); text-decoration: none;
}
.hero__scroll:hover { color: #fff; }
.hero__scroll i {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0));
  animation: drift 2.4s var(--ease) infinite;
}
@keyframes drift {
  0%   { transform: scaleY(0.25); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1);    transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1);    transform-origin: bottom; opacity: 0; }
}

/* page hero for interior pages */
.page-head {
  background: var(--forest);
  color: var(--sage-pale);
  padding-block: clamp(8rem, 14vw, 11rem) clamp(3.5rem, 7vw, 5.5rem);
  position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 85% 0%, rgba(176, 141, 87, 0.22), transparent 60%);
  pointer-events: none;
}
.page-head > * { position: relative; z-index: 1; }
.page-head h1 { color: var(--paper); font-size: var(--step-6); margin-bottom: 0.35em; }
.page-head .lede { color: var(--sage-pale); max-width: 54ch; }

/* -------------------------------------------------------------- pieces -- */

.split {
  display: grid; gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 0.85fr 1.15fr; }
  /* Flipping reverses the visual order, so the proportions have to be
     reversed too — otherwise the prose lands in the narrow column. */
  .split--flip { grid-template-columns: 1.15fr 0.85fr; }
  .split--flip > :first-child { order: 2; }
}

.portrait { position: relative; max-width: 360px; margin-inline: auto; }
.portrait img { width: 100%; filter: drop-shadow(0 24px 48px rgba(36, 48, 41, 0.28)); }
.portrait figcaption {
  margin-top: 1.4rem; text-align: center;
  font: 400 0.95rem/1.5 var(--sans); color: var(--body-soft);
}
.portrait figcaption strong {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: 1.25rem; color: var(--forest); letter-spacing: -0.01em;
}

.cards {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  margin-top: 3rem;
}
.card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 3px; padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(36, 48, 41, 0.1); border-color: var(--brass); }
.card h3 { font-size: var(--step-3); margin: 0; }
.card p { font-size: 1rem; color: var(--body-soft); margin: 0; }
.card__num {
  font: 600 0.72rem/1 var(--sans); letter-spacing: 0.2em;
  color: var(--brass); text-transform: uppercase;
}
.section--warm .card { background: #fff; }

.stats {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  margin-top: 3.25rem;
}
.stat { text-align: center; }
.stat dt {
  font-family: var(--serif); font-variation-settings: "SOFT" 0, "opsz" 72;
  font-size: clamp(2.6rem, 1.8rem + 3.2vw, 4rem);
  font-weight: 400; color: var(--brass-lt); line-height: 1;
  letter-spacing: -0.03em;
}
.stat dd {
  margin: 0.85rem 0 0;
  font: 600 0.76rem/1.5 var(--sans); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sage-pale);
}

/* creed — the five lines */
.creed { list-style: none; margin: 0; padding: 0; counter-reset: creed; }
.creed li {
  counter-increment: creed;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: baseline;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule);
}
.creed li:last-child { border-bottom: 1px solid var(--rule); }
.creed li::before {
  content: counter(creed, decimal-leading-zero);
  font: 600 0.78rem/1 var(--sans); letter-spacing: 0.1em;
  color: var(--brass); padding-top: 0.5em;
}
.creed p {
  margin: 0; max-width: 46ch;
  font-family: var(--serif); font-variation-settings: "SOFT" 0, "opsz" 36;
  font-size: var(--step-4); font-weight: 400; line-height: 1.3;
  color: var(--forest); letter-spacing: -0.015em;
}

/* ellieisms — the full 39, so smaller and tighter than the creed */
.isms { list-style: none; margin: 0; padding: 0; counter-reset: isms; }
.isms li {
  counter-increment: isms;
  display: grid; grid-template-columns: 2.25rem 1fr;
  gap: 0.25rem 0.75rem; align-items: baseline;
  padding-block: clamp(1rem, 2vw, 1.4rem);
  border-top: 1px solid var(--rule);
}
.isms li:last-child { border-bottom: 1px solid var(--rule); }
.isms li::before {
  content: counter(isms);
  font: 600 0.72rem/1 var(--sans); letter-spacing: 0.08em;
  color: var(--brass); padding-top: 0.45em;
  font-variant-numeric: tabular-nums;
}
.isms p {
  margin: 0; max-width: 52ch;
  font-family: var(--serif); font-variation-settings: "SOFT" 0, "opsz" 28;
  font-size: var(--step-3); font-weight: 400; line-height: 1.4;
  color: var(--forest); letter-spacing: -0.008em;
}

/* bibliography */
.works-group + .works-group { margin-top: clamp(2.75rem, 6vw, 4.5rem); }
.works-group h2 { font-size: var(--step-4); margin-bottom: 0.35em; }
.works-intro { color: var(--body-soft); font-size: 1.02rem; max-width: 52ch; }

.works { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.works li {
  display: grid; grid-template-columns: 4rem 1fr; gap: 0 1.25rem;
  align-items: baseline;
  padding-block: 1.05rem;
  border-top: 1px solid var(--rule);
}
.works li:last-child { border-bottom: 1px solid var(--rule); }
.works .yr {
  margin: 0;
  font: 600 0.78rem/1.9 var(--sans); letter-spacing: 0.1em;
  color: var(--brass); font-variant-numeric: tabular-nums;
}
.works h3 {
  margin: 0; font-size: var(--step-2); font-weight: 500; line-height: 1.35;
  font-variation-settings: "SOFT" 0, "opsz" 24;
}
.works .meta {
  display: block; margin-top: 0.2rem;
  font-size: 0.92rem; line-height: 1.5; color: var(--body-soft);
}
@media (max-width: 520px) {
  .works li { grid-template-columns: 1fr; gap: 0.15rem; }
  .works .yr { line-height: 1.4; }
}

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: 0.9rem; bottom: 2rem;
  width: 1px; background: var(--rule);
}
@media (min-width: 720px) { .timeline::before { left: 8.5rem; } }
.timeline li {
  position: relative; padding-left: 2rem; padding-bottom: 2.5rem;
}
@media (min-width: 720px) {
  .timeline li {
    display: grid; grid-template-columns: 8.5rem 1fr; gap: 2rem;
    padding-left: 0;
  }
  .timeline li > div { padding-left: 2rem; }
}
.timeline li::before {
  content: ""; position: absolute; left: -4px; top: 0.72rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 0 4px var(--paper);
}
@media (min-width: 720px) { .timeline li::before { left: calc(8.5rem - 4px); } }
.timeline__year {
  font: 600 0.8rem/1.6 var(--sans); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brass);
}
.timeline h3 { font-size: var(--step-3); margin-bottom: 0.3em; }
.timeline p { font-size: 1.02rem; color: var(--body-soft); }

/* prose block */
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--step-4); margin-top: 2.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-3); margin-top: 2em; }
.prose ul { padding-left: 1.3em; max-width: var(--measure); }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--brass); }
.prose .dropcap::first-letter {
  float: left; font-family: var(--serif);
  font-variation-settings: "SOFT" 0, "opsz" 120;
  font-size: 4.1em; line-height: 0.78; font-weight: 400;
  padding: 0.06em 0.12em 0 0; color: var(--brass);
}

/* pull quote */
.pullquote {
  margin: clamp(2.5rem, 6vw, 4rem) 0;
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.pullquote p {
  font-family: var(--serif); font-variation-settings: "SOFT" 0, "opsz" 48;
  font-size: var(--step-4); line-height: 1.32; font-weight: 400;
  color: var(--forest); letter-spacing: -0.015em; max-width: 34ch;
}
.pullquote cite {
  display: block; margin-top: 1.1rem; font-style: normal;
  font: 600 0.74rem/1 var(--sans); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass);
}

/* book list */
.books { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0; }
.books li {
  display: grid; gap: 0.35rem 1.5rem; align-items: baseline;
  padding-block: 1.4rem; border-top: 1px solid var(--rule);
}
@media (min-width: 720px) { .books li { grid-template-columns: 1fr auto; } }
.books li:last-child { border-bottom: 1px solid var(--rule); }
.books h3 {
  margin: 0; font-size: var(--step-3); font-weight: 500;
}
.books span { font-size: 0.95rem; color: var(--body-soft); }
.books .tag {
  font: 600 0.7rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass); white-space: nowrap;
}

/* contact */
.contact-card {
  background: var(--forest); color: var(--sage-pale);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  border-radius: 3px;
  background-image: radial-gradient(80% 120% at 100% 0%, rgba(176, 141, 87, 0.22), transparent 60%);
}
.contact-card h2 { color: var(--paper); }
/* The card is dark but may sit inside a light section, so it has to
   restate the light-on-dark text colours for itself. */
.contact-card p { color: var(--sage-pale); }
.contact-card .lede { color: var(--sage-pale); }
.contact-card .eyebrow { color: var(--brass-lt); }
.contact-card .mail {
  display: inline-block; margin-top: 0.5rem;
  font-family: var(--serif); font-variation-settings: "SOFT" 0, "opsz" 48;
  font-size: clamp(1.3rem, 1rem + 1.8vw, 2.1rem);
  font-weight: 400; letter-spacing: -0.015em;
  color: var(--brass-lt); text-decoration: none;
  border-bottom: 1px solid rgba(207, 174, 124, 0.4);
  padding-bottom: 0.1em;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  word-break: break-word;
}
.contact-card .mail:hover { color: #fff; border-color: #fff; }

.reasons { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.7rem; }
.reasons li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 1.05rem; }
.reasons li::before {
  content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.62em;
  background: var(--brass); border-radius: 50%;
}

/* -------------------------------------------------------------- footer -- */

.site-foot {
  background: var(--ink); color: rgba(201, 211, 199, 0.72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.95rem;
}
.site-foot__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-foot img { width: 200px; opacity: 0.9; margin-bottom: 1.1rem; }
.site-foot h4 {
  color: var(--paper); font-family: var(--sans);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-foot a { color: rgba(201, 211, 199, 0.8); text-decoration: none; }
.site-foot a:hover { color: var(--brass-lt); }
.site-foot p { font-size: 0.95rem; max-width: 34ch; }
.site-foot__base {
  padding-top: 1.75rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between;
  font-size: 0.85rem; color: rgba(201, 211, 199, 0.5);
}

/* ------------------------------------------------------------- reveals -- */

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@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;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__scroll i { animation: none; }
}
