:root{
  --bg:#c53770;
  --ink:#f0cce0;
  --pad:clamp(.75rem,1.1vw,1.1rem);
  --display:'Anton','Impact',sans-serif;
  --text:'Barlow Condensed','Arial Narrow',sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{background:var(--bg);color:var(--ink);font-family:var(--text);-webkit-font-smoothing:antialiased;overflow-x:hidden}
::selection{background:var(--ink);color:var(--bg)}
a{color:inherit;text-decoration:none}
ul{list-style:none}

/* nothing shows until the script has set up the opener */
html.js .hero{visibility:hidden}
html.js.ready .hero{visibility:visible}

/* ================= OPENER ================= */
#opener{position:fixed;inset:0;z-index:50;pointer-events:none;overflow:hidden}
.dot{position:fixed;left:50%;top:50%;width:5px;height:5px;margin:-2.5px 0 0 -2.5px;border-radius:50%;background:var(--ink);opacity:0}
.line{position:fixed;left:50%;top:50%;width:170px;height:2px;margin:-1px 0 0 -85px;background:var(--ink);transform:scaleX(0);opacity:0}
.logo-wrap{position:fixed;left:50%;top:50%;width:132px;opacity:0;visibility:hidden}
.strip{position:fixed;left:50%;top:50%;display:flex;align-items:center;gap:var(--gap,10px);opacity:0}
.sp{flex:none;background:#a82c5e center/cover no-repeat;opacity:0}

/* the logo: an eye with lashes, wordmark under it */
.logo{display:block;width:100%;color:var(--ink)}
.logo svg{display:block;width:100%;height:auto;overflow:visible}
.logo .lid{fill:none;stroke:currentColor;stroke-linecap:round}
.logo .lid-up{stroke-width:3.6}
.logo .lid-lo{stroke-width:2}
.logo .iris{fill:none;stroke:currentColor;stroke-width:2.4}
.logo .pupil{fill:currentColor}
.logo .lash{stroke:currentColor;stroke-width:2.6;stroke-linecap:round}
.logo .wm{display:flex;justify-content:center;gap:.16em;margin-top:.5em;overflow:hidden;font-family:var(--display);font-size:1.15rem;line-height:1.1;letter-spacing:.16em;text-indent:.16em}
.logo .wm span{display:inline-block}

/* ================= HERO ================= */
.hero{position:relative;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;padding:0 var(--pad);overflow:hidden}

.title{font-family:var(--display);font-weight:400;text-transform:uppercase;white-space:nowrap;line-height:.9;letter-spacing:.003em;display:inline-block;align-self:flex-start;margin:.1em 0 0;font-size:min(30vw,360px)}
.title .wd{display:inline-block;white-space:nowrap}
.title .ln{display:inline-block;overflow:hidden;vertical-align:top;padding:.06em 0 .04em;margin:-.06em 0 -.04em}
.title .ch{display:inline-block;will-change:transform}
.title.stack{display:block}
.title.stack .wd{display:block}

/* small three-column info row under the name */
.info{display:grid;grid-template-columns:1.5fr 1.05fr 1fr auto;gap:1.2rem;margin-top:.85rem;font-size:clamp(12px,.9vw,14px);font-weight:600;letter-spacing:.03em;text-transform:uppercase;line-height:1.2}
.info .lbl{display:block;margin-bottom:.45rem;font-weight:700}
.info .lbl::before{content:"";display:inline-block;width:.95em;height:.95em;margin-right:.5em;background:#fff;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);vertical-align:-.1em;animation:starspin 9s linear infinite}
@keyframes starspin{to{transform:rotate(360deg)}}
.col-info p{max-width:25rem}
.col-services li{display:flex;gap:.9rem;max-width:12.5rem}
.col-services li span{flex:1}
.col-services li i{font-style:normal;font-feature-settings:'tnum'}
.col-services li i::before{content:"$"}
.col-nav nav{display:flex;flex-direction:column;align-items:flex-start;gap:.1rem}
.col-nav a{padding:.05em .2em;margin:0 -.2em;transition:background .2s,color .2s}
.col-nav a:hover{background:var(--ink);color:var(--bg)}
.col-year{text-align:right}

/* bottom centre: logo, portrait, captions either side */
.foot{margin-top:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:1rem;padding-bottom:var(--pad)}
.cap{font-size:clamp(12px,1.4vw,26px);font-weight:700;letter-spacing:.01em;text-transform:uppercase;line-height:1.02}
.cap-b{grid-column:1/-1;text-align:center;margin-top:-.05em}
.foot{row-gap:.15rem}
.cap-l{text-align:right}
.cap-r{text-align:left}
.center{display:flex;flex-direction:column;align-items:center;gap:.7rem}
.logo-slot{display:block;width:clamp(64px,6.4vw,130px)}
.logo-slot .wm{font-size:.62rem}
.portrait{width:clamp(64px,6.4vw,130px);aspect-ratio:4/5;overflow:hidden;background:#a82c5e}
.portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 38%}


/* ================= SCROLL STORY: the photo grows, then "The Work" ================= */
.hero.pinned{position:fixed;inset:0;z-index:1}
.scroll-space{width:1px;pointer-events:none}
.grow{position:fixed;z-index:30;overflow:hidden;background:#a82c5e;visibility:hidden;pointer-events:none}
.grow img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 38%}
.grow-logo{position:fixed;z-index:35;margin:0;pointer-events:none;visibility:hidden;transform-origin:50% 50%;color:#fff;filter:drop-shadow(0 2px 14px rgba(60,0,30,.35))}
.wall{position:fixed;inset:0;z-index:40;overflow:hidden;visibility:hidden;--wall-a:0}
.wall::before{content:"";position:absolute;inset:0;background:var(--bg);opacity:var(--wall-a)}
.wall-inner{position:relative;padding:clamp(4.5rem,9vw,8rem) var(--pad) var(--pad);will-change:transform}
.wall-cols{display:flex;gap:var(--wgap,clamp(18px,2.6vw,44px));align-items:flex-start}
.wall-col{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:var(--wgap,clamp(18px,2.6vw,44px))}
.tile{margin:0;overflow:hidden;border-radius:3px;background:#a82c5e;opacity:0;will-change:transform,opacity}
.tile{min-height:0}
.tile img{display:block;width:100%;height:100%;object-fit:cover}
.wall-title{position:absolute;z-index:2;left:0;top:0;margin:0;padding:var(--pad);font-family:var(--display);font-weight:400;text-transform:uppercase;line-height:1;letter-spacing:.01em;font-size:clamp(28px,3.4vw,56px);display:flex;align-items:center;gap:.4em;cursor:pointer;opacity:0;pointer-events:auto}
.wall-title i{display:inline-block;width:.7em;height:.7em;background:#fff;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);animation:starspin 9s linear infinite}

/* ================= SMALL SCREENS ================= */
@media (max-width:760px){
  .info{grid-template-columns:1fr 1fr;gap:1rem .8rem;font-size:12px}
  .col-info{grid-column:1 / -1}
  .col-year{grid-column:1 / -1;text-align:left}
  .foot{grid-template-columns:1fr auto 1fr;column-gap:.6rem}
  .cap{font-size:clamp(11px,3.4vw,16px)}
  .portrait{width:clamp(96px,28vw,140px)}
  .logo-slot{width:56px}
}
@media (prefers-reduced-motion:reduce){ .col-nav a{transition:none} .info .lbl::before,.wall-title i{animation:none} }
