/* ============================================================================
   static.css — SEO/static pages (About + project case studies).
   Restyled to match the interactive site (hero.css / about.css are the source
   of truth). Dark glass chrome, editorial type, black gradient stage.
   ========================================================================== */
@font-face{font-family:"Neue Haas Grotesk";src:url(/fonts/neue-haas-grot-disp-medium.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Neue Haas Grotesk";src:url(/fonts/neue-haas-grot-text-regular.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}

*{box-sizing:border-box;margin:0;padding:0}
html{color-scheme:dark;background:#000;color:#fff;
  font-family:"Neue Haas Grotesk",ui-sans-serif,system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{min-height:100%;
  background-color:#000;background-image:linear-gradient(#000 25%,#1b1b1b);background-attachment:fixed;
  font-size:16px;font-weight:500;line-height:1.6}

.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}

/* ---- fixed top scrim (keeps brand/nav readable over scrolling content) ---- */
body::before{content:"";position:fixed;left:0;right:0;top:0;height:112px;z-index:120;
  pointer-events:none;background:linear-gradient(#000 45%,transparent)}

/* ============================ FIXED GLASS CHROME ============================ */
.site-header{position:fixed;left:32px;right:32px;top:20px;z-index:130;
  display:flex;align-items:center;justify-content:center;pointer-events:none}
.brand{position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;
  font-weight:600;font-size:13px;letter-spacing:.06em;color:#fff;text-decoration:none;pointer-events:auto}

.site-nav{position:fixed;left:50%;top:44px;transform:translateX(-50%);z-index:130;
  display:flex;gap:6px;pointer-events:auto}
.site-nav a{display:inline-block;font-weight:600;font-size:12px;line-height:normal;
  text-decoration:none;color:#fff;padding:8.8px 18px;border-radius:6px;
  background:#000000bf;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:0 0 0 1px #ffffff33 inset;
  transition:box-shadow .3s cubic-bezier(.25,.46,.45,.94)}
.site-nav a:hover,.site-nav a.active,.site-nav a[aria-current="page"]{box-shadow:0 0 13px #b2b2b2 inset}

/* ============================ LAYOUT ============================ */
main{width:min(1120px,92vw);margin:0 auto;padding-top:132px}

/* ---- hero / page head ---- */
.hero{padding:8px 0 4px}
.eyebrow{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  opacity:.5;margin:0 0 18px}
h1{font-size:clamp(34px,4.4vw,58px);font-weight:600;line-height:1.02;
  letter-spacing:-.015em;margin:0 0 22px;max-width:17ch}
.lede{font-size:clamp(17px,2vw,22px);font-weight:500;line-height:1.45;opacity:.82;
  max-width:48ch;margin:0}

/* ---- about page head: circular portrait beside the intro ---- */
.page-head{display:grid;grid-template-columns:auto 1fr;gap:34px;align-items:center}
.page-head .hero{padding:0}
.about-photo{position:relative;width:150px;height:150px;border-radius:50%;overflow:hidden;
  flex:0 0 auto;background:#0a0a0a;margin:0;
  box-shadow:0 0 0 1px #ffffff1f inset,0 20px 50px -20px #000}
.about-photo picture{display:block;width:100%;height:100%}
.about-photo img{width:100%;height:100%;object-fit:cover;display:block;
  -webkit-user-select:none;user-select:none}

/* ---- meta chips (glass) ---- */
.meta{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px}
.pill{font-size:12.5px;font-weight:500;line-height:1;color:#fff;white-space:nowrap;
  padding:9px 14px;border-radius:6px;
  background:#000000bf;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:0 0 0 1px #ffffff2b inset;
  transition:box-shadow .3s cubic-bezier(.25,.46,.45,.94)}
.pill:hover{box-shadow:0 0 13px #b2b2b2 inset}

/* ---- cover photo (project pages) ---- */
.cover{margin:44px 0 0}
.cover-media{border-radius:6px;overflow:hidden;background:#0a0a0a;aspect-ratio:16/9;
  box-shadow:0 0 0 1px #ffffff1f inset,0 20px 50px -20px #000}
.cover picture{display:block;width:100%;height:100%}
.cover img{width:100%;height:100%;display:block;object-fit:cover}
.cover img.top{object-position:50% 20%}
.cover figcaption{padding-top:12px;color:#fff;opacity:.5;font-size:12px;
  line-height:1.5;letter-spacing:.01em}

/* ---- cover modifiers: natural aspect (no forced 16/9 crop) ---- */
.cover--natural .cover-media{aspect-ratio:auto}
.cover--natural picture,.cover--natural img{height:auto}
/* ---- portrait variant: natural aspect, constrained width, centred ---- */
.cover--portrait .cover-media{aspect-ratio:auto;max-width:520px;margin:0 auto}
.cover--portrait picture,.cover--portrait img{height:auto}
.cover--portrait figcaption{max-width:520px;margin:0 auto}

/* ---- two-column body ---- */
.content-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);
  gap:clamp(44px,7vw,96px);margin-top:44px;padding:56px 0 90px;
  border-top:1px solid #ffffff14}
.prose{max-width:680px;min-width:0}
.prose p{margin:0 0 22px;font-size:clamp(15px,1.4vw,17px);font-weight:500;
  line-height:1.62;opacity:.82}
.prose h2{margin:52px 0 18px;font-size:clamp(22px,2.6vw,30px);font-weight:600;
  line-height:1.15;letter-spacing:-.015em}
.prose h2:first-child{margin-top:0}
.prose ul{margin:0 0 22px;padding-left:20px}
.prose li{margin:8px 0;font-weight:500;line-height:1.6;opacity:.82}

/* ---- facts sidebar ---- */
.facts{align-self:start;border-top:1px solid #ffffff14}
.fact{padding:16px 0;border-bottom:1px solid #ffffff12}
.fact dt{font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  opacity:.42;margin-bottom:7px}
.fact dd{margin:0;font-size:14px;font-weight:500;line-height:1.5;opacity:.9}
.fact dd a{color:#fff;text-decoration:none;box-shadow:inset 0 -1px 0 #ffffff33;
  transition:box-shadow .3s cubic-bezier(.25,.46,.45,.94),opacity .3s cubic-bezier(.25,.46,.45,.94)}
.fact dd a:hover{box-shadow:inset 0 -1px 0 #fff}

/* ---- CTA (glass pill) ---- */
.cta{display:inline-block;margin-top:10px;font-size:12.5px;font-weight:600;color:#fff;
  text-decoration:none;padding:11px 18px;border-radius:6px;
  background:#000000bf;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:0 0 0 1px #ffffff33 inset;
  transition:box-shadow .3s cubic-bezier(.25,.46,.45,.94)}
.cta:hover{box-shadow:0 0 13px #b2b2b2 inset}

/* ---- related cards (glass) ---- */
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:34px 0 8px}
.card{display:block;padding:24px;border-radius:6px;text-decoration:none;color:#fff;
  background:#000000bf;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:0 0 0 1px #ffffff33 inset;
  transition:box-shadow .3s cubic-bezier(.25,.46,.45,.94)}
.card:hover{box-shadow:0 0 13px #b2b2b2 inset}
.card h3{margin:0;font-size:17px;font-weight:600;letter-spacing:-.01em;line-height:1.2}
.card p{margin:8px 0 0;font-size:13.5px;font-weight:500;line-height:1.5;opacity:.6}

/* ---- footer ---- */
.site-footer{width:min(1120px,92vw);margin:40px auto 0;padding:26px 0 44px;
  border-top:1px solid #ffffff14;display:flex;justify-content:space-between;gap:20px;
  font-size:12.5px;font-weight:500;opacity:.55}
.site-footer p{margin:0}
.site-footer a{color:#fff;text-decoration:none;box-shadow:inset 0 -1px 0 #ffffff2b;
  transition:box-shadow .3s cubic-bezier(.25,.46,.45,.94)}
.site-footer a:hover{box-shadow:inset 0 -1px 0 #fff}

/* ---- focus states (keyboard a11y) ---- */
.site-nav a:focus-visible,.brand:focus-visible,.cta:focus-visible,.card:focus-visible,
.fact dd a:focus-visible,.site-footer a:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* ============================ RESPONSIVE ============================ */
@media (max-width:800px){
  .page-head{grid-template-columns:1fr;gap:22px}
  .about-photo{width:120px;height:120px}
  .content-grid{grid-template-columns:1fr;gap:44px;margin-top:36px;padding:44px 0 72px}
  .cards{grid-template-columns:1fr}
  .site-footer{flex-direction:column;gap:10px}
}
@media (max-width:640px){
  .site-header{left:16px;right:16px}
  .site-nav a{padding:8px 12px;font-size:11px}
  main{width:calc(100% - 32px);padding-top:120px}
  body{font-size:15px}
}

/* ============================ REDUCED MOTION ============================ */
@media (prefers-reduced-motion: reduce){
  .site-nav a,.pill,.cta,.card,.fact dd a,.site-footer a{transition:none}
}
