:root {
  --paper: #f8f7f4;
  --paper-deep: #eeece6;
  --ink: #171717;
  --muted: #69655e;
  --quiet: #8a857c;
  --line: #e4e0d8;
  --moss: #596257;
  --clay: #7f4a3f;
  --night: #171717;
  --white: #ffffff;
  --wall: #fffefa;
  --shadow: 0 22px 70px rgba(17, 17, 17, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--wall);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px clamp(22px, 5vw, 84px);
  background: rgba(255, 254, 250, 0.94);
  border-bottom: 1px solid rgba(228, 224, 216, 0.58);
  backdrop-filter: blur(24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 11px;
  height: 11px;
  border: 1px solid currentColor;
  background: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 44px);
  color: #5d5a54;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-nav a {
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 7vw, 132px);
  min-height: calc(100vh - 82px);
  padding: clamp(76px, 10vw, 152px) clamp(22px, 6vw, 98px) clamp(62px, 8vw, 116px);
  background: var(--wall);
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 1040px;
  font-size: clamp(4.1rem, 10vw, 9.4rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 5.2rem);
}

p {
  margin: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 34px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.42vw, 1.18rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 0;
  border: 1px solid var(--night);
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  color: var(--ink);
  background: transparent;
  border-color: transparent;
  border-bottom-color: currentColor;
}

.button-primary:hover {
  color: var(--clay);
  background: transparent;
}

.button-secondary {
  color: var(--night);
  background: transparent;
  border-color: transparent;
  border-bottom-color: var(--line);
}

.button-secondary:hover {
  color: var(--clay);
  background: transparent;
  border-bottom-color: currentColor;
}

.hero-art {
  margin: 0;
  justify-self: end;
  width: min(100%, 650px);
}

.hero-art img,
.about-image img,
.artwork-figure img {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(228, 224, 216, 0.68);
  padding: clamp(8px, 1.2vw, 14px);
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-align: left;
  text-transform: uppercase;
}

.section,
.page-intro {
  padding: clamp(88px, 11vw, 172px) clamp(22px, 6vw, 98px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(280px, 1fr);
  gap: clamp(40px, 7vw, 118px);
  background: #20201e;
  color: var(--wall);
}

.intro-band .eyebrow,
.intro-band .lede {
  color: #e6ddd0;
}

.intro-band .lede {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  font-weight: 400;
  line-height: 1.55;
}

.section-heading {
  max-width: 860px;
}

.lede {
  align-self: end;
  max-width: 720px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3.3vw, 3.1rem);
  line-height: 1.18;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(34px, 4.4vw, 64px);
  margin-top: 58px;
}

.art-card {
  min-width: 0;
  background: transparent;
  border: 0;
}

.art-card a {
  display: grid;
  color: inherit;
  text-decoration: none;
}

.art-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(228, 224, 216, 0.7);
  padding: 8px;
  box-shadow: 0 16px 46px rgba(17, 17, 17, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.art-card a:hover img {
  transform: translateY(-2px);
  box-shadow: 0 24px 64px rgba(17, 17, 17, 0.085);
}

.art-card-body {
  display: grid;
  gap: 10px;
  min-height: 90px;
  padding: 18px 0 0;
}

.art-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
}

.art-meta {
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(280px, 1fr);
  gap: clamp(44px, 7vw, 112px);
  background: var(--wall);
  border-top: 1px solid rgba(228, 224, 216, 0.72);
}

.prose {
  display: grid;
  gap: 22px;
  color: #514d47;
  font-size: 1.06rem;
  line-height: 1.85;
}

.story-guide {
  background: #f5f3ee;
  border-top: 1px solid rgba(228, 224, 216, 0.72);
}

.story-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  margin-top: 48px;
  border: 1px solid rgba(228, 224, 216, 0.8);
  background: var(--line);
}

.story-guide-grid p {
  display: grid;
  gap: 14px;
  margin: 0;
  min-height: 150px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--wall);
}

.story-guide-grid strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
}

.story-guide-grid span {
  color: #5f574f;
  line-height: 1.7;
}

.page-intro {
  max-width: none;
  background: var(--wall);
  border-bottom: 1px solid rgba(228, 224, 216, 0.72);
}

.page-intro h1 {
  font-size: clamp(4.1rem, 10vw, 9rem);
}

.page-intro p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.82;
}

.narrow {
  max-width: 720px;
}

.gallery-list,
.narrative-stack {
  display: grid;
  gap: 0;
  counter-reset: artwork;
}

.narrative-stack {
  gap: clamp(72px, 10vw, 150px);
}

.gallery-item,
.narrative-entry {
  counter-increment: artwork;
  display: grid;
  grid-template-columns: minmax(300px, 0.56fr) minmax(280px, 0.8fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: center;
  padding: clamp(54px, 7vw, 104px) 0;
  border-bottom: 1px solid rgba(228, 224, 216, 0.72);
}

.narrative-entry {
  grid-template-columns: minmax(360px, 0.72fr) minmax(320px, 0.62fr);
  padding: 0 0 clamp(72px, 9vw, 132px);
  border-bottom-color: rgba(23, 23, 23, 0.14);
}

.narrative-entry:nth-child(even) {
  grid-template-columns: minmax(320px, 0.62fr) minmax(360px, 0.72fr);
}

.narrative-entry:nth-child(even) img {
  grid-column: 2;
}

.narrative-entry:nth-child(even) > div {
  grid-column: 1;
  grid-row: 1;
}

.gallery-item:first-child,
.narrative-entry:first-child {
  padding-top: 0;
}

.gallery-text::before,
.narrative-entry > div::before {
  content: counter(artwork, decimal-leading-zero);
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.gallery-image img,
.narrative-entry img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(228, 224, 216, 0.72);
  padding: 8px;
  box-shadow: 0 22px 66px rgba(17, 17, 17, 0.07);
}

.narrative-entry img {
  aspect-ratio: auto;
  max-height: min(78vh, 820px);
  object-fit: contain;
  justify-self: center;
}

.gallery-text,
.narrative-entry > div {
  display: grid;
  gap: 16px;
  max-width: 660px;
}

.narrative-entry > div {
  gap: 24px;
  max-width: 560px;
}

.narrative-entry h2 {
  max-width: 540px;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.98;
}

.gallery-text p:not(.eyebrow):not(.art-meta),
.narrative-entry p:not(.eyebrow) {
  color: #514d47;
  line-height: 1.82;
}

.reflection-lines {
  display: grid;
  gap: 1px;
  max-width: 520px;
  margin: 6px 0 0;
  border-top: 1px solid rgba(23, 23, 23, 0.18);
  border-bottom: 1px solid rgba(23, 23, 23, 0.18);
}

.reflection-lines p {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 22px 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.reflection-lines p + p {
  border-top: 1px solid rgba(23, 23, 23, 0.12);
}

.reflection-lines span {
  color: var(--quiet);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.reflection-note {
  max-width: 500px;
  color: #5d5851;
  font-size: 1.02rem;
  line-height: 1.85;
}

.story-pair {
  margin: 0;
  color: #514d47;
}

.story-pair strong {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-text h2 a {
  text-decoration: none;
}

.gallery-text h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

.text-link {
  color: var(--ink);
  width: fit-content;
  border-bottom: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.about-image {
  margin: 0;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--wall);
  border-top: 1px solid rgba(228, 224, 216, 0.72);
  border-bottom: 1px solid rgba(228, 224, 216, 0.72);
}

.contact-panel div {
  display: grid;
  gap: 14px;
  max-width: 740px;
}

.contact-panel p {
  color: var(--muted);
}

.artwork-page {
  padding: clamp(72px, 9vw, 138px) clamp(22px, 6vw, 98px);
  background: var(--wall);
}

.artwork-layout {
  display: grid;
  grid-template-columns: minmax(380px, 1.08fr) minmax(320px, 0.66fr);
  align-items: start;
  gap: clamp(54px, 8vw, 142px);
}

.artwork-figure {
  position: sticky;
  top: 118px;
  margin: 0;
}

.artwork-copy {
  display: grid;
  gap: 26px;
  max-width: 620px;
}

.artwork-copy h1 {
  font-size: clamp(3.6rem, 7.2vw, 7.1rem);
}

.artwork-copy h2,
.artist-note h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  line-height: 1.08;
}

.artwork-copy p {
  color: #45413b;
  font-size: 1.04rem;
  line-height: 1.9;
}

.artwork-copy > h2 {
  margin-top: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(228, 224, 216, 0.72);
}

.artwork-copy > h1 + p {
  color: #2a2926;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  line-height: 1.28;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 4px 0 8px;
  background: rgba(228, 224, 216, 0.86);
}

.details div {
  min-width: 0;
  padding: 18px 16px;
  background: var(--wall);
}

.details dt {
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.details dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.5;
}

.artist-note {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 0 0 0 22px;
  color: #59554d;
  background: transparent;
  border-left: 1px solid rgba(23, 23, 23, 0.32);
}

.artist-note p {
  color: #59554d;
  font-size: 0.98rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(22px, 6vw, 98px);
  color: var(--muted);
  background: #20201e;
}

.site-footer p {
  max-width: 760px;
  color: #c9c3b8;
  font-size: 0.84rem;
  line-height: 1.7;
}

.site-footer a {
  color: #f2eee6;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .intro-band,
  .split-section,
  .gallery-item,
  .narrative-entry,
  .artwork-layout {
    grid-template-columns: 1fr;
  }

  .narrative-entry:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .narrative-entry:nth-child(even) img,
  .narrative-entry:nth-child(even) > div {
    grid-column: auto;
    grid-row: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-art {
    justify-self: start;
    width: min(100%, 620px);
  }

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

  .artwork-figure {
    position: static;
  }

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

  .artwork-copy {
    max-width: 720px;
  }

  .contact-panel,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    align-items: flex-start;
    white-space: normal;
  }

  .site-nav {
    gap: 18px;
    font-size: 0.74rem;
  }

  h1,
  .page-intro h1 {
    font-size: 3rem;
  }

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

  .button {
    width: fit-content;
  }

  .section,
  .page-intro,
  .artwork-page {
    padding-left: 16px;
    padding-right: 16px;
  }
}
