/* ============================================
   Shachi Shah — Ceramic Artist
   ============================================ */

:root {
  --clay: #a03b22;          /* rust / terracotta accent */
  --clay-deep: #7e2d18;
  --bone: #e5dedb;          /* warm pale ground */
  --bone-dim: #d9d1cd;
  --ink: #2b201c;           /* near-black warm ink */
  --ink-soft: #5c4f49;
  --rule: rgba(43, 32, 28, 0.16);
  --sepia-overlay: rgba(122, 62, 40, 0.38);

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Archivo", -apple-system, Helvetica, Arial, sans-serif;
  --gutter: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}

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

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

/* keep the hidden attribute authoritative even on elements
   that set their own display (e.g. flex forms) */
[hidden] {
  display: none !important;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem var(--gutter);
  background: var(--bone);
}

.monogram {
  display: block;
  transition: opacity 0.2s ease;
}

.monogram img {
  display: block;
  height: 42px;
  width: auto;
}

.monogram:hover {
  opacity: 0.8;
}

.site-nav {
  display: flex;
  gap: 2.25rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-nav a {
  color: var(--clay-deep);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 0.55;
}

.btn-talk {
  background: var(--clay-deep);
  color: var(--bone);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.btn-talk:hover {
  background: var(--clay);
}

/* ---------- Hero (pinned; content scrolls over it) ---------- */

.hero {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--bone-dim);
}

.hero-media {
  position: absolute;
  inset: 66px 0 0 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.55) contrast(0.95) brightness(0.96);
}

/* rust wash over the photo */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sepia-overlay);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* placeholder shown until a real photo is added */
.hero-media .placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 60% 50% at 55% 40%, #b9a99f 0%, transparent 70%),
    radial-gradient(ellipse 45% 60% at 25% 70%, #a08a7d 0%, transparent 65%),
    linear-gradient(160deg, #c8bab1 0%, #a89486 55%, #8f7a6c 100%);
}

.hero-title {
  position: absolute;
  /* pull up by part of the em box so the visual baseline,
     not the font's descender space, sits 1.5rem from the edge */
  bottom: calc(1.5rem - 0.15em);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 2;
  font-family: var(--serif);
  font-weight: 400;
  /* 0.249 ≈ 1 / (advance width of "Shachi Shah" in em) so the
     name fills the width between the 1.5rem side gutters */
  font-size: calc((100vw - 3rem) * 0.249);
  line-height: 1;
  color: var(--bone-dim);
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.02em;
  pointer-events: none;
}

/* ---------- Scroll content (slides over the pinned hero) ---------- */

.scroll-content {
  position: relative;
  z-index: 2;
  background: var(--bone);
}

.section {
  padding: 7rem var(--gutter);
  scroll-margin-top: 40px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  line-height: 1;
  color: var(--clay-deep);
}

.section-sub {
  margin-top: 1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.section-head {
  margin-bottom: 4rem;
}

/* ---------- Work ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem 1.5rem;
}

.work-item {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.tile {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.tile svg {
  width: 62%;
  height: auto;
  display: block;
}

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

.tile-1 { background: #cfc0b3; }
.tile-1 svg { fill: #a08876; }
.tile-2 { background: #c6b0a0; }
.tile-2 svg { fill: #96755f; }
.tile-3 { background: #d6cabf; }
.tile-3 svg { fill: #a89078; }
.tile-4 { background: #bfa896; }
.tile-4 svg { fill: #8c6d58; }
.tile-5 { background: #cab5a2; }
.tile-5 svg { fill: #997a61; }
.tile-6 { background: #d2c1b6; }
.tile-6 svg { fill: #a3846f; }

.work-item figcaption {
  font-size: 0.9rem;
  font-weight: 500;
}

.work-item figcaption span {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

/* ---------- Stockists ---------- */

.stockists {
  background: var(--bone-dim);
}

.stockists .section-sub a {
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s ease;
}

.stockists .section-sub a:hover {
  color: var(--clay);
}

.stk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 1.5rem;
}

.stk-place {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stk-photo {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
}

.stk-photo--1 {
  background:
    radial-gradient(ellipse 55% 45% at 45% 40%, #c4ad99 0%, transparent 70%),
    linear-gradient(160deg, #c9b6a4 0%, #a1866e 60%, #8a6f58 100%);
}

.stk-photo--2 {
  background:
    radial-gradient(ellipse 50% 55% at 60% 35%, #cbb8a0 0%, transparent 70%),
    linear-gradient(200deg, #c3b29c 0%, #997e62 65%, #856c53 100%);
}

.stk-city {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.75rem;
}

.stk-info h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.stk-note {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 1rem;
}

.stk-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clay);
  transition: opacity 0.2s ease;
}

.stk-link:hover {
  opacity: 0.6;
}

/* ---------- About (inverted, clay ground) ---------- */

.about {
  background: var(--clay-deep);
  color: var(--bone);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.about-text {
  grid-column: 1 / span 7;
}

.about-statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.12;
  margin-bottom: 2.5rem;
}

.about-text p {
  max-width: 52ch;
  color: rgba(229, 222, 219, 0.82);
  margin-bottom: 1.25rem;
}

.about-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(229, 222, 219, 0.5);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.about-link:hover {
  border-color: var(--bone);
}

.about-portrait {
  grid-column: 9 / span 4;
  width: 100%;
  aspect-ratio: 3 / 4;
  align-self: center;
  object-fit: cover;
  object-position: center;
}

/* ---------- Exhibits ---------- */

.exh-group {
  margin-bottom: 4rem;
}

.exh-group:last-child {
  margin-bottom: 0;
}

.exh-group-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.exh-row {
  display: grid;
  /* fixed last column so venues align vertically whether or not
     the row carries an "Upcoming" tag */
  grid-template-columns: 6rem 1fr 1fr 7.5rem;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}

.exh-group .exh-row:last-child {
  border-bottom: 1px solid var(--rule);
}

.exh-year {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.exh-name {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  color: var(--ink);
}

.exh-venue {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.exh-tag {
  justify-self: end;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  white-space: nowrap;
}

@media (min-width: 901px) {
  .exh-row {
    grid-template-columns: 6rem minmax(0, 1fr) 7.5rem;
    column-gap: 1.5rem;
    row-gap: 0.35rem;
    align-items: start;
  }

  .exh-name,
  .exh-venue {
    white-space: nowrap;
  }

  .exh-name {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  }

  .exh-venue {
    grid-column: 2;
    grid-row: 2;
  }

  .exh-year {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .exh-tag {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

/* hovered row inverts to a dark plate; a floating image preview
   follows the cursor (built in the page script) */
@media (hover: hover) {
  .exh-row {
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
    transition: background-color 0.25s ease;
  }

  .exh-row .exh-name,
  .exh-row .exh-year,
  .exh-row .exh-venue,
  .exh-row .exh-tag {
    transition: color 0.25s ease;
  }

  .exh-row:hover {
    background: var(--clay-deep);
  }

  .exh-row:hover .exh-name {
    color: var(--bone);
  }

  .exh-row:hover .exh-year,
  .exh-row:hover .exh-venue {
    color: rgba(229, 222, 219, 0.7);
  }

  .exh-row:hover .exh-tag {
    color: var(--bone-dim);
  }
}

.exh-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 225px;
  z-index: 90;
  pointer-events: none;
}

.exh-preview-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.exh-preview.on .exh-preview-img {
  opacity: 1;
  transform: none;
}

/* toned placeholders until each show has a real photo */
.exh-preview-img[data-show="vessel-void"] {
  background-color: #a98d75;
  background-image:
    radial-gradient(ellipse 60% 50% at 60% 35%, #cdb9a5 0%, transparent 70%),
    linear-gradient(150deg, #c2ab97 0%, #8a6c56 100%);
}

.exh-preview-img[data-show="earth-index"] {
  background-color: #9a7d64;
  background-image:
    radial-gradient(ellipse 50% 55% at 40% 40%, #c9b097 0%, transparent 70%),
    linear-gradient(170deg, #b99f88 0%, #7c5c46 100%);
}

.exh-preview-img[data-show="quiet-objects"] {
  background-color: #af9b8b;
  background-image:
    radial-gradient(ellipse 55% 45% at 55% 30%, #d8cabb 0%, transparent 70%),
    linear-gradient(200deg, #cbbcad 0%, #93796a 100%);
}

.exh-preview-img[data-show="clay-bodies"] {
  background-color: #91705a;
  background-image:
    radial-gradient(ellipse 50% 50% at 45% 45%, #c2a48b 0%, transparent 70%),
    linear-gradient(160deg, #b3937b 0%, #6f4e3a 100%);
}

.exh-preview-img[data-show="tactile"] {
  background-color: #a4917e;
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 35%, #d2c6b4 0%, transparent 70%),
    linear-gradient(190deg, #c3b4a0 0%, #85705c 100%);
}

.exh-preview-img[data-show="first-fire"] {
  background-color: #8d6c54;
  background-image:
    radial-gradient(ellipse 55% 50% at 60% 40%, #c8ab92 0%, transparent 70%),
    linear-gradient(140deg, #b69579 0%, #64432f 100%);
}

/* ---------- Workshops ---------- */

.workshops {
  background: var(--bone-dim);
}

.ws-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.ws-card {
  background: var(--bone);
  min-height: 0;
}

.ws-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  height: 100%;
}

.ws-card-overview,
.ws-card-info {
  padding: 1.5rem;
}

.ws-card-overview {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  align-items: start;
  row-gap: 0;
}

.ws-card-info {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--rule);
}

.ws-class-media {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  margin: 0 0 1rem;
}

.ws-class-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-class-media-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(43, 32, 28, 0.4);
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ws-card h3 {
  grid-column: 1;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.1;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.ws-card .ws-summary {
  grid-column: 1;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.ws-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  padding: 0 0 1.25rem;
}

.ws-details dt {
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ws-details dd {
  margin-top: 0.2rem;
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.35;
}

.ws-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
}

.ws-enquire {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clay);
  transition: opacity 0.2s ease;
}

.ws-enquire:hover {
  opacity: 0.6;
}

/* ---------- Journal ---------- */

.journal-list {
  display: block;
}

.journal-row {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr) 13rem;
  gap: 1.5rem;
  align-items: stretch;
  border-top: 1px solid var(--rule);
  height: 9.25rem;
  overflow: hidden;
}

.journal-list .journal-row:last-child {
  border-bottom: 1px solid var(--rule);
}

.journal-date {
  padding: 1.75rem 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.journal-copy {
  align-self: center;
  padding: 1.75rem 0;
}

.journal-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) sepia(0.08);
  transition: transform 0.45s ease, filter 0.3s ease;
}

.journal-row h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  color: var(--ink);
  transition: color 0.2s ease;
}

.journal-row p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 60ch;
  margin-top: 0.35rem;
}

.journal-row:hover h3 {
  color: var(--clay);
}

.journal-row:hover .journal-image {
  transform: scale(1.035);
  filter: saturate(0.95) sepia(0);
}

/* ---------- Footer / big CTA ---------- */

.site-footer {
  padding: 8rem var(--gutter) 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-kicker {
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.footer-cta {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.5rem, 11vw, 9rem);
  line-height: 1;
  color: var(--clay);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.footer-cta:hover {
  color: var(--clay-deep);
}

.newsletter {
  margin-top: 3.5rem;
  max-width: 640px;
}

.nl-kicker {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.nl-form {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
}

.nl-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.6rem 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
}

.nl-form input::placeholder {
  color: var(--ink-soft);
  opacity: 0.75;
}

.nl-form input:focus {
  outline: none;
  border-bottom-color: var(--clay);
}

.nl-btn {
  background: var(--clay-deep);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1.4rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nl-btn:hover {
  background: var(--clay);
}

.nl-done {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--clay-deep);
}

.nl-error {
  font-size: 0.85rem;
  color: var(--clay);
  margin-top: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.footer-meta a:hover {
  color: var(--clay);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

/* ---------- Studio note template ---------- */

.note-page {
  padding: 8.5rem var(--gutter) 0;
}

.note-article {
  max-width: 1200px;
  margin: 0 auto;
}

.note-header {
  padding: 2.5rem 0 2rem;
}

.note-back {
  display: inline-block;
  color: var(--ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  margin-bottom: clamp(4rem, 9vw, 8rem);
  transition: color 0.2s ease;
}

.note-back:hover {
  color: var(--clay);
}

.note-heading {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.note-kicker {
  padding-top: 0.65rem;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.note-heading h1 {
  max-width: 920px;
  color: var(--clay-deep);
  font-family: var(--serif);
  font-size: 100px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.86;
}

.note-dek {
  grid-column: 2;
  max-width: 46ch;
  margin-top: 2rem;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
}

.note-meta {
  display: grid;
  grid-template-columns: 10rem 1fr auto;
  gap: 1.5rem;
  margin-top: clamp(4rem, 7vw, 6rem);
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-hero {
  margin: 0 calc(var(--gutter) * -1);
}

.note-hero img {
  width: 100%;
  height: clamp(28rem, 63vw, 48rem);
  object-fit: cover;
  object-position: center;
}

.note-hero figcaption,
.note-inline-figure figcaption {
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.45;
}

.note-hero figcaption {
  padding: 0.75rem var(--gutter) 0;
}

.note-content {
  display: grid;
  grid-template-columns: minmax(0, 42rem);
  gap: 2rem;
  justify-content: center;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.note-prose {
  min-width: 0;
}

.note-prose p {
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.75;
}

.note-prose .note-lede {
  margin-bottom: 2.5rem;
  color: var(--clay-deep);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
}

.note-prose blockquote {
  margin: clamp(4rem, 8vw, 7rem) -6rem;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 4.125rem;
  font-style: italic;
  line-height: 1.05;
  text-align: center;
}

.note-quote-figure {
  margin: 0 -6rem 5rem;
}

.note-quote-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.note-quote-figure figcaption {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.45;
}

.note-prose h2 {
  margin: 4.5rem 0 1.5rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
}

.note-inline-figure {
  margin: 4.5rem 0 0;
}

.note-inline-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.note-inline-figure figcaption {
  margin-top: 0.75rem;
}

.note-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.note-pagination a {
  min-height: 12rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.note-pagination a + a {
  border-left: 1px solid var(--rule);
  text-align: right;
}

.note-pagination span {
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.note-pagination strong {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
}

.note-pagination a:hover {
  background: var(--clay-deep);
  color: var(--bone);
}

.note-pagination a:hover span {
  color: var(--bone-dim);
}

/* ---------- Page shells (inner pages) ---------- */

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10rem var(--gutter) 6rem;
}

.page-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: var(--clay-deep);
  margin-bottom: 2.5rem;
}

.page-note {
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.25rem;
  }

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

  .about-text {
    grid-column: 1 / -1;
  }

  .about-portrait {
    grid-column: 3 / span 8;
    margin-top: 2rem;
  }

  .ws-card {
    min-height: 0;
  }

  .exh-row {
    grid-template-columns: 4.5rem 1fr auto;
  }

  .exh-venue {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .site-nav {
    gap: 1.1rem;
  }

  .site-nav a {
    font-size: 0.8rem;
  }

  .btn-talk {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }

  .section {
    padding: 5rem var(--gutter);
  }

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

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

  .ws-card-layout {
    grid-template-columns: 1fr;
  }

  .ws-card-overview,
  .ws-card-info {
    padding: 2rem;
  }

  .ws-card-overview {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .ws-card-info {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .ws-class-media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
    margin-bottom: 1.5rem;
  }

  .ws-card h3,
  .ws-card .ws-summary {
    grid-column: 1;
  }

  .ws-card h3 {
    margin-bottom: 1rem;
  }

  .ws-card .ws-summary {
    margin-bottom: 0;
  }

  .ws-details {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
  }

  .ws-details div:last-child:nth-child(3) {
    grid-column: 1 / -1;
  }

  .journal-row {
    grid-template-columns: minmax(0, 1fr) 7.5rem;
    grid-template-rows: auto 1fr;
    column-gap: 1rem;
    row-gap: 0;
  }

  .journal-date {
    grid-column: 1;
    grid-row: 1;
    padding: 1.25rem 0 0;
  }

  .journal-copy {
    grid-column: 1;
    grid-row: 2;
    padding: 0.25rem 0 1.5rem;
  }

  .journal-image {
    grid-column: 2;
    grid-row: 1 / 3;
    height: 100%;
    min-height: 0;
  }

  .exh-row {
    grid-template-columns: 1fr auto;
  }

  .nl-form {
    flex-direction: column;
    align-items: stretch;
  }

  .nl-btn {
    align-self: flex-start;
  }

  .exh-year {
    grid-column: 1;
  }

  .exh-name {
    grid-column: 1 / -1;
  }

  .exh-venue {
    grid-column: 1;
  }
}

@media (max-width: 900px) {
  .note-prose blockquote {
    margin-inline: 0;
  }

  .note-quote-figure {
    margin-inline: 0;
  }
}

@media (max-width: 720px) {
  .note-page {
    padding-top: 6.5rem;
  }

  .note-header {
    padding-top: 1rem;
  }

  .note-back {
    margin-bottom: 3.5rem;
  }

  .note-heading,
  .note-content {
    grid-template-columns: 1fr;
  }

  .note-heading {
    gap: 0.75rem;
  }

  .note-heading h1,
  .note-dek {
    grid-column: 1;
  }

  .note-heading h1 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .note-kicker {
    padding-top: 0;
  }

  .note-dek {
    margin-top: 1rem;
  }

  .note-meta {
    grid-template-columns: 1fr 1fr;
    row-gap: 0.4rem;
  }

  .note-meta span:last-child {
    grid-column: 2;
  }

  .note-hero img {
    height: 70vw;
    min-height: 22rem;
  }

  .note-content {
    gap: 2.5rem;
  }

  .note-prose blockquote {
    margin-block: 4rem;
  }

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

  .note-pagination a {
    min-height: 9rem;
    padding: 1.5rem 0;
  }

  .note-pagination a + a {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

}
