:root {
  --ink: #171714;
  --paper: #f5f2e9;
  --muted: #aaa69b;
  --red: #e45a3f;
  --yellow: #f2bd42;
  --line: rgba(23, 23, 20, .2);
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.6; }
img { display: block; max-width: 100%; }
button, a { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; z-index: 99; left: 1rem; top: -4rem; background: white; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; z-index: 20; top: 0; min-height: 5rem; padding: .9rem var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: white; background: rgba(23,23,20,.96); border-bottom: 1px solid rgba(255,255,255,.16); }
.wordmark { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; }
.wordmark span { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.3rem, 2vw, 1.75rem); }
.wordmark small { margin-top: .25rem; color: #c9c5ba; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { color: #e8e4db; text-decoration: none; font-size: .95rem; }
nav a:hover, nav a:focus-visible { color: var(--yellow); }
.menu-button { display: none; color: white; background: none; border: 1px solid #777; padding: .45rem .7rem; }

.hero { min-height: calc(100vh - 5rem); display: grid; grid-template-columns: minmax(18rem, .72fr) minmax(24rem, 1.28fr); background: var(--ink); color: white; }
.hero-copy { padding: clamp(4rem, 9vw, 9rem) var(--pad) 4rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { margin: 0 0 1rem; color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 9ch; margin: 0 0 1.5rem; font: 400 clamp(3rem, 7vw, 7.5rem)/.92 Georgia, 'Times New Roman', serif; letter-spacing: -.045em; }
.hero-copy > p:not(.eyebrow) { max-width: 34rem; margin: 0; color: #c9c5ba; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.text-link { margin-top: 2.2rem; padding-bottom: .25rem; text-decoration: none; border-bottom: 1px solid var(--red); }
.text-link span { margin-left: .5rem; color: var(--yellow); }
.hero-art { margin: 0; position: relative; overflow: hidden; background: #090909; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art figcaption { position: absolute; right: 1.25rem; bottom: 1.25rem; left: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; background: rgba(15,15,14,.78); backdrop-filter: blur(8px); }
.hero-art figcaption span { color: #d8d4ca; font-size: .84rem; }

.section { padding: clamp(5rem, 9vw, 9rem) var(--pad); }
.section-heading { max-width: 54rem; margin-bottom: clamp(2.5rem, 5vw, 5rem); display: grid; grid-template-columns: 1fr 1.2fr; column-gap: 4rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
h2 { margin: 0; font: 400 clamp(3.5rem, 7vw, 7rem)/.95 Georgia, 'Times New Roman', serif; letter-spacing: -.04em; }
.section-heading > p:last-child { margin: .5rem 0 0; color: #59564f; font-size: 1.08rem; }

.works { background: var(--paper); }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4rem); max-width: 44rem; margin-inline: auto; }
.art-card { min-width: 0; margin: 0; }
.art-card button { width: 100%; padding: 0; display: block; cursor: zoom-in; background: #ddd8cc; border: 0; box-shadow: 0 10px 26px rgba(30,23,15,.13); transition: transform .25s ease, box-shadow .25s ease; }
.art-card button:hover, .art-card button:focus-visible { transform: translateY(-5px); box-shadow: 0 17px 38px rgba(30,23,15,.2); outline: 3px solid var(--yellow); outline-offset: 4px; }
.art-card img { width: 100%; height: auto; }
.art-card figcaption { display: flex; flex-direction: column; padding-top: .9rem; line-height: 1.35; }
.art-card figcaption strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.18rem; }
.art-card figcaption span { margin-top: .25rem; color: #6d6960; font-size: .85rem; }

.bio { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 8vw, 9rem); color: white; background: var(--ink); }
.bio-title-block { position: sticky; top: 8rem; align-self: start; }
.bio-quote { max-width: 24rem; margin-top: 2rem; padding-left: 1rem; color: #c9c5ba; border-left: 3px solid var(--yellow); font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; font-style: italic; }
.bio-portrait { max-width: 18rem; margin: 2.5rem 0 0; }
.bio-portrait img { width: 100%; height: auto; display: block; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 18px 42px rgba(0,0,0,.28); }
.bio-copy { max-width: 46rem; }
.bio-copy p { margin: 0 0 1.5rem; color: #d7d3c9; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.bio-copy p:first-child::first-letter { float: left; margin: .1rem .45rem 0 0; color: var(--red); font: 4.6rem/.75 Georgia, 'Times New Roman', serif; }

.essays { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; background: var(--yellow); }
.essays .eyebrow { color: #7a2a1d; }
.essays > p { max-width: 44rem; margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.essays > div:last-child > p { max-width: 44rem; margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.essay-card { margin-top: 2.2rem; padding: 1.4rem 1.5rem; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; color: white; background: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.essay-card:hover, .essay-card:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(23,23,20,.25); outline: 3px solid white; outline-offset: 3px; }
.essay-card > span { grid-column: 1 / -1; color: var(--yellow); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.essay-card strong { font: 400 clamp(1.6rem, 3vw, 2.4rem)/1.1 Georgia, 'Times New Roman', serif; }
.essay-card small { grid-column: 1; color: #c9c5ba; font-size: .9rem; }
.essay-card b { grid-column: 2; grid-row: 2 / 4; align-self: center; white-space: nowrap; font-size: .9rem; }
.essay-card b span { color: var(--yellow); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; background: #e7e2d7; }
.contact-copy p { margin: 0 0 1rem; color: #5f5b53; }
.contact-copy a { font: 400 clamp(1.5rem, 3.5vw, 3.2rem)/1.1 Georgia, 'Times New Roman', serif; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .25em; overflow-wrap: anywhere; }
footer { padding: 2rem var(--pad); display: flex; justify-content: space-between; gap: 1rem; color: #d0ccc2; background: var(--ink); font-size: .85rem; }
footer a { color: inherit; }

.article-page { background: #ece8de; }
.article-header { position: sticky; top: 0; z-index: 10; padding: 1rem var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: white; background: rgba(23,23,20,.97); }
.article-header a { color: inherit; text-decoration: none; }
.article-header .back-link { color: #d8d4ca; }
.article-hero { padding: clamp(5rem, 10vw, 9rem) var(--pad) clamp(3rem, 6vw, 5rem); color: white; background: var(--ink); }
.article-hero h1 { max-width: 12ch; margin: 0; font: 400 clamp(3.8rem, 9vw, 9rem)/.88 Georgia, 'Times New Roman', serif; letter-spacing: -.05em; }
.article-hero p:last-child { max-width: 46rem; margin: 1.5rem 0 0; color: #c9c5ba; font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.essay-body { width: min(100% - 2.5rem, 48rem); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.essay-body p { margin: 0 0 .45rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.08rem, 1.6vw, 1.24rem); line-height: 1.5; }
.essay-body p:first-child { color: #4f4b44; font-size: 1.3rem; font-style: italic; }
.essay-body h2 { margin: 3rem 0 1.2rem; font: 400 clamp(2.2rem, 5vw, 4rem)/1 Georgia, 'Times New Roman', serif; }
.essay-body h2:first-child { margin-top: 0; }
.essay-body h3 { margin: 2.4rem 0 1rem; font: 400 clamp(1.5rem, 3vw, 2.2rem)/1.1 Georgia, 'Times New Roman', serif; }
.essay-body ol { padding-left: 1.5rem; }
.essay-body li { margin-bottom: .75rem; }
.article-footer { padding: 3rem var(--pad); display: flex; justify-content: space-between; gap: 1rem; color: white; background: var(--ink); }
.article-footer a { color: var(--yellow); }

.lightbox { width: min(94vw, 92rem); height: 94vh; max-width: none; max-height: none; padding: 3rem 1.5rem 1rem; color: white; background: rgba(15,15,14,.97); border: 0; }
.lightbox::backdrop { background: rgba(0,0,0,.86); }
.lightbox img { width: 100%; height: calc(100% - 2.5rem); object-fit: contain; }
.lightbox p { margin: .65rem 0 0; text-align: center; }
.lightbox-close { position: absolute; top: .4rem; right: .8rem; color: white; background: none; border: 0; cursor: pointer; font-size: 2.3rem; line-height: 1; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 55vh; }
  .hero h1 { max-width: 11ch; }
  .hero-art { min-height: 60vh; }
  .section-heading, .bio, .essays, .contact { grid-template-columns: 1fr; }
  .section-heading { gap: 1.5rem; }
  .bio-title-block { position: static; }
}

@media (max-width: 620px) {
  .site-header { min-height: 4.5rem; }
  .menu-button { display: block; }
  nav { position: absolute; top: 100%; right: 0; left: 0; padding: 1.25rem var(--pad); display: none; flex-direction: column; gap: .5rem; background: var(--ink); border-top: 1px solid #454540; }
  nav.open { display: flex; }
  nav a { padding: .55rem 0; }
  .hero { min-height: auto; }
  .hero-copy { min-height: 65vh; padding-top: 4rem; }
  .hero-art { min-height: 0; }
  .hero-art img { height: auto; }
  .hero-art figcaption { position: static; flex-direction: column; }
  .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .gallery { display: block; }
  .art-card { margin-bottom: 2.5rem; }
  .essays { gap: 2rem; }
  .essay-card { grid-template-columns: 1fr; }
  .essay-card b { grid-column: 1; grid-row: auto; margin-top: .7rem; }
  .article-header, .article-footer { align-items: flex-start; flex-direction: column; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .art-card button { transition: none; }
}

/* Gentle exposure adjustment for the Kain und Abel photograph, including enlarged view. */
img[src$="kain-und-abel-heller.jpg"] { filter: brightness(1.09) contrast(1.015); }

.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 2.75rem; height: 3.5rem; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: .3rem; color: white; background: rgba(15,15,14,.8); font-size: 2.5rem; line-height: 1; cursor: pointer; }
.lightbox-prev { left: .4rem; }
.lightbox-next { right: .4rem; }
.lightbox-arrow:hover { background: #444; }
.lightbox-arrow:focus-visible, .lightbox-close:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  .lightbox-arrow { display: none; }
}

.art-group-heading { margin: 1rem 0 clamp(2rem, 5vw, 3rem); text-align: center; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.75rem, 4.5vw, 2.5rem); font-weight: 400; line-height: 1.2; letter-spacing: .02em; }

/* Gran Canaria: stronger display contrast and color, including the lightbox. */
img[src$="gran-canaria.jpg"] { filter: contrast(1.16) saturate(1.20) brightness(1.03); }
