:root{
  --bg:#0A0A0A;
  --bg-alt:#111111;
  --text:#F5F5F5;
  --text-dim:#8A8A8E;
  --text-faint:#4C4C4F;
  --line:#1E1E1E;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',-apple-system,'SF Pro Display',Helvetica,Arial,sans-serif;
  font-weight:300;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
::selection{ background:var(--text); color:var(--bg); }
a{ color:inherit; }
img{ display:block; max-width:100%; }

/* NAV */
nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:36px 7%;
  position:relative;
  z-index:20;
}
.nav-mark{ font-size:14px; font-weight:500; letter-spacing:.02em; text-decoration:none; }
.nav-links{ display:flex; gap:44px; }
.nav-links a{
  color:var(--text-dim);
  text-decoration:none;
  font-size:13px;
  letter-spacing:.03em;
  font-weight:400;
  transition:color .25s;
}
.nav-links a:hover{ color:var(--text); }

/* HERO */
.hero{
  min-height:92vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:0 7%;
  position:relative;
  overflow:hidden;
  margin-top:-96px;
  padding-top:96px;
}
.hero-bg{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.hero-bg video{
  position:absolute; top:50%; left:50%;
  min-width:100%; min-height:100%;
  width:auto; height:auto;
  transform:translate(-50%,-50%);
  object-fit:cover;
  filter:grayscale(.6) contrast(1.05) brightness(.55);
  z-index:1;
}
.hero-bg .placeholder-motion{
  position:absolute; inset:0;
  z-index:0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(255,255,255,0.05), transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 65%, rgba(255,255,255,0.04), transparent 60%),
    #0d0d0d;
  animation:driftbg 12s ease-in-out infinite;
}
@keyframes driftbg{
  0%,100%{ transform:scale(1) translate(0,0); }
  50%{ transform:scale(1.04) translate(-1%,1%); }
}
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.75) 55%, var(--bg) 100%);
  z-index:1;
}
.hero > *:not(.hero-bg):not(.hero-overlay){ position:relative; z-index:2; }

.eyebrow{
  font-size:12px;
  color:var(--text-faint);
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:28px;
  font-weight:500;
}
.hero h1{
  font-weight:200;
  font-size:clamp(48px,8.5vw,118px);
  line-height:1.02;
  letter-spacing:-.03em;
  max-width:16em;
}
.hero h1 b{ font-weight:500; }
.tw-cursor{
  display:inline-block;
  width:.05em;
  height:.85em;
  background:var(--text);
  margin-left:3px;
  vertical-align:-0.08em;
  animation:tw-blink 1s step-end infinite;
}
@keyframes tw-blink{ 50%{ opacity:0; } }
.tags{
  margin-top:28px;
  font-size:clamp(15px,1.6vw,18px);
  color:var(--text-dim);
  font-weight:300;
  letter-spacing:.01em;
}
.tags b{ color:var(--text); font-weight:400; }

.cta-row{ display:flex; align-items:center; gap:28px; margin-top:52px; flex-wrap:wrap; }
.btn{
  font-size:13px;
  letter-spacing:.02em;
  font-weight:500;
  padding:15px 30px;
  border-radius:100px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:opacity .25s, transform .25s;
  border:none;
  cursor:pointer;
}
.btn-solid{ background:var(--text); color:var(--bg); }
.btn-solid:hover{ opacity:.85; transform:translateY(-1px); }
.btn-ghost{ color:var(--text-dim); background:none; }
.btn-ghost:hover{ color:var(--text); }

/* SECTIONS */
section{ padding:140px 7%; position:relative; }
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:72px;
  padding-bottom:24px;
  border-bottom:1px solid var(--line);
}
.section-head h2{ font-weight:300; font-size:clamp(30px,4vw,46px); letter-spacing:-.02em; }
.section-num{ font-size:12px; color:var(--text-faint); letter-spacing:.05em; }

.section-head-center{
  justify-content:center;
}
.section-head-center h2{
  font-weight:700;
}

/* WORK GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:0;
  width:100%;
}
.frame{
  position:relative;
  background:var(--bg);
  cursor:pointer;
  overflow:hidden;
  text-decoration:none;
  display:block;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.frame-thumb{
  aspect-ratio:9/16;
  background:linear-gradient(135deg, #1a1a1a, #0d0d0d);
  display:flex; align-items:center; justify-content:center;
  position:relative;
  filter:grayscale(1) contrast(1.02);
  transition:filter .5s ease;
}
.frame-thumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.frame-thumb iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; filter:none; }
.frame:hover .frame-thumb{ filter:grayscale(.15) contrast(1.05); }
.frame-thumb.has-embed{ filter:none; }
.frame:hover .frame-thumb.has-embed{ filter:none; }
.play-icon{
  width:46px; height:46px;
  border:1px solid rgba(245,245,245,0.35);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  opacity:0; transform:scale(.92);
  transition:opacity .3s, transform .3s;
  position:relative; z-index:1;
}
.frame:hover .play-icon{ opacity:1; transform:scale(1); }
.play-icon::after{
  content:"";
  border-left:9px solid var(--text);
  border-top:5px solid transparent;
  border-bottom:5px solid transparent;
  margin-left:3px;
}
.frame-info{ padding:22px 26px 30px; }
.frame-cat{ font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); margin-bottom:10px; display:block; }
.frame-title{ font-size:18px; font-weight:700; margin-bottom:6px; color:var(--text); text-align:center; }
.frame-desc{ font-size:13px; color:var(--text-dim); font-weight:300; }

/* ABOUT */
.about{
  display:grid;
  grid-template-columns:.7fr 1fr .8fr;
  gap:64px;
  align-items:start;
}
@media (max-width:900px){ .about{ grid-template-columns:1fr; gap:48px; } }
.about-photo{
  aspect-ratio:4/5;
  background:linear-gradient(160deg,#1c1c1c,#0d0d0d);
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.about-photo img{ width:100%; height:100%; object-fit:cover; filter:grayscale(1) contrast(1.05); }
.about-photo .ph-label{ font-size:12px; color:var(--text-faint); letter-spacing:.05em; text-align:center; padding:0 20px; }
.about-bio p{ font-size:clamp(20px,2.6vw,28px); line-height:1.5; color:var(--text); font-weight:200; letter-spacing:-.01em; }
.about-bio p + p{ margin-top:26px; color:var(--text-dim); font-size:15px; font-weight:300; line-height:1.6; }
.stat-list{ display:flex; flex-direction:column; }
.stat-row{ display:flex; justify-content:space-between; gap:16px; padding:20px 0; border-bottom:1px solid var(--line); font-size:13px; font-weight:300; }
.stat-row span:first-child{ color:var(--text-faint); letter-spacing:.05em; text-transform:uppercase; font-size:11px; white-space:nowrap; }
.stat-row span:last-child{ color:var(--text); text-align:right; }

/* CONTACT */
.contact{ border-top:1px solid var(--line); }
.contact h2{ font-weight:200; font-size:clamp(40px,7.5vw,96px); line-height:1.02; letter-spacing:-.03em; }
.contact-row{ display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:40px; margin-top:52px; }
.contact-desc{ max-width:340px; color:var(--text-dim); font-size:15px; font-weight:300; line-height:1.6; }
.contact-links{ display:flex; gap:32px; flex-wrap:wrap; }
.contact-links a{
  color:var(--text-dim);
  text-decoration:none;
  font-size:13px;
  letter-spacing:.02em;
  border-bottom:1px solid transparent;
  padding-bottom:2px;
  transition:color .25s, border-color .25s;
}
.contact-links a:hover{ color:var(--text); border-color:var(--text); }

footer{
  padding:32px 7%;
  display:flex;
  justify-content:space-between;
  font-size:11px;
  color:var(--text-faint);
  letter-spacing:.04em;
  border-top:1px solid var(--line);
  flex-wrap:wrap;
  gap:10px;
}

.site-toast{
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translate(-50%, 12px);
  background:var(--text);
  color:var(--bg);
  font-size:13px;
  font-weight:500;
  padding:12px 22px;
  border-radius:100px;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s, transform .25s;
  z-index:50;
}
.site-toast.show{
  opacity:1;
  transform:translate(-50%, 0);
}
