:root {
  --paper: #f4efe5;
  --paper-deep: #e9dfcf;
  --paper-light: #fbf8f1;
  --ink: #30251d;
  --ink-soft: #65584c;
  --brown: #49372a;
  --brown-dark: #211711;
  --gold: #8c602a;
  --gold-light: #d2ad72;
  --line: rgba(81, 57, 36, 0.23);
  --shadow: 0 18px 50px rgba(43, 30, 20, 0.15);
  --shell: min(1240px, calc(100vw - 48px));
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 18%, rgba(173, 124, 57, 0.055), transparent 34%),
    radial-gradient(circle at 87% 61%, rgba(73, 55, 42, 0.045), transparent 32%),
    var(--paper);
  font: 400 17px/1.72 var(--serif);
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.65rem, 5vw, 5rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
}

:focus-visible {
  outline: 3px solid #c99243;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  color: #fff;
  background: var(--brown-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(88px, 10vw, 156px) 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font: 600 0.74rem/1.3 var(--sans);
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.gold-rule {
  display: block;
  width: 54px;
  height: 2px;
  margin: 23px 0;
  background: var(--gold);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(44px, 6vw, 78px);
}

.section-heading-centered {
  display: block;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading-centered .gold-rule {
  margin-right: auto;
  margin-left: auto;
}

.section-heading-centered .section-note {
  margin-right: auto;
  margin-left: auto;
}

.section-note {
  max-width: 500px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 70px);
  color: #fff8ea;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(248, 244, 236, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(50, 36, 23, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  z-index: 2;
  text-decoration: none;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  letter-spacing: -0.015em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
  font-size: 0.96rem;
}

.site-nav a {
  position: relative;
  padding: 27px 0 24px;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  display: grid;
  min-height: min(900px, 100svh);
  place-items: center;
  overflow: hidden;
  color: #fff9ed;
  background: var(--brown-dark);
}

.hero-poster,
.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-poster {
  object-fit: cover;
  object-position: center 42%;
  background: #251a13;
  transform: scale(1.02);
}

.hero-video {
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-video.is-ready {
  opacity: 1;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(20, 14, 10, 0.86) 0%, rgba(26, 18, 12, 0.6) 42%, rgba(20, 14, 10, 0.18) 72%, rgba(16, 11, 8, 0.34) 100%),
    linear-gradient(0deg, rgba(12, 8, 6, 0.42), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.hero .eyebrow {
  color: var(--gold-light);
}

.hero h1 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(4.6rem, 10.5vw, 9.4rem);
  letter-spacing: -0.055em;
  text-shadow: 0 4px 36px rgba(0, 0, 0, 0.26);
}

.hero-lede {
  margin-bottom: 34px;
  font-size: clamp(1.35rem, 2.3vw, 2.05rem);
  font-style: italic;
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  font: 600 0.79rem/1.2 var(--sans);
  letter-spacing: 0.075em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #2f2319;
  background: #d3ad70;
}

.button-primary:hover {
  background: #e2c38f;
}

.button-ghost {
  color: #fff9ed;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(16, 11, 8, 0.19);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button-quiet {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.play-mark {
  font-size: 0.7em;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 250, 240, 0.82);
  text-decoration: none;
  transform: translateX(-50%);
  font: 500 0.68rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 1px;
  height: 28px;
  background: linear-gradient(#d7b678, transparent);
}

.about-section::before,
.albums-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.3), transparent 22%),
    repeating-linear-gradient(7deg, transparent 0 8px, rgba(86, 61, 40, 0.012) 8px 9px);
  content: "";
}

.about-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.35fr);
  gap: clamp(46px, 8vw, 116px);
  align-items: center;
}

.portrait-card {
  width: min(100%, 450px);
  margin: 0 auto;
  padding: 13px 13px 22px;
  background: #e8dcc8;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.portrait-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d2c5b4;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-card figcaption {
  padding: 15px 9px 0;
  color: #574536;
  font-size: 1.18rem;
  font-style: italic;
  text-align: right;
}

.about-copy .lead {
  color: var(--brown);
  font-size: clamp(1.25rem, 2.15vw, 1.7rem);
  line-height: 1.55;
}

.about-copy > p:not(.lead),
.biography-text {
  color: var(--ink-soft);
}

.biography-details {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.biography-details summary {
  width: max-content;
  color: #865d28;
  font-size: 1rem;
  cursor: pointer;
}

.biography-details summary::marker {
  color: var(--gold);
}

.biography-text {
  padding-top: 18px;
}

.timeline-wrap {
  position: relative;
  margin-top: clamp(88px, 10vw, 140px);
}

.timeline-wrap h3 {
  margin-bottom: 40px;
  text-align: center;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 22px;
  margin: 0;
  padding: 30px 0 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 10px;
  right: 6%;
  left: 6%;
  height: 1px;
  background: var(--gold-light);
  content: "";
}

.timeline li {
  position: relative;
}

.timeline li::before {
  position: absolute;
  top: -26px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.timeline time {
  display: block;
  margin-bottom: 10px;
  color: #956829;
  font-size: 1.24rem;
}

.timeline p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.exhibition-note {
  display: grid;
  max-width: 920px;
  grid-template-columns: minmax(190px, 280px) 1fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  margin: clamp(90px, 12vw, 160px) auto 0;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  background: rgba(251, 248, 241, 0.54);
}

.poster-button {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: 0 15px 36px rgba(38, 26, 18, 0.2);
  cursor: zoom-in;
  transform: rotate(1deg);
}

.poster-button img {
  width: 100%;
}

.exhibition-note h3 {
  margin-bottom: 17px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.text-link,
.cookie-settings {
  padding: 0 0 3px;
  color: #835b27;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}

.gallery-section {
  color: #f8f0e5;
  background: #211812;
}

.gallery-section .eyebrow {
  color: var(--gold-light);
}

.gallery-section .section-note {
  color: #cbbdaf;
}

.gallery-grid {
  column-count: 4;
  column-gap: 13px;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 13px;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  color: #fff;
  border: 0;
  background: #38291f;
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: auto;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 500ms ease;
}

.gallery-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  content: "";
  pointer-events: none;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  filter: brightness(0.86);
  transform: scale(1.025);
}

.noscript-note {
  padding: 20px;
  color: #ede2d1;
  border: 1px solid rgba(255,255,255,.2);
}

.albums-section {
  background: var(--paper-light);
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.album-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: #fff9ee;
  border: 0;
  background: #30231a;
  box-shadow: 0 12px 30px rgba(51, 35, 22, 0.13);
  cursor: pointer;
  text-align: left;
}

.album-card:first-child {
  grid-column: span 2;
}

.album-card-cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.album-card:first-child .album-card-cover {
  aspect-ratio: 2 / 1;
}

.album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}

.album-card::after {
  position: absolute;
  inset: 34% 0 0;
  background: linear-gradient(transparent, rgba(21, 14, 9, 0.88));
  content: "";
  pointer-events: none;
}

.album-card-copy {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px;
}

.album-card-title {
  display: block;
  margin-bottom: 3px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.album-card-count {
  color: #ddcfbd;
  font: 500 0.75rem/1.4 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.album-card:hover img,
.album-card:focus-visible img {
  transform: scale(1.04);
}

.video-section {
  background: var(--paper);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(18px, 2.5vw, 30px);
  row-gap: clamp(28px, 3vw, 40px);
  align-items: start;
}

.video-card {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-self: start;
  padding: 0;
  color: var(--ink);
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.video-card:first-child {
  grid-column: span 2;
}

.video-card-media {
  position: relative;
  display: block;
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #302219;
}

.video-card:first-child .video-card-media {
  aspect-ratio: 2 / 1;
}

.video-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.18) saturate(0.82);
  transition: transform 600ms ease, filter 400ms ease;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(26, 18, 12, 0.44);
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease;
}

.video-card-copy {
  display: flex;
  width: 100%;
  min-width: 0;
  flex: 0 0 auto;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
}

.video-card-title {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1.35rem;
}

.video-duration {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font: 500 0.76rem/1 var(--sans);
}

.video-card:hover img,
.video-card:focus-visible img {
  filter: sepia(0) saturate(1);
  transform: scale(1.035);
}

.video-card:hover .video-play,
.video-card:focus-visible .video-play {
  background: rgba(173, 124, 57, 0.8);
  transform: translate(-50%, -50%) scale(1.06);
}

.memory-section {
  position: relative;
  display: grid;
  min-height: min(780px, 82svh);
  place-items: center;
  overflow: hidden;
  color: #fff9ed;
  background: #17100c;
}

.memory-image,
.memory-shade {
  position: absolute;
  inset: 0;
}

.memory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.memory-shade {
  background: linear-gradient(90deg, rgba(14, 9, 6, 0.88), rgba(14, 9, 6, 0.52) 52%, rgba(14, 9, 6, 0.25));
}

.memory-content {
  position: relative;
  z-index: 1;
}

.memory-content h2 {
  font-size: clamp(3.6rem, 8vw, 7.6rem);
}

.memory-content .eyebrow {
  color: var(--gold-light);
}

.memory-dates {
  margin-top: 18px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.08em;
}

.memory-content > p:last-child {
  max-width: 610px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
}

.site-footer {
  padding: 52px 0;
  color: #d8cbba;
  background: #211812;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 40px;
  align-items: end;
}

.footer-grid p {
  margin-bottom: 5px;
}

.footer-name {
  color: #fff8ed;
  font-size: 1.65rem;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  text-underline-offset: 5px;
}

.footer-meta {
  color: #a99a89;
  font-size: 0.85rem;
  text-align: right;
}

.site-footer .cookie-settings {
  color: #c9ad82;
}

dialog {
  padding: 0;
  border: 0;
}

dialog::backdrop {
  background: rgba(12, 8, 6, 0.87);
  backdrop-filter: blur(4px);
}

.media-dialog,
.video-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  color: #f7efe5;
  background: #15100c;
}

.dialog-shell,
.video-dialog-shell {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.dialog-topbar {
  display: grid;
  min-height: 68px;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.dialog-title {
  margin: 0;
  color: #ddd0c0;
  font-size: 0.88rem;
  text-align: center;
}

.icon-button,
.dialog-back {
  color: #f7efe5;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button {
  justify-self: end;
  width: 48px;
  height: 48px;
  font: 300 2rem/1 var(--sans);
}

.dialog-back {
  justify-self: start;
  padding: 10px 3px;
  font-size: 0.9rem;
}

.album-view {
  flex: 1;
  padding: 38px clamp(18px, 4vw, 60px) 70px;
  overflow-y: auto;
}

.album-view-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.album-view-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.album-view-heading p {
  color: #bbaa97;
}

.album-photo-grid {
  column-count: 4;
  column-gap: 12px;
}

.album-photo {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  break-inside: avoid;
  border: 0;
  background: #2e2118;
  cursor: zoom-in;
}

.album-photo img {
  width: 100%;
  height: auto;
}

.lightbox-view {
  position: relative;
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
}

.lightbox-figure {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 18px 0 24px;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100dvh - 142px);
  object-fit: contain;
}

.lightbox-figure figcaption {
  display: flex;
  width: 100%;
  max-width: 980px;
  justify-content: space-between;
  gap: 22px;
  padding: 13px 4px 0;
  color: #cbbcac;
  font-size: 0.88rem;
}

.lightbox-arrow {
  width: 56px;
  height: 70px;
  justify-self: center;
  color: #fff;
  border: 0;
  background: transparent;
  font: 300 3rem/1 var(--sans);
  cursor: pointer;
}

.video-dialog-shell {
  background: #0f0c0a;
}

.video-dialog-shell .dialog-topbar {
  grid-template-columns: 1fr auto;
}

.video-dialog-shell .dialog-title {
  justify-self: start;
  font-size: 1rem;
}

.video-dialog video {
  width: 100%;
  height: calc(100dvh - 68px);
  background: #000;
  object-fit: contain;
}

.cookie-banner {
  position: fixed;
  z-index: 2200;
  right: 22px;
  bottom: 22px;
  width: min(520px, calc(100vw - 44px));
  padding: 22px;
  border: 1px solid rgba(173, 124, 57, 0.45);
  background: rgba(249, 245, 237, 0.98);
  box-shadow: 0 18px 60px rgba(32, 22, 14, 0.24);
}

.cookie-banner p {
  margin-bottom: 15px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-banner > div {
  display: flex;
  gap: 10px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1060px) {
  .gallery-grid,
  .album-photo-grid {
    column-count: 3;
  }

  .timeline {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 52px;
  }

  .timeline::before {
    display: none;
  }

  .timeline li::after {
    position: absolute;
    top: -22px;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--gold-light);
    content: "";
  }

  .timeline li::before {
    z-index: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 720px);
  }

  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 68px;
    padding-inline: 18px;
  }

  .menu-toggle {
    display: block;
  }

  .js .site-nav {
    position: fixed;
    top: 67px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    color: var(--ink);
    background: rgba(248, 244, 236, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: max-height 250ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  .js .menu-open .site-nav {
    max-height: calc(100dvh - 67px);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 17px 24px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  html:not(.js) .site-header {
    position: relative;
    flex-wrap: wrap;
    color: var(--ink);
    background: var(--paper-light);
  }

  html:not(.js) .menu-toggle {
    display: none;
  }

  html:not(.js) .site-nav {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 0;
  }

  html:not(.js) .site-nav a {
    padding: 10px 12px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(20, 14, 10, 0.8), rgba(20, 14, 10, 0.38)), linear-gradient(0deg, rgba(12, 8, 6, 0.5), transparent 55%);
  }

  .hero h1 {
    font-size: clamp(4.4rem, 18vw, 7.5rem);
  }

  .section-heading {
    display: block;
  }

  .section-heading .section-note {
    margin-top: 24px;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    width: min(90%, 430px);
  }

  .timeline {
    display: block;
    padding: 0 0 0 32px;
  }

  .timeline::before {
    display: block;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: 1px;
    height: auto;
  }

  .timeline li {
    margin-bottom: 34px;
  }

  .timeline li::before {
    top: 5px;
    left: -32px;
  }

  .timeline li::after {
    display: none;
  }

  .exhibition-note {
    grid-template-columns: minmax(150px, .65fr) 1fr;
  }

  .gallery-grid,
  .album-photo-grid {
    column-count: 2;
  }

  .album-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lightbox-view {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .lightbox-arrow {
    width: 42px;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 24px);
  }

  .section {
    padding: 82px 0;
  }

  h2 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero {
    min-height: 700px;
    place-items: end start;
  }

  .hero-poster {
    object-position: 58% center;
  }

  .hero-content {
    padding: 0 0 90px;
  }

  .hero h1 {
    font-size: clamp(4rem, 22vw, 5.8rem);
  }

  .hero-lede {
    font-size: 1.2rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .about-intro {
    gap: 50px;
  }

  .exhibition-note {
    grid-template-columns: 1fr;
  }

  .poster-button {
    width: min(76%, 280px);
    margin: auto;
  }

  .gallery-grid {
    column-gap: 7px;
  }

  .gallery-card {
    margin-bottom: 7px;
  }

  .album-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .album-card:first-child,
  .video-card:first-child {
    grid-column: auto;
  }

  .album-card:first-child .album-card-cover,
  .video-card:first-child .video-card-media,
  .album-card-cover,
  .video-card-media {
    aspect-ratio: 4 / 3;
  }

  .memory-section {
    min-height: 680px;
  }

  .memory-image img {
    object-position: 63% center;
  }

  .memory-shade {
    background: linear-gradient(90deg, rgba(14, 9, 6, 0.88), rgba(14, 9, 6, 0.56));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    grid-column: auto;
  }

  .dialog-topbar {
    min-height: 60px;
    grid-template-columns: minmax(82px, 1fr) auto minmax(52px, 1fr);
    padding-inline: 8px;
  }

  .dialog-back span {
    display: none;
  }

  .album-view {
    padding: 25px 8px 50px;
  }

  .album-view-heading {
    display: block;
    padding-inline: 8px;
  }

  .album-view-heading h2 {
    margin-bottom: 10px;
  }

  .album-photo-grid {
    column-gap: 7px;
  }

  .album-photo {
    margin-bottom: 7px;
  }

  .lightbox-view {
    display: block;
  }

  .lightbox-figure {
    height: calc(100dvh - 60px);
    padding: 10px 10px 72px;
  }

  .lightbox-figure img {
    max-height: calc(100dvh - 154px);
  }

  .lightbox-figure figcaption {
    padding-inline: 4px;
    font-size: 0.78rem;
  }

  .lightbox-arrow {
    position: absolute;
    z-index: 2;
    bottom: 8px;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    background: rgba(28, 19, 13, .72);
  }

  .lightbox-prev { left: 18px; }
  .lightbox-next { right: 18px; }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .gold-rule,
  .timeline::before,
  .timeline li::after {
    background: CanvasText;
  }
}

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(rgba(244, 239, 229, .9), rgba(244, 239, 229, .96)),
    url("../images/hero-poster.webp") center / cover no-repeat;
}

.error-page main {
  width: min(760px, 100%);
  padding: clamp(40px, 8vw, 86px);
  border: 1px solid var(--line);
  background: rgba(251, 248, 241, .9);
  box-shadow: var(--shadow);
}

.error-page h1 {
  margin-bottom: 0;
  font-size: clamp(3.4rem, 9vw, 7rem);
}

.error-page p:not(.eyebrow) {
  color: var(--ink-soft);
}
