/* The modeling page, dressed like the Pilates site and quickbio: the same bar,
   type, colors, and theme switch. One rule is its own: nothing touches the
   photos. No scanlines over them, no pixel effects, and nothing that waits for
   a hover. Whoever is deciding on a booking sees every picture, in full color,
   just by scrolling. */
:root{
  --ground:#0b0c0c; --panel:#121415; --rule:#232728; --ink:#eef1f0; --dim:#8b9396;
  --teal:#00a7d3; --teal-ink:#00a7d3; --on-teal:#061013;
  --display:"Big Shoulders Display","Arial Narrow",Impact,sans-serif;
  --serif:"Instrument Serif",Georgia,"Times New Roman",serif;
  --sans:"Geist",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --mono:"Geist Mono",ui-monospace,"SF Mono",Menlo,monospace;
  --pix:"Silkscreen","Geist Mono",ui-monospace,monospace;
  /* the family's fine vertical lines, here only on the page behind the photos */
  --texture:repeating-linear-gradient(90deg,rgba(255,255,255,.024) 0 1px,transparent 1px 3px);
  --cur-arrow:-webkit-image-set(url("../assets/img/cursors/arrow.png") 1x,url("../assets/img/cursors/arrow@2x.png") 2x) 1 1,url("../assets/img/cursors/arrow.png") 1 1;
  --cur-hand:-webkit-image-set(url("../assets/img/cursors/hand.png") 1x,url("../assets/img/cursors/hand@2x.png") 2x) 5 1,url("../assets/img/cursors/hand.png") 5 1;
  --cur-loupe:-webkit-image-set(url("../assets/img/cursors/loupe.png") 1x,url("../assets/img/cursors/loupe@2x.png") 2x) 6 6,url("../assets/img/cursors/loupe.png") 6 6;
  --gut:clamp(16px,5vw,56px);
  color-scheme:dark;
}
/* light mode: the original site's warm off-white, same as the Pilates site */
:root[data-theme="light"]{
  --ground:#f3f4ef; --panel:#eaebe5; --rule:#d6d8d0; --ink:#1a1a1a; --dim:#55595c;
  --teal-ink:#006a86;
  --texture:repeating-linear-gradient(90deg,rgba(12,12,15,.045) 0 1px,transparent 1px 3px);
  color-scheme:light;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
body{margin:0; background:var(--texture),var(--ground); color:var(--ink); font-family:var(--sans);
  font-size:16px; line-height:1.55; overflow-x:hidden; cursor:var(--cur-arrow),auto}
a,button{cursor:var(--cur-hand),pointer}
.shot,.shot *{cursor:var(--cur-loupe),zoom-in}
:focus-visible{outline:2px solid var(--teal-ink); outline-offset:3px}
img,video{display:block; max-width:100%}

/* ---------- chrome bar: the same bar as the Pilates site ---------- */
.bar{position:fixed; top:0; left:0; right:0; z-index:70;
  display:flex; align-items:center; gap:16px;
  padding:env(safe-area-inset-top,0px) clamp(16px,3vw,28px) 0; height:calc(36px + env(safe-area-inset-top,0px));
  font-family:var(--pix); font-size:10px; letter-spacing:.05em; color:var(--dim);
  background:color-mix(in srgb,var(--ground) 86%,transparent); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--rule)}
.bar a{color:var(--dim); text-decoration:none; transition:color .2s}
.bar a:hover{color:var(--ink)}
.mark{display:flex; color:var(--ink)}
.mark svg{width:12px; height:15px; display:block}
.brand{color:var(--ink)}
.links{display:flex; gap:16px}
.bar .right{margin-left:auto; display:flex; align-items:center; gap:12px}
.clock{font-family:var(--mono); font-size:10px; font-variant-numeric:tabular-nums}
.themetog{display:inline-flex; align-items:center; gap:6px; padding:3px 7px; line-height:1;
  font-family:var(--pix); font-size:9px; letter-spacing:.06em; color:var(--dim);
  background:var(--panel); border:1px solid var(--rule); border-radius:3px}
.themetog:hover{color:var(--ink)}
.themetog .sw{width:14px; height:7px; position:relative; background:var(--rule); border-radius:1px}
.themetog .sw::after{content:""; position:absolute; top:1px; left:1px; width:5px; height:5px;
  background:var(--ink); transition:transform .2s}
:root[data-theme="light"] .themetog .sw{background:var(--teal-ink)}
:root[data-theme="light"] .themetog .sw::after{transform:translateX(7px)}
@media (max-width:720px){.links,.brand{display:none}}

/* ---------- shared pieces ---------- */
.eyebrow{margin:0 0 14px; font-family:var(--mono); font-size:11px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--dim)}
.br{font-family:var(--pix); font-size:10px; color:var(--teal-ink); margin-right:6px}
.ctas{display:flex; flex-wrap:wrap; gap:12px}
.btn{display:inline-flex; align-items:center; gap:10px; padding:13px 20px; text-decoration:none;
  font-family:var(--mono); font-size:12px; font-weight:500; letter-spacing:.12em; text-transform:uppercase;
  border:1px solid var(--teal); transition:transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, background .18s}
.btn.fill{background:var(--teal); color:var(--on-teal);
  box-shadow:4px 4px 0 color-mix(in srgb,var(--teal) 32%,transparent)}
.btn.fill:hover{transform:translate(-2px,-2px); box-shadow:7px 7px 0 color-mix(in srgb,var(--teal) 40%,transparent)}
.btn.line{background:transparent; color:var(--teal-ink); border-color:var(--teal-ink)}
.btn.line:hover{background:color-mix(in srgb,var(--teal) 12%,transparent)}

/* ---------- hero: the behind-the-scenes clips, side by side ---------- */
.hero{position:relative; height:min(100svh,980px); min-height:560px; overflow:hidden; background:#000; color:#eef1f0}
.wall{position:absolute; inset:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:2px}
/* the original page's opening: each strip wipes down to the bottom of the
   screen, one after another, and the name rises in once they're up */
.wall video{width:100%; height:100%; object-fit:cover;
  clip-path:inset(0 0 100% 0); animation:stripReveal 1.2s cubic-bezier(.16,1,.3,1) forwards}
.wall video:nth-child(2){animation-delay:.14s}
.wall video:nth-child(3){animation-delay:.28s}
.wall video:nth-child(4){animation-delay:.42s}
@keyframes stripReveal{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
.hero-text > *{opacity:0; animation:riseIn .9s cubic-bezier(.16,1,.3,1) .85s forwards}
@keyframes riseIn{from{opacity:0; transform:translateY(18px)}to{opacity:1; transform:none}}
/* the name sits centered on the clips, with a shade behind it so it stays
   legible over any frame, and a lighter one under the bar */
.hero::after{content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(ellipse 60% 55% at 50% 50%,rgba(0,0,0,.62),rgba(0,0,0,.28) 70%,rgba(0,0,0,.18)),
             linear-gradient(180deg,rgba(0,0,0,.45),transparent 16%)}
.hero-text{position:absolute; z-index:2; inset:0; display:flex; flex-direction:column; align-items:center;
  justify-content:center; text-align:center; padding:calc(36px + env(safe-area-inset-top,0px)) var(--gut) 0}
.hero-text .ctas{justify-content:center}
.hero .eyebrow{color:rgba(238,241,240,.78)}
.hero .br{color:var(--teal)}
.name{margin:0 0 16px; font-family:var(--display); font-weight:800; text-transform:uppercase;
  font-size:clamp(64px,12vw,168px); line-height:.84; letter-spacing:-.01em; color:#eef1f0; text-wrap:balance}
.name em{display:block; font-family:var(--serif); font-style:italic; font-weight:400; text-transform:none;
  font-size:1.16em; line-height:.8; letter-spacing:-.02em; color:var(--teal)}
.worked{margin:0 0 24px; font-family:var(--mono); font-size:12px; letter-spacing:.12em; text-transform:uppercase;
  color:rgba(238,241,240,.85); text-wrap:balance}
.hero .btn.line{color:#eef1f0; border-color:rgba(238,241,240,.6)}
.hero .btn.line:hover{background:rgba(238,241,240,.12)}
/* all four strips stay on a phone, held upright, with hairline gaps */
@media (max-width:480px){.wall{gap:1px}}

/* ---------- the work: every photo on the page, laid out by modeling.js ---------- */
.work{max-width:1352px; margin:0 auto; padding:clamp(64px,10vh,110px) var(--gut) 0}
.client{margin-bottom:clamp(64px,10vh,110px)}
.client-head{margin-bottom:24px}
.client-head h2,.contact h2{margin:0 0 10px; font-family:var(--display); font-weight:800; text-transform:uppercase;
  font-size:clamp(44px,6.4vw,84px); line-height:.9; letter-spacing:-.005em; text-wrap:balance}
.credit{margin:0; font-family:var(--mono); font-size:11.5px; letter-spacing:.06em; color:var(--dim)}
.credit a{color:var(--ink); text-decoration:none; border-bottom:1px solid var(--rule); transition:color .2s, border-color .2s}
.credit a:hover{color:var(--teal-ink); border-color:var(--teal-ink)}
.col + .col{margin-top:40px}
.col-label{margin:0 0 14px; font-family:var(--mono); font-size:11px; font-weight:400; letter-spacing:.14em;
  text-transform:uppercase; color:var(--dim)}
.grid{display:flex; align-items:flex-start; gap:12px}
.gcol{flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:12px}
.shot{position:relative; display:block; width:100%; margin:0; padding:0; border:0; background:var(--panel)}
.shot img,.shot video{width:100%; height:auto; background:var(--panel)}
.shot:focus-visible{outline-offset:2px}
/* marks a clip as behind-the-scenes footage; always shown, never on hover */
.tag{position:absolute; top:10px; left:10px; padding:4px 7px; line-height:1;
  font-family:var(--pix); font-size:9px; letter-spacing:.06em; color:#eef1f0;
  background:rgba(0,0,0,.55); border:1px solid rgba(238,241,240,.25)}
@media (max-width:560px){.grid,.gcol{gap:8px}}

/* ---------- contact ---------- */
.contact{max-width:1352px; margin:0 auto; padding:clamp(56px,9vh,96px) var(--gut); border-top:1px solid var(--rule)}
.lede{margin:0 0 22px; max-width:56ch; color:var(--dim); font-size:clamp(15px,1.4vw,17px)}
.addr-row{display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:0 0 24px}
.addr-row code{font-family:var(--mono); font-size:14px; color:var(--ink); user-select:all;
  padding:7px 10px; border:1px solid var(--rule); background:var(--panel)}
.copy{font-family:var(--pix); font-size:9px; letter-spacing:.06em; padding:8px 10px; color:var(--dim);
  background:none; border:1px solid var(--rule)}
.copy:hover{color:var(--ink); border-color:var(--dim)}

.foot{max-width:1352px; margin:0 auto; display:flex; flex-wrap:wrap; justify-content:space-between; gap:18px;
  align-items:baseline; padding:30px var(--gut) calc(40px + env(safe-area-inset-bottom,0px));
  border-top:1px solid var(--rule); font-family:var(--pix); font-size:10px; letter-spacing:.05em; color:var(--dim)}
.foot-links{display:flex; flex-wrap:wrap; gap:18px}
.foot a{color:var(--ink); text-decoration:none}
.foot a:hover{color:var(--teal-ink)}

/* ---------- the viewer: the Pilates site's frame, opening instantly ---------- */
.lb{--ink:#eef1f0; --dim:#8b9396; --rule:#232728; --panel:#121415; --teal-ink:#00a7d3;
  position:fixed; inset:0; z-index:90; display:grid; place-items:center;
  padding:calc(58px + env(safe-area-inset-top,0px)) 16px calc(24px + env(safe-area-inset-bottom,0px));
  background:rgba(5,6,6,.94); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  color:var(--ink); touch-action:pinch-zoom}
.lb[hidden]{display:none}
.lb-fig{margin:0; display:flex; flex-direction:column; gap:14px}
.lb-screen{position:relative; overflow:hidden; background:#000 center / cover no-repeat;
  border:1px solid var(--rule); touch-action:pinch-zoom;
  box-shadow:0 0 0 6px var(--panel), 0 0 0 7px var(--rule), 0 30px 90px -30px color-mix(in srgb,var(--teal) 45%,transparent)}
.lb-media{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.lb-bar{display:flex; justify-content:space-between; align-items:center; gap:14px; min-width:0;
  font-family:var(--pix); font-size:9px; letter-spacing:.07em; color:var(--dim)}
.lb-bar #lbCap{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.lb-right{display:flex; align-items:center; gap:12px; flex:0 0 auto}
.lb-bar b{font-weight:400; font-family:var(--mono); font-size:10px; color:var(--teal-ink); font-variant-numeric:tabular-nums}
.lb-play{font-family:var(--pix); font-size:9px; letter-spacing:.06em; padding:5px 8px; color:var(--dim);
  background:none; border:1px solid var(--rule)}
.lb-play:hover{color:var(--ink); border-color:var(--dim)}
.lb-x,.lb-nav{position:absolute; display:grid; place-items:center; color:var(--dim);
  background:var(--panel); border:1px solid var(--rule); transition:color .2s, border-color .2s}
.lb-x:hover,.lb-nav:hover{color:var(--ink); border-color:var(--dim)}
.lb-x{top:calc(12px + env(safe-area-inset-top,0px)); right:clamp(12px,2vw,26px); width:38px; height:38px;
  font-family:var(--sans); font-size:22px; line-height:1}
.lb-nav{top:50%; width:46px; height:46px; margin-top:-23px; font-family:var(--mono); font-size:16px}
.lb-nav.prev{left:clamp(12px,2vw,26px)}
.lb-nav.next{right:clamp(12px,2vw,26px)}
@media (max-width:700px){
  .lb{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
  .lb-nav{top:auto; bottom:calc(20px + env(safe-area-inset-bottom,0px)); margin-top:0}
  .lb-nav.prev{left:calc(50% - 56px)}
  .lb-nav.next{right:calc(50% - 56px)}
}
body.lb-lock{overflow:hidden}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn{transition:none}
  .btn.fill:hover{transform:none}
  .wall video,.hero-text > *{animation:none; clip-path:none; opacity:1}
}
