/* ---------- typeface: Familjen Grotesk, a sharp grotesk sans (free, hosted with the site) ---------- */
@font-face{ font-family: 'Familjen Grotesk'; src: url('../fonts/FamiljenGrotesk.woff') format('woff'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face{ font-family: 'Familjen Grotesk'; src: url('../fonts/FamiljenGrotesk-Italic.woff') format('woff'); font-weight: 400 700; font-style: italic; font-display: swap; }
:root{ --font: 'Familjen Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif; }

/* ============================================================
   MALISA ZYMBERI — quiet / plain minimal stylesheet, v3
   (modeled after eliana-araque.com: text-first, small photo,
   tiny nav, no cards, no big display type, lots of white space)
   ============================================================ */

:root{
  --bg: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --muted: #9a9a9a;
  --hair: #ececec;
  --max: 680px;
  --gutter: 24px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ background: var(--bg); }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

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

a{ color: var(--ink); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; }
a:hover{ text-decoration-color: var(--ink); }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-wide{
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sans{
  font-family: var(--font);
}

/* ---------- type ---------- */
h1, h2, h3, h4{
  font-family: var(--font);
  font-weight: 300;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0 0 .5em;
}

.h-lg{ font-size: clamp(26px, 4vw, 34px); font-weight: 300; }
.h-md{ font-size: 22px; font-weight: 300; }
.h-sm{ font-size: 19px; font-weight: 300; }

em{ font-style: italic; }

p{ margin: 0 0 1.3em; color: var(--ink); }
p:last-child{ margin-bottom: 0; }

.muted{ color: var(--muted); }

.eyebrow{
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- nav ---------- */
.nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 40px var(--gutter) 30px;
  font-family: var(--font);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nav a{
  color: var(--ink-soft);
  text-decoration: none;
}
.nav a:hover{ color: var(--ink); }
.nav a.active{ color: var(--ink); }
.nav a.active::before{ content: "= "; }
.nav a.active::after{ content: " ="; }

/* ---------- sections ---------- */
section{ padding: 50px 0; }
section.tight{ padding: 26px 0; }
section.first{ padding-top: 6px; }
.hair-t{ border-top: 1px solid var(--hair); }
.center{ text-align: center; }

/* small circular portrait */
.avatar{
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 26px;
}
.avatar img{ width: 100%; height: 100%; object-fit: cover; }

/* plain image, no border/box */
.plate{ margin: 0 0 14px; }
.plate img{ width: 100%; height: auto; }
.plate-cap{
  font-family: var(--font);
  font-size: 12px;
  color: var(--muted);
  margin-top: -4px;
}
.plate-narrow{ max-width: 360px; margin-left: auto; margin-right: auto; }

/* plain link with arrow, no button chrome */
.more{
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--ink);
  text-underline-offset: 4px;
  padding-bottom: 1px;
}
.more:hover{ text-decoration-color: var(--ink); }

/* simple index list (work / exhibitions / essays / experience) */
.plain-list{ list-style: none; margin: 0; padding: 0; }
.plain-list li{ padding: 22px 0; border-top: 1px solid var(--hair); }
.plain-list li:last-child{ border-bottom: 1px solid var(--hair); }
.plain-list .item-top{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  font-family: var(--font);
}
.plain-list .item-year{ font-size: 12px; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.plain-list h3{ margin: 4px 0 6px; font-size: 19px; }
.plain-list p{ font-size: 16px; color: var(--ink-soft); margin: 0; }
.plain-list a{ text-decoration: none; }
.plain-list a:hover h3{ text-decoration: underline; text-decoration-color: var(--hair); }

/* footer */
footer{ padding: 70px 0 50px; }
footer .foot-links{
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font);
  font-size: 12.5px;
  letter-spacing: .04em;
  margin-bottom: 18px;
}
footer .foot-links a{ text-decoration: none; color: var(--ink-soft); }
footer .foot-links a:hover{ color: var(--ink); }
footer .colophon{
  font-family: var(--font);
  font-size: 11.5px;
  color: var(--muted);
}

/* ============================================================
   v4 additions — full-bleed photography, parallax motion,
   overlay nav. Layered on top of the quiet base above.
   ============================================================ */

/* nav variant that floats transparently over a photo */
.nav-overlay{
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding-top: 30px;
}
.nav-overlay a{ color: rgba(255,255,255,.86); }
.nav-overlay a:hover, .nav-overlay a.active{ color: #fff; }

/* full-bleed parallax media block */
.reveal{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
}
.reveal img, .reveal video{
  position: absolute;
  top: 50%; left: 50%;
  width: 100%;
  height: 130%;
  min-height: 130%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  will-change: transform;
}
/* gentler framing for the About video — less upscale, biased toward the face/hands */
.reveal video.face-frame{
  height: 108%;
  min-height: 108%;
  object-position: center 22%;
}
/* shown in full — nothing cropped, letterboxed on black if needed */
.reveal video.full-frame{
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: contain;
  background: #000;
}
/* landscape video, filling a wide/short banner — no pillarboxing */
.reveal video.landscape-fill{
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 55% 18%;
}
.reveal-wide{ height: 50vh; min-height: 340px; max-height: 580px; }
.reveal .scrim{
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.75) 0%, rgba(10,10,10,.15) 45%, rgba(10,10,10,0) 70%);
  z-index: 1;
}
.reveal .scrim-top{
  position: absolute;
  top: 0; left: 0; right: 0; height: 220px;
  background: linear-gradient(to bottom, rgba(10,10,10,.55), rgba(10,10,10,0));
  z-index: 1;
}
.reveal .cap{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 0 var(--gutter) 40px;
  color: #fff;
}
.reveal .cap .eyebrow{ color: rgba(255,255,255,.75); margin-bottom: 10px; }
.reveal .cap h1, .reveal .cap h2{ color: #fff; margin-bottom: 0; }

.reveal-hero{ height: 88vh; min-height: 480px; }
.reveal-tall{ height: 72vh; min-height: 420px; }
.reveal-mid{ height: 52vh; min-height: 340px; }

.reveal-inner{ max-width: var(--max); margin: 0 auto; }

.scroll-cue{
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.8);
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* bigger, bolder type for a less "plain" feel */
.h-giant{
  font-family: var(--font);
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.15;
  letter-spacing: .06em;
  margin: 0;
}

/* section title used to break up the page more graphically */
.section-title{
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 34px;
}

/* project index tile grid (photo tiles that link out, used on Work/Exhibitions overview) */
.tile-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
@media (max-width: 700px){ .tile-grid{ grid-template-columns: 1fr; } }
.tile{
  position: relative;
  display: block;
  height: 46vh;
  min-height: 300px;
  overflow: hidden;
  background: #111;
}
.tile img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.tile:hover img{ transform: scale(1.06); }
.tile .scrim{ background: linear-gradient(to top, rgba(10,10,10,.7), rgba(10,10,10,.05) 55%); }
.tile .cap{ padding: 0 22px 24px; }
.tile .cap h3{ color:#fff; font-size: clamp(20px,2.6vw,28px); margin-bottom:4px; }
.tile .cap span{ color: rgba(255,255,255,.75); }

/* ============================================================
   v5 additions — project index grid + long-scroll gallery pages
   (modeled after junahorstmans.com/projects)
   ============================================================ */

.top-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  max-width: 1200px;
  margin: 0 auto;
  font-family: var(--font);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.top-nav .brand{ color: var(--ink); text-decoration: none; font-weight: 600; }
.top-nav .links{ display: flex; gap: 22px; flex-wrap: wrap; }
.top-nav .links a{ color: var(--ink-soft); text-decoration: none; }
.top-nav .links a:hover, .top-nav .links a.active{ color: var(--ink); }

/* project cover grid — every tile identical size/shape, Juna-Horstmans style */
.cover-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 230px auto 0;
}
@media (max-width: 900px){ .cover-grid{ grid-template-columns: repeat(2, 1fr); max-width: 620px; margin-top: 76px; } }
@media (max-width: 480px){ .cover-grid{ grid-template-columns: 1fr; max-width: 340px; } }
.cover{
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f2efe8;
  perspective: 900px;
}
.cover img, .cover video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #f2efe8;
  transition: transform .5s ease;
}
.cover:hover img, .cover:hover video{ transform: scale(1.04); }
.cover .cover-label{
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(10,10,10,.62), rgba(10,10,10,0));
  color: #fff;
  font-family: var(--font);
}
.cover .cover-label .t{ font-family: var(--font); font-weight: 300; text-transform: uppercase; letter-spacing: .04em; font-size: 13.5px; line-height: 1.25; display:block; }
.cover .cover-label .m{ font-size: 9px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.72); }

.cover-text{
  background: var(--ink);
  display: flex;
  align-items: flex-end;
}
.cover-text .cover-label{ background: none; position: static; padding: 22px; }
.cover-text .cover-label .t{ color:#fff; }
.cover-text .cover-label .m{ color: rgba(255,255,255,.6); }

/* ambient motion on specific cover tiles, per request */
@keyframes tilt3d{
  0%, 100%{ transform: rotateY(-14deg) rotateX(2deg) scale(0.96); }
  50%{ transform: rotateY(14deg) rotateX(-2deg) scale(0.96); }
}
.cover .anim-tilt{
  transform-style: preserve-3d;
  animation: tilt3d 4s ease-in-out infinite;
}
.cover .anim-tilt-medium{ animation-duration: 2.8s; }
.cover .anim-tilt-fast{ animation-duration: 2s; }

@keyframes spinaround{
  0%{ transform: rotateY(0deg) scale(0.92); }
  50%{ transform: rotateY(180deg) scale(0.92); }
  100%{ transform: rotateY(360deg) scale(0.92); }
}
.cover .anim-spin{
  transform-style: preserve-3d;
  animation: spinaround 4.5s linear infinite;
  backface-visibility: visible;
}

@keyframes bobupdown{
  0%, 100%{ transform: translateY(-4%); }
  50%{ transform: translateY(4%); }
}
.cover .anim-bob{
  animation: bobupdown 2.5s ease-in-out infinite;
}

@keyframes driftlr{
  0%, 100%{ transform: translateX(-5%); }
  50%{ transform: translateX(5%); }
}
.cover .anim-drift{
  animation: driftlr 3s ease-in-out infinite;
}

@keyframes onoff{
  0%, 40%{ opacity: 1; }
  60%, 90%{ opacity: .25; }
  100%{ opacity: 1; }
}
.cover .anim-blink{
  animation: onoff 2.2s ease-in-out infinite;
}

/* long-scroll gallery page */
.gallery{ max-width: 440px; margin: 0 auto; }
.gallery-grid2{
  max-width: 440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.gallery-grid2 img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; display: block; }

/* variant: never crop — letterbox the full image within each cell so nothing (like text) gets cut off */
.gallery-grid2.grid2-contain img{
  object-fit: contain;
  background: var(--bg);
  aspect-ratio: 1/1;
}
.gallery img, .gallery video{ width: 100%; height: auto; display: block; margin-bottom: 3px; }
.gallery-title{
  max-width: 900px;
  margin: 0 auto;
  padding: 60px var(--gutter) 34px;
  text-align: center;
}
.gallery-title .eyebrow{ margin-bottom: 12px; }

.project-meta{
  max-width: 640px;
  margin: 0 auto;
  padding: 44px var(--gutter) 0;
}
.project-meta table{ border-collapse: collapse; margin-top: 18px; font-family: var(--font); font-size: 13px; }
.project-meta td{ padding: 4px 14px 4px 0; color: var(--muted); vertical-align: top; }
.project-meta td.v{ color: var(--ink); }

.back-link{ text-align: center; padding: 40px 0 20px; }

/* ============================================================
   v6 additions — flowing / motion-driven redesign
   (modeled after junahorstmans.com: full-bleed video landing,
   blend-mode nav that auto-contrasts on anything, scroll-reveal
   motion, animated project covers)
   ============================================================ */

html{ scroll-behavior: smooth; }

/* unified nav — fixed, transparent, auto-contrast via blend mode */
.site-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  pointer-events: none;
}
.site-nav .brand, .site-nav .links{ pointer-events: auto; }
.site-nav .brand{
  color: #fff;
  mix-blend-mode: difference;
  text-decoration: none;
  font-weight: 600;
}
.site-nav .links{ display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav .links a{
  color: #fff;
  mix-blend-mode: difference;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.site-nav .links a.active{ border-bottom-color: currentColor; }

body.has-fixed-nav{ padding-top: 0; }
body.has-fixed-nav > main:first-of-type,
body.has-fixed-nav .page-top{ padding-top: 84px; }

/* full-bleed video / image landing */
.video-hero{
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
  background: #0a0a0a;
}
.video-hero video, .video-hero img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-hero .hero-cap{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 0 var(--gutter) 48px;
  color: #fff;
  text-align: center;
}
.video-hero .hero-cap .eyebrow{ color: rgba(255,255,255,.8); margin-bottom: 10px; }
.video-hero .scrim-b{
  position: absolute; left:0; right:0; bottom:0; height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  z-index: 1;
}
.video-hero .scroll-cue{ color: rgba(255,255,255,.85); }
.video-hero img.kenburns{ animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns{ from{ transform: scale(1); } to{ transform: scale(1.1); } }

/* scroll-reveal motion */
.fade-up{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-up.in-view{ opacity: 1; transform: translateY(0); }
.fade-up-delay1{ transition-delay: .08s; }
.fade-up-delay2{ transition-delay: .16s; }
.fade-up-delay3{ transition-delay: .24s; }

/* animated / video project covers */
.cover video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* flowing marquee strip (used on home, between sections) */
.marquee{
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 18px 0;
}
.marquee .marquee-track{
  display: inline-flex;
  gap: 48px;
  animation: marquee-scroll 26s linear infinite;
}
.marquee span{
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* index page (home) intro block, minimal, appears after the video */
.intro-flow{
  max-width: 640px;
  margin: 0 auto;
  padding: 90px var(--gutter);
  text-align: center;
}
.intro-flow p{ font-size: 21px; line-height: 1.55; max-width: none; }

/* ---------- v7: simple CV-first home ---------- */
.hero-band{
  position: relative;
  width: 100%;
  height: 62vh;
  min-height: 360px;
  overflow: hidden;
  background: #0a0a0a;
}
.hero-band video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-caption{
  position: absolute;
  left: 20px; bottom: 16px;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  text-transform: lowercase;
}

.cv-section{ max-width: 640px; margin: 0 auto; padding: 64px var(--gutter) 20px; }
.cv-section .eyebrow{ display:block; margin-bottom: 8px; }
.cv-section h1{ font-size: clamp(28px,4vw,36px); font-weight: 500; margin-bottom: 4px; }
.cv-section .role{ color: var(--muted); font-size: 15px; margin-bottom: 30px; }

/* ---------- v8: solid white top bar + full-page video home ---------- */
.site-nav-solid{
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
}
.site-nav-solid .brand{
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .01em;
}

/* bold helper for name / bio description / job titles, per request */
.name-bold{ font-weight: 700; }
.site-nav-solid .links{
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav-solid .links a{ color: var(--ink-soft); text-decoration: none; }
.site-nav-solid .links a:hover, .site-nav-solid .links a.active{ color: var(--ink); }

@media (max-width: 860px){
  .site-nav-solid{ justify-content: center; padding: 16px 12px; }
  .site-nav-solid .brand{ display: none; }
  .site-nav-solid .links{
    flex-wrap: nowrap;
    gap: 5vw;
    font-size: 11px;
    white-space: nowrap;
  }
}
@media (max-width: 380px){
  .site-nav-solid .links{ gap: 3.5vw; font-size: 9.5px; }
}

.video-full{
  position: relative;
  width: 100%;
  height: calc(100vh - 65px);
  min-height: 460px;
  overflow: hidden;
  background: #0a0a0a;
}
.video-full video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-full .vf-caption{
  position: absolute;
  right: 20px; bottom: 16px;
  font-family: var(--font);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.8);
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

.cv-overlay{
  position: absolute;
  top: 5%; left: 12%;
  z-index: 3;
  max-width: 440px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 28px 30px;
  max-height: 90%;
  overflow-y: auto;
}
.cv-overlay .eyebrow{ margin-bottom: 6px; }
.cv-overlay h1{ font-size: 24px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 2px; }
.cv-overlay .role{ color: var(--ink); font-weight: 700; font-size: 13.5px; margin-bottom: 22px; }
.cv-overlay .plain-list li{ padding: 14px 0; }
.cv-overlay .plain-list h3{ font-size: 16px; font-weight: 700; }
.cv-overlay .plain-list p{ font-size: 14px; }
@media (max-width: 860px){
  .video-full{
    height: auto;
    min-height: 0;
    overflow: visible;
    background: none;
  }
  .video-full video{
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: 40vh;
    min-height: 240px;
    object-fit: cover;
  }
  .video-full .vf-caption{
    display: none;
  }
  .cv-overlay{
    position: relative;
    top: auto; left: auto;
    transform: none;
    max-width: none;
    width: 100%;
    margin: 0;
    background: #fff;
    backdrop-filter: none;
    max-height: none;
    overflow-y: visible;
    padding: 22px var(--gutter);
  }
}

/* hover-to-reveal photo, right side of the home hero, over the video */
.hover-reveal{
  position: absolute;
  top: 0; right: 6%;
  width: 46%;
  height: 100%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hover-reveal .reveal-photo{
  width: min(490px, 45vw);
  max-height: 88%;
  aspect-ratio: 3/2;
  overflow: visible;
  transform: scale(.97);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.hover-reveal .reveal-photo img{ display: block; width: 100%; height: 100%; object-fit: contain; }
.hover-reveal:hover .reveal-photo{
  opacity: 1;
  transform: scale(1);
}
@media (max-width: 860px){
  .hover-reveal{
    position: absolute;
    top: 0; left: 0; right: 0;
    width: 100%;
    height: 40vh;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  .hover-reveal .reveal-photo{
    width: min(200px, 50vw);
    max-height: 78%;
    opacity: 1;
    transform: none;
    transition: none;
    box-shadow: 0 10px 28px rgba(0,0,0,.4);
  }
}

/* ---------- v10: C/O Berlin–style layout — name left, About/CV/Writings right, project pictures on the front ---------- */
.site-nav-solid{ padding: 22px 32px; border-bottom: 0; }
.site-nav-solid .brand{ font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.site-nav-solid .links{
  gap: 28px; font-size: 16px; font-weight: 400;
  letter-spacing: 0; text-transform: none;
}
.site-nav-solid .links a{ color: var(--ink); }
.site-nav-solid .links a:hover,
.site-nav-solid .links a.active{ text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

.co-main{ max-width: 1400px; margin: 0 auto; padding: 30px 32px 20px; }
.co-kicker{
  font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink); border-top: 2px solid var(--ink); padding-top: 12px; margin: 0 0 28px;
}

.co-tile-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.co-tile{ display: block; color: var(--ink); text-decoration: none; }
.co-tile-media{ aspect-ratio: 5 / 7; overflow: hidden; background: #f2f2f2; }
.co-tile-media img, .co-tile-media video{
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease;
}
.co-tile-media.fit img{ object-fit: contain; padding: 8%; }
.co-tile:hover .co-tile-media img, .co-tile:hover .co-tile-media video{ transform: scale(1.03); }
.co-tile-title{ font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin: 16px 0 6px; }
.co-tile-meta{ font-size: 15px; color: var(--ink-soft); margin: 0; }
.co-tile:hover .co-tile-title{ text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

.cv-page{ max-width: 760px; }
.cv-name{ font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin: 0 0 12px; }
.cv-role{ font-size: 17px; color: var(--ink-soft); margin-bottom: 36px; }
.cv-items h3{ font-size: 19px; font-weight: 700; }
.cv-download{ margin-top: 36px; font-weight: 500; }

body.co footer{ max-width: 1400px; margin: 40px auto 0; padding: 40px 32px 50px; border-top: 1px solid var(--hair); }

@media (max-width: 1000px){ .co-tile-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px){
  .site-nav-solid{ justify-content: space-between; padding: 16px; }
  .site-nav-solid .brand{ display: inline; font-size: 18px; }
  .site-nav-solid .links{ gap: 16px; font-size: 14px; }
}
@media (max-width: 600px){
  .co-main{ padding: 20px 16px; }
  .co-tile-grid{ grid-template-columns: 1fr; gap: 40px; }
  .co-tile-title{ font-size: 21px; }
  body.co footer{ padding: 30px 16px 40px; }
}
@media (max-width: 380px){
  .site-nav-solid .brand{ font-size: 16px; }
  .site-nav-solid .links{ gap: 12px; font-size: 13px; }
}

/* ---------- v11: bolder C/O-inspired front page ---------- */
body.co h1, body.co h2, body.co h3{ text-transform: none; letter-spacing: -.01em; }
.site-nav-solid{ border-bottom: 2px solid var(--ink); }
.site-nav-solid .brand{ font-size: 26px; }
.site-nav-solid .links{ font-size: 18px; font-weight: 500; }

/* hero slider */
.hero{ position: relative; border-bottom: 2px solid var(--ink); padding: 0; margin: 0; }
.hero-track{ position: relative; height: min(78vh, 760px); min-height: 480px; }
.hero-slide{
  position: absolute; inset: 0; display: grid; grid-template-columns: 1.15fr 1fr;
  color: var(--ink); text-decoration: none;
  opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
}
.hero-slide.is-active{ opacity: 1; visibility: visible; }
.hero-media{ overflow: hidden; background: #111; }
.hero-media img, .hero-media video{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 6s ease; }
.hero-slide.is-active .hero-media img{ transform: scale(1.04); }
.hero-text{ display: flex; flex-direction: column; justify-content: flex-end; padding: 48px 56px 90px; border-left: 2px solid var(--ink); }
.hero-label{ font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.hero-title{ font-size: clamp(44px, 6.4vw, 104px); font-weight: 700; line-height: .95; letter-spacing: -.03em; margin: 0 0 22px; }
.hero-meta{ font-size: 20px; color: var(--ink-soft); margin-bottom: 26px; }
.hero-more{ font-size: 17px; font-weight: 500; }
.hero-slide:hover .hero-more, .hero-slide:hover .hero-title{ text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.hero-controls{
  position: absolute; right: 56px; bottom: 28px; z-index: 5;
  display: flex; align-items: center; gap: 16px; font-size: 16px; font-weight: 500;
}
.hero-controls button{
  width: 46px; height: 46px; border: 2px solid var(--ink); background: #fff; color: var(--ink);
  font-size: 20px; cursor: pointer; border-radius: 50%; transition: background .2s, color .2s;
}
.hero-controls button:hover{ background: var(--ink); color: #fff; }

/* big section headings with a black rule, like C/O */
.co-section{
  font-size: clamp(34px, 4.4vw, 60px); font-weight: 700; letter-spacing: -.02em; line-height: 1;
  border-top: 2px solid var(--ink); padding-top: 18px; margin: 40px 0 36px;
}
.co-tile-title{ font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; }
.co-tile-meta{ font-size: 16px; }

/* at a glance */
.glance-cols{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.glance-col{ padding: 26px 28px 30px 0; }
.glance-col + .glance-col{ padding-left: 28px; border-left: 1px solid var(--ink); }
.glance-col h3{ font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.glance-col p{ font-size: 17px; color: var(--ink-soft); }
.glance-link{ display: inline-block; margin-top: 14px; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 2px; }

/* dark footer */
body.co footer.co-footer{
  max-width: none; margin: 70px 0 0; background: #111; color: #fff; border-top: 0;
  padding: 60px 32px 40px;
}
.co-footer-name{ font-size: clamp(40px, 7vw, 110px); font-weight: 700; letter-spacing: -.03em; line-height: .95; color: #fff; margin: 0 0 40px; }
body.co footer.co-footer .foot-links{ justify-content: flex-start; gap: 28px; font-size: 17px; }
body.co footer.co-footer .foot-links a{ color: #fff; }
body.co footer.co-footer .colophon{ text-align: left; color: rgba(255,255,255,.55); }

@media (max-width: 860px){
  .site-nav-solid .brand{ font-size: 19px; }
  .site-nav-solid .links{ font-size: 15px; }
  .hero-track{ height: auto; min-height: 0; }
  .hero-slide{ position: relative; grid-template-columns: 1fr; display: none; }
  .hero-slide.is-active{ display: grid; }
  .hero-media{ height: 56vh; }
  .hero-text{ border-left: 0; border-top: 2px solid var(--ink); padding: 26px 16px 86px; }
  .hero-meta{ font-size: 17px; }
  .hero-controls{ right: 16px; bottom: 20px; }
  .glance-cols{ grid-template-columns: 1fr; }
  .glance-col, .glance-col + .glance-col{ padding: 22px 0; border-left: 0; }
  .glance-col + .glance-col{ border-top: 1px solid var(--ink); }
  body.co footer.co-footer{ padding: 44px 16px 32px; }
}

/* ---------- v12: front page = one big picture per project, name on the picture ---------- */
.features{ display: block; }
.feature{
  position: relative; display: block; overflow: hidden;
  height: calc(100vh - 89px); min-height: 520px;
  background: #111; color: #fff; text-decoration: none;
  border-bottom: 2px solid #fff;
}
.feature .f-main{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.feature .f-bg{ position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(34px) brightness(.8); transform: scale(1.1); }
.feature .f-fit{ position: absolute; top: 6%; bottom: 6%; left: 50%; height: 88%; width: auto; max-width: 88%; transform: translateX(-50%); object-fit: contain; box-shadow: 0 24px 70px rgba(0,0,0,.35); transition: transform 1.2s ease; }
.feature:hover .f-main{ transform: scale(1.03); }
.feature:hover .f-fit{ transform: translateX(-50%) scale(1.02); }
.feature .f-shade{ position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 38%, rgba(0,0,0,0) 60%); pointer-events: none; }
.feature .f-text{ position: absolute; left: 48px; right: 48px; bottom: 44px; max-width: 1100px; }
.feature .f-label{ color: #fff; font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.feature .f-title{ color: #fff; font-size: clamp(42px, 7vw, 120px); font-weight: 700; line-height: .95; letter-spacing: -.03em; margin: 0 0 16px; text-transform: none; }
.feature .f-meta{ color: rgba(255,255,255,.9); font-size: clamp(16px, 1.5vw, 21px); margin: 0; }
.feature:hover .f-title{ text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 10px; }
.feature .f-num{ position: absolute; right: 48px; bottom: 48px; font-size: 15px; font-weight: 500; letter-spacing: .06em; color: rgba(255,255,255,.85); }
.features + .glance{ margin-top: 30px; }

@media (max-width: 860px){
  .feature{ height: 78vh; min-height: 460px; }
  .feature .f-fit{ top: 5%; height: 62%; max-width: 84%; }
  .feature .f-text{ left: 16px; right: 16px; bottom: 26px; }
  .feature .f-num{ top: 16px; right: 16px; bottom: auto; }
}
@media (max-width: 860px){
  /* phones: show one eye instead of the gap between the eyes */
  .feature .f-main.f-eyes{ object-position: 24% 50% !important; }
}
/* light pictures (white posters): stronger dark fade behind the title */
.feature.f-light .f-shade{ background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.7) 30%, rgba(0,0,0,0) 56%); }

/* project pages: details box (artists, venue, dates, links) sits above the description */
.project-facts{ margin: 0 0 30px; padding: 0 0 22px; border-bottom: 1px solid var(--hair); }
.project-facts table{ margin-top: 0; }
.project-facts .facts-links{ margin: 14px 0 0; display: flex; gap: 24px; flex-wrap: wrap; }

/* CV page portrait */
.cv-photo{ margin: 10px 0 44px; }
.cv-photo img{ width: 100%; height: auto; display: block; }
@media (min-width: 1000px){ .cv-photo{ margin-left: -120px; margin-right: -120px; } }
/* light pictures: black lettering, no dark fade */
.feature.f-dark .f-shade{ display: none; }
.feature.f-dark .f-label, .feature.f-dark .f-title{ color: var(--ink); }
.feature.f-dark .f-meta, .feature.f-dark .f-num{ color: var(--ink-soft); }

/* front page: big project titles on the pictures keep their original font (Inter) */
.feature .f-title{ font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif; }

/* ---------- v13 ---------- */
/* one footer for every page: Email · LinkedIn · Instagram centred */
footer, body.co footer{
  max-width: none; margin: 70px 0 0; padding: 38px 16px 46px;
  background: #fff; color: var(--ink); border-top: 1px solid var(--hair); text-align: center;
}
footer .foot-links, body.co footer .foot-links{ justify-content: center; gap: 30px; font-size: 16px; letter-spacing: .02em; margin-bottom: 14px; }
footer .foot-links a, body.co footer .foot-links a{ color: var(--ink); }
footer .foot-links a:hover{ text-decoration: underline; text-underline-offset: 4px; }
footer .colophon, body.co footer .colophon{ text-align: center; color: var(--muted); }

/* CV: smaller photo, bigger text */
.cv-photo{ max-width: 380px; margin: 6px 0 40px; }
@media (min-width: 1000px){ .cv-photo{ margin-left: 0; margin-right: 0; } }
.cv-role{ font-size: 19px; }
.cv-items h3{ font-size: 23px; margin-bottom: .4em; }
.cv-items p{ font-size: 19px; line-height: 1.65; color: var(--ink); }
.cv-items li{ padding: 28px 0; }

/* ---------- v14 ---------- */
/* CV photo: a little bigger, centred on the text column */
.cv-photo{ max-width: 560px; margin: 6px auto 40px; }
@media (min-width: 1000px){ .cv-photo{ margin-left: auto; margin-right: auto; } }

/* black footer from the thin line down, on every page */
html{ background: #111; }
body{ background: var(--bg); }
footer, body.co footer{ background: #111; color: #fff; border-top: 1px solid #111; margin-bottom: 0; }
footer .foot-links a, body.co footer .foot-links a{ color: #fff; }
footer .foot-links a:hover{ color: #fff; }
footer .colophon, body.co footer .colophon{ color: rgba(255,255,255,.55); }

/* ---------- v15: neo-grotesk finish ---------- */
body{ letter-spacing: 0; }
.site-nav-solid .brand{ letter-spacing: -.02em; }
.co-section, .cv-name, .glance-col h3{ letter-spacing: -.025em; }

/* ---------- v16: phone polish ---------- */
@media (max-width: 860px){
  /* bigger tap areas without changing the look */
  .site-nav-solid .brand, .site-nav-solid .links a{ display: inline-block; padding: 12px 0; margin: -12px 0; }
  footer .foot-links a{ display: inline-block; padding: 12px 4px; }
  .facts-links a, .back-link a, .glance-link, .cv-download a{ display: inline-block; padding: 10px 0; }
  .project-facts .facts-links{ gap: 6px 24px; }
  footer .colophon{ font-size: 12.5px; }

  /* project pages: easier-to-read labels and details */
  .gallery-title{ padding: 40px 20px 26px; }
  .gallery-title .eyebrow{ font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }
  .project-meta{ padding-left: 20px; padding-right: 20px; }
  .project-meta table{ font-size: 15px; }
  .project-meta td{ color: var(--ink-soft); padding: 5px 16px 5px 0; }
  .project-meta td.v{ color: var(--ink); }

  /* Meet My Soul book pages: one per row so they're large enough to see */
  .gallery-grid2.grid2-contain{ grid-template-columns: 1fr; max-width: none; gap: 10px; }
  .gallery-grid2.grid2-contain img{ aspect-ratio: auto; height: auto; }

  /* numbers on the front-page pictures stay readable on light photos */
  .feature .f-num{ text-shadow: 0 1px 6px rgba(0,0,0,.45); }
  .feature.f-dark .f-num{ text-shadow: none; }
}
@media (max-width: 360px){
  .site-nav-solid .brand{ font-size: 16px; }
  .site-nav-solid .links{ gap: 12px; font-size: 13.5px; }
}

/* ---------- v17 ---------- */
/* Dear Anxiety: three cards side by side, shown whole */
.card-row{ max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card-row img{ width: 100%; height: auto; display: block; }
@media (max-width: 600px){ .card-row{ gap: 8px; padding: 0 12px; } }

/* About video: taller banner so the face shows */
.reveal-wide{ height: 78vh; min-height: 420px; max-height: 860px; }
.reveal video.landscape-fill{ object-position: 50% 12%; }
@media (max-width: 860px){ .reveal-wide{ height: 62vh; min-height: 360px; max-height: 560px; } }

/* ---------- v18 ---------- */
/* About video: light "About" at the bottom centre */
.reveal .video-label{
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; margin: 0;
  text-align: center; font-size: 17px; font-weight: 400; letter-spacing: .06em;
  color: rgba(255,255,255,.72); text-shadow: 0 1px 8px rgba(0,0,0,.25); pointer-events: none;
}
@media (max-width: 860px){ .reveal .video-label{ bottom: 18px; font-size: 15px; } }
