/* Marina Remova — single committed dark/atmospheric visual world (her own direction); no light variant by design */
:root{
  --ink:#f4f2ec;
  --muted:rgba(244,242,236,.7);
  --muted-dim:rgba(244,242,236,.5);
  --bg:#0a0a09;
  color-scheme:dark;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;background:var(--bg);}
body{
  font-family:'Inter',sans-serif;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  background:#000;
  display:flex;
  flex-direction:column;
}
.hero-bg{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  filter:grayscale(55%) brightness(.52) contrast(1.1);
}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg,
    rgba(0,0,0,.74) 0%,
    rgba(0,0,0,.34) 30%,
    rgba(0,0,0,.22) 56%,
    rgba(0,0,0,.8) 100%);
}
.hero-content{
  position:relative;z-index:2;
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:9vh 7% 240px;
}
.name{
  font-weight:800;
  font-size:clamp(32px,6vw,62px);
  letter-spacing:-0.015em;
  margin:0;
  line-height:1.04;
}
.tagline{
  font-weight:500;
  font-size:clamp(13px,1.6vw,17px);
  color:var(--muted);
  letter-spacing:.02em;
  margin:14px 0 0;
}
.statement{
  max-width:600px;
  margin:48px 0 0;
}
.statement p{
  font-size:clamp(14px,1.5vw,16px);
  line-height:1.7;
  color:rgba(244,242,236,.92);
  margin:0 0 1.3em;
}
.statement p:last-child{margin-bottom:0;}
.cv-link{
  margin-top:40px;
  display:inline-block;
  font-weight:700;
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--ink);
  border-bottom:1px solid rgba(244,242,236,.45);
  padding-bottom:6px;
  transition:opacity .2s;
}
.cv-link:hover{opacity:.7;}

.contact-line{
  margin:18px 0 0;
  font-size:12.5px;
  letter-spacing:.04em;
  color:var(--muted);
}
.contact-line a{
  text-decoration:none;
  color:var(--muted);
  transition:color .2s;
}
.contact-line a:hover{color:var(--ink);}
.contact-line .contact-sep{
  margin:0 10px;
  color:var(--muted-dim);
}

/* ---------- FILMSTRIP ---------- */
.filmstrip-wrap{
  position:absolute;
  left:0;right:0;bottom:0;
  z-index:2;
  height:210px;
  overflow:hidden;
}
.filmstrip-wrap::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(0deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 45%);
  z-index:2;pointer-events:none;
}
.filmstrip{
  position:absolute;
  left:0;top:0;bottom:0;
  display:flex;
  width:max-content;
  animation:scrollLeft 46s linear infinite;
}
.filmstrip:hover{animation-play-state:paused;}
.filmstrip .thumb{
  height:210px;
  flex-shrink:0;
  position:relative;
  cursor:pointer;
  margin-right:2px;
  overflow:hidden;
}
.filmstrip .thumb img{
  height:100%;width:auto;
  display:block;
  filter:saturate(.88) brightness(.92);
  transition:filter .3s, transform .4s;
}
.filmstrip .thumb:hover img{
  filter:saturate(1) brightness(1);
  transform:scale(1.03);
}
.filmstrip .thumb .thumb-label{
  position:absolute;left:12px;bottom:10px;
  font-size:11px;font-weight:600;
  letter-spacing:.04em;
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.7);
  opacity:0;
  transition:opacity .25s;
}
.filmstrip .thumb:hover .thumb-label{opacity:1;}

@keyframes scrollLeft{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}

.copyright{
  position:absolute;
  left:0;right:0;bottom:12px;
  z-index:3;
  text-align:center;
  font-size:11px;
  letter-spacing:.06em;
  color:rgba(244,242,236,.75);
  text-shadow:0 2px 10px rgba(0,0,0,.8);
  pointer-events:none;
}

/* ---------- DETAIL OVERLAY ---------- */
.detail-overlay{
  position:fixed;inset:0;
  background:#0c0b0a;
  z-index:100;
  opacity:0;
  pointer-events:none;
  transform:translateY(16px);
  transition:opacity .4s ease, transform .4s ease;
  overflow-y:auto;
}
.detail-overlay.active{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.detail-close{
  position:fixed;
  top:28px;right:36px;
  z-index:110;
  font-size:13px;
  letter-spacing:.1em;
  text-transform:uppercase;
  font-weight:600;
  background:none;border:none;
  color:var(--ink);
  cursor:pointer;
  opacity:.75;
}
.detail-close:hover{opacity:1;}
.detail-inner{
  max-width:1100px;
  margin:0 auto;
  padding:100px 7% 100px;
  display:flex;
  gap:64px;
  align-items:flex-start;
}
.detail-media{flex:1 1 56%;min-width:0;}
.detail-media img{
  width:100%;height:auto;
  display:block;
}
.detail-text{flex:1 1 38%;min-width:260px;padding-top:4px;}
.detail-text .d-title{
  font-weight:800;
  font-size:clamp(24px,3vw,32px);
  margin:0 0 10px;
  letter-spacing:-0.01em;
}
.detail-text .d-year{
  font-size:13px;
  color:var(--muted);
  margin:0 0 20px;
}
.detail-text .d-exhibited{
  font-size:13px;
  line-height:1.6;
  color:rgba(244,242,236,.8);
  margin:0 0 28px;
  padding-bottom:24px;
  border-bottom:1px solid rgba(244,242,236,.15);
}
.detail-text .d-exhibited .d-label{
  display:block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--muted-dim);
  margin-bottom:7px;
}
.detail-text .d-desc{
  font-size:15px;
  line-height:1.75;
  color:rgba(244,242,236,.9);
  margin:0 0 24px;
}
.detail-text .d-desc p{margin:0 0 1em;}
.detail-text .d-desc p:last-child{margin-bottom:0;}
.detail-text .d-meta{
  font-size:12px;
  letter-spacing:.04em;
  color:var(--muted-dim);
  text-transform:uppercase;
  border-top:1px solid rgba(244,242,236,.15);
  padding-top:16px;
}

.detail-docs{
  max-width:1100px;
  margin:0 auto;
  padding:0 7% 100px;
  display:none;
}
.detail-docs-label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--muted-dim);
  margin:0 0 18px;
}
.detail-docs-row{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding-bottom:10px;
}
.detail-docs-row img{
  height:280px;
  width:auto;
  flex-shrink:0;
  display:block;
  cursor:zoom-in;
  transition:opacity .2s;
}
.detail-docs-row img:hover{opacity:.85;}

/* ---------- LIGHTBOX ---------- */
.lightbox{
  position:fixed;inset:0;
  z-index:200;
  background:rgba(4,4,3,.94);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}
.lightbox.active{
  opacity:1;
  pointer-events:auto;
}
.lightbox img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
  cursor:zoom-out;
}
.lightbox-close{
  position:fixed;
  top:28px;right:36px;
  z-index:210;
  font-size:28px;
  line-height:1;
  background:none;border:none;
  color:var(--ink);
  cursor:pointer;
  opacity:.8;
}
.lightbox-close:hover{opacity:1;}

@media (max-width:860px){
  .hero-content{padding:9vh 6% 220px;}
  .detail-inner{flex-direction:column;gap:32px;padding:88px 6% 80px;}
  .filmstrip-wrap{height:150px;}
  .filmstrip .thumb{height:150px;}
  .detail-docs{padding:0 6% 80px;}
  .detail-docs-row img{height:200px;}
}

/* ---------- CV PAGE ---------- */
body.cv-page{background:var(--bg);min-height:100vh;}
.cv-wrap{
  max-width:760px;
  margin:0 auto;
  padding:90px 7% 120px;
}
.cv-top-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:56px;
}
.cv-back{
  display:inline-block;
  font-size:13px;
  letter-spacing:.06em;
  text-decoration:none;
  color:var(--muted);
}
.cv-back:hover{color:var(--ink);}
.cv-download{
  display:inline-block;
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--ink);
  border:1px solid rgba(244,242,236,.35);
  border-radius:3px;
  padding:9px 16px;
  transition:border-color .2s, opacity .2s;
  white-space:nowrap;
}
.cv-download:hover{border-color:rgba(244,242,236,.8);opacity:.9;}
@media (max-width:480px){
  .cv-top-row{flex-direction:column;align-items:flex-start;gap:16px;}
}
.cv-wrap h1{
  font-weight:800;
  font-size:clamp(26px,3.6vw,36px);
  margin:0 0 40px;
  letter-spacing:-0.01em;
}
.cv-about p{
  font-size:15px;
  line-height:1.75;
  color:rgba(244,242,236,.88);
  margin:0 0 1.3em;
}
.cv-record-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  margin-top:56px;
}
.cv-record-grid h3,
.cv-interviews h3{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--muted-dim);
  margin:0 0 18px;
  font-weight:700;
}
.cv-record-list{list-style:none;margin:0;padding:0;}
.cv-record-list li{
  display:flex;
  gap:14px;
  font-size:13.5px;
  line-height:1.5;
  color:rgba(244,242,236,.85);
  padding:10px 0;
  border-top:1px solid rgba(244,242,236,.12);
}
.cv-record-list li:last-child{border-bottom:1px solid rgba(244,242,236,.12);}
.cv-record-list .cv-yr{
  flex:0 0 46px;
  color:var(--muted-dim);
  font-variant-numeric:tabular-nums;
}
.cv-record-list a{
  color:inherit;
  text-decoration:underline;
  text-decoration-color:rgba(244,242,236,.35);
  text-underline-offset:2px;
}
.cv-record-list a:hover{text-decoration-color:rgba(244,242,236,.8);}
.cv-interviews{margin-top:48px;}
@media (max-width:640px){
  .cv-record-grid{grid-template-columns:1fr;gap:36px;}
}

@media print{
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact;}
  .cv-top-row{display:none;}
  .cv-wrap{padding:36px 6% 50px;max-width:100%;}
}
