
:root{
  --bg:#080706;
  --fg:#f2eee7;
  --muted:#b9b0a5;
  --line:rgba(242,238,231,.16);
  --pad:clamp(20px,3vw,46px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{display:block;width:100%}

.topbar{
  position:fixed;
  top:0;left:0;width:100%;
  z-index:50;
  height:72px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:0 var(--pad);
  border-bottom:1px solid rgba(255,255,255,.07);
  background:linear-gradient(to bottom,rgba(8,7,6,.72),rgba(8,7,6,.32),transparent);
  backdrop-filter:blur(2px);
}
.brand-name{
  justify-self:start;
  font-family:Georgia,"Times New Roman",serif;
  font-size:14px;
  font-weight:400;
  letter-spacing:-.01em;
}
.topbar nav{
  justify-self:center;
  display:flex;
  gap:30px;
}
.topbar nav a{
  font-size:11px;
  font-weight:400;
  letter-spacing:.02em;
  opacity:.9;
}
.topbar nav a:hover{opacity:.62}

/* HERO */
.hero{
  position:relative;
  min-height:100svh;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:90px var(--pad) 48px;
}
.hero-bg{
  position:absolute;
  inset:0;
  background:url("assets/egor-hero.webp") center 34% / cover no-repeat;
  transform:scale(1.01);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,rgba(5,4,3,.36) 0%,rgba(5,4,3,.12) 32%,rgba(5,4,3,.22) 66%,rgba(5,4,3,.54) 100%),
    linear-gradient(to right,rgba(5,4,3,.16),transparent 30%,transparent 70%,rgba(5,4,3,.17));
}
.hero-center{
  position:relative;
  z-index:4;
  text-align:center;
  margin-top:2vh;
}
.hero-center h1{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(34px,3.7vw,64px);
  font-weight:400;
  letter-spacing:-.035em;
  line-height:1;
  text-shadow:0 2px 18px rgba(0,0,0,.4);
}
.hero-center p{
  margin:13px 0 25px;
  font-size:clamp(10px,1vw,13px);
  font-weight:400;
  letter-spacing:.04em;
  text-shadow:0 2px 12px rgba(0,0,0,.45);
}
.hero-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:120px;
  height:34px;
  padding:0 20px;
  border:1px solid rgba(242,238,231,.72);
  border-radius:3px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:12px;
  font-weight:400;
  transition:background .25s,color .25s,border-color .25s;
}
.hero-button:hover{
  background:var(--fg);
  color:#111;
  border-color:var(--fg);
}
.hero-location{
  position:absolute;
  z-index:4;
  bottom:22px;
  right:var(--pad);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.16em;
  opacity:.6;
}

/* HOME: WORK */
.work{padding:110px var(--pad) 150px}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  border-top:1px solid var(--line);
  padding-top:13px;
  margin-bottom:32px;
}
.eyebrow,.count{
  margin:0;
  text-transform:uppercase;
  font-size:9px;
  font-weight:500;
  letter-spacing:.16em;
  color:var(--muted)
}
.project-image-link{
  position:relative;
  display:block;
  overflow:hidden;
  background:#111;
}
.project-image-link img{
  aspect-ratio:16/9;
  object-fit:cover;
  transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .35s;
}
.project-hover{
  position:absolute;
  right:18px;
  bottom:16px;
  opacity:0;
  transform:translateY(6px);
  transition:.25s;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.project-image-link:hover img{transform:scale(1.012);filter:brightness(.82)}
.project-image-link:hover .project-hover{opacity:1;transform:none}
.project-info{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:24px;
  padding-top:17px;
}
.project-info h2{
  margin:0 0 7px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(34px,4.8vw,72px);
  font-style:normal;
  font-weight:400;
  letter-spacing:-.045em;
  line-height:.94;
}
.project-info p{
  margin:0;
  text-transform:uppercase;
  font-size:9px;
  letter-spacing:.14em;
  color:var(--muted)
}
.project-info>p{
  text-align:right;
  color:var(--fg);
  padding-top:5px;
}

/* ABOUT */
.about{
  padding:110px var(--pad);
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:30px;
}
.about-copy{max-width:850px}
.about-copy p{
  margin:0 0 38px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(28px,3.8vw,56px);
  font-style:normal;
  font-weight:400;
  line-height:1.06;
  letter-spacing:-.035em;
}
.about-copy a{
  font-size:10px;
  letter-spacing:.08em;
  border-bottom:1px solid currentColor;
  padding-bottom:3px;
}
footer{
  border-top:1px solid var(--line);
  padding:18px var(--pad) 28px;
  display:flex;
  justify-content:space-between;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.15em;
  color:var(--muted);
}

/* PROJECT PAGE */
.project-hero{padding:120px var(--pad) 76px}
.project-title-block{
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:28px;
  align-items:end;
  margin-bottom:28px;
}
.project-title-block h1{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  text-transform:none;
  font-style:normal;
  font-weight:400;
  font-size:clamp(52px,8.6vw,142px);
  line-height:.88;
  letter-spacing:-.06em;
}
.project-title-block .role{
  grid-column:2;
  margin:14px 0 0;
  text-transform:uppercase;
  font-size:9px;
  letter-spacing:.14em;
  color:var(--muted)
}
.project-hero>img{aspect-ratio:16/9;object-fit:cover}
.project-summary{
  padding:90px var(--pad);
  border-bottom:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:28px;
}
.summary-copy p{
  max-width:900px;
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(26px,3.6vw,52px);
  font-weight:400;
  line-height:1.08;
  letter-spacing:-.035em
}
.stills-grid{
  padding:var(--pad);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--pad)
}
.stills-grid img{aspect-ratio:4/3;object-fit:cover}
.stills-grid .wide{grid-column:1/-1;aspect-ratio:16/9}
.status-block{
  padding:100px var(--pad);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:28px;
}
.status-block>p:last-child{
  margin:0;
  max-width:780px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(27px,3.7vw,54px);
  line-height:1.06;
  letter-spacing:-.035em
}
.watch-placeholder{padding:100px var(--pad)}
.watch-placeholder>div{
  border:1px solid var(--line);
  min-height:45vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:36px
}
.watch-placeholder h2{
  margin:14px 0 8px;
  font-family:Georgia,"Times New Roman",serif;
  text-transform:none;
  font-style:normal;
  font-weight:400;
  font-size:clamp(38px,5.6vw,84px);
  letter-spacing:-.045em
}
.watch-placeholder p:last-child{
  max-width:500px;
  color:var(--muted);
  line-height:1.5;
  font-size:12px
}
.next-project{padding:34px var(--pad) 110px}
.next-project a{
  font-size:10px;
  letter-spacing:.08em;
  border-bottom:1px solid currentColor;
  padding-bottom:3px
}

@media (max-width:800px){
  .topbar{
    height:64px;
    grid-template-columns:1fr auto;
  }
  .topbar nav{
    gap:14px;
    justify-self:end;
  }
  .topbar nav a:nth-child(1){display:none}
  .brand-name{font-size:13px}
  .hero-bg{
    background-position:center 30%;
  }
  .hero-center{margin-top:0}
  .hero-center h1{font-size:clamp(36px,10vw,54px)}
  .hero-center p{
    max-width:260px;
    margin:12px auto 22px;
    line-height:1.45;
  }
  .hero-location{bottom:18px}
  .work{padding-top:82px;padding-bottom:100px}
  .project-info{
    grid-template-columns:1fr;
    gap:10px;
  }
  .project-info>p{text-align:left}
  .about{
    grid-template-columns:1fr;
    padding-top:82px;
    padding-bottom:82px
  }
  .project-title-block,
  .project-summary,
  .status-block{
    grid-template-columns:1fr;
  }
  .project-title-block .role{grid-column:1}
  .project-title-block h1{font-size:clamp(50px,15vw,86px)}
  .project-summary{padding-top:68px;padding-bottom:68px}
  .stills-grid{grid-template-columns:1fr}
  .stills-grid .wide{grid-column:auto;aspect-ratio:4/3}
  .status-block{padding-top:74px;padding-bottom:74px}
  .watch-placeholder{padding-top:74px;padding-bottom:74px}
}

/* V0.4 — SECOND PROJECT */
.project-card-spaced{margin-top:110px}
.role-summary{border-top:0}
.fon-stills img{object-position:center}
.next-project-grid{display:flex;justify-content:space-between;gap:20px}
@media (max-width:800px){
  .project-card-spaced{margin-top:72px}
  .next-project-grid{flex-direction:column;align-items:flex-start}
}

/* V0.5 — CONTAINED / EDITORIAL PROJECT IMAGERY */
:root{
  --content-max: 1180px;
  --project-max: 1320px;
}

/* Keep the opening portrait immersive, but make project imagery feel editorial. */
.work{
  padding-left:var(--pad);
  padding-right:var(--pad);
}
.work > .section-head,
.work > .project-card{
  width:min(100%, var(--project-max));
  margin-left:auto;
  margin-right:auto;
}
.project-card-spaced{
  margin-top:120px;
}
.project-image-link{
  width:min(78vw, 1080px);
  margin-left:auto;
  margin-right:auto;
}
.project-image-link img{
  aspect-ratio:16/9;
  object-fit:cover;
}
.project-info{
  width:min(78vw, 1080px);
  margin-left:auto;
  margin-right:auto;
}

/* Project pages */
.project-hero{
  padding-left:var(--pad);
  padding-right:var(--pad);
}
.project-title-block,
.project-hero > img,
.project-summary,
.status-block,
.watch-placeholder,
.next-project{
  width:min(100%, var(--project-max));
  margin-left:auto;
  margin-right:auto;
}
.project-hero > img{
  width:min(82vw, 1120px);
  aspect-ratio:16/9;
  object-fit:cover;
}
.project-summary,
.status-block{
  padding-left:clamp(0px,2vw,28px);
  padding-right:clamp(0px,2vw,28px);
}

.stills-grid{
  width:min(100%, var(--project-max));
  margin:0 auto;
  padding:90px var(--pad);
  grid-template-columns:repeat(12,1fr);
  gap:clamp(18px,2.5vw,36px);
  align-items:start;
}
.stills-grid img{
  grid-column:span 6;
  width:100%;
  aspect-ratio:auto;
  max-height:620px;
  object-fit:contain;
  background:#0b0a09;
}
.stills-grid .wide{
  grid-column:2 / span 10;
  width:100%;
  aspect-ratio:auto;
  max-height:720px;
  object-fit:contain;
}

/* FON TOUR has mixed aspect ratios, so preserve them rather than stretching. */
.fon-stills img,
.fon-stills .wide{
  object-fit:contain;
  height:auto;
  max-height:680px;
}
.fon-stills img:nth-child(4),
.fon-stills img:nth-child(5){
  grid-column:span 5;
  justify-self:center;
  max-width:440px;
}
.fon-stills img:nth-child(4){grid-column-start:2}

@media (max-width:800px){
  .project-image-link,
  .project-info,
  .project-hero > img{
    width:100%;
  }
  .project-card-spaced{margin-top:82px}
  .stills-grid{
    display:grid;
    grid-template-columns:1fr;
    padding-top:64px;
    padding-bottom:64px;
  }
  .stills-grid img,
  .stills-grid .wide,
  .fon-stills img:nth-child(4),
  .fon-stills img:nth-child(5){
    grid-column:1;
    width:100%;
    max-width:100%;
    max-height:none;
    aspect-ratio:auto;
    object-fit:contain;
  }
}


/* V0.6 TEST — CENTERED TYPOGRAPHY / PROJECT OVERLAYS / CONTACT */
:root{
  --bg:#171310;
  --bg-soft:#211a17;
  --fg:#e9dfd1;
  --muted:#a99d90;
  --accent:#8f3f45;
  --accent-hover:#ad5359;
  --line:rgba(233,223,209,.15);
}
body{
  background:var(--bg);
  color:var(--fg);
  font-family:Arial,Helvetica,sans-serif;
}
body, h1, h2, h3, p, a, label, input, select, textarea, button{
  font-family:Arial,Helvetica,sans-serif !important;
  font-style:normal !important;
}
.topbar{
  grid-template-columns:1fr auto 1fr;
  background:linear-gradient(to bottom,rgba(23,19,16,.80),rgba(23,19,16,.36),transparent);
}
.brand-name{
  font-weight:600;
}
.hero-center h1{
  font-weight:700;
  letter-spacing:-.03em;
}
.hero-button{
  font-weight:600;
}
.hero-location{
  left:50%;
  right:auto;
  transform:translateX(-50%);
  text-align:center;
}

.section-head{
  display:block;
  text-align:center;
}
.section-head .count{
  margin-top:8px;
  text-align:center;
}
.eyebrow,
.count{
  text-align:center;
}
.work{
  text-align:center;
}
.project-info{
  display:block;
  text-align:center;
  padding-top:18px;
}
.project-info h2{
  margin:0;
  font-size:clamp(28px,3.2vw,48px);
  font-weight:700;
  letter-spacing:-.035em;
  line-height:1;
}
.project-info p,
.project-info > p{
  margin:10px 0 0;
  padding:0;
  text-align:center;
  color:var(--muted);
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* Project image interaction */
.project-preview{
  position:relative;
  cursor:pointer;
}
.project-shade{
  position:absolute;
  inset:0;
  background:rgba(18,10,10,.76);
  opacity:0;
  transition:opacity .32s ease;
  z-index:2;
}
.project-overlay{
  position:absolute;
  inset:0;
  z-index:3;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:28px;
  opacity:0;
  transform:translateY(10px);
  transition:opacity .32s ease,transform .32s ease;
  pointer-events:none;
}
.project-overlay strong{
  display:block;
  max-width:950px;
  font-size:clamp(34px,5.3vw,82px);
  line-height:.9;
  letter-spacing:-.055em;
  font-weight:700;
  text-transform:uppercase;
}
.project-overlay small{
  display:block;
  margin-top:18px;
  font-size:clamp(9px,.9vw,13px);
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--fg);
}
.project-overlay em{
  display:block;
  margin-top:28px;
  font-size:9px;
  font-style:normal;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--accent-hover);
}
.project-preview:hover .project-shade,
.project-preview:focus-visible .project-shade,
.project-preview.preview-active .project-shade{
  opacity:1;
}
.project-preview:hover .project-overlay,
.project-preview:focus-visible .project-overlay,
.project-preview.preview-active .project-overlay{
  opacity:1;
  transform:none;
}
.project-preview:hover img,
.project-preview.preview-active img{
  transform:scale(1.008);
}

/* About */
.about{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:30px;
  text-align:center;
}
.about-copy{
  max-width:980px;
  margin:0 auto;
}
.about-copy p{
  margin:0;
  font-size:clamp(25px,3vw,46px);
  line-height:1.15;
  letter-spacing:-.028em;
  font-weight:500;
}

/* Project pages — center all typography */
.project-title-block,
.project-summary,
.status-block{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.project-title-block h1{
  text-align:center;
  font-weight:700;
  text-transform:uppercase;
  font-size:clamp(46px,7vw,112px);
  letter-spacing:-.055em;
}
.project-title-block .role{
  grid-column:auto;
  margin-top:15px;
  text-align:center;
}
.summary-copy,
.status-block > p:last-child{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.summary-copy p,
.status-block > p:last-child{
  font-family:Arial,Helvetica,sans-serif !important;
  font-weight:500;
  text-align:center;
}
.watch-placeholder{
  text-align:center;
}
.next-project,
.next-project-grid{
  justify-content:center;
  text-align:center;
}
.next-project-grid a + a{
  margin-left:34px;
}

/* Contact */
.contact{
  width:min(calc(100% - (2 * var(--pad))), 980px);
  margin:0 auto;
  padding:120px 0 140px;
  border-top:1px solid var(--line);
  text-align:center;
}
.contact h2{
  margin:18px 0 14px;
  font-size:clamp(44px,7vw,98px);
  line-height:.9;
  letter-spacing:-.06em;
  font-weight:700;
  color:var(--fg);
}
.contact-intro{
  max-width:620px;
  margin:0 auto 34px;
  color:var(--muted);
  line-height:1.55;
}
.contact-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:18px 32px;
  margin-bottom:52px;
  font-size:13px;
}
.contact-links a{
  border-bottom:1px solid currentColor;
  padding-bottom:4px;
}
.contact-links .contact-email{
  color:var(--accent-hover);
}
.contact-form{
  max-width:760px;
  margin:0 auto;
  text-align:center;
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.contact-form label{
  display:block;
  margin-bottom:18px;
  color:var(--muted);
  font-size:10px;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea{
  display:block;
  width:100%;
  margin-top:9px;
  border:1px solid rgba(233,223,209,.19);
  border-radius:0;
  outline:none;
  background:var(--bg-soft);
  color:var(--fg);
  padding:14px 15px;
  text-align:center;
  font-size:14px;
  text-transform:none;
  letter-spacing:0;
}
.contact-form textarea{
  resize:vertical;
  min-height:150px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color:var(--accent);
}
.contact-form button{
  margin-top:8px;
  min-width:170px;
  padding:14px 24px;
  border:1px solid var(--accent);
  background:var(--accent);
  color:#f7eee4;
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
  transition:.2s ease;
}
.contact-form button:hover{
  background:var(--accent-hover);
  border-color:var(--accent-hover);
}
.form-note{
  margin:13px 0 0;
  color:var(--muted);
  font-size:10px;
}
footer{
  justify-content:center;
  gap:28px;
  text-align:center;
}

@media (max-width:800px){
  .topbar{
    display:flex;
    justify-content:center;
    gap:18px;
  }
  .brand-name{
    display:none;
  }
  .topbar nav{
    justify-content:center;
  }
  .project-overlay strong{
    font-size:clamp(26px,8vw,48px);
  }
  .project-overlay small{
    margin-top:12px;
    font-size:9px;
  }
  .project-overlay em{
    margin-top:18px;
  }
  .form-row{
    grid-template-columns:1fr;
    gap:0;
  }
  .contact{
    padding-top:86px;
    padding-bottom:100px;
  }
  .next-project-grid{
    flex-direction:column;
  }
  .next-project-grid a + a{
    margin-left:0;
    margin-top:18px;
  }
}


/* V0.7 TEST — US OPEN / COMPACT PROJECT SYSTEM */
.rounded-media{
  border-radius:12px;
  overflow:hidden;
}
.project-image-link.rounded-media{
  overflow:hidden;
}
.project-meta{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:var(--muted);
  font-size:9px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.calendar-icon{
  width:13px;
  height:13px;
  display:inline-block;
  position:relative;
  border:1px solid currentColor;
  border-radius:2px;
  opacity:.9;
}
.calendar-icon::before{
  content:"";
  position:absolute;
  left:2px;right:2px;top:3px;
  border-top:1px solid currentColor;
}
.calendar-icon::after{
  content:"";
  position:absolute;
  width:5px;height:2px;
  left:3px;top:-3px;
  border-left:1px solid currentColor;
  border-right:1px solid currentColor;
}
.page-meta{
  margin-top:14px;
}
.compact-project-hero{
  text-align:center;
}
.compact-project-hero .project-main-image{
  width:min(78vw,1120px);
  margin:34px auto 0;
  aspect-ratio:16/9;
  object-fit:cover;
}
.compact-copy{
  width:min(calc(100% - (2 * var(--pad))), 980px);
  margin:0 auto;
  padding:64px 0;
  border-bottom:1px solid var(--line);
}
.compact-copy .summary-copy{
  max-width:760px;
  margin:18px auto 0;
}
.compact-copy .summary-copy p{
  margin:0;
  font-size:clamp(15px,1.5vw,20px) !important;
  line-height:1.55 !important;
  letter-spacing:-.012em !important;
  font-weight:400 !important;
  color:var(--fg);
}
.gallery-section{
  width:min(calc(100% - (2 * var(--pad))), 1180px);
  margin:0 auto;
  padding:72px 0 0;
  text-align:center;
}
.gallery-section .eyebrow{
  margin-bottom:22px;
}
.three-stills-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.three-stills-row img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  background:var(--bg-soft);
}
.results-summary .summary-copy p{
  color:var(--fg);
  font-weight:500 !important;
}
.project-card .project-image-link{
  border-radius:12px;
}
.project-card .project-info{
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}
@media (max-width:800px){
  .rounded-media,
  .project-card .project-image-link{
    border-radius:9px;
  }
  .compact-project-hero .project-main-image{
    width:100%;
    margin-top:26px;
  }
  .compact-copy{
    padding:48px 0;
  }
  .compact-copy .summary-copy p{
    font-size:15px !important;
    line-height:1.55 !important;
  }
  .gallery-section{
    padding-top:52px;
  }
  .three-stills-row{
    grid-template-columns:1fr;
    gap:12px;
  }
}


/* V0.8 TEST — UNIFIED PROJECT PAGE SYSTEM */
.project-meta-row{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px 22px;
  margin-top:18px;
  color:var(--muted);
}
.meta-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:10px;
  letter-spacing:.11em;
  text-transform:uppercase;
  white-space:nowrap;
}
.meta-icon{
  width:14px;
  height:14px;
  display:inline-block;
  position:relative;
  flex:0 0 auto;
  color:var(--muted);
}
.clapper-icon{
  border:1px solid currentColor;
  border-radius:2px;
  height:10px;
  margin-top:3px;
}
.clapper-icon::before{
  content:"";
  position:absolute;
  left:-1px;
  top:-5px;
  width:14px;
  height:4px;
  border:1px solid currentColor;
  border-radius:2px 2px 0 0;
  transform:skewX(-18deg);
  transform-origin:left bottom;
}
.youtube-icon{
  border:1px solid currentColor;
  border-radius:4px;
  width:15px;
  height:11px;
  margin-top:1px;
}
.youtube-icon::after{
  content:"";
  position:absolute;
  left:5px;
  top:2px;
  width:0;
  height:0;
  border-top:3px solid transparent;
  border-bottom:3px solid transparent;
  border-left:4px solid currentColor;
}
.status-icon{
  border:1px solid currentColor;
  border-radius:50%;
  width:12px;
  height:12px;
}
.status-icon::after{
  content:"";
  position:absolute;
  inset:3px;
  background:currentColor;
  border-radius:50%;
}
.two-stills-centered{
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:780px;
  margin:0 auto;
}
.links-section{
  width:min(calc(100% - (2 * var(--pad))), 900px);
  margin:0 auto;
  padding:76px 0 20px;
  text-align:center;
}
.links-list{
  margin-top:20px;
  display:flex;
  justify-content:center;
}
.link-placeholder{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:12px 16px;
  border:1px solid var(--line);
  border-radius:8px;
  color:var(--muted);
  font-size:11px;
  letter-spacing:.04em;
}
.project-page .status-block.compact-copy{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.project-page .status-block.compact-copy > p:last-child{
  max-width:760px;
  margin:18px auto 0;
  font-size:clamp(15px,1.5vw,20px) !important;
  line-height:1.55 !important;
  letter-spacing:-.012em !important;
  font-weight:400 !important;
  color:var(--fg);
}
@media (max-width:800px){
  .project-meta-row{
    gap:10px 14px;
  }
  .meta-pill{
    font-size:9px;
  }
  .two-stills-centered{
    grid-template-columns:1fr;
    max-width:none;
  }
  .links-section{
    padding-top:56px;
  }
}


/* V0.9 TEST — CATEGORIES / SOROKINA / SIX-STILL OUT OF THE WINDOW / ABOUT REFINEMENT */
.work-category{
  width:100%;
  margin-top:92px;
}
.work-category:first-of-type{
  margin-top:58px;
}
.category-title{
  margin:0 auto 34px;
  text-align:center;
  font-size:clamp(15px,1.25vw,19px);
  font-weight:600;
  letter-spacing:.12em;
  color:var(--muted);
}
.category-note{
  margin:0;
  text-align:center;
  color:var(--muted);
  font-size:12px;
  letter-spacing:.04em;
}
.work-category-empty{
  padding:40px 0 8px;
  border-top:1px solid var(--line);
}
.gallery-continuation{
  padding-top:16px;
}
.three-stills-row img{
  aspect-ratio:16/9;
}
.about-copy{
  max-width:860px;
}
.about-copy p{
  font-size:clamp(22px,2.4vw,36px) !important;
  line-height:1.38 !important;
  letter-spacing:-.018em !important;
  font-weight:500 !important;
  text-transform:none !important;
}
@media (max-width:800px){
  .work-category{margin-top:68px}
  .category-title{margin-bottom:24px}
  .gallery-continuation{padding-top:12px}
  .about-copy p{
    font-size:21px !important;
    line-height:1.42 !important;
  }
}


/* V1.0 TEST — ABOUT PAGE / HOMEPAGE ABOUT REFINEMENT / FAVICON SUPPORT */
.about{
  padding-top:110px;
  padding-bottom:120px;
}
.about-copy-preview{
  max-width:900px;
}
.about-copy-preview p{
  font-size:clamp(20px,2.1vw,31px) !important;
  line-height:1.52 !important;
  letter-spacing:-.02em !important;
  font-weight:600 !important;
  color:var(--fg);
}
.about-copy-preview strong{
  font-weight:700;
}
.learn-more-button,
.ghost-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 18px;
  margin-top:24px;
  border:1px solid rgba(233,223,209,.18);
  border-radius:999px;
  background:rgba(255,255,255,.02);
  color:var(--fg);
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  transition:background .24s ease,border-color .24s ease,transform .24s ease,color .24s ease;
}
.learn-more-button:hover,
.ghost-button:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(233,223,209,.32);
  transform:translateY(-1px);
}
.ghost-button-accent{
  background:var(--accent);
  border-color:var(--accent);
  color:#f7eee4;
}
.ghost-button-accent:hover{
  background:var(--accent-hover);
  border-color:var(--accent-hover);
}

.about-page-body{
  background:linear-gradient(to bottom,#171310 0%, #16110f 50%, #140f0d 100%);
}
.about-page{
  width:min(calc(100% - (2 * var(--pad))), 1240px);
  margin:0 auto;
  padding:118px 0 110px;
}
.about-page-hero{
  padding-bottom:72px;
}
.about-page-grid{
  margin-top:20px;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);
  gap:38px;
  align-items:center;
}
.about-page-copy-block h1{
  margin:0;
  font-size:clamp(42px,6vw,96px);
  line-height:.92;
  letter-spacing:-.06em;
  font-weight:700;
}
.about-page-role{
  margin:18px 0 26px;
  color:var(--muted);
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.about-page-copy{
  margin:0 0 16px;
  max-width:700px;
  color:var(--fg);
  font-size:clamp(16px,1.25vw,20px);
  line-height:1.7;
  letter-spacing:-.012em;
}
.about-page-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}
.about-page-actions .ghost-button{
  margin-top:0;
}
.about-page-portrait-wrap{
  position:relative;
}
.about-page-portrait{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  object-position:center 18%;
  background:#0f0c0a;
  box-shadow:0 18px 56px rgba(0,0,0,.26);
}
.about-page-gallery-block{
  padding:0 0 80px;
}
.about-page-gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.about-page-gallery img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  background:var(--bg-soft);
}
.about-page-gallery img:nth-child(1){object-position:center 30%;}
.about-page-gallery img:nth-child(2){object-position:center 18%;}
.about-page-gallery img:nth-child(3){object-position:center 18%;}
.about-credits-section{
  border-top:1px solid var(--line);
  padding-top:80px;
}
.about-credits-header{
  text-align:center;
}
.about-credits-header h2{
  margin:10px 0 0;
  font-size:clamp(32px,4.4vw,72px);
  line-height:.95;
  letter-spacing:-.05em;
  font-weight:700;
}
.about-credits-layout{
  margin-top:34px;
  display:grid;
  grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);
  gap:34px;
  align-items:start;
}
.about-credits-intro p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}
.about-credits-list{
  display:grid;
  gap:18px;
}
.credit-item{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:16px;
  padding:18px 0;
  border-top:1px solid rgba(233,223,209,.09);
}
.credit-item:first-child{
  border-top:1px solid rgba(233,223,209,.15);
}
.credit-year{
  padding-top:3px;
  color:var(--muted);
  font-size:10px;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.credit-item h3{
  margin:0;
  font-size:20px;
  line-height:1.1;
  letter-spacing:-.025em;
  font-weight:700;
}
.credit-item p{
  margin:8px 0 4px;
  font-size:14px;
  line-height:1.55;
  color:var(--fg);
}
.credit-item small{
  display:block;
  color:var(--muted);
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.about-contact-panel{
  margin-top:88px;
  padding:32px;
  border:1px solid rgba(233,223,209,.10);
  background:linear-gradient(135deg,rgba(255,255,255,.025),rgba(255,255,255,.01));
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:end;
}
.about-contact-panel h2{
  margin:10px 0 10px;
  font-size:clamp(30px,4vw,58px);
  line-height:.95;
  letter-spacing:-.045em;
  font-weight:700;
}
.about-contact-panel p:last-child{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}
.about-contact-links{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:12px;
  text-align:right;
}
.about-contact-links a{
  border-bottom:1px solid currentColor;
  padding-bottom:3px;
  font-size:14px;
}

@media (max-width:980px){
  .about-page-grid,
  .about-credits-layout,
  .about-contact-panel{
    grid-template-columns:1fr;
  }
  .about-contact-links{
    align-items:flex-start;
    text-align:left;
  }
}

@media (max-width:800px){
  .about{
    padding-top:82px;
    padding-bottom:88px;
  }
  .about-copy-preview p{
    font-size:20px !important;
    line-height:1.5 !important;
  }
  .about-page{
    padding-top:92px;
    padding-bottom:82px;
  }
  .about-page-grid{
    gap:24px;
  }
  .about-page-role{
    margin-top:14px;
    margin-bottom:20px;
  }
  .about-page-copy{
    font-size:15px;
    line-height:1.68;
  }
  .about-page-gallery{
    grid-template-columns:1fr;
  }
  .about-page-gallery img,
  .about-page-portrait{
    aspect-ratio:4/5;
  }
  .about-credits-section{
    padding-top:62px;
  }
  .credit-item{
    grid-template-columns:1fr;
    gap:8px;
  }
  .about-contact-panel{
    margin-top:62px;
    padding:24px;
  }
}


/* V1.1 TEST — EXPANDED ABOUT + FULLER CREDITS */
.about-page-copy-block{
  max-width:760px;
}
.about-page-copy{
  max-width:735px;
}
.about-credits-list{
  max-height:none;
}
.credit-item h3{
  text-wrap:balance;
}
@media (min-width:981px){
  .about-credits-layout{
    grid-template-columns:minmax(220px,.52fr) minmax(0,1.48fr);
  }
  .about-credits-intro{
    position:sticky;
    top:110px;
  }
}


/* V1.4 TEST — GRANDPA'S BIRTHDAY EXPERIMENT
   Text sections alternate with 3-still rows.
   Burgundy is used only for story-section labels in this project. */
.grandpa-project .story-label{
  color:var(--accent);
}
.grandpa-project .story-section{
  padding-top:72px;
  padding-bottom:34px;
}
.grandpa-project .gallery-after-copy{
  padding-top:0;
  padding-bottom:26px;
}
.grandpa-project .project-main-image{
  object-fit:cover;
}
@media (max-width:800px){
  .grandpa-project .story-section{
    padding-top:52px;
    padding-bottom:24px;
  }
  .grandpa-project .gallery-after-copy{
    padding-bottom:12px;
  }
}

/* V1.5 shared project structure */
.project-page main > section:not(.project-hero):not(.next-project) .eyebrow{color:var(--accent);}
.project-page .project-detail-end{margin-top:36px;}
.project-page .role-summary{margin-top:72px;}
.project-page .gallery-continuation{padding-top:18px;}
.professional-project .project-main-image{object-fit:cover;}

.resume-download-section{
  width:min(1180px,calc(100% - 48px));
  margin:40px auto 96px;
  padding:72px 0;
  border-top:1px solid rgba(235,222,199,.16);
  border-bottom:1px solid rgba(235,222,199,.16);
}
.resume-download-section>.eyebrow{color:var(--accent);margin-bottom:28px;}
.resume-download-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:48px;align-items:end;}
.resume-download-inner h2{margin:0 0 14px;max-width:780px;font-size:clamp(34px,5vw,72px);line-height:.98;letter-spacing:-.04em;color:var(--text);}
.resume-download-inner p{margin:0;max-width:650px;color:var(--muted);line-height:1.65;}
.resume-download-button{
  display:inline-flex;justify-content:center;align-items:center;min-height:62px;padding:0 30px;
  border:1px solid var(--accent);border-radius:999px;color:var(--text);text-transform:uppercase;
  letter-spacing:.08em;font-size:12px;text-decoration:none;transition:transform .2s ease,background .2s ease;white-space:nowrap;
}
.resume-download-button:hover{transform:translateY(-2px);background:var(--accent);}
.about-resume-download{margin-top:80px;}
.commercial-coming-note{margin-top:28px;}
@media(max-width:800px){
  .project-page .role-summary{margin-top:52px;}
  .resume-download-section{width:min(100% - 32px,1180px);margin-bottom:64px;padding:52px 0;}
  .resume-download-inner{grid-template-columns:1fr;align-items:start;}
  .resume-download-button{width:100%;}
}


/* V1.6 — THE PROFESSIONAL teaser */
.teaser-section{
  width:min(1180px, calc(100% - 48px));
  margin:0 auto;
  padding:34px 0 56px;
}
.teaser-section>.eyebrow{
  color:var(--accent);
  margin-bottom:24px;
}
.teaser-player-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
}
.teaser-player{
  width:min(470px, 100%);
  max-height:78vh;
  display:block;
  border-radius:18px;
  background:#000;
  box-shadow:0 18px 50px rgba(0,0,0,.22);
}
@media(max-width:800px){
  .teaser-section{
    width:min(100% - 32px, 1180px);
    padding:24px 0 42px;
  }
  .teaser-player{
    width:min(420px, 100%);
    border-radius:14px;
  }
}


/* V1.7 — responsive homepage hero
   Desktop uses the approved wide version; portrait/mobile keeps the original image. */
@media (min-width: 901px) and (orientation: landscape){
  .hero-bg{
    background-image:url("assets/egor-hero-desktop.png");
    background-position:center center;
    background-size:cover;
  }
}

/* V1.7 — compact resume CTA integrated after the contact form */
.contact-resume-cta{
  margin:72px auto 0;
  padding-top:34px;
  border-top:1px solid var(--line);
  text-align:center;
  max-width:920px;
}
.contact-resume-cta p{
  margin:0 auto 20px;
  font-size:10px;
  line-height:1.7;
  letter-spacing:.055em;
  color:var(--muted);
  white-space:normal;
}
.compact-resume-button{
  min-height:42px;
  padding:0 24px;
  font-size:10px;
  border-radius:3px;
  border-color:rgba(242,238,231,.55);
  margin:0 auto;
}
.compact-resume-button:hover{
  background:var(--fg);
  color:#111;
  border-color:var(--fg);
  transform:none;
}
@media (max-width:800px){
  .contact-resume-cta{
    margin-top:52px;
    padding-top:28px;
  }
  .contact-resume-cta p{
    max-width:560px;
    font-size:9px;
  }
  .compact-resume-button{
    width:auto;
    min-width:190px;
  }
}


/* V2.0 — project detail cleanup (no animation changes) */
.project-page .role-summary,
.project-page .status-block,
.project-page .teaser-section,
.project-page .project-detail-end{
  border-top:none !important;
  border-bottom:none !important;
}

/* V2.0 — FON TOUR YouTube link button */
.youtube-card-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:210px;
  padding:15px 22px;
  margin-top:14px;
  border:1px solid rgba(235,222,199,.22);
  border-radius:9px;
  color:var(--text);
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  letter-spacing:.01em;
  background:transparent;
}
.youtube-card-link:hover{
  border-color:rgba(235,222,199,.42);
}
.youtube-card-icon{
  display:inline-flex;
  width:20px;
  height:20px;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(235,222,199,.5);
  border-radius:6px;
  font-size:9px;
  line-height:1;
}

/* V2.0 — stronger About Learn More CTA */
.about-learn-more-featured{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 26px !important;
  border-radius:10px !important;
  background:var(--accent) !important;
  border:1px solid var(--accent) !important;
  color:var(--text) !important;
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:14px !important;
  font-weight:600 !important;
  letter-spacing:.01em !important;
  text-decoration:none !important;
  box-shadow:0 8px 22px rgba(73,20,29,.18);
}
.about-learn-more-featured:hover{
  filter:brightness(1.08);
}

/* V2.1 — static layout additions only. v1.7 animations are preserved unchanged. */
.rare-beauty-project .rare-beauty-temp-image{
  object-fit:cover;
  object-position:center center;
}


/* V2.2 — minimal social icons in header; existing site animations untouched. */
.topbar{
  position:relative;
}
.header-socials{
  position:absolute;
  right:3.8vw;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:12px;
}
.header-social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:rgba(235,222,199,.68);
  text-decoration:none;
  line-height:1;
}
.header-social-link:hover{
  color:rgba(235,222,199,.94);
}
.header-social-svg{
  display:block;
  width:auto;
  height:14px;
}
.instagram-svg{
  height:15px;
}
.imdb-svg{
  width:34px;
}
@media(max-width:800px){
  .header-socials{
    right:18px;
    gap:9px;
  }
  .imdb-svg{
    width:30px;
  }
  .instagram-svg{
    height:14px;
  }
}


/* V2.3 — restore the original floating/transparent header feel.
   No animation behavior changed. */
.topbar{
  position:fixed !important;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:transparent !important;
  background-color:transparent !important;
  border-bottom:none !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

/* Right-side social links: intentionally minimal and visually quiet. */
.header-socials{
  position:absolute;
  right:3.8vw;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:14px;
}
.header-social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,.92) !important;
  text-decoration:none !important;
  opacity:.9;
}
.header-social-link:hover{
  color:#fff !important;
  opacity:1;
}
.imdb-text-link{
  font-family:Arial,Helvetica,sans-serif;
  font-size:11px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.03em;
}
.instagram-svg{
  width:18px;
  height:18px;
  display:block;
}

/* Keep mobile compact while still slightly enlarging Instagram. */
@media(max-width:800px){
  .header-socials{
    right:16px;
    gap:11px;
  }
  .imdb-text-link{
    font-size:10px;
  }
  .instagram-svg{
    width:17px;
    height:17px;
  }
}


/* V2.4 — approved header refinement + mobile social behavior. */
.topbar{
  position:fixed !important;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(20,17,15,.34) !important;
  border-bottom:1px solid rgba(235,222,199,.07) !important;
  box-shadow:none !important;
  backdrop-filter:blur(10px) saturate(110%) !important;
  -webkit-backdrop-filter:blur(10px) saturate(110%) !important;
}
.topbar .brand-name{
  font-size:13px !important;
}
.topbar nav a{
  font-size:11px !important;
}
.imdb-text-link{
  font-size:12px !important;
}
.instagram-svg{
  width:19px !important;
  height:19px !important;
}
@media(max-width:800px){
  .header-socials{
    display:none !important;
  }
}

.mobile-footer-socials{display:none;}
@media(max-width:800px){
  .mobile-footer-socials{
    display:flex;
    width:100%;
    justify-content:space-between;
    align-items:center;
    margin-top:14px;
    padding-top:12px;
    border-top:1px solid rgba(235,222,199,.08);
  }
  .mobile-footer-socials a{
    color:inherit;
    text-decoration:none;
    opacity:.74;
    font-size:11px;
  }
}

/* V2.6 — REBORN watch button */
.external-link-card{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 18px;
  border:1px solid rgba(235,222,199,.26);
  border-radius:999px;
  color:inherit;
  text-decoration:none;
  font-size:12px;
  letter-spacing:.02em;
}
.external-link-card:hover{border-color:rgba(235,222,199,.58);}


/* V2.7 — REBORN stills crop to consistent presentation without black side bars. */
.reborn-uniform-still{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:center;
}


/* V2.9 — restrained visual cleanup. Approved project content remains unchanged. */
.project-page .gallery-section img,
.project-page .project-main-image{
  height:auto;
}
.project-page .gallery-section{
  margin-top:clamp(28px,4vw,52px);
}
.project-page .gallery-continuation{
  margin-top:clamp(14px,2vw,24px);
}
.project-page .project-summary,
.project-page .status-block{
  margin-top:clamp(34px,5vw,60px);
}
.project-card img,
.project-page img.rounded-media{
  display:block;
}

/* Keep the approved fixed translucent navigation treatment. */
.topbar{
  background:rgba(20,17,15,.34) !important;
  border-bottom:1px solid rgba(235,222,199,.07) !important;
  box-shadow:none !important;
  backdrop-filter:blur(10px) saturate(110%) !important;
  -webkit-backdrop-filter:blur(10px) saturate(110%) !important;
}

@media(min-width:801px){
  .topbar .brand-name{font-size:13px !important;}
  .topbar nav a{font-size:11px !important;}
  .imdb-text-link{font-size:12px !important;}
  .instagram-svg{width:19px !important;height:19px !important;}
}

@media(max-width:800px){
  .header-socials{display:none !important;}
}


.imdb-text-link{
    font-size:9px !important;
  }
  .instagram-svg{
    width:15px !important;
    height:15px !important;
  }
}


/* Navigation refinement: slightly larger, wider-feeling and a touch bolder,
   while remaining understated. */
.topbar nav a{
  font-size:12px;
  font-weight:600;
  letter-spacing:.018em;
}

/* Mobile: keep social links out of the header and show icon-only links at the bottom. */
@media(max-width:800px){
  .header-socials{
    display:none !important;
  }

  .topbar nav a{
    font-size:11px;
    font-weight:600;
    letter-spacing:.015em;
  }

  .mobile-footer-socials{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    width:100%;
    margin-top:14px;
  }

  .mobile-social-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:inherit;
    text-decoration:none;
    opacity:.9;
    line-height:0;
  }

  .mobile-social-svg{
    display:block;
    height:18px;
    width:auto;
  }

  .mobile-social-icon .instagram-svg{
    width:18px;
    height:18px;
  }

  .mobile-social-icon .imdb-svg{
    width:34px;
    height:18px;
  }
}


/* Mobile footer final layout:
   EGOR EPISHOV — centered social icons — NEW YORK, all on one line. */
@media(max-width:800px){
  footer{
    border-top:none !important;
    display:grid !important;
    grid-template-columns:1fr auto 1fr !important;
    align-items:center !important;
    gap:12px !important;
    padding:22px var(--pad) 26px !important;
    text-align:initial !important;
  }

  footer > span:first-child{
    grid-column:1;
    justify-self:start;
    text-align:left;
  }

  footer > span:nth-child(2){
    grid-column:3;
    justify-self:end;
    text-align:right;
  }

  .mobile-footer-socials{
    grid-column:2;
    grid-row:1;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:14px !important;
    width:auto !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
  }

  .mobile-social-icon{
    width:20px !important;
    height:20px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    color:inherit !important;
    opacity:.82 !important;
    line-height:0 !important;
  }

  .mobile-social-svg,
  .mobile-social-icon .instagram-svg,
  .mobile-social-icon .film-svg{
    width:20px !important;
    height:20px !important;
    display:block !important;
  }
}


/* Social crawler fallback: first image in homepage DOM, visually hidden. */
.social-preview-fallback{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  opacity:.001 !important;
  pointer-events:none !important;
  overflow:hidden !important;
  left:-9999px !important;
  top:0 !important;
}

/* Project pages — tighter, more editorial vertical rhythm. */
.project-page .compact-project-hero + .project-summary{
  margin-top:12px !important;
  padding-top:38px !important;
  padding-bottom:48px !important;
}

.project-page .gallery-section{
  padding-top:50px !important;
}

.project-page .gallery-continuation{
  padding-top:12px !important;
}

.project-page .role-summary{
  margin-top:46px !important;
}

.project-page .project-summary,
.project-page .status-block{
  margin-top:28px;
}

/* Stronger but still restrained section titles:
   WHAT IT'S ABOUT / SELECTED STILLS / MY ROLE / STATUS / WATCH etc. */
.project-page main > section:not(.project-hero):not(.next-project) .eyebrow{
  font-size:10px !important;
  font-weight:650 !important;
  letter-spacing:.13em !important;
  line-height:1.35 !important;
}

/* Slightly smoother, airier paragraph typography on project pages. */
.project-page .compact-copy .summary-copy p{
  font-size:clamp(15px,1.45vw,19px) !important;
  line-height:1.62 !important;
  letter-spacing:-.006em !important;
  font-weight:430 !important;
}

@media(max-width:800px){
  .project-page .compact-project-hero + .project-summary{
    margin-top:6px !important;
    padding-top:28px !important;
    padding-bottom:36px !important;
  }

  .project-page .gallery-section{
    padding-top:38px !important;
  }

  .project-page .role-summary{
    margin-top:34px !important;
  }

  .project-page .project-summary,
  .project-page .status-block{
    margin-top:20px;
  }

  .project-page main > section:not(.project-hero):not(.next-project) .eyebrow{
    font-size:10px !important;
    font-weight:650 !important;
    letter-spacing:.12em !important;
  }

  .project-page .compact-copy .summary-copy p{
    font-size:15px !important;
    line-height:1.6 !important;
    font-weight:430 !important;
  }
}
