/* Mātai Chambers: "After dark" concept.
   Method: black paper first. Nothing is drawn; light is added where it is needed. */

@property --r { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --paint { syntax: '<percentage>'; inherits: false; initial-value: 100%; }

:root {
  --ink: #141312;          /* charcoal with a trace of warmth: phones amplify warm greys into brown */
  --soot: #1c1b19;
  --walnut: #2a1a10;
  --ember: #b8692e;        /* lamp light on timber */
  --foil: #e0c77e;         /* sampled from the wordmark */
  --foil-dim: #a8925a;
  --teal: #1f5b5e;         /* the speaker cabinet, used once or twice */
  --paper: #f0e9dc;
  --muted: #aea393;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --body: 'Newsreader', Georgia, serif;
  --caps: 'Montserrat', 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(.2,.7,.1,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* texture lives in the page background only, like paper; photographs sit on top of it untouched */
.grain { display: none; }
html, body { background-image: url(/assets/grain.png); background-repeat: repeat; }

/* ---------- labels ---------- */
.kicker, .card-sub, .role, .side, .caption, .bar nav, .lf-label, dt, .sec-note, .foot-note {
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .68rem;
  font-weight: 500;
}
.kicker { color: var(--foil-dim); margin-bottom: 1.4rem; }
.card-sub { color: var(--foil); letter-spacing: .5em; font-size: .70rem; margin-top: 1.1rem; text-align: center; padding-left: .5em; }

/* ---------- header ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(var(--ink) 0%, rgba(20,19,18,.8) 60%, transparent);
  opacity: 0; transform: translateY(-8px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.bar.on { opacity: 1; transform: none; }
.bar-mark img { height: 17px; width: auto; transform: translateY(1px); } /* capitals match the nav: 44% of the image height is cap height */
.bar nav { display: flex; gap: clamp(1rem, 3vw, 2.4rem); color: var(--muted); }
.bar nav a { transition: color .3s; }
.bar nav a:hover { color: var(--foil); }
.bar-phone { color: var(--foil) !important; }
.menu-btn { display: none; }
@media (max-width: 640px) {
  /* a quiet MENU in the card's capitals; the panel warms up from the corner like a lamp */
  .menu-btn {
    display: block; all: unset; display: block; position: relative; z-index: 3; cursor: pointer;
    font-family: var(--caps); font-size: .68rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
    color: var(--foil); padding: .5rem 0 .5rem .8rem;
  }
  .menu-btn:focus-visible { outline: 1px solid var(--foil-dim); outline-offset: 4px; }
  .bar nav {
    position: fixed; inset: 0 0 auto 0; z-index: 2;
    flex-direction: column; align-items: flex-start; gap: 1.5rem;
    padding: 5.6rem 1.6rem 2.6rem;
    background:
      radial-gradient(120% 90% at 100% 0%, rgba(214,150,70,.16), transparent 60%),
      rgba(12,12,11,.97);
    border-bottom: 1px solid rgba(224,199,126,.18);
    opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s;
  }
  .bar.open nav { opacity: 1; visibility: visible; transition: opacity .45s ease; }
  .bar nav a { font-size: .9rem; letter-spacing: .3em; color: var(--paper); }
  .bar nav a.bar-phone { margin-top: .4rem; color: var(--foil); letter-spacing: .2em; }
  .bar.open { opacity: 1; transform: none; }
  .bar-mark { position: relative; z-index: 3; }
}

/* ---------- 1. lamp ---------- */
.lamp {
  background: #070605;
  position: relative; height: 100svh; min-height: 560px;
  display: grid; place-items: center; overflow: hidden; cursor: default;
  --lx: 50%; --ly: 40%;
}
.lamp-base, .lamp-room {
  position: absolute; inset: 0;
  background: url(assets/hero.jpg) center 62% / cover no-repeat;
}
/* the photograph's own desk lamp is the only thing visible before you move */
.lamp-base {
  filter: brightness(.55) saturate(.9);
  -webkit-mask-image: radial-gradient(ellipse 30% 26% at 50% 66%, rgba(0,0,0,.9), transparent 100%);
          mask-image: radial-gradient(ellipse 30% 26% at 50% 66%, rgba(0,0,0,.9), transparent 100%);
  opacity: 0; transition: opacity 3s ease 1.4s;
}
.lamp.lit-up .lamp-base { opacity: 1; }
.lamp-room {
  -webkit-mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 0, rgba(0,0,0,.7) calc(max(var(--r), 1%) * .35), transparent max(var(--r), 1%));
          mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 0, rgba(0,0,0,.7) calc(max(var(--r), 1%) * .35), transparent max(var(--r), 1%));
  --r: 0%;
  transition: --r 2.6s var(--ease) 1.8s;
}
.lamp.lit-up .lamp-room { --r: 30%; }
/* on a phone there is no pointer: the light falls from the lamp shade onto the table, and stays there.
   It fades in at its final size. (Safari paints a zero-size mask as fully visible, so never animate from 0.) */
.lamp.touch { --lx: 50%; --ly: 52%; }
.lamp.touch .lamp-room {
  -webkit-mask-image: radial-gradient(ellipse 69% 25.5% at 50% 64%, #000 0, rgba(0,0,0,.75) 45%, transparent 100%);
          mask-image: radial-gradient(ellipse 69% 25.5% at 50% 64%, #000 0, rgba(0,0,0,.75) 45%, transparent 100%);
  opacity: 0; transition: opacity 2.4s ease 1.2s;
}
.lamp.touch.lit-up .lamp-room { opacity: 1; }
.lamp-glow {
  position: absolute; left: var(--lx); top: var(--ly); width: 70svmax; height: 70svmax;
  transform: translate(-50%, -50%) scale(.2);
  background: radial-gradient(circle, rgba(184,105,46,.12), rgba(184,105,46,.04) 30%, transparent 55%); mix-blend-mode: screen;
  opacity: 0; transition: opacity 2.4s var(--ease) .4s, transform 3.4s var(--ease) .4s;
  pointer-events: none;
}
.lamp.lit-up .lamp-glow { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.lamp-card { position: relative; z-index: 2; text-align: center; margin-top: -22svh; }
.lamp-card h1 img { filter: none; }
.lamp-card h1 img {
  width: min(560px, 76vw); height: auto;
  opacity: 0; transform: scale(.985);
  transition: opacity 2.4s var(--ease) .2s, transform 3s var(--ease) .2s;
}
.lamp.lit-up .lamp-card h1 img { opacity: 1; transform: none; }
/* soft foil glow sits behind the wordmark as its own layer; Safari will not filter a transparent PNG cleanly */
.lamp-card::before {
  content: ''; position: absolute; left: 50%; top: 40%; width: 120%; height: 260%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(224,199,126,.10), transparent 60%);
  opacity: 0; transition: opacity 2.4s ease .8s; pointer-events: none; z-index: -1;
}
.lamp.lit-up .lamp-card::before { opacity: 1; }
.lamp-card .card-sub { opacity: 0; transition: opacity 1.6s ease 1.6s; font-size: clamp(.62rem, 1.1vw, .8rem); }
.lamp.lit-up .card-sub { opacity: 1; }
.lamp::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18svh; background: linear-gradient(transparent, var(--ink)); pointer-events: none; z-index: 1; }
/* contact line under the card: the card's geometric face, even-height numerals, divided by hairlines */
.lamp-foot {
  position: absolute; bottom: 2.4rem; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; padding: 0 1rem;
  opacity: 0; transition: opacity 1.6s ease 2.6s;
}
.lamp.lit-up .lamp-foot { opacity: 1; }
.lamp-foot a { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: .3rem; padding: .15rem clamp(1.4rem, 3vw, 2.8rem); }
.lamp-foot a + a { border-left: 1px solid rgba(224,199,126,.22); }
.lf-label { font-size: .6rem; letter-spacing: .3em; color: var(--foil-dim); }
.lf-value {
  font-family: var(--caps); font-weight: 400; font-size: .86rem; letter-spacing: .09em;
  font-variant-numeric: lining-nums; color: #e6dfd2; transition: color .3s;
}
.lamp-foot a:hover .lf-value { color: var(--foil); }
@media (max-width: 640px) {
  .lamp-foot { flex-direction: column; align-items: center; gap: .55rem; bottom: 1.8rem; }
  .lamp-foot a { padding: 0; }
  .lamp-foot a + a { border-left: 0; }
  .lamp-foot .lf-addr { order: 3; }
  .lf-value { font-size: .84rem; }
}

/* ---------- painted headings ----------
   The heading exists in near-black ink first, then gold is brushed across it. */
.brush {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 1.02; letter-spacing: -.01em;
  background: linear-gradient(100deg, var(--foil) 0 45%, #2c251f 55% 100%);
  background-size: 240% 100%;
  background-position: var(--paint) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  --paint: 100%;
  transition: --paint 1.2s var(--ease);
  /* room for descenders (g, y, p): the gold is clipped to the text box, so give it a little depth */
  padding-bottom: .16em; margin-bottom: -.16em;
}
.brush.in { --paint: 0%; }

.paint-in { opacity: 0; transition: opacity 1.2s ease; }
.paint-in.in { opacity: 1; }
.rise { opacity: 0; transform: translateY(14px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.rise.in + .rise.in { transition-delay: .25s; }

/* ---------- lit photographs ----------
   Each photograph is black until a pool of light opens on it. */
.lit { position: relative; overflow: hidden; background: var(--ink); }
.lit img {
  width: 100%; height: 100%; object-fit: cover;
  --r: 0%;
  -webkit-mask-image: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), #000 0, #000 calc(max(var(--r), 1%) * .4), transparent max(var(--r), 1%));
          mask-image: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), #000 0, #000 calc(max(var(--r), 1%) * .4), transparent max(var(--r), 1%));
  filter: saturate(0) brightness(.5);
  transition: --r 2.8s var(--ease), filter 3.2s var(--ease) .4s;
}
.lit.in img { --r: 110%; filter: saturate(1) brightness(1); }

/* ---------- 2. opening ---------- */
/* heading left, text right, both starting on the same line */
.opening {
  padding: 18svh clamp(1.25rem, 5vw, 5rem) 16svh; max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 7rem); align-items: start;
}
@media (max-width: 860px) { .opening { grid-template-columns: 1fr; } }
.opening .brush { font-size: clamp(3rem, 7vw, 6.4rem); }
.opening-body { font-size: 1.22rem; color: #e0d8ca; padding-top: .8rem; max-width: 36rem; }
.opening-body > p + p, .opening-body .asks + p { margin-top: 1.2rem; }

/* the four questions: ruled lines like a track list, each with a quiet cue on the right that says what it does */
.asks { margin-top: 1.6rem; border-bottom: 1px solid #3a3632; }
.ask-hint { margin-top: 1.4rem; font-family: var(--caps); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--foil-dim); }
.opening-body .ask-hint + .asks { margin-top: .8rem; }
.ask-hint .on-pointer { display: none; }
@media (hover: hover) and (pointer: fine) { .ask-hint .on-touch { display: none; } .ask-hint .on-pointer { display: inline; } }
.ask-item { border-top: 1px solid #3a3632; }
.ask-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem;
  padding: 1rem 0;
  font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; color: var(--paper); transition: color .3s;
}
.ask-item summary::after {
  content: 'Our answer'; flex: none; white-space: nowrap;
  font-family: var(--caps); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--foil-dim);
  transition: color .3s;
}
.ask-item[open] summary::after { content: 'Close'; }
.ask-item summary::-webkit-details-marker { display: none; }
.ask-item summary:hover, .ask-item[open] summary { color: var(--foil); }
.ask-item summary:hover::after { color: var(--foil); }
.ask-item summary:focus-visible { outline: 1px solid var(--foil-dim); outline-offset: 4px; }
.ask-answer { max-width: 34rem; padding: .2rem 0 1.1rem; }
.ask-answer p { font-size: 1.08rem; line-height: 1.7; color: #d6cebf; }
.ask-answer p + p { margin-top: .8rem; }
.ask-item[open] .ask-answer { animation: drop .45s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .ask-item[open] .ask-answer { animation: none; } }

/* ---------- 3. room ---------- */
.room {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 6rem);
  align-items: end; padding: 8svh clamp(1.25rem, 5vw, 5rem) 16svh; max-width: 1400px; margin: 0 auto;
}
.lit-room { aspect-ratio: 16 / 10; }
.room-text { padding-bottom: 6svh; }
.room-text .brush { margin-bottom: 2rem; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.room-text p.rise { color: #e0d8ca; max-width: 28rem; }
.room-text p.rise + p.rise { margin-top: 1rem; }
@media (max-width: 820px) { .room { grid-template-columns: 1fr; } }

/* ---------- interlude ---------- */
.interlude { padding: 0 0 18svh; }
.lit-wide { height: min(68svh, 48vw); min-height: 360px; }
.lit-wide img { object-position: center 60%; }
.caption { color: var(--muted); text-align: center; margin-top: 1.4rem; font-size: .68rem; }

/* ---------- 4. counsel ---------- */
.counsel { padding: 0 clamp(1.25rem, 5vw, 5rem) 20svh; max-width: 1400px; margin: 0 auto; }
/* the full bookshelf, never cropped: full width, its own proportions (capped in height, with the dark
   edges of the photograph filling any side space), and the heading set over it like Find us */
.lit-shelf { position: relative; width: 100vw; margin: 0 0 5.5rem calc(50% - 50vw); height: min(56vw, 82svh); min-height: 0; background: var(--ink); }
.lit-shelf img { width: 100%; height: 100%; object-fit: contain; }
.lit-shelf.in img { filter: saturate(.9) brightness(.8); }
.lit-shelf::after { content: ''; position: absolute; inset: 55% 0 0 0; pointer-events: none; background: linear-gradient(transparent, rgba(20,19,18,.8)); }
.lit-shelf figcaption { position: absolute; z-index: 2; text-align: right; bottom: clamp(1.2rem, 5svh, 4rem);
  right: max(clamp(1.25rem, 5vw, 5rem), calc((100vw - 1400px) / 2 + clamp(1.25rem, 5vw, 5rem))); }
.lit-shelf figcaption .brush { font-size: clamp(1.7rem, 4.2vw, 4rem); }
@media (max-width: 640px) { .lit-shelf figcaption .kicker { margin-bottom: .5rem; } }
.sec-head { margin-bottom: 5rem; }
.sec-note { color: var(--muted); font-size: .68rem; margin-top: 1.6rem; letter-spacing: .24em; max-width: 34rem; line-height: 2; }
.seniors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.6rem); }
.juniors { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 2vw, 1.6rem); margin-top: 5rem; }
@media (max-width: 900px) { .seniors { grid-template-columns: 1fr 1fr; } .juniors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .seniors { grid-template-columns: 1fr; } .juniors { grid-template-columns: 1fr 1fr; } }

.lit-person {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soot);
  --mx: 50%; --my: 35%;
}
/* Counsel are lit: they light the way. Each face comes up out of the dark once, then stays lit. */
.lit-person img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.3) saturate(.5);
  transition: filter .6s ease-out;
}
.person.in .lit-person img { filter: none; }

.lit-person.blank { display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #181615, var(--ink) 70%); border: 1px solid #1a1918; }
.lit-person.blank span { font-family: var(--caps); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: #83786a; }

.person h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-top: 1.2rem; line-height: 1.1; color: var(--paper); transition: color .6s; }
.person:hover h3 { color: var(--foil); }
.person.small h3 { font-size: 1.35rem; }
.person .role { color: var(--muted); font-size: .66rem; margin-top: .5rem; }
.person .line { font-size: .98rem; margin-top: .7rem; color: var(--foil-dim); font-style: italic; line-height: 1.5; }
.person .line a { display: block; }
.person .line a[href^="tel"] { font-style: normal; color: var(--paper); letter-spacing: .02em; }
.person.small .line { font-size: .86rem; }
.person .line a:hover { color: var(--foil); }

/* ---------- 5. on the record ---------- */
.record { padding: 6svh clamp(1.25rem, 5vw, 5rem) 20svh; max-width: 1400px; margin: 0 auto; }
.record .brush { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.rec {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #c2412d; margin-right: .9rem; vertical-align: 1px;
  box-shadow: 0 0 10px rgba(194,65,45,.7);
  animation: rec 2.4s ease-in-out infinite;
}
@keyframes rec { 50% { opacity: .25; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .rec { animation: none; } }
.record-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
@media (max-width: 820px) { .record-cols { grid-template-columns: 1fr; } }
.side { color: var(--foil-dim); font-size: .68rem; margin: 0 0 1rem; }
.entries { list-style: none; border-top: 1px solid #2f2c29; }
.entries a {
  display: block; padding: 1.3rem 0 1.4rem; border-bottom: 1px solid #2f2c29;
  transition: padding .5s var(--ease), background .5s;
}
.entries time { display: block; font-family: var(--caps); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.entries .t { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; transition: color .4s; }
.entries a:hover { padding-left: .8rem; background: linear-gradient(90deg, rgba(184,105,46,.10), transparent 70%); }
.entries a:hover .t { color: var(--foil); }

/* ---------- 6. find ---------- */
.find { padding: 4svh 0 14svh; }
.lit-street { height: min(68svh, 48vw); min-height: 380px; }
.lit-street img { object-position: 40% 58%; }
.lit-street figcaption {
  position: absolute; right: clamp(1.25rem, 5vw, 5rem); bottom: clamp(2rem, 6svh, 4rem); z-index: 2; text-align: right;
}
.lit-street figcaption .brush { font-size: clamp(2rem, 4.2vw, 4rem); }
@media (max-width: 720px) { .lit-street { height: 70svh; } .lit-street img { object-position: 30% center; } }
.lit-street::after { /* keep the lower edge dark enough to hold the heading */
  content: ''; position: absolute; inset: 55% 0 0 0; pointer-events: none;
  background: linear-gradient(transparent, rgba(20,19,18,.85));
}
.find-details {
  max-width: 1400px; margin: 3.4rem auto 0; padding: 0 clamp(1.25rem, 5vw, 5rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(1.6rem, 4vw, 4rem);
}
/* desktop: address in the middle, as in the lamp line above; phone: phone, email, address */
.find-details .fd-addr { order: 2; }
.find-details .fd-email { order: 3; }
@media (max-width: 900px) {
  .find-details { grid-template-columns: 1fr; }
  .find-details .fd-email { order: 2; }
  .find-details .fd-addr { order: 3; }
}
.find dl div { display: grid; grid-template-columns: 5.5rem 1fr; padding: 1.1rem 0; border-top: 1px solid #2f2c29; }
.find dt { color: var(--muted); font-size: .66rem; padding-top: .45rem; }
.find dd { font-size: 1.2rem; color: var(--paper); }
.find dd a:hover { color: var(--foil); }

/* ---------- fluted timber band, lit from below ---------- */
.flutes {
  height: 120px; position: relative;
  background:
    linear-gradient(to top, rgba(214,130,58,.55), rgba(184,105,46,.12) 45%, transparent 85%),
    repeating-linear-gradient(90deg, #1c110a 0 3px, #3a2314 6px, #5a361c 9px, #3a2314 12px, #1c110a 15px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%);
          mask-image: linear-gradient(to bottom, transparent, #000 40%);
}
.flutes::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(240,170,90,.8), transparent); }

/* ---------- footer ---------- */
.foot { text-align: center; padding: 10svh 1rem 8svh; background: #100f0e; }
.foot img { width: 220px; margin: 0 auto; }
.foot .foot-note { color: #83786a; margin-top: 1.6rem; font-size: .62rem; }
.foot .foot-note a { color: inherit; border-bottom: 1px solid #43403c; }
.foot .foot-note a:hover { color: var(--foil); }
.foot .foot-legal { margin: 3rem auto 0; max-width: 34rem; font-size: .9rem; line-height: 1.7; color: #83786a; }

/* counsel cards link to the bios */
.person-link { display: block; }
.person h3 a { color: inherit; }
.record-all { margin-top: 3.4rem; text-align: center; }
.record-all a {
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 1.05rem 2.2rem; border: 1px solid var(--foil-dim);
  font-family: var(--caps); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--foil);
  transition: background .4s, color .4s, border-color .4s;
}
.record-all a::after { content: '\2192'; font-family: var(--body); font-size: 1.2rem; letter-spacing: 0; transition: transform .4s var(--ease); }
.record-all a:hover { background: var(--foil); color: var(--ink); border-color: var(--foil); }
.record-all a:hover::after { transform: translateX(4px); }

/* phones: things arrive as you reach them, quickly, without a staged reveal */
@media (max-width: 860px) {
  .brush { transition-duration: .55s; }
  .rise, .paint-in { transition-duration: .45s; }
  .rise.in + .rise.in { transition-delay: 0s; }
}

/* juniors: three to a row under the seniors, with shorter (square) portraits so the seniors still lead */
.juniors { row-gap: 3.2rem; }
.juniors .lit-person { aspect-ratio: 1 / 1; }
.juniors .lit-person img { object-position: center 22%; }

/* home On the record: a year at a time, writing on the left and cases on the right (as on /record/) */
.record .years { margin-top: 1rem; }
.record .year { display: grid; grid-template-columns: 7rem 1fr 1fr; gap: 0 clamp(2rem, 5vw, 5rem); margin-bottom: 4rem; }
.record .year-label { position: sticky; top: 6rem; align-self: start; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--foil); }
.record .entries li.none { padding: 1.3rem 0; border-bottom: 1px solid #2f2c29; font-style: italic; color: var(--muted); }
@media (max-width: 900px) {
  .record .year { grid-template-columns: 1fr; gap: 1.6rem; margin-bottom: 3rem; }
  .record .year-label { position: static; }
}
