:root {
  --paper: #f4f1e9;
  --paper-deep: #e4e9df;
  --sand: #cbd5cf;
  --ink: #1f1c17;
  --muted: #5f6861;
  --line: rgba(31, 42, 36, 0.12);
  --line-strong: rgba(31, 42, 36, 0.2);
  --accent: #6f7b58;
  --accent-soft: rgba(111, 123, 88, 0.18);
  --dark: #1d201c;
  --dark-surface: #232620;
  --dark-muted: #b6b9aa;
  --dark-line: rgba(244, 248, 235, 0.13);
  --shell-shadow: 0 30px 90px rgba(33, 43, 35, 0.14);
  --content-width: 1640px;
  --gutter: 56px;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(247, 248, 239, 0.86), transparent 34%),
    radial-gradient(circle at 85% 16%, rgba(201, 214, 205, 0.52), transparent 24%),
    linear-gradient(180deg, #cdd7d2 0%, #d8d1c7 100%);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -48px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  width: min(var(--content-width), calc(100% - 28px));
  margin: 14px auto 22px;
  border: 1px solid rgba(72, 60, 45, 0.1);
  background:
    radial-gradient(circle at 12% 8%, rgba(223, 231, 218, 0.72), transparent 18%),
    radial-gradient(circle at 88% 10%, rgba(220, 224, 211, 0.48), transparent 16%),
    radial-gradient(circle at 20% 52%, rgba(238, 232, 219, 0.62), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.36)),
    var(--paper);
  box-shadow: var(--shell-shadow);
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 28px var(--gutter) 18px;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(245, 239, 230, 0.92), rgba(245, 239, 230, 0.82));
}

.brand {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-title {
  font-family: var(--display);
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  justify-self: end;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.site-nav a,
.footer-nav a {
  position: relative;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--ink);
}

.footer-nav a {
  color: #f3ede3;
}

.site-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after,
.footer-nav a:hover::after,
.footer-nav a:focus-visible::after,
.footer-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"],
.footer-nav a[aria-current="page"] {
  color: var(--accent);
}

.header-year {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.section {
  padding: 56px var(--gutter) 62px;
  border-top: 1px solid var(--line);
}

.section[id] {
  scroll-margin-top: 112px;
}

.hero-section {
  padding-top: 44px;
}

.heading-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 38px;
}

.section-title,
.story-title,
.intro-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.section-title {
  font-size: clamp(3rem, 4vw, 4.8rem);
}

.section-line {
  width: clamp(70px, 9vw, 140px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(111, 123, 88, 0));
}

.section-kicker,
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.section-dark {
  padding: 0;
  border-top: 0;
}

.works-band {
  padding: 62px var(--gutter) 72px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--dark);
  color: #f5efe5;
}

.section-heading-inverse .section-kicker,
.section-heading-inverse .eyebrow {
  color: var(--dark-muted);
}

.section-heading-inverse .section-line {
  background: linear-gradient(90deg, var(--accent), rgba(111, 123, 88, 0));
}

.ghost-button,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border: 1px solid var(--line-strong);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.ghost-button::after,
.text-link::after,
.story-link::after {
  content: "\2192";
  font-size: 1rem;
  line-height: 1;
}

.ghost-button:hover,
.ghost-button:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.story-link:hover,
.story-link:focus-visible,
.project-card:hover,
.selected-preview-card:hover,
.selected-preview-card:focus-visible,
.project-card:focus-visible,
.work-tile:hover,
.work-tile:focus-visible {
  transform: translateY(-2px);
}

.ghost-button-inverse {
  border-color: rgba(245, 239, 229, 0.36);
  color: #f5efe5;
}

.ghost-button-inverse:hover,
.ghost-button-inverse:focus-visible {
  border-color: rgba(111, 123, 88, 0.82);
  background: rgba(255, 255, 255, 0.06);
}

.text-link {
  padding-inline: 0;
  border: 0;
  color: var(--accent);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(520px, 1.75fr);
  gap: 50px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 26px;
  max-width: 28rem;
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.8rem, 8vw, 7.8rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-divider {
  width: 88px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(111, 123, 88, 0));
}

.hero-summary,
.bio-lead,
.intro-copy p,
.story-copy p,
.feature-caption p,
.work-copy p,
.project-card p,
.footer-note,
.story-facts li {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero-summary,
.bio-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 30rem;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-frame,
.project-card figure,
.feature-work figure,
.story-visual figure,
.project-hero-image,
.bio-photo {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(44, 36, 28, 0.14);
  background: var(--paper-deep);
}

.hero-frame::after,
.project-card figure::after,
.feature-work figure::after,
.story-visual figure::after,
.work-tile figure::after,
.project-hero-image::after,
.bio-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 26%),
    linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.hero-frame {
  aspect-ratio: 3 / 2;
}

.hero-frame img,
.project-card img,
.feature-work figure img,
.work-tile img,
.project-hero-image img,
.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-sticker {
  position: absolute;
  left: 38px;
  bottom: 34px;
  z-index: 1;
  margin: 0;
  padding: 18px 22px;
  background: rgba(21, 20, 18, 0.92);
  color: #f5efe5;
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-counter {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  color: rgba(255, 247, 235, 0.96);
  font-size: 0.94rem;
  letter-spacing: 0.18em;
}

.hero-counter-line {
  width: 1px;
  height: 74px;
  background: rgba(255, 247, 235, 0.84);
}

.association-section {
  padding-top: 34px;
  padding-bottom: 42px;
}

.association-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: stretch;
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid rgba(44, 36, 28, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.16)),
    rgba(236, 226, 212, 0.74);
}

.association-copy {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.26fr);
  align-items: start;
  gap: 18px;
}

.association-copy .eyebrow {
  grid-column: 1 / -1;
}

.association-copy .section-title {
  grid-column: 1;
  max-width: 12ch;
  font-size: clamp(2.8rem, 4vw, 4.8rem);
}

.association-copy p:not(.eyebrow) {
  grid-column: 2;
  align-self: center;
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
}

.association-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.association-card {
  display: grid;
  grid-template-rows: minmax(128px, 1fr) auto;
  gap: 18px;
  min-height: 230px;
  padding: 18px;
  border: 1px solid rgba(44, 36, 28, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.16)),
    rgba(245, 239, 230, 0.58);
}

.association-logo {
  display: grid;
  place-items: center;
  justify-self: center;
  align-self: center;
  width: min(100%, 126px);
  aspect-ratio: 1;
  border: 1px solid rgba(111, 123, 88, 0.62);
  background:
    linear-gradient(135deg, rgba(111, 123, 88, 0.18), transparent 48%),
    rgba(29, 29, 26, 0.94);
  color: #f5efe5;
  font-size: clamp(1.7rem, 2.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.association-logo-image {
  width: min(100%, 170px);
  aspect-ratio: 1.45 / 1;
  padding: 0;
  border: 0;
  background: transparent;
}

.association-logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.association-logo-wide {
  width: min(100%, 230px);
}

.association-card div:last-child {
  display: grid;
  align-self: end;
  gap: 8px;
}

.association-card span {
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.association-card strong {
  font-family: var(--display);
  font-size: clamp(1.45rem, 1.7vw, 2rem);
  font-weight: 500;
  line-height: 0.96;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.project-card {
  display: grid;
  gap: 18px;
  outline: none;
  transition: transform 180ms ease;
}

.project-card figure {
  aspect-ratio: 3 / 2;
}

.project-meta {
  display: grid;
  gap: 10px;
}

.project-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(25, 28, 25, 0.14);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.1;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.project-card-action::after {
  content: "\2192";
  flex: 0 0 auto;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1;
}

.project-card:hover .project-card-action,
.project-card:focus-visible .project-card-action {
  border-color: rgba(111, 123, 88, 0.62);
  color: var(--ink);
}

.project-number {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.project-number::after {
  content: "";
  width: 54px;
  height: 1px;
  background: rgba(111, 123, 88, 0.65);
}

.project-meta h3,
.feature-caption strong,
.work-copy strong {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 2.3vw, 2.8rem);
  font-weight: 500;
  line-height: 0.92;
}

.works-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.38fr);
  gap: 36px;
  align-items: start;
}

.feature-work {
  display: grid;
  gap: 18px;
}

.feature-work figure {
  aspect-ratio: 3 / 2;
}

.feature-caption {
  display: grid;
  gap: 10px;
}

.feature-caption strong,
.work-copy strong {
  font-size: 1.02rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: var(--body);
}

.work-copy strong {
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: 0.18em;
}

.feature-caption p,
.work-copy p {
  color: #d4c7b4;
}

.work-copy p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.works-grid {
  display: block;
  column-count: 3;
  column-gap: 22px;
}

.work-tile {
  display: grid;
  gap: 12px;
  break-inside: avoid;
  margin: 0 0 28px;
  transition: transform 180ms ease;
}

.work-tile figure {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--dark-line);
}

.work-tile img {
  height: auto;
}

.work-copy {
  display: grid;
  gap: 8px;
}

.selected-preview-band {
  display: grid;
  gap: 28px;
}

.selected-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(230px, 18vw);
  gap: 18px;
}

.selected-preview-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  color: #f5efe5;
  outline: none;
  transition: transform 180ms ease;
}

.selected-preview-card-large {
  grid-row: auto;
}

.selected-preview-card figure {
  position: absolute;
  inset: 0;
  margin: 0;
}

.selected-preview-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), transparent 38%),
    linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, 0.76));
  pointer-events: none;
}

.selected-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selected-preview-card span,
.selected-preview-card strong {
  position: relative;
  z-index: 1;
}

.selected-preview-card span {
  color: rgba(245, 239, 229, 0.74);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
}

.selected-preview-card strong {
  max-width: 12rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  font-weight: 500;
  line-height: 0.92;
}

.selected-preview-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 6px;
}

.selected-preview-cta p {
  max-width: 42rem;
  margin: 0;
  color: var(--dark-muted);
}

.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(360px, 0.9fr);
  gap: 40px;
  align-items: center;
}

.bio-copy {
  display: grid;
  gap: 24px;
}

.bio-copy p {
  margin: 0;
  color: var(--muted);
}

.section-heading-tight {
  margin-bottom: 10px;
}

.bio-photo {
  aspect-ratio: 16 / 9;
}

.bio-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.bio-stats article {
  display: grid;
  gap: 10px;
}

.bio-stats span,
.story-facts strong,
.footer-note-label {
  color: var(--accent);
  font-size: 0.84rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.bio-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px var(--gutter) 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    #21201c;
  color: #f3ede3;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand strong {
  font-family: var(--display);
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  font-weight: 500;
  line-height: 0.86;
  text-transform: uppercase;
}

.footer-brand span {
  color: var(--accent);
  font-size: 0.84rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-note {
  color: var(--dark-muted);
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-intro {
  padding-top: 46px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: 40px;
  align-items: end;
}

.intro-copy {
  display: grid;
  gap: 22px;
  max-width: 46rem;
}

.intro-copy h1 {
  font-size: clamp(4.2rem, 6vw, 6.4rem);
}

.intro-note {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.intro-note a {
  width: fit-content;
  color: var(--accent);
}

.project-hero-grid {
  align-items: center;
}

.project-hero-image {
  aspect-ratio: 3 / 2;
}

.project-hero-image img {
  position: relative;
  z-index: 0;
}

.project-index-section {
  padding-top: 20px;
}

.project-index-grid {
  align-items: start;
}

.project-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
}

.project-story.story-reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
}

.project-story.story-reverse .story-visual {
  order: 2;
}

.project-story.story-reverse .story-copy {
  order: 1;
}

.story-visual figure {
  margin: 0;
}

.story-visual img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.story-copy {
  display: grid;
  gap: 22px;
}

.story-title {
  font-size: clamp(2.6rem, 3.8vw, 4.2rem);
  max-width: 12ch;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--accent);
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.story-facts {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.story-facts li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(44, 36, 28, 0.14);
}

.story-gallery img {
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
}

.project-gallery-intro {
  padding-bottom: 48px;
}

.gallery-project {
  scroll-margin-top: 120px;
  padding-top: 70px;
  padding-bottom: 76px;
}

.project-gallery-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: start;
}

.project-gallery-copy {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 22px;
}

.project-gallery-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.project-gallery-copy .story-title {
  max-width: 11ch;
}

.project-gallery {
  position: relative;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.gallery-stage {
  display: grid;
  place-items: center;
  min-height: clamp(400px, 38vw, 540px);
  max-height: 68vh;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(44, 36, 28, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.18)),
    #f7f4ed;
}

.gallery-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(58vh, 520px);
  object-fit: contain;
}

.selected-gallery-shell {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1.58fr);
}

.selected-work-viewer .gallery-stage {
  min-height: clamp(460px, 48vw, 700px);
  max-height: none;
}

.selected-work-viewer .gallery-stage img {
  max-height: min(72vh, 680px);
}

.selected-work-viewer .gallery-thumbs {
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
}

.selected-work-viewer .gallery-thumb {
  min-height: 96px;
}

.selected-work-viewer .gallery-thumb img {
  max-height: 82px;
}

.gallery-controls {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.gallery-nav {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.34);
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(111, 123, 88, 0.72);
  background: rgba(255, 255, 255, 0.56);
}

.gallery-counter {
  justify-self: center;
  padding: 5px 8px;
  border: 1px solid var(--line);
  background: rgba(247, 244, 237, 0.88);
  color: var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0.24em;
}

.gallery-caption {
  display: grid;
  gap: 6px;
  min-height: 72px;
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.gallery-caption strong {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.2vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
}

.gallery-caption p {
  margin: 0;
  color: var(--muted);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
}

.gallery-thumb {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible,
.gallery-thumb.is-active {
  border-color: rgba(111, 123, 88, 0.78);
  background: rgba(255, 255, 255, 0.52);
}

.gallery-thumb.is-active {
  transform: translateY(-2px);
}

.gallery-thumb img {
  width: 100%;
  height: auto;
  max-height: 104px;
  object-fit: contain;
}

.gallery-thumb span {
  position: absolute;
  right: 8px;
  bottom: 6px;
  padding: 3px 5px;
  background: rgba(29, 29, 26, 0.78);
  color: #f5efe5;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.project-footer-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
}

.project-footer-cta p {
  margin: 0;
  max-width: 36rem;
}

.project-pagination {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-pagination a {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.26);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.project-pagination a:hover,
.project-pagination a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(111, 123, 88, 0.74);
  background: rgba(255, 255, 255, 0.42);
}

.project-pagination span {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.project-pagination strong {
  align-self: end;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.4vw, 3rem);
  font-weight: 500;
  line-height: 0.92;
}

.reveal {
  animation: rise-in 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.project-grid .project-card:nth-child(2),
.works-grid .work-tile:nth-child(2),
.story-gallery figure:nth-child(2) {
  animation-delay: 80ms;
}

.project-grid .project-card:nth-child(3),
.works-grid .work-tile:nth-child(3),
.story-gallery figure:nth-child(3) {
  animation-delay: 140ms;
}

.project-grid .project-card:nth-child(4),
.works-grid .work-tile:nth-child(4) {
  animation-delay: 200ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .reveal,
  .ghost-button,
  .text-link,
  .story-link,
  .project-card,
  .association-card,
  .selected-preview-card,
  .project-pagination a,
  .work-tile,
  .gallery-nav,
  .gallery-thumb {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1200px) {
  :root {
    --gutter: 40px;
  }

  .hero-grid,
  .association-panel,
  .project-story,
  .project-story.story-reverse,
  .bio-grid,
  .intro-grid,
  .works-layout,
  .project-gallery-shell {
    grid-template-columns: 1fr;
  }

  .project-story.story-reverse .story-visual,
  .project-story.story-reverse .story-copy {
    order: initial;
  }

  .hero-copy,
  .intro-copy {
    max-width: none;
  }

  .hero-visual {
    max-width: 920px;
  }

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

  .works-grid {
    column-count: 2;
  }

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

  .association-card {
    min-height: 220px;
  }

  .selected-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(230px, 28vw);
  }

  .selected-preview-card-large {
    grid-column: auto;
    grid-row: auto;
  }

  .project-gallery-copy {
    position: static;
  }

  .project-gallery-copy .story-title {
    max-width: 16ch;
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
    padding-bottom: 20px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 2px);
    left: var(--gutter);
    right: var(--gutter);
    display: grid;
    gap: 12px;
    justify-items: start;
    padding: 20px;
    border: 1px solid var(--line);
    background: rgba(248, 242, 233, 0.98);
    box-shadow: 0 22px 44px rgba(40, 31, 23, 0.08);
  }

  .site-nav a {
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .site-nav[hidden] {
    display: none;
  }

  .header-year {
    justify-self: end;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (min-width: 961px) {
  .site-nav[hidden] {
    display: flex !important;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 22px;
  }

  .page-shell {
    width: min(var(--content-width), calc(100% - 12px));
    margin-top: 6px;
  }

  .site-header {
    top: 0;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-year {
    display: none;
  }

  .brand-title {
    font-size: 1.7rem;
  }

  .brand-subtitle,
  .site-nav a,
  .footer-note {
    letter-spacing: 0.16em;
  }

  .section {
    padding-top: 34px;
    padding-bottom: 40px;
  }

  .hero-section {
    padding-top: 26px;
  }

  .hero-grid {
    gap: 26px;
  }

  .hero-copy {
    gap: 18px;
  }

  .hero-title {
    font-size: clamp(3.6rem, 18vw, 5.4rem);
  }

  .story-visual img {
    aspect-ratio: 4 / 5;
  }

  .hero-sticker {
    position: static;
    justify-self: start;
    width: fit-content;
    margin-top: 12px;
    padding: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.74rem;
    text-align: left;
  }

  .hero-counter {
    display: none;
  }

  .project-grid,
  .works-grid,
  .story-gallery,
  .bio-stats {
    grid-template-columns: 1fr;
  }

  .association-grid,
  .selected-preview-grid,
  .project-pagination {
    grid-template-columns: 1fr;
  }

  .association-panel {
    padding: 22px;
  }

  .association-copy {
    grid-template-columns: 1fr;
  }

  .association-copy .eyebrow,
  .association-copy .section-title,
  .association-copy p:not(.eyebrow) {
    grid-column: auto;
  }

  .association-card {
    grid-template-columns: 92px 1fr;
    grid-template-rows: auto;
    align-items: center;
    min-height: 0;
    padding: 16px;
  }

  .association-logo {
    width: 92px;
    font-size: 1.55rem;
  }

  .association-copy .section-title {
    max-width: none;
  }

  .gallery-project {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .project-gallery-shell {
    gap: 26px;
  }

  .project-gallery-copy {
    gap: 16px;
  }

  .project-gallery-copy .story-title {
    max-width: none;
  }

  .gallery-stage {
    min-height: 0;
    max-height: none;
  }

  .gallery-stage img {
    max-height: 68vh;
  }

  .selected-work-viewer .gallery-stage {
    min-height: 0;
  }

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

  .gallery-thumb {
    min-height: 128px;
  }

  .gallery-thumb img {
    max-height: 112px;
  }

  .project-card figure {
    aspect-ratio: 3 / 2;
  }

  .works-band {
    padding-top: 38px;
    padding-bottom: 44px;
  }

  .works-grid {
    column-count: 1;
  }

  .selected-preview-card,
  .selected-preview-card-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .selected-preview-cta {
    display: grid;
    justify-items: start;
  }

  .bio-stats {
    gap: 18px;
    margin-top: 34px;
  }

  .site-footer,
  .project-footer-cta {
    grid-template-columns: 1fr;
    display: grid;
    justify-items: start;
  }

  .footer-nav {
    justify-content: start;
    gap: 18px 22px;
  }
}
