:root {
  --ink: #163c34;
  --ink-deep: #0f2e28;
  --paper: #f6f2e9;
  --white: #fffdfa;
  --muted: #63706b;
  --line: #d8d2c4;
  --gold: #b99b58;
  --clay: #b85f3f;
  --sage: #c7d0bf;
  --shadow: 0 18px 55px rgba(19, 55, 48, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-deep);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 20; background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  color: var(--paper);
  background:
    radial-gradient(circle at 88% 18%, rgba(185, 155, 88, 0.2), transparent 24%),
    radial-gradient(circle at 70% 95%, rgba(184, 95, 63, 0.15), transparent 32%),
    var(--ink-deep);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -20% 45%;
  height: 78%;
  opacity: 0.13;
  background: repeating-radial-gradient(ellipse at bottom, transparent 0 20px, var(--paper) 21px 22px, transparent 23px 43px);
  transform: rotate(-7deg);
  pointer-events: none;
}
.nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 88px; border-bottom: 1px solid rgba(246, 242, 233, 0.18); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; text-decoration: none; }
.wordmark-mark { width: 31px; height: 31px; border: 1px solid rgba(246, 242, 233, 0.65); border-radius: 50%; position: relative; }
.wordmark-mark::before { content: ""; position: absolute; width: 14px; height: 1px; background: var(--gold); top: 14px; left: 8px; box-shadow: 0 -5px 0 rgba(246,242,233,.65), 0 5px 0 rgba(246,242,233,.65); }
.nav-links { display: flex; gap: 28px; font-size: .9rem; }
.nav-links a { text-decoration: none; color: rgba(246, 242, 233, .82); }
.nav-links a:hover, .nav-links a:focus { color: #fff; }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, .72fr); gap: clamp(50px, 8vw, 120px); align-items: center; padding-block: 112px 128px; }
.eyebrow, .kicker { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .15em; font-size: .74rem; font-weight: 760; color: var(--gold); }
.hero h1 { margin: 0; max-width: 820px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.45rem, 6.7vw, 6.6rem); line-height: .99; letter-spacing: -.045em; font-weight: 400; }
.lede { max-width: 760px; margin: 34px 0 0; color: rgba(246, 242, 233, .83); font-size: clamp(1.08rem, 1.6vw, 1.28rem); }
.lede strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 720; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover, .button:focus { transform: translateY(-2px); }
.button-light { background: var(--paper); color: var(--ink); }
.button-ghost { border-color: rgba(246, 242, 233, .35); color: var(--paper); }
.button-dark { margin-top: 20px; background: var(--ink); color: #fff; }

.hero-card { align-self: end; padding: 30px; border: 1px solid rgba(246, 242, 233, .2); border-radius: 22px; background: rgba(255,255,255,.06); box-shadow: 0 25px 80px rgba(0,0,0,.18); backdrop-filter: blur(8px); }
.hero-card-label { margin: 0 0 20px; color: var(--gold); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.hero-card dl, .hero-card dd { margin: 0; }
.hero-card dl > div { display: grid; grid-template-columns: 85px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(246, 242, 233, .14); }
.hero-card dt { color: rgba(246,242,233,.58); font-size: .78rem; }
.hero-card dd { color: #fff; font-size: .9rem; }
.wave { height: 42px; margin-top: 22px; display: flex; align-items: center; gap: 7px; }
.wave span { display: block; width: 3px; border-radius: 3px; background: var(--clay); }
.wave span:nth-child(1), .wave span:nth-child(9) { height: 12px; }
.wave span:nth-child(2), .wave span:nth-child(8) { height: 24px; }
.wave span:nth-child(3), .wave span:nth-child(7) { height: 34px; }
.wave span:nth-child(4), .wave span:nth-child(6) { height: 21px; }
.wave span:nth-child(5) { height: 42px; background: var(--gold); }

.section { padding-block: 112px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .65fr); gap: 80px; align-items: end; margin-bottom: 46px; }
.section-heading.compact { grid-template-columns: 1fr; margin-bottom: 32px; }
h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h2 { margin: 0; font-size: clamp(2.45rem, 4.3vw, 4.5rem); line-height: 1.04; letter-spacing: -.035em; }
h3 { font-size: 1.55rem; line-height: 1.2; }
.section-intro { margin: 0; color: var(--muted); }
.material-note { margin-bottom: 36px; padding: 18px 22px; border-left: 4px solid var(--clay); background: var(--paper); color: #47534f; font-size: .92rem; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.work-card { grid-column: span 6; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(15,46,40,.055); }
.work-card.portrait { grid-column: span 4; }
.work-card.wide { grid-column: span 8; grid-column-start: 3; }
.work-card a { display: block; overflow: hidden; background: #ece8df; }
.work-card.landscape img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work-card.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--paper); }
.work-card img { transition: transform .35s ease; }
.work-card a:hover img, .work-card a:focus img { transform: scale(1.018); }
.work-card figcaption { padding: 24px 25px 26px; }
.work-card figcaption span { display: block; margin-bottom: 9px; color: var(--clay); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.work-card figcaption strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 400; line-height: 1.2; }
.work-card figcaption p { margin: 10px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.statement-band { color: var(--paper); background: var(--ink); padding-block: 96px; }
.statement-grid { display: grid; grid-template-columns: 1.08fr .78fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.kicker-light { color: var(--gold); }
blockquote { margin: 0; max-width: 770px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4.15vw, 4.3rem); line-height: 1.07; letter-spacing: -.03em; }
.statement-copy { color: rgba(246,242,233,.78); font-size: 1.04rem; }
.statement-copy p:first-child { margin-top: 35px; }

.research-section { background: var(--white); }
.question-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0 0 56px; counter-reset: none; }
.question-grid li { min-height: 220px; padding: 24px; border: 1px solid var(--line); background: var(--paper); border-radius: 16px; }
.question-grid span { display: inline-grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800; }
.question-grid p { margin: 31px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; line-height: 1.4; }
.residency-card { display: grid; grid-template-columns: .78fr 1.2fr; gap: 70px; padding: 48px; border-radius: 22px; background: #e4e9df; }
.residency-card h3 { margin: 0; font-size: 2rem; }
.residency-card p { margin-top: 0; }
.boundary { margin: 22px 0 0 !important; padding-top: 18px; border-top: 1px solid rgba(15,46,40,.18); }

.artist-section { display: grid; grid-template-columns: 1.05fr .75fr; gap: 95px; align-items: start; }
.artist-role { margin: 16px 0 25px; color: var(--clay); font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.15rem; }
.artist-copy > p:not(.kicker):not(.artist-role) { color: #47534f; }
.credentials { border-top: 1px solid var(--line); }
.credentials > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.credentials span { display: block; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .11em; }
.credentials strong { display: block; margin-top: 5px; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 400; }
.credentials p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }

.support-section { background: var(--paper); }
.letter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.letter-card { padding: 36px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.letter-type { margin: 0; color: var(--clay); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.letter-card h3 { margin: 11px 0 8px; font-size: 2rem; }
.letter-role { min-height: 54px; color: var(--muted); font-size: .88rem; }
.letter-card > p:not(.letter-type):not(.letter-role) { color: #47534f; }
.letter-card a { display: inline-block; margin-top: 12px; color: var(--ink); font-weight: 760; text-underline-offset: 4px; }

.register-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.register-section h2 { font-size: clamp(2.2rem, 3.8vw, 3.8rem); }
.material-register { margin: 0; border-top: 1px solid var(--line); }
.material-register > div { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.material-register dt { color: var(--muted); }
.material-register dd { margin: 0; font-weight: 760; }

footer { color: rgba(246,242,233,.78); background: var(--ink-deep); }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; padding-block: 34px; }
.footer-inner div { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-inner strong { color: #fff; }
.footer-inner a { color: inherit; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-inner, .section-heading, .statement-grid, .residency-card, .artist-section, .register-section { grid-template-columns: 1fr; gap: 42px; }
  .hero-inner { padding-block: 78px 90px; }
  .hero-card { align-self: auto; max-width: 560px; }
  .question-grid { grid-template-columns: 1fr 1fr; }
  .work-card.portrait { grid-column: span 6; }
  .work-card.wide { grid-column: span 12; }
  .letter-role { min-height: auto; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { min-height: 72px; }
  .nav-links { display: none; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .section { padding-block: 76px; }
  .section-heading { gap: 22px; margin-bottom: 32px; }
  .gallery { gap: 17px; }
  .work-card, .work-card.portrait, .work-card.wide { grid-column: span 12; }
  .question-grid, .letter-grid { grid-template-columns: 1fr; }
  .question-grid li { min-height: 180px; }
  .residency-card, .letter-card { padding: 28px; }
  .material-register > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-inner { flex-direction: column; }
}

@media print {
  .hero { min-height: 0; }
  .nav, .hero-actions { display: none; }
  .hero-inner { padding-block: 50px; }
  .section { padding-block: 55px; }
  .work-card, .letter-card, .question-grid li { break-inside: avoid; box-shadow: none; }
}
