:root {
  color-scheme: light;
  --paper: #f2eee6;
  --ink: #303e39;
  --muted: #72776c;
  --serif: 'Boska', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body, h1, h2, p, figure { margin: 0; }
body { font-family: var(--serif); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--ink); outline-offset: 5px; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 30;
  padding: 12px 18px;
  background: var(--paper);
  font: 14px var(--sans);
}
.skip-link:focus { top: 20px; }

.artist-page {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 100vh;
  min-height: 100svh;
}

.portrait {
  position: relative;
  min-width: 0;
  min-height: 100%;
  background: #dde1d8;
  overflow: hidden;
}

/* Fill the left panel while preserving the portrait's proportions. */
.portrait img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.statement {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 7.5vh, 7rem) clamp(2.75rem, 6.5vw, 8rem);
  outline: none;
}

.statement-content { width: 100%; max-width: 30rem; }

h1 {
  margin-bottom: 2.8rem;
  font-size: clamp(3.3rem, 5vw, 5.3rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.1;
}

h2 {
  margin-bottom: 1.65rem;
  color: var(--muted);
  font: 400 .75rem/1.5 var(--sans);
  text-transform: uppercase;
  letter-spacing: .13em;
}

.statement-copy {
  font-size: clamp(1.5rem, 2.1vw, 1.9rem);
  font-weight: 400;
  line-height: 1.36;
  letter-spacing: -.012em;
  text-wrap: pretty;
}

.statement-copy p + p { margin-top: 1.3em; }

.draft-note {
  margin-top: 2.8rem;
  color: var(--muted);
  font: 400 .75rem/1.6 var(--sans);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Monochrome negative cursor: small at rest, with one shared hover size. */
.custom-cursor {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: transparent;
  -webkit-backdrop-filter: grayscale(1) invert(1);
  backdrop-filter: grayscale(1) invert(1);
  pointer-events: none;
  opacity: 0;
  transform: translate(-100px, -100px);
  will-change: transform;
  transition: width .35s cubic-bezier(.2,.7,.2,1),
    height .35s cubic-bezier(.2,.7,.2,1),
    margin .35s cubic-bezier(.2,.7,.2,1), opacity .3s;
}

.custom-cursor.is-hovering { width: 96px; height: 96px; margin: -48px 0 0 -48px; }

body[data-cursor-active='true'],
body[data-cursor-active='true'] a,
body[data-cursor-active='true'] button { cursor: none; }

@media (max-width: 800px) {
  .artist-page { grid-template-columns: 1fr; }
  .portrait { min-height: 0; aspect-ratio: 4 / 4.5; }
  .statement { padding: 3.75rem 1.85rem 4rem; }
  h1 { font-size: 3.5rem; margin-bottom: 2.2rem; }
  .statement-copy { font-size: 1.6rem; }
  .draft-note { margin-top: 2.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .custom-cursor { transition: none; }
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor { display: none; }
  body[data-cursor-active='true'],
  body[data-cursor-active='true'] a { cursor: auto; }
  body[data-cursor-active='true'] button { cursor: pointer; }
}
