/* ── Fonts: self-hosted Inter (variable weight axis, latin subset) ──
   'Inter Fallback' is Arial resized to Inter's metrics so text does not
   reflow when the real face swaps in. */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;
  src:url(/assets/fonts/inter-latin-var.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter Fallback';src:local('Arial');
  size-adjust:107.4%;ascent-override:90.2%;descent-override:22.48%;line-gap-override:0%}

:root{
  --black:#ffffff;--white:#333333;--warm:#3b3b3d;
  --mid:#ffffff;--light:#ffffff;
  --sans:'Inter','Inter Fallback','Helvetica Neue',Arial,sans-serif;
  --nav-h:68px;
  --ease:cubic-bezier(.25,.1,.25,1);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;background:#ffffff}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{background:#ffffff;color:#ffffff;font-family:var(--sans);font-weight:300;font-size:15px;line-height:1.7;-webkit-font-smoothing:antialiased}
img{display:block}
a{color:inherit;text-decoration:none}
button{font-family:var(--sans)}

/* ── SITE WIDTH CONSTRAINT ──
   On wide monitors, constrain content to 1440px centered.
   Backgrounds extend edge-to-edge via separate full-bleed rules. */
.site-wrap{width:100%;max-width:1440px;margin:0 auto;position:relative;box-shadow:0 0 40px rgba(0,0,0,.34);min-height:100vh;}

/* NAV */
nav{position:fixed;top:0;left:50%;transform:translateX(-50%);width:100%;max-width:1440px;z-index:200;height:var(--nav-h);
  display:flex;align-items:center;justify-content:space-between;padding:0 48px;
  background:rgba(51,51,51,.97);backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(0,0,0,.30);}
.nav-logo{cursor:pointer;font-size:22px;font-weight:300;letter-spacing:.18em;text-transform:uppercase;color:var(--black);white-space:nowrap}
.nav-logo .plus{font-weight:700}
.nav-links{display:flex;gap:36px;list-style:none}
.nav-links a{font-size:11px;font-weight:400;letter-spacing:.13em;text-transform:uppercase;color:#ffffff;opacity:.62;transition:opacity .2s;cursor:pointer}
.nav-links a:hover,.nav-links a.active{color:#ffffff;opacity:1}
.burger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:6px;border:none;background:none}
.burger span{display:block;width:22px;height:1.5px;background:var(--black);transition:transform .3s var(--ease),opacity .2s}
.burger.is-open span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.burger.is-open span:nth-child(2){opacity:0}
.burger.is-open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
html.menu-open{overflow:hidden}
.mobile-menu{display:none;position:fixed;inset:0;z-index:190;background:#333333;
  padding:calc(var(--nav-h) + 32px) 40px 40px;flex-direction:column;gap:28px}
.mobile-menu.open{display:flex}
.mobile-menu a{font-size:22px;font-weight:300;letter-spacing:.1em;text-transform:uppercase;
  color:var(--black);cursor:pointer;border-bottom:1px solid rgba(0,0,0,.30);padding-bottom:20px}

/* PAGES */
.page{display:block;padding-top:var(--nav-h);min-height:100vh}

/* ── HERO VIDEO ── */


/* ── HERO BLOCK (carousel + text, as one unit so mobile can stack them) ── */
.hero-block{position:relative;}

/* ── CAROUSEL ── */
.carousel-wrap{
  position:relative;
  background:var(--white);
  overflow:hidden;
}
.carousel-wrap.hero-size{height:calc(100vh - var(--nav-h));max-height:680px}
.carousel-wrap.proj-size{height:75vh;max-height:680px}

.carousel-track{
  display:flex;height:100%;width:100%;
  transition:transform .65s var(--ease);
  will-change:transform;
}
.carousel-slide{
  min-width:100%;height:100%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.carousel-slide img{
  max-width:100%;max-height:100%;
  width:auto;height:auto;
  object-fit:contain;display:block;
  user-select:none;-webkit-user-drag:none;
}

/* Arrows — always inside the carousel-wrap, vertically centered on the image area only */
.c-prev,.c-next{
  position:absolute;top:50%;transform:translateY(-50%);
  background:rgba(51,51,51,.65);
  border:1px solid rgba(232,232,230,.2);
  color:#ffffff;width:40px;height:40px;font-size:16px;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:background .2s;z-index:15;
}
.c-prev:hover,.c-next:hover{background:rgba(51,51,51,.9)}
.c-prev{left:16px}.c-next{right:16px}

.c-dots{
  position:absolute;bottom:5px;left:50%;transform:translateX(-50%);
  display:flex;align-items:center;z-index:15;
}
/* 6px dot drawn inside a 24px hit area (WCAG 2.5.8) */
.c-dot{position:relative;width:24px;height:24px;border:none;background:none;cursor:pointer;padding:0}
.c-dot::before{content:'';position:absolute;inset:9px;border-radius:50%;
  background:rgba(232,232,230,.3);transition:background .3s,transform .3s var(--ease)}
.c-dot.active::before{background:#e8e8e6;transform:scale(1.25)}
/* Galleries with more than 8 photos: a hairline progress bar instead of dots */
.c-dots.is-bar{bottom:0;left:0;right:0;transform:none;height:3px}
.c-bar{display:block;width:100%;height:3px;background:rgba(232,232,230,.18)}
.c-bar-fill{display:block;height:100%;background:#e8e8e6;transform-origin:left center;
  transition:transform .5s var(--ease)}
.c-count{
  position:absolute;bottom:14px;right:16px;
  font-size:10px;letter-spacing:.1em;color:#ffffff;z-index:15;
}

/* HERO TEXT — overlaid on desktop (absolute, inside hero-block but outside carousel-wrap
   so it never competes with the fixed-height/overflow:hidden carousel box).
   On mobile this switches to position:static and becomes a real sibling block below the image. */
.hero-text-overlay{
  position:absolute;bottom:0;left:0;right:auto;z-index:10;pointer-events:none;
  max-width:520px;
  background:rgba(51,51,51,.75);
  backdrop-filter:blur(4px);
  padding:12px 28px 14px;
}
.hero-text-overlay h1{
  font-size:clamp(14px,1.8vw,24px);font-weight:300;
  letter-spacing:-.01em;line-height:1.2;margin-bottom:5px;color:#ffffff;
}
.hero-text-overlay p{
  font-size:10px;letter-spacing:.16em;text-transform:uppercase;
  color:#ffffff;font-weight:500;
}

/* CRED STRIP */
.cred-strip{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:36px;
  padding:20px 56px;border-bottom:1px solid rgba(0,0,0,.30);background:#3b3b3d;
}
.cred-item{display:flex;align-items:center;gap:8px;
  font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--mid);font-weight:400;}
.cred-item svg{opacity:.5;flex-shrink:0}
.cred-item a{color:inherit;opacity:.72;border-bottom:1px solid transparent;transition:opacity .2s,border-color .2s}
.cred-item a:hover{color:#ffffff;opacity:1;border-color:rgba(255,255,255,.6)}

/* HOME INTRO */
.home-intro{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid rgba(0,0,0,.30)}
.home-intro-text{padding:72px 56px 72px 56px;display:flex;flex-direction:column;justify-content:center}
.home-intro-text h2{font-size:clamp(22px,2.6vw,36px);font-weight:300;font-style:italic;
  line-height:1.25;margin-bottom:22px;letter-spacing:-.01em;color:#ffffff}
.home-intro-text p{color:#ffffff;font-size:15px;line-height:1.85;margin-bottom:14px}
@media(max-width:600px){
  .home-intro-text h2{font-size:16.5px;margin-bottom:16.5px}
  .home-intro-text p{font-size:11.25px;margin-bottom:10.5px}
}
.btn-link{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:400;
  letter-spacing:.14em;text-transform:uppercase;color:var(--black);margin-top:14px;
  border-bottom:1px solid var(--black);padding-bottom:2px;
  transition:opacity .2s;width:fit-content;cursor:pointer;}
.btn-link:hover{opacity:.5}
.home-intro-img{overflow:hidden;min-height:460px}
.home-intro-img img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.home-intro-img:hover img{transform:scale(1.03)}

/* WORK PAGE */
.work-intro{padding:56px 56px 36px;border-bottom:1px solid rgba(0,0,0,.30)}
.work-intro p{max-width:520px}
.work-intro h1{font-size:40px;font-weight:300;margin-bottom:10px;letter-spacing:-.01em}
.work-intro p{color:#ffffff;font-size:14px;letter-spacing:.03em}
.work-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.work-item{border-right:1px solid rgba(0,0,0,.30);border-bottom:1px solid rgba(0,0,0,.30);
  cursor:pointer;overflow:hidden}
.work-item:nth-child(3n){border-right:none}
.work-item-img{aspect-ratio:3/2;overflow:hidden;background:#434343;position:relative;}
.work-item-img img{width:100%;height:100%;object-fit:contain;transition:transform .7s var(--ease);position:absolute;inset:0;}
.work-item:hover .work-item-img img{transform:scale(1.03)}
.work-item-info{padding:14px 18px;display:flex;align-items:baseline;justify-content:space-between}
.work-item-info h3{font-size:11px;font-weight:500;letter-spacing:.12em;text-transform:uppercase}
.work-item-info span{font-size:12px;font-style:italic;color:var(--mid)}

/* PROJECT PAGE */
.proj-back{position:absolute;top:16px;left:20px;z-index:20;
  font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  color:#ffffff;background:rgba(51,51,51,.75);padding:6px 12px;
  display:flex;align-items:center;gap:8px;cursor:pointer;
  opacity:.85;transition:opacity .2s;}
.proj-back:hover{opacity:1}
/* Project body is full-width with NO outer padding so it aligns flush
   with the carousel above. The 260px meta col mirrors the carousel's left edge. */
.project-body{display:grid;grid-template-columns:400px 1fr;border-top:1px solid rgba(0,0,0,.30);width:100%}
.project-meta{padding:44px 56px;border-right:1px solid rgba(0,0,0,.30);position:sticky;top:var(--nav-h);align-self:start}
.project-meta h1{font-size:26px;font-weight:300;margin-bottom:24px;line-height:1.2;letter-spacing:-.01em;color:#ffffff}
.meta-item{margin-bottom:12px}
.meta-item:last-child{margin-bottom:0}
.meta-label{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#ffffff;display:block;line-height:1.3;margin-bottom:1px}
.meta-val{font-size:13px;color:#ffffff;line-height:1.3}
.project-desc{padding:44px 210px 44px 56px}
.project-desc p{font-size:15px;line-height:1.85;color:#ffffff;margin-bottom:18px}

/* ABOUT */
.about-hero{
  height:calc(100vh - var(--nav-h));max-height:760px;
  overflow:hidden;min-height:280px;
  background:var(--white);
  display:flex;align-items:center;justify-content:center;
}
.about-hero img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;}
/* Text overlay on about hero — identical positioning logic to home hero-text-overlay */
.about-text-overlay{
  position:absolute;bottom:0;left:0;z-index:10;pointer-events:none;
  max-width:520px;
  background:rgba(51,51,51,.75);
  backdrop-filter:blur(4px);
  padding:12px 28px 14px;
}
.about-text-overlay p.aname{font-size:clamp(14px,1.8vw,24px);font-weight:300;letter-spacing:-.01em;color:var(--black);margin-bottom:3px;line-height:1.2}
.about-text-overlay p.adeg{font-size:10px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:#ffffff;margin-bottom:2px}
.about-text-overlay p.atitle{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#ffffff}
.about-body{border-top:1px solid rgba(0,0,0,.30);padding:64px 56px 80px}
.about-cols{display:grid;grid-template-columns:1fr 1fr;gap:56px}
.about-cols p{font-size:15px;line-height:1.85;color:#ffffff;margin-bottom:22px;color:#ffffff}

/* PROCESS */
.process-intro{padding:72px 56px 48px;border-bottom:1px solid rgba(0,0,0,.30)}
.process-intro p{max-width:660px}
.process-intro h1{font-size:clamp(28px,3.5vw,44px);font-weight:300;line-height:1.15;margin-bottom:18px;letter-spacing:-.01em}
.process-intro p{font-size:15px;color:#ffffff;line-height:1.8}
.process-steps{display:grid;grid-template-columns:1fr 1fr}
.process-step{padding:44px 56px;border-right:1px solid rgba(0,0,0,.30);border-bottom:1px solid rgba(0,0,0,.30)}
.process-step:nth-child(2n){border-right:none}
.process-step:nth-child(n+3){border-bottom:none}
.step-num{font-size:60px;font-weight:200;color:var(--light);line-height:1;margin-bottom:14px}
.process-step h2{font-size:11px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px;color:#ffffff}
.process-step p{font-size:14px;color:#ffffff;line-height:1.8;margin-bottom:12px}

/* RECOGNITION */
.recog-intro{padding:72px 56px 48px;border-bottom:1px solid rgba(0,0,0,.30);
  display:grid;grid-template-columns:1fr auto;gap:56px;align-items:start}
.recog-intro p{max-width:580px}

/* ── Magazine cover (right side of Recognition) ──
   Cover image is embedded directly in this file as base64 - no external asset needed. */
.recog-covers{display:flex;align-items:flex-start;justify-content:flex-end;gap:26px;flex-wrap:wrap}
.recog-cover{margin:0;flex-shrink:0}
.recog-cover img{height:var(--cover-h,254px);width:auto;max-width:none}
.recog-cover a{display:block}
.recog-cover img{display:block;
  border:1px solid rgba(255,255,255,.14);
  transition:opacity .3s var(--ease)}
.recog-cover a:hover img{opacity:.82}
.recog-cover figcaption{margin-top:12px;font-size:10px;letter-spacing:.14em;
  text-transform:uppercase;color:#ffffff;opacity:.6;line-height:1.7}
.recog-intro h1{font-size:clamp(28px,3.5vw,44px);font-weight:300;margin-bottom:16px;letter-spacing:-.01em}
.recog-intro p{font-size:15px;color:#ffffff;line-height:1.8}
.recog-item{display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:36px;
  padding:28px 56px;border-bottom:1px solid rgba(0,0,0,.30);transition:background .2s;}
.recog-item:hover{background:#434343}
.recog-year{font-size:24px;font-weight:300;color:var(--light)}
.recog-details h3{font-size:14px;font-weight:400;margin-bottom:3px;color:#ffffff}
.recog-details span{font-size:12px;color:var(--mid)}
.recog-links{display:flex;align-items:center;gap:22px;justify-content:flex-end}
.recog-link{font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:#ffffff;opacity:.68;cursor:pointer;
  border-bottom:1px solid transparent;transition:opacity .2s,border-color .2s;white-space:nowrap}
.recog-link:hover{color:#ffffff;opacity:1;border-color:#ffffff}

/* CONTACT */
.contact-wrap{display:grid;grid-template-columns:1fr 1fr;min-height:calc(100vh - var(--nav-h))}
.contact-left{background:#4a4a4a;padding:64px 56px;display:flex;flex-direction:column;justify-content:space-between}
.contact-left h1{font-size:clamp(24px,3vw,40px);font-weight:300;color:#ffffff;line-height:1.15;margin-bottom:18px;letter-spacing:-.01em}
.contact-left>div>p{color:#ffffff;font-size:14px;line-height:1.8;max-width:360px}
.contact-casa-img{margin-top:28px;width:100%;overflow:hidden;}
.contact-casa-img img{width:100%;height:auto;display:block;opacity:.88;}
.contact-info{margin-top:40px}
.contact-row{margin-bottom:18px}
.contact-row-label{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#ffffff;margin-bottom:3px}
.contact-row-val{font-size:14px;color:#ffffff}
.contact-row-val a{transition:opacity .2s}
.contact-row-val a:hover{opacity:.6}
.contact-social{display:flex;gap:20px;margin-top:32px}
.contact-social a{font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  color:#ffffff;opacity:.7;border-bottom:1px solid transparent;
  transition:opacity .2s,border-color .2s;padding-bottom:2px}
.contact-social a:hover{color:#ffffff;opacity:1;border-color:rgba(255,255,255,.7)}
.contact-right{padding:64px 56px;display:flex;flex-direction:column;justify-content:center;background:#f0efed}
.contact-right h2{font-size:24px;font-weight:300;margin-bottom:32px;letter-spacing:-.01em;color:#434343}
.form-group{margin-bottom:22px}
.form-group label{display:block;font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#5a5a5a;margin-bottom:8px}
.form-group input,.form-group textarea,.form-group select{
  width:100%;background:transparent;border:none;border-bottom:1px solid rgba(0,0,0,.34);
  padding:10px 0;font-size:14px;font-family:var(--sans);font-weight:300;color:#3a3a3a;
  outline:none;transition:border-color .2s;appearance:none;}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:#3a3a3a}
.form-group textarea{resize:none;height:88px}
.form-submit{display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;background:#e8e8e6;color:var(--white);border:none;
  padding:14px 24px;font-size:11px;font-family:var(--sans);font-weight:400;
  letter-spacing:.14em;text-transform:uppercase;cursor:pointer;transition:opacity .2s;margin-top:8px;}
.form-submit:hover{opacity:.75}

.contact-right p,.contact-right input,.contact-right textarea,.contact-right select{color:#434343}
.contact-right input::placeholder,.contact-right textarea::placeholder{color:#aaa}
/* FOOTER */
footer{background:#262626;color:#ffffff;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;
  padding:18px 56px;font-size:11px;letter-spacing:.09em;text-transform:uppercase;}
footer a{color:inherit;opacity:.7;transition:opacity .2s}
footer a:hover{color:#ffffff;opacity:1}

/* ── TABLET ── */
@media(max-width:1024px){
  nav{padding:0 28px}
  .nav-links{display:none}
  .burger{display:flex}
  .hero-text-overlay{max-width:420px;padding:18px 22px}
  .hero-text-overlay h1{font-size:clamp(16px,3vw,28px)}
  .home-intro{grid-template-columns:1fr}
  .home-intro-img{min-height:300px}
  .home-intro-text{padding:48px 32px}
  .work-item:nth-child(3n){border-right:1px solid rgba(0,0,0,.30)}
  .work-item:nth-child(2n){border-right:none}
  .about-hero{height:calc(100vh - var(--nav-h));max-height:760px}
  .about-text-overlay{max-width:420px;padding:18px 22px}
  .about-body{padding:48px 32px 64px}
  .about-cols{grid-template-columns:1fr}
  .project-body{grid-template-columns:1fr}
  .project-meta{position:static;border-right:none;border-bottom:1px solid rgba(0,0,0,.30);padding:32px 32px}
  .project-desc{padding:32px 0 32px 32px}
  .process-steps{grid-template-columns:1fr}
  .process-step{border-right:none;padding:40px 32px}
  .process-step:nth-child(n+3){border-bottom:1px solid rgba(0,0,0,.30)}
  .process-step:last-child{border-bottom:none}
  .contact-wrap{grid-template-columns:1fr}
  .recog-item{grid-template-columns:64px 1fr;gap:16px;padding:24px 32px}
  .recog-link{display:none}
  .cred-strip{gap:18px;padding:16px 56px}
  .work-intro{padding:44px 32px}
  .process-intro{padding:48px 32px 40px}
  .recog-intro{padding:52px 32px 36px;grid-template-columns:1fr;gap:36px}
  .recog-covers{justify-content:flex-start;gap:22px}
  footer{padding:18px 28px}
  .contact-left{padding:48px 32px}
  .contact-right{padding:48px 32px}
}

/* ── MOBILE ── */
@media(max-width:600px){
  :root{--nav-h:56px}
  nav{padding:0 18px}
  .nav-logo{font-size:15px;letter-spacing:.04em}
  /* Carousel shrinks to natural image height on mobile */
  .carousel-wrap.hero-size{height:52vw;max-height:340px;min-height:180px}
  .carousel-wrap.proj-size{height:60vw;max-height:360px;min-height:180px}
  /* On mobile: text box BELOW carousel, not overlaid */
  .hero-text-overlay{padding:14px 20px;max-width:88%}
  .hero-text-overlay h1{font-size:14px;margin-bottom:4px}
  .hero-text-overlay p{font-size:10px}
  /* About hero text same treatment */
  .about-hero{height:52vw;max-height:340px;min-height:180px}
  .about-text-overlay{padding:14px 20px;max-width:88%}
  .about-text-overlay p.aname{font-size:13px}
  /* Arrows smaller on mobile */
  .c-prev,.c-next{width:32px;height:32px;font-size:13px}
  .c-prev{left:8px}.c-next{right:8px}
  /* Dots move up slightly */
  .c-dots{bottom:0}
  .c-count{bottom:8px;right:10px;font-size:9px}
  .work-grid{grid-template-columns:1fr}
  .work-item:nth-child(n){border-right:none}
  .home-intro-text{padding:36px 20px}
  .home-intro-img{min-height:240px}
  .process-step{padding:32px 20px}
  .project-meta{padding:24px 20px 20px}
  .project-desc{padding:24px 0 20px 20px}
  .recog-item{padding:18px 20px}
  .about-body{padding:32px 20px 56px}
  .about-cols{grid-template-columns:1fr}
  .cred-strip{gap:14px;padding:14px 56px}
  .cred-item{font-size:10px}
  .contact-left{padding:40px 20px}
  .contact-right{padding:40px 20px}
  footer{flex-direction:column;text-align:center;gap:8px;padding:18px 20px}
  .work-intro{padding:36px 20px 24px}
  .process-intro{padding:40px 20px 32px}
  .recog-intro{padding:40px 20px 28px;gap:28px}
  .recog-covers{gap:16px}
}

/* ── DARK THEME GLOBAL OVERRIDES ── */
/* Ensure all text is visible on dark backgrounds */
.page { background:#333333; }
.home-intro-text, .home-intro { background:#333333; }
.project-meta, .project-desc, .project-body { background:#333333; }
.process-intro, .process-step, .process-steps { background:#333333; }
.recog-intro, .recog-item { background:#333333; }
.work-intro, .work-grid { background:#333333; }
.about-body, .about-cols { background:#333333; }
h1, h2, h3 { color:#ffffff; }
.project-meta h1, .project-meta .meta-val { color:#ffffff; }
.process-step p, .recog-intro p { color:#ffffff; }
.work-intro h1 { color:#ffffff; }

/* ══ ENTRY SCREEN ══
   Timings live in the JS block at the bottom of this file (INTRO_TIMING).
   Name and tagline both fade up in Inter; the tagline trails by a beat. */
html.intro-lock,html.intro-lock body{overflow:hidden}
.intro{position:fixed;inset:0;z-index:9999;background:#333333;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:24px;text-align:center;cursor:pointer;
  transition:opacity 3s var(--ease)}
.intro.is-leaving{opacity:0;pointer-events:none}
.intro.is-gone{display:none}

.intro-name,.intro-line{opacity:0;transform:translateY(10px)}
.intro-name{font-size:clamp(17px,3.2vw,38px);font-weight:300;letter-spacing:.2em;
  text-transform:uppercase;color:#ffffff;line-height:1.35}
.intro-name .plus{font-weight:700}
.intro-line{margin-top:20px}
.intro-script{color:#ffffff;font-weight:300;
  font-size:clamp(14px,1.9vw,21px);letter-spacing:.07em;line-height:1.45;
  display:inline-block}

/* 3s fade-in. Both lines arrive together - over this long a fade a stagger
   reads as nothing. Change 3s in both rules to retime the fade itself. */
.intro.is-running .intro-name{animation:introUp 3s var(--ease) .2s forwards}
.intro.is-running .intro-line{animation:introUp 3s var(--ease) .2s forwards}
@keyframes introUp{to{opacity:1;transform:translateY(0)}}

.intro-skip{position:absolute;bottom:34px;left:0;right:0;
  font-size:9px;letter-spacing:.22em;text-transform:uppercase;color:#ffffff;
  opacity:0;transition:opacity .4s var(--ease)}
.intro.is-running .intro-skip{opacity:.28;transition-delay:1.6s}

@media(max-width:600px){
  .intro-line{margin-top:14px}
  .intro-skip{bottom:26px}
  /* Phone: the entry-screen title stays on ONE line at every screen width.
     The title is 22.7em wide at its tracking, so size = (screen - 40px margin) / 23.2.
     Capped at the size it already had at 600px. */
  .intro-name{white-space:nowrap;font-size:min(19.2px,calc((100vw - 40px) / 23.2))}
}
/* Very small phones: keep the nav logo clear of the menu button */
@media(max-width:340px){.nav-logo{font-size:13px}}

/* Anyone who has asked their OS to reduce motion gets the site immediately. */
@media(prefers-reduced-motion:reduce){
  .intro{display:none}
}

/* ── Footer social icons ── */
.footer-links{display:flex;align-items:center;gap:20px}
.footer-links a.ico{display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;opacity:.7;transition:opacity .2s}
.footer-links a.ico:hover{opacity:1}
.footer-links a.ico svg{width:17px;height:17px;display:block}
/* Keeps the link text for screen readers and search engines without showing it. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
@media(max-width:600px){.footer-links{gap:22px}}

/* ── Header clearance ──
   --page-gap is the breathing room between the fixed header and page content.
   Desktop keeps the original flush look; smaller screens get real space, since
   the header sits much closer to the content there. */
:root{--page-gap:0px}
@media(max-width:1024px){ :root{--page-gap:18px} }
@media(max-width:600px){  :root{--page-gap:26px} }

.page{padding-top:calc(var(--nav-h) + var(--page-gap))}

/* The "back to work" chip is absolutely positioned against .site-wrap, so it has
   to clear the header itself or it hides behind it. +16px lands it inside the
   top-left of the project image, which is where it's meant to sit. */
.proj-back{top:calc(var(--nav-h) + var(--page-gap) + 16px)}

/* About page: the principal's name is the H1 but keeps its original overlay styling. */
h1.aname{font-size:clamp(14px,1.8vw,24px);font-weight:300;letter-spacing:-.01em;color:#ffffff;margin:0 0 3px;line-height:1.2}
@media(max-width:600px){h1.aname{font-size:13px}}

.carousel-wrap.hero-size .carousel-slide:nth-child(2) img{object-position:50% 66%}
.carousel-wrap.hero-size .carousel-slide:nth-child(4) img{object-position:50% 88%}

.carousel-wrap.hero-size .carousel-slide img{
  width:100%;height:100%;max-width:none;max-height:none;
  object-fit:cover;object-position:50% 50%;
}

.carousel-wrap.hero-size .carousel-track{transition:none}
.carousel-wrap.hero-size .carousel-slide{
  position:absolute;inset:0;opacity:0;z-index:1;
  transition:opacity 1.6s ease;pointer-events:none;
}
.carousel-wrap.hero-size .carousel-slide.is-current{
  opacity:1;z-index:2;pointer-events:auto;
}

.carousel-wrap.hero-size .carousel-slide img{
  transform-origin:50% 50%;
  animation:heroSettle 8s ease-out forwards;
  animation-play-state:paused;
}
/* Every slide is paused, frozen on the zoomed-in opening frame, by default.
   JS (playHeroZoom, in the carousel factory + restartHero) restarts each
   one individually right as it becomes current, so every photo gets its
   own pull-back, not just whichever was on screen first. */
@keyframes heroSettle{
  from{transform:scale(1.12) translate(-2.4%, -1.8%)}
  to  {transform:scale(1)    translate(0%, 0%)}
}

.carousel-wrap.hero-size .c-prev,
.carousel-wrap.hero-size .c-next,
.carousel-wrap.hero-size .c-dots,
.carousel-wrap.hero-size .c-count{
  opacity:0;pointer-events:none;transition:opacity .4s var(--ease);
}
.carousel-wrap.hero-size:hover .c-prev,
.carousel-wrap.hero-size:hover .c-next,
.carousel-wrap.hero-size:hover .c-dots,
.carousel-wrap.hero-size:hover .c-count,
.carousel-wrap.hero-size:focus-within .c-prev,
.carousel-wrap.hero-size:focus-within .c-next,
.carousel-wrap.hero-size:focus-within .c-dots,
.carousel-wrap.hero-size:focus-within .c-count{
  opacity:1;pointer-events:auto;
}
@media(hover:none){
  .carousel-wrap.hero-size .c-prev,
  .carousel-wrap.hero-size .c-next,
  .carousel-wrap.hero-size .c-dots,
  .carousel-wrap.hero-size .c-count{opacity:1;pointer-events:auto}
}
.c-pause{position:absolute;bottom:5px;right:56px;width:32px;height:32px;padding:0;z-index:15;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  background:none;border:none;color:#ffffff}
.c-pause svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;
  filter:drop-shadow(0 0 2px rgba(0,0,0,.7))}
.c-pause .i-play{fill:currentColor;stroke:none;display:none}
.c-pause.is-paused .i-pause{display:none}
.c-pause.is-paused .i-play{display:block}
.c-pause[hidden]{display:none}
.carousel-wrap.hero-size .c-pause{opacity:0;pointer-events:none;transition:opacity .4s var(--ease)}
.carousel-wrap.hero-size:hover .c-pause,
.carousel-wrap.hero-size:focus-within .c-pause{opacity:1;pointer-events:auto}
@media(hover:none){.carousel-wrap.hero-size .c-pause{opacity:1;pointer-events:auto}}
@media(max-width:600px){.c-pause{right:44px;bottom:2px}}

@media(prefers-reduced-motion:reduce){
  .carousel-wrap.hero-size .carousel-slide img{
    animation:none;transform:scale(1) translate(0%,0%);
  }
}

.proj-nav{display:flex;align-items:center;gap:56px;padding:26px 56px 38px;
  border-top:1px solid rgba(0,0,0,.30);
  font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.proj-nav a{color:#ffffff;opacity:.68;transition:opacity .2s;white-space:nowrap}
.proj-nav a:hover{opacity:1}
@media(max-width:1024px){.proj-nav{padding:22px 32px 32px;gap:40px}}
@media(max-width:600px){.proj-nav{padding:18px 20px 26px;gap:14px;
  flex-direction:column;align-items:flex-start}}

@media(max-width:1024px){:root{--cover-h:210px}}
@media(max-width:600px){:root{--cover-h:168px}}



/* Contact form: honeypot field is hidden from people but visible to bots. */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-status{margin-top:16px;font-size:13px;line-height:1.6;min-height:1px}
.form-status.is-ok{color:#2f6b3f}
.form-status.is-err{color:#8c2f2f}
.form-status a{color:inherit;text-decoration:underline}
.form-submit[disabled]{opacity:.6;cursor:default}


/* ══ ACCESSIBILITY LAYER ══ */
.skip-link{position:absolute;left:12px;top:-64px;z-index:10000;background:#ffffff;color:#333333;
  padding:10px 16px;font-size:13px;letter-spacing:.06em;transition:top .2s var(--ease)}
.skip-link:focus{top:12px}
main:focus{outline:none}
:focus-visible{outline:2px solid #ffffff;outline-offset:3px}
.contact-right :focus-visible{outline-color:#333333}
.form-group input:focus-visible,.form-group textarea:focus-visible,.form-group select:focus-visible{
  outline:2px solid #3a3a3a;outline-offset:4px}

/* ══ CONTACT: primary action must read as a button ══
   Was #e8e8e6 on #f0efed (1.1:1). Now the site's own charcoal (12.6:1). */
.form-submit{background:#333333;color:#ffffff;transition:background .2s}
.form-submit:hover{background:#4a4a4a;opacity:1}
.form-submit[disabled]:hover{background:#333333}
.contact-right input::placeholder,.contact-right textarea::placeholder{color:#666666}

/* ══ MOBILE: hero / about captions sit below the photo, not over it ══
   (The original comment described this behaviour; the code overlaid it and
   hid roughly half of a 200px-tall photo.) */
@media(max-width:600px){
  .hero-text-overlay,.about-text-overlay{
    position:static;max-width:none;background:none;backdrop-filter:none;
    padding:18px 20px 20px;pointer-events:auto}
  .hero-text-overlay h1{font-size:19px;margin-bottom:6px}
  .about-text-overlay h1.aname{font-size:17px}
}
