:root {
  --cream: #f8f4e6;
  --ink: #0d0d0d;
  --red: #e3120b;
  --blue: #1736b8;
  --lilac: #c9c2f2;
  --shimmer: linear-gradient(90deg, #c9c2f2, #ece6d2, #c6d7b8, #b9d3f0, #c9c2f2); /* lavender, cream, sage, pale blue: the light in the videos */
  /* one type family across the site: Instrument Serif for titles and headings, Instrument Sans for everything else */
  --sans: "Instrument Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }

/* NAV — minimal top bar, mono caps */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; background: var(--cream);
  font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em;
}
.nav-name { text-decoration: none; font-weight: 500; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink); font: inherit; padding: 6px 10px; cursor: pointer; }

/* VIDEO BANNER: dark gradient + text shadow keep the white text readable over bright frames */
.banner { position: relative; overflow: hidden; height: min(calc(100vh - 44px), 56.25vw); min-height: 420px; background: #000; color: #fff; }
.banner-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.08) 80%),
              linear-gradient(0deg, #000 0%, rgba(0,0,0,.85) 12%, rgba(0,0,0,.4) 32%, rgba(0,0,0,0) 60%); }
.banner-text { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; }
.banner .hero-name { max-width: none; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.6); }
/* roles strip: full banner width, scrolls left forever. 8 copies; the track moves by half (4 copies) so the loop is seamless */
.banner-roles { margin: 28px -24px 0; overflow: hidden; color: #fff; white-space: nowrap;
  font: 500 clamp(18px, 2.2vw, 30px)/1.3 var(--sans); text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.roles-track { display: inline-block; animation: roles-scroll 40s linear infinite; }
.roles-track span { display: inline-block; white-space: pre; }
@keyframes roles-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .roles-track { animation: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* HERO */
/* overlaps the banner by 2px so no sub-pixel sliver of video shows at the join */
.hero { position: relative; overflow: hidden; background: #000; z-index: 1; margin-top: -2px; padding: 32px 24px 40px; }
.hero-name { position: relative; margin: 0; max-width: 52vw; font: 400 clamp(52px, 8vw, 140px)/.95 var(--serif); letter-spacing: -.01em; }

/* floating project cards */
.cards { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3.5vw, 48px); max-width: 1152px; margin: 0 auto; }
.card { display: block; background: #fff; padding: 8px 8px 12px; text-decoration: none;
  box-shadow: 0 2px 0 var(--ink); border: 1px solid var(--ink); transition: transform .2s; }
.card:nth-child(odd) { transform: rotate(-2deg); }
.card:nth-child(even) { transform: rotate(1.5deg) translateY(24px); }
.card:hover { transform: rotate(0) translateY(-6px); }
.card span { display: block; margin-top: 10px; font: 500 12px/1.3 var(--sans); text-transform: uppercase; }
.card .meet-photo { object-position: 50% 26%; }
.card .talk-photo { object-position: 50% 57%; }

/* image placeholders: show filename until real image is added */
.img-slot { position: relative; margin: 0; aspect-ratio: 4/3; background: #ddd6c1; overflow: hidden; }
.img-slot img { width: 100%; height: 100%; object-fit: cover; }
.img-slot.portrait { aspect-ratio: 3/4; }
.img-slot.tall { aspect-ratio: 2/3; }
.img-slot.wide { aspect-ratio: 16/10; }
figure { margin: 0; }
figcaption { margin-top: 10px; font: 12px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .04em; }

/* SECTIONS — editorial layout */
.section { padding: 96px 24px; max-width: 1200px; margin: 0 auto; }
.section.alt { max-width: none; background: var(--ink); color: var(--cream); }
.section.alt > * { max-width: 1152px; margin-left: auto; margin-right: auto; }
.section.alt > .label { margin-left: max(0px, calc((100% - 1152px) / 2)); }
/* section titles (About, In the press, Curator, Facilitator, Writer, Contact) */
.label { display: inline-block; margin: 0 0 32px; font: 400 clamp(44px, 7vw, 104px)/1 var(--serif); letter-spacing: -.01em; color: #f3efe4; }
.curator-cover-text .label, .section-cover-text .label { text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.section-intro { font: italic 400 clamp(28px, 4vw, 48px)/1.1 var(--serif); margin: 0 0 40px; }
.lede { font: 700 clamp(30px, 3.8vw, 52px)/1.12 var(--sans); letter-spacing: -.015em; margin-top: 0; }
.todo { font-family: var(--sans); font-size: 14px; opacity: .65; }

.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }


.feature { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: end; }
.feature h3 { font: 400 clamp(32px, 4vw, 56px)/1 var(--serif); margin: 0 0 8px; }
.feature .sub { font: 13px/1.4 var(--sans); text-transform: uppercase; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }

.writing { list-style: none; padding: 0; margin: 0; }
.writing { margin-bottom: 24px; }
.writing li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(248,244,230,.3); }
.writing span { font: 13px/1.4 var(--sans); }

.contact .big { font: 400 clamp(26px, 6vw, 76px)/1.1 var(--serif); margin: 0 0 16px; word-break: break-word; }
.contact .big a { text-decoration-color: var(--red); text-decoration-thickness: 6px; text-underline-offset: 8px; }
/* contact video: fills the right side, edges masked to transparent so it fades into the black */
.contact { position: relative; z-index: 1; margin-top: -2px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: min(90vh, 820px); }
.contact > :not(.contact-video) { position: relative; z-index: 1; }
.contact > p { width: 100%; }
.contact .big { margin: 0 auto 16px; text-shadow: 0 2px 18px rgba(0,0,0,.7); }
.section.alt > .contact-video { position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: none; margin: 0; aspect-ratio: 3 / 4;
  object-fit: cover; object-position: 50% 45%; filter: brightness(.85);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 40%), linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 40%), linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%); mask-composite: intersect; }

.footer { padding: 24px; font: 12px var(--sans); border-top: 1px solid var(--ink); }

.about.alt { position: relative; z-index: 1; margin-top: -2px; padding-top: 56px; padding-bottom: 40px; background: #000; }

/* PRESS: standalone section under About, same black so they flow together */
.press-section.alt { position: relative; z-index: 1; margin-top: -2px; padding-top: 24px; padding-bottom: 24px; background: #000; }
.press-section .label { margin-bottom: 8px; }
.press-list { list-style: none; padding: 0; margin: 0; }
.press-list a { display: block; padding: 24px 0; border-bottom: 1px solid rgba(248,244,230,.25); text-decoration: none; }
.press-list li:last-child a { border-bottom: 0; }
.press-list strong { display: block; font: 400 clamp(24px, 2.8vw, 36px)/1.2 var(--serif); }
/* press source lines take the lavender from the videos */
.press-list span { display: block; margin-top: 8px; font: 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .04em; color: var(--lilac); }
.press-list a:hover strong { text-decoration: underline; text-underline-offset: 6px; }

/* CURATOR: dark portfolio pages */
.curator { position: relative; z-index: 1; margin-top: -2px; background: #0b0b0b; color: #f3efe4; }
/* curator video: portrait clip cropped to a landscape band; top and bottom masked out so it fades into the black of #press above and .curator below */
.curator-cover { position: relative; height: min(80vh, 720px); overflow: hidden; background: linear-gradient(#000, #0b0b0b); }
.curator-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 100%); }
/* left edge lines up with the 1200px content column used by .curator-intro and .project below */
.curator-cover-text { position: absolute; z-index: 1; left: max(24px, calc((100% - 1200px) / 2 + 24px)); right: 24px; bottom: 32px; }
.curator-cover-text .label { margin-bottom: 12px; }
.curator-cover-text p { margin: 0; font: italic 400 clamp(40px, 7vw, 96px)/1 var(--serif); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.project { max-width: 1200px; margin: 0 auto; padding: 96px 24px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.project-head { border-top: 1px solid rgba(255,255,255,.4); padding-top: 20px; }
/* residency: text beside the Athens photo, whose edges fade out so the night sky melts into the page */
/* residency: its own black section between In the press and Curator */
.residency-section { position: relative; z-index: 1; margin-top: -2px; padding-bottom: 48px; background: #000; color: #f3efe4; }
#lalaounis { padding-top: 32px; }
#lalaounis .project-head { border-top: 0; padding-top: 0; }
/* tight projects: no divider line, less space before and inside, closer photos */
.project.tight { padding-top: 24px; gap: 20px; }
.project.tight .project-head { border-top: 0; padding-top: 0; }
.project.tight .strip { gap: 8px; }
.project.tight .project-split { gap: 32px; }
/* DAS After Dark: six tall photos in one row */
.strip.das-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.residency { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.residency-text { display: grid; gap: 28px; }
.residency-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 85%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 85%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-composite: intersect; }
.project-title { margin: 0 0 8px; font: 400 clamp(48px, 7vw, 96px)/1 var(--serif); letter-spacing: -.01em; }
.project .sub { margin: 0; font: 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .04em; }
/* "Selected curated exhibitions" heading, with a link to Contact for the full CV */
.exhibitions-head { max-width: 1200px; margin: 0 auto; padding: 120px 24px 40px; }
.exhibitions-title { margin: 0; font: italic 400 clamp(40px, 6vw, 80px)/1 var(--serif); }
.exhibitions-note { margin: 14px 0 0; font: 500 13px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--lilac); }
.exhibitions-note a { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.exhibitions-note a:hover { color: #fff; }
.project-text { max-width: 760px; font-size: 18px; }
.project-text p:first-child { margin-top: 0; }
.project-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip.three { grid-template-columns: repeat(3, 1fr); }

/* FACILITATOR */
.facil-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Facilitator and Writer open with a video heading band, so they start with no top padding */
#facilitator { padding-top: 0; padding-bottom: 32px; }
#writer { padding-top: 0; }
/* heading bands: the curator video behind each section heading, faded into the black like .curator-cover */
.section.alt > .section-cover { position: relative; max-width: none; margin: 0 -24px 40px; height: min(60vh, 520px); overflow: hidden; }
.cover-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 100%); }
/* different slices of the clip (and a mirror) so the bands don't look identical */
#facilitator .cover-video { object-position: 50% 20%; }
#writer .cover-video { object-position: 50% 78%; transform: scaleX(-1); }
.section-cover-text { position: absolute; z-index: 1; left: max(24px, calc((100% - 1152px) / 2)); right: 24px; bottom: 24px; }
.section-cover-text .label { margin-bottom: 12px; }
.section-cover-text .section-intro { margin: 0; font: italic 400 clamp(30px, 4.2vw, 56px)/1.08 var(--serif); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.writing .w-title { font-size: 20px; }
/* Writer intro + small heading over the interpretive-writing list */
.writer-intro p { max-width: 760px; margin: 0 0 1em; font-size: 19px; line-height: 1.6; }
.writer-sub { margin: 48px 0 8px; font: 500 13px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--lilac); }
/* "moonlit" links (Substack, copy email): italic serif with an iridescent underline that slowly shimmers; the words glow on hover */
.substack-row { margin: 32px 0 0; }
.moon-link { position: relative; display: inline-flex; gap: 10px; align-items: baseline; padding: 0 0 6px; border: 0; background: none; color: inherit; cursor: pointer; text-decoration: none;
  font: italic 400 clamp(22px, 2.4vw, 28px)/1.2 var(--serif); transition: text-shadow .4s; }
.moon-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--shimmer); background-size: 200% 100%;
  animation: shimmer 6s linear infinite; opacity: .85; transition: height .3s, opacity .3s; }
.moon-link:hover, .moon-link:focus-visible { text-shadow: 0 0 18px rgba(201,194,242,.7); }
.moon-link:hover::after, .moon-link:focus-visible::after { height: 2.5px; opacity: 1; }
.moon-link:focus-visible { outline: 1px solid rgba(243,239,228,.6); outline-offset: 6px; }
.moon-link .arr { font: 400 18px/1 var(--sans); transition: transform .35s; }
.moon-link:hover .arr, .moon-link:focus-visible .arr { transform: translate(4px, -2px); }
@keyframes shimmer { to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { .moon-link::after { animation: none; } }
.copy-row { margin: 0 0 24px; }

/* MOBILE */
@media (max-width: 760px) {
  .nav { padding: 12px 16px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--ink); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; border-top: 1px solid rgba(0,0,0,.1); }
  .banner { height: 78vh; min-height: 460px; max-height: 680px; }
  .banner::after { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.8) 25%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.2) 100%); }
  .banner-text { left: 16px; right: 16px; bottom: 20px; }
  .hero-name { font-size: clamp(46px, 14vw, 76px); }
  .banner-roles { margin: 20px -16px 0; font-size: 18px; }
  .hero { padding: 24px 16px 40px; }
  .about.alt { padding-top: 40px; padding-bottom: 32px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .section { padding: 64px 16px; }
  .about-grid, .feature { grid-template-columns: 1fr; gap: 24px; }
  .curator-cover { height: 60vh; }
  .curator-cover-text { left: 16px; right: 16px; }
  .project { padding: 64px 16px 0; }
  #lalaounis { padding-top: 24px; }
  .exhibitions-head { padding: 80px 16px 32px; }
  .project.tight { padding-top: 16px; }
  .strip.das-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .residency { grid-template-columns: 1fr; gap: 8px; }
  .residency-photo img { -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%); }
  .project-title { font-size: clamp(32px, 10vw, 56px); overflow-wrap: anywhere; }
  .project-split, .strip.three { grid-template-columns: 1fr; }
  .facil-grid { gap: 8px; }
  .section.alt > .section-cover { margin: 0 -16px 32px; height: 50vh; }
  .section-cover-text { left: 16px; right: 16px; }
  .contact { min-height: 88vh; justify-content: flex-end; }
  .section.alt > .contact-video { inset: 0; width: 100%; aspect-ratio: auto; filter: brightness(.5);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 85%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 85%, transparent 100%); }
  .facil-grid figcaption { font-size: 10px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .writing li { flex-direction: column; gap: 4px; }
}

/* Portfolio additions */
.curator-intro { max-width: 1200px; margin: 0 auto; padding: 8px 24px 0; }
.curator-intro p { margin: 0; max-width: 900px; font: 400 clamp(20px, 2.4vw, 30px)/1.4 var(--sans); }
.curator-intro p + p { margin-top: 1em; }
.strip.two { grid-template-columns: repeat(2, 1fr); }
.more { font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--lilac); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.more:hover { color: #fff; }
.more-row { margin: 0; }
.project.pair { grid-template-columns: 1fr 1fr; gap: 48px; }
.project.pair article { border-top: 1px solid rgba(255,255,255,.4); padding-top: 20px; }
.project.pair figure { margin-bottom: 20px; }
.links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.project-title.small { font-size: clamp(32px, 4vw, 52px); }
@media (max-width: 760px) {
  .curator-intro { padding: 8px 16px 0; }
  .project.pair { grid-template-columns: 1fr; }
  .strip.three { grid-template-columns: 1fr 1fr; }
}
