/* Dr. Thomas Jo Kurita — editorial landing page */

/* ---------- fonts ---------- */
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks keep layout stable while web fonts load. */
@font-face {
  font-family: "Serif Fallback";
  src: local("Georgia"), local("Times New Roman"), local("DejaVu Serif");
  size-adjust: 86%;
  ascent-override: 92%;
  descent-override: 24%;
}
@font-face {
  font-family: "Sans Fallback";
  src: local("Arial"), local("Helvetica"), local("DejaVu Sans");
  size-adjust: 104%;
}

/* ---------- tokens ---------- */
:root {
  --bg: #f7f5f0;
  --bg-2: #efebe3;
  --surface: #ffffff;
  --text: #202126;
  --muted: #5d5a54;
  --faint: #8b867d;
  --line: rgba(32, 33, 38, 0.14);
  --line-strong: rgba(32, 33, 38, 0.28);
  --accent: #9d784c;
  --accent-ink: #7a5a35;
  --glow: rgba(157, 120, 76, 0.16);
  --grain-opacity: 0.035;
  --shadow: 0 30px 60px -30px rgba(32, 33, 38, 0.35);
  color-scheme: light;

  --serif: "Instrument Serif", "Serif Fallback", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1440px;
  --header-h: 4.5rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101114;
    --bg-2: #15171b;
    --surface: #1a1c20;
    --text: #f4f1eb;
    --muted: #aaa49a;
    --faint: #7d786f;
    --line: rgba(244, 241, 235, 0.11);
    --line-strong: rgba(244, 241, 235, 0.24);
    --accent: #c6a77b;
    --accent-ink: #d4b98f;
    --glow: rgba(198, 167, 123, 0.13);
    --grain-opacity: 0.05;
    --shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101114;
  --bg-2: #15171b;
  --surface: #1a1c20;
  --text: #f4f1eb;
  --muted: #aaa49a;
  --faint: #7d786f;
  --line: rgba(244, 241, 235, 0.11);
  --line-strong: rgba(244, 241, 235, 0.24);
  --accent: #c6a77b;
  --accent-ink: #d4b98f;
  --glow: rgba(198, 167, 123, 0.13);
  --grain-opacity: 0.05;
  --shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* "Ink" surfaces: the darker projection-room tone used for rhythm between sections. */
:root {
  --ink-bg: #16171b;
  --ink-bg-2: #1e2025;
  --ink-text: #f4f1eb;
  --ink-muted: #aaa49a;
  --ink-faint: #827d73;
  --ink-line: rgba(244, 241, 235, 0.12);
  --ink-line-strong: rgba(244, 241, 235, 0.26);
  --ink-accent: #c6a77b;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink-bg: #0a0b0d;
    --ink-bg-2: #131418;
  }
}
:root[data-theme="dark"] {
  --ink-bg: #0a0b0d;
  --ink-bg-2: #131418;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.15rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Film grain: a single tiled texture, painted once. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.theme-anim,
.theme-anim *,
.theme-anim *::before,
.theme-anim *::after {
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease) !important;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus {
  top: calc(env(safe-area-inset-top, 0px) + 1rem);
}

/* ---------- shared bits ---------- */
.kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.idx {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0;
  color: var(--accent-ink);
  text-transform: none;
}
.kicker-rule {
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
  flex: none;
}
.btn {
  --pad: 0.95rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: var(--pad);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn svg {
  transition: transform 0.35s var(--ease);
}
.btn-solid {
  background: var(--text);
  color: var(--bg);
}
.btn-solid:hover {
  background: var(--accent-ink);
  color: var(--bg);
}
.btn-solid:hover svg {
  transform: translateX(4px);
}
.btn-line {
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn-line:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}
.frame {
  position: relative;
  isolation: isolate;
}
.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  border: 1px solid var(--accent);
  opacity: 0.55;
  z-index: -1;
  transition: transform 0.6s var(--ease);
}
.frame .pic {
  box-shadow: var(--shadow);
}
.credit {
  color: var(--faint);
  white-space: nowrap;
}
figcaption {
  margin-top: 1.4rem;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.pic {
  display: block;
  overflow: hidden;
}
.pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--accent-ink);
  padding-top: 0.1em;
  flex: none;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-dr {
  font-style: italic;
  color: var(--accent-ink);
}
.brand-short {
  display: none;
  font-family: var(--serif);
  font-size: 1.3rem;
  white-space: nowrap;
}
.theme-cycle {
  display: none;
}
.tc {
  display: none;
}
.theme-cycle[data-mode="auto"] .tc-auto,
.theme-cycle[data-mode="light"] .tc-light,
.theme-cycle[data-mode="dark"] .tc-dark {
  display: grid;
}
.nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--muted);
  padding-block: 0.4rem;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:hover,
.nav a.is-active {
  color: var(--text);
}
.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.theme-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.theme-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.theme-btn:hover {
  color: var(--text);
}
.theme-btn[aria-pressed="true"] {
  background: var(--text);
  color: var(--bg);
}
.lang-link {
  display: grid;
  place-items: center;
  height: 2.5rem;
  min-width: 2.5rem;
  padding-inline: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.lang-link:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}
.menu-btn {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  place-items: center;
}
.menu-lines,
.menu-lines::before {
  display: block;
  width: 1.4rem;
  height: 1px;
  background: currentColor;
  position: relative;
}
.menu-lines {
  transform: translateY(-3px);
}
.menu-lines::before {
  content: "";
  position: absolute;
  top: 7px;
  width: 0.9rem;
  right: 0;
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--bg);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-y: auto;
  animation: menu-in 0.45s var(--ease);
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}
.mm-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-block: 1rem 2rem;
}
.mm-close {
  align-self: flex-end;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.mobile-menu ol {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.mobile-menu li {
  border-bottom: 1px solid var(--line);
}
.mobile-menu a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 2.75rem);
  line-height: 1.1;
  text-decoration: none;
}
.mm-idx {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
}
.mm-prefs {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.mm-pref .c-label {
  margin-bottom: 0.6rem;
}
.theme-switch-lg {
  display: flex;
  width: 100%;
  padding: 4px;
}
.theme-switch-lg .theme-btn {
  flex: 1;
  width: auto;
  height: 2.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font: 600 0.9rem var(--sans);
}
.mm-lang {
  width: 100%;
  justify-content: center;
}
.mm-foot {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
body.menu-open {
  overflow: hidden;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 1rem);
  padding-bottom: 4.5rem;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  right: -20vmax;
  top: -15vmax;
  background: radial-gradient(closest-side, var(--glow), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
}
.hero-name {
  display: flex;
  flex-direction: column;
  font-size: clamp(4rem, min(12vw, 16.5vh), 11.25rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}
.hero-name > span {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero-name > span > span {
  display: inline-block;
}
.hn-dr {
  font-size: 0.32em;
  font-style: italic;
  color: var(--accent-ink);
  letter-spacing: 0;
  margin-bottom: 0.2em !important;
}
.hn-last {
  font-style: italic;
  padding-left: 0.55em;
}
.hero-lead {
  max-width: 36rem;
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.4rem);
  line-height: 1.55;
  color: var(--muted);
}
.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  margin: 2rem 0 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 36rem;
}
.creds dt {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.creds dd {
  margin: 0.25rem 0 0;
  font-size: 1.02rem;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-figure {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: clamp(340px, min(38vw, 56vh), 540px);
}
.hero-figure .pic {
  aspect-ratio: 4 / 5;
}
.hero-figure .pic img {
  object-position: 50% 30%;
}
.hero-figure figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-figure figcaption::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
  translate: -50% 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--faint);
}
.scroll-cue:hover {
  color: var(--accent-ink);
}

/* intro motion */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-name > span > span {
    animation: rise 1.25s var(--ease) both;
  }
  .js .hn-dr > span { animation-delay: 0.05s; }
  .js .hn-line > span { animation-delay: 0.15s; }
  .js .hn-last > span { animation-delay: 0.28s; }
  .js .hero .eyebrow,
  .js .hero-lead,
  .js .creds,
  .js .cta {
    animation: fade-up 1s var(--ease) both;
  }
  .js .hero .eyebrow { animation-delay: 0s; }
  .js .hero-lead { animation-delay: 0.45s; }
  .js .creds { animation-delay: 0.55s; }
  .js .cta { animation-delay: 0.65s; }
  .js .hero-figure .pic {
    animation: unveil 1.5s var(--ease) both 0.1s;
  }
  .js .hero-figure .pic img {
    animation: settle 2.2s var(--ease) both 0.1s;
  }
  .js .hero-figure .frame::before {
    animation: frame-in 1.4s var(--ease) both 0.6s;
  }
  .js .hero-figure figcaption,
  .js .scroll-cue {
    animation: fade 1.2s var(--ease) both 1s;
  }
  .scroll-cue svg {
    animation: nudge 2.4s ease-in-out infinite 2s;
  }
}
@keyframes rise {
  from { transform: translateY(105%); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
}
@keyframes fade {
  from { opacity: 0; }
}
@keyframes unveil {
  from { clip-path: inset(8% 10% 8% 10%); }
  to { clip-path: inset(0); }
}
@keyframes settle {
  from { transform: scale(1.12); }
}
@keyframes frame-in {
  from { transform: translate(0, 0); opacity: 0; }
}
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- sections ---------- */
.section {
  position: relative;
  padding-block: clamp(5rem, 11vw, 9.5rem);
}
.section + .section {
  border-top: 1px solid var(--line);
}
.sec-head {
  max-width: 54rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.sec-head h2 {
  font-size: clamp(2.25rem, 1.6rem + 3.2vw, 4.25rem);
}
.sec-hint {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
  }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.about-text {
  display: grid;
  gap: 1.4rem;
  max-width: 40rem;
  color: var(--muted);
}
.about-text .lede {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.95rem);
  line-height: 1.32;
  color: var(--text);
}
.facts {
  margin: 0;
  display: grid;
  border-top: 1px solid var(--line);
}
.facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 0;
  text-align: right;
  font-family: var(--serif);
  font-size: 1.25rem;
}
.cinema {
  margin: clamp(4rem, 8vw, 7rem) 0 0;
}
.cinema .pic {
  aspect-ratio: 21 / 9;
  max-height: 78vh;
  width: 100%;
}
.cinema .pic img {
  object-position: 55% 28%;
}
@media (prefers-reduced-motion: no-preference) {
  .js .cinema.reveal {
    transform: none;
  }
  .js .cinema.reveal .pic {
    clip-path: inset(0 6% 0 6%);
    transition: clip-path 1.4s var(--ease);
  }
  .js .cinema.reveal.is-in .pic {
    clip-path: inset(0);
  }
}

/* timeline */
.timeline {
  --year-w: clamp(5.5rem, 14vw, 11rem);
  --rail: calc(var(--year-w) + 1.5rem);
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 62rem;
}
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: var(--rail);
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: var(--line-strong);
}
.timeline::after {
  background: var(--accent);
  transform-origin: top;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .timeline::after {
      animation: grow linear both;
      animation-timeline: view();
      animation-range: entry 30% exit 60%;
    }
  }
}
@keyframes grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: var(--year-w) 3rem minmax(0, 1fr);
  align-items: baseline;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-year {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 1.6rem + 3vw, 4.25rem);
  line-height: 0.9;
  color: var(--faint);
  transition: color 0.6s var(--ease);
}
.tl-item:hover .tl-year,
.tl-item.is-in .tl-year {
  color: var(--accent-ink);
}
.tl-dot {
  position: relative;
  justify-self: center;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
  z-index: 1;
  translate: -1px -0.4em;
}
.tl-item.is-in .tl-dot {
  background: var(--accent);
}
.tl-body h3 {
  font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem);
  margin-bottom: 0.4rem;
}
.tl-body p {
  color: var(--muted);
  max-width: 34rem;
}

/* areas */
.areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.areas-figure {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  margin: 0;
}
.areas-figure .pic {
  aspect-ratio: 334 / 311;
}
.areas {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.area {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.5s var(--ease);
}
.area-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.6s var(--ease);
}
.area:hover .area-num {
  transform: translateX(6px);
}
.area-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 0.7rem;
}
.area-kind {
  color: var(--muted);
  font-weight: 600;
}
.area h3 {
  font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.6rem);
  margin-bottom: 0.75rem;
}
.area p:last-child {
  color: var(--muted);
  max-width: 38rem;
}
.area-expert {
  border-top: 1px dashed var(--line-strong);
}
.note {
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  border-left: 2px solid var(--accent);
  background: var(--bg-2);
  color: var(--muted);
  font-size: 1rem;
}
.note-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.note-quiet {
  border-left-color: var(--line-strong);
}

/* honors */
.honors-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.honors-figure {
  margin: 0;
  max-width: 560px;
}
.honors-figure .pic {
  aspect-ratio: 3 / 2;
}
.honors {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.honor {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.honor-year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--accent-ink);
}
.honor h3 {
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.8rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.honor-org {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.honor p:last-child {
  color: var(--muted);
}

/* gallery */
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "speech speech speech"
    "portrait honorary office";
  gap: clamp(1rem, 2vw, 1.75rem);
}
.g-speech { grid-area: speech; }
.g-portrait { grid-area: portrait; }
.g-honorary { grid-area: honorary; }
.g-office { grid-area: office; }
.g-item {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.g-btn {
  position: relative;
  flex: 1;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  min-height: 0;
}
.g-btn .pic {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
}
.g-speech .g-btn .pic {
  aspect-ratio: 2 / 1;
}
.g-speech .g-btn img {
  object-position: 50% 25%;
}
.g-btn img {
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
}
.g-btn:hover img {
  transform: scale(1.04);
}
.g-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.5s var(--ease), inset 0.5s var(--ease);
}
.g-btn:hover::after {
  inset: 10px;
  border-color: rgba(244, 241, 235, 0.65);
}
.g-cap {
  margin-top: 0.8rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.g-credit {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--faint);
}
.g-portrait .g-btn img {
  object-position: 50% 22%;
}
.g-honorary .g-btn img {
  object-position: 58% 40%;
}

/* lightbox */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f4f1eb;
}
.lightbox::backdrop {
  background: rgba(10, 10, 12, 0.94);
}
.lightbox[open] {
  animation: fade 0.35s var(--ease);
}
.lb-inner {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 4.5rem) 1rem calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
}
.lb-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}
.lb-figure img {
  width: auto;
  height: auto;
  max-width: min(100%, 1280px);
  max-height: calc(100svh - 11rem);
  object-fit: contain;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
}
.lb-figure figcaption {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  width: 100%;
  color: rgba(244, 241, 235, 0.75);
}
.lb-count {
  font-variant-numeric: tabular-nums;
  color: rgba(244, 241, 235, 0.5);
}
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(244, 241, 235, 0.25);
  border-radius: 50%;
  background: rgba(16, 17, 20, 0.5);
  color: #f4f1eb;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.lb-btn:hover {
  border-color: #c6a77b;
  background: rgba(16, 17, 20, 0.85);
}
.lb-btn:focus-visible {
  outline-color: #c6a77b;
}
.lb-close {
  top: calc(env(safe-area-inset-top, 0px) + 1rem);
  right: 1rem;
}
.lb-prev,
.lb-next {
  top: 50%;
  translate: 0 -50%;
}
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.c-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.venue-name {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 1.7rem + 3vw, 4.5rem);
  line-height: 1;
  margin-bottom: 1rem;
}
.venue address {
  font-style: normal;
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.c-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
}
.c-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  line-height: 1.1;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.c-list a svg {
  color: var(--accent);
  width: 1.25rem;
  height: 1.25rem;
}
.c-list a:hover {
  color: var(--accent-ink);
}
.c-hint {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 30rem;
}
.contact-notes .note:first-child {
  margin-top: 0;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 7vw, 6rem) calc(env(safe-area-inset-bottom, 0px) + 2.5rem);
  background: var(--bg-2);
  font-size: 0.95rem;
  color: var(--muted);
}
.ft-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.ft-name {
  font-family: var(--serif);
  font-size: clamp(3rem, 1.5rem + 7vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text);
}
.ft-name em {
  color: var(--accent-ink);
}
.ft-top-link {
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ft-top-link:hover {
  color: var(--accent-ink);
}
.ft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.ft-id p + p {
  margin-top: 0.3rem;
}
.ft-id strong {
  font-weight: 600;
  color: var(--text);
}
.ft-nav,
.ft-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.ft-nav {
  grid-template-columns: repeat(2, max-content);
  column-gap: 2rem;
}
.site-footer a {
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.site-footer a:hover {
  color: var(--text);
}
.ft-legal {
  font-size: 0.85rem;
  color: var(--faint);
  max-width: 56rem;
}
.ft-legal + .ft-legal {
  margin-top: 0.4rem;
}

/* ---------- plain pages ---------- */
.plain {
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.prose {
  max-width: 44rem;
}
.prose h1 {
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
  margin-bottom: 2.5rem;
}
.prose h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 0.75rem;
}
.prose p {
  color: var(--muted);
}
.prose .btn {
  margin-top: 3rem;
}
.nf {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem;
  gap: 1rem;
}
.nf-code {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(6rem, 20vw, 14rem);
  line-height: 0.85;
  color: var(--accent);
}
.nf h1 {
  font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem);
}
.nf p {
  color: var(--muted);
}
.nf .cta {
  margin-top: 1.5rem;
}

/* ---------- rhythm: tones, ink, statement band ---------- */
.tone {
  background: var(--bg-2);
}
.tone .note {
  background: var(--surface);
}
.ink {
  --bg: var(--ink-bg);
  --bg-2: var(--ink-bg-2);
  --surface: var(--ink-bg-2);
  --text: var(--ink-text);
  --muted: var(--ink-muted);
  --faint: var(--ink-faint);
  --line: var(--ink-line);
  --line-strong: var(--ink-line-strong);
  --accent: var(--ink-accent);
  --accent-ink: var(--ink-accent);
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
}
.section.tone,
.section.ink,
.section.tone + .section,
.section.ink + .section {
  border-top: 0;
}
.band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 6vw, 5rem);
}
.band-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15em 0.55em;
  padding-inline: var(--gutter);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 6.2vw, 6.25rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.band-item:nth-child(4n + 3) {
  font-style: italic;
  color: var(--accent);
}
.band-dot {
  font-size: 0.3em;
  color: var(--accent);
}
.band-dup {
  display: none;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .band-track {
      flex-wrap: nowrap;
      justify-content: flex-start;
      width: max-content;
      padding-inline: 0;
      animation: band-slide linear both;
      animation-timeline: view();
      animation-range: cover;
    }
    .band-dup {
      display: inline;
    }
  }
}
@keyframes band-slide {
  from { transform: translateX(-2%); }
  to { transform: translateX(-38%); }
}

/* reading progress */
.read-progress {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 45;
  height: 2px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  display: none;
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .read-progress {
      display: block;
      animation: grow-x linear both;
      animation-timeline: scroll(root);
    }
  }
}
@keyframes grow-x {
  to { transform: scaleX(1); }
}

/* drawn rules, photo reveals, parallax */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal .kicker-rule {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.3s var(--ease) 0.25s;
  }
  .js .reveal.is-in .kicker-rule {
    transform: none;
  }
  .js .g-item.reveal,
  .js .honors-figure.reveal {
    transform: none;
  }
  .js .g-item.reveal .g-btn,
  .js .honors-figure.reveal .pic {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.4s var(--ease);
  }
  .js .g-item.reveal.is-in .g-btn,
  .js .honors-figure.reveal.is-in .pic {
    clip-path: inset(0);
  }
  .js .g-item:nth-child(2) .g-btn { transition-delay: 0.12s; }
  .js .g-item:nth-child(3) .g-btn { transition-delay: 0.24s; }
  .js .g-item:nth-child(4) .g-btn { transition-delay: 0.36s; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cinema .pic img {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: cover;
    }
  }
}
@keyframes drift {
  from { transform: translateY(-7%) scale(1.15); }
  to { transform: translateY(7%) scale(1.15); }
}

/* ---------- hero, desktop: full-height photographic panel ---------- */
@media (min-width: 900px) {
  .hero {
    padding: 0;
    min-height: max(100svh, 640px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }
  .hero-grid.wrap {
    max-width: none;
    margin: 0;
    padding: 0;
    grid-template-columns: minmax(0, 1fr) 46vw;
    gap: 0;
    align-items: stretch;
  }
  .hero-copy {
    align-self: center;
    position: relative;
    z-index: 2;
    padding: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 2rem) clamp(2rem, 4vw, 4.5rem) 5.5rem
      max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  }
  .hero-figure {
    position: relative;
    justify-self: stretch;
    display: flex;
    width: auto;
    max-width: none;
    margin: 0;
  }
  .hero-figure .frame {
    flex: 1;
    display: flex;
  }
  .hero-figure .frame::before {
    display: none;
  }
  .hero-figure .pic {
    flex: 1;
    aspect-ratio: auto;
    box-shadow: none;
  }
  .hero-figure .pic img {
    object-position: 40% 22%;
  }
  /* seam into the page, header legibility, caption legibility */
  .hero-figure::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 7%, transparent 22%),
      linear-gradient(180deg, color-mix(in srgb, var(--bg) 82%, transparent) 0%, transparent 20%),
      linear-gradient(0deg, rgba(8, 8, 10, 0.55) 0%, transparent 28%);
  }
  .hero-figure::after {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    z-index: 2;
    background: var(--accent);
    transform-origin: top;
  }
  .hero-figure figcaption {
    position: absolute;
    left: clamp(1.5rem, 3vw, 3rem);
    bottom: clamp(1.25rem, 3vh, 2.25rem);
    z-index: 2;
    margin: 0;
    color: rgba(244, 241, 235, 0.88);
  }
  .scroll-cue {
    left: 27vw;
  }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .hero-figure .pic {
    animation: curtain 1.7s var(--ease) both 0.05s;
  }
  .js .hero-figure::after {
    animation: draw-y 1.6s var(--ease) both 0.9s;
  }
}
@keyframes curtain {
  from { clip-path: inset(0 0 0 30%); }
  to { clip-path: inset(0); }
}
@keyframes draw-y {
  from { transform: scaleY(0); }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
}
@media (max-height: 820px) and (min-width: 900px) {
  .scroll-cue {
    display: none;
  }
}

/* Tablet + phone: the hero is recomposed, not stacked —
   identity, name, summary, photo, actions, credentials. */
@media (max-width: 899px) {
  :root {
    --header-h: 4rem;
  }
  .bar {
    gap: 0.75rem;
  }
  .brand-name {
    display: none;
  }
  .brand-short {
    display: inline;
  }
  .theme-switch {
    display: none;
  }
  .js .theme-cycle {
    display: grid;
  }
  .controls {
    gap: 0.4rem;
  }
  .icon-btn {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  }
  .icon-btn:hover {
    border-color: var(--accent);
  }
  .theme-switch-lg {
    display: flex;
  }
  .mobile-menu a.mm-lang {
    display: flex;
    align-items: center;
    min-height: 3rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    padding-block: 0;
  }

  .hero {
    min-height: auto;
    display: block;
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + clamp(1rem, 4vw, 2rem));
    padding-bottom: clamp(3rem, 8vw, 4.5rem);
  }
  .scroll-cue {
    display: none;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .hero-copy {
    display: contents;
  }
  .hero .eyebrow {
    order: 1;
    margin-bottom: 1.1rem;
  }
  .hero-name {
    order: 2;
    font-size: clamp(2.9rem, 14.5vw, 5.5rem);
    margin-bottom: 1rem;
  }
  .hero-lead {
    order: 3;
    font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.25rem);
    max-width: 32rem;
  }
  .hero-figure {
    order: 4;
    justify-self: auto;
    width: calc(100% - 10px);
    max-width: 560px;
    margin-top: clamp(1.5rem, 5vw, 2.25rem);
  }
  .hero-figure .pic {
    aspect-ratio: 4 / 3;
  }
  .hero-figure .pic img {
    object-position: 50% 20%;
  }
  .hero-figure .frame::before {
    transform: translate(10px, 10px);
  }
  .hero-figure figcaption {
    margin-top: 1rem;
    font-size: 0.8rem;
  }
  .cta {
    order: 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
    margin-top: 1.6rem;
    max-width: 560px;
  }
  .cta .btn {
    justify-content: space-between;
    min-height: 3.4rem;
    padding-inline: 1.4rem;
  }
  .cta-contact {
    order: -1;
    background: var(--text);
    color: var(--bg);
    border-color: transparent;
  }
  .cta-career {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line-strong);
  }
  .creds {
    order: 6;
    margin: 1.6rem 0 0;
    padding-top: 1.25rem;
  }

  .about-grid,
  .areas-grid,
  .honors-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .areas-figure {
    position: static;
    max-width: 340px;
  }
  .cinema .pic {
    aspect-ratio: 3 / 2;
  }
  .ft-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .section {
    padding-block: 4rem;
  }
  .sec-head {
    margin-bottom: 2.25rem;
  }
  .sec-head h2 {
    font-size: clamp(1.95rem, 8.4vw, 2.4rem);
    line-height: 1.08;
  }
  .kicker,
  .eyebrow {
    gap: 0.6rem;
    letter-spacing: 0.14em;
    margin-bottom: 1rem;
  }
  .kicker-rule {
    width: 1.5rem;
  }
  .about-text .lede {
    font-size: 1.35rem;
  }
  .facts dd {
    font-size: 1.1rem;
  }
  .cinema {
    margin-top: 3rem;
  }
  .timeline {
    --year-w: 4rem;
    --rail: calc(var(--year-w) + 0.9rem);
  }
  .tl-item {
    grid-template-columns: var(--year-w) 1.8rem minmax(0, 1fr);
    padding-bottom: 1.75rem;
  }
  .tl-year {
    font-size: 1.75rem;
  }
  .tl-body h3 {
    font-size: 1.3rem;
  }
  .areas-figure {
    display: none;
  }
  .area {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.75rem;
    padding-block: 1.5rem;
  }
  .area-num {
    font-size: 1.7rem;
  }
  .area h3 {
    font-size: 1.65rem;
  }
  .note {
    padding: 1.25rem;
  }
  .honors-grid {
    gap: 2rem;
  }
  .honor {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
    padding-block: 1.4rem;
  }
  .honor-year {
    font-size: 1.2rem;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "speech speech"
      "portrait honorary"
      "office office";
    gap: 1.25rem 0.75rem;
  }
  .g-speech .g-btn .pic,
  .g-office .g-btn .pic {
    aspect-ratio: 3 / 2;
  }
  .g-office .g-btn img {
    object-position: 50% 30%;
  }
  .g-cap {
    font-size: 0.8rem;
    margin-top: 0.6rem;
  }
  .g-credit {
    font-size: 0.75rem;
  }
  .venue-name {
    font-size: 2.3rem;
  }
  .ft-name {
    font-size: clamp(2.5rem, 12.5vw, 3.4rem);
  }
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
    translate: none;
  }
  .lb-inner {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 5rem);
  }
}
@media (max-width: 360px) {
  .hero .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
}
@media (max-width: 340px) {
  .brand-short {
    display: none;
  }
}

/* ---------- hero, phone/tablet: edge-to-edge photograph ---------- */
@media (max-width: 899px) {
  .hero-figure {
    width: auto;
    max-width: none;
    margin-inline: calc(-1 * var(--gutter));
  }
  .hero-figure .frame::before {
    display: none;
  }
  .hero-figure .pic {
    box-shadow: none;
  }
  .hero-figure figcaption {
    padding-inline: var(--gutter);
  }
  .band-track {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  .hero-figure .pic {
    aspect-ratio: 16 / 9;
  }
}

/* ---------- touch ---------- */
@media (pointer: coarse) {
  .theme-btn {
    width: 2.6rem;
    height: 2.6rem;
  }
  .lang-link {
    height: 2.75rem;
    min-width: 2.75rem;
  }
  .ft-nav a,
  .ft-meta a {
    display: inline-block;
    padding-block: 0.35rem;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.ph-portrait{background-color:#707276}
.ph-speech{background-color:#908875}
.ph-honorary{background-color:#717271}
.ph-office{background-color:#958F88}
