/* ==========================================================================
   UN|WISE — site.css  ·  SINGLE SOURCE OF TRUTH
   Tokens, base, the | brand device, type scale, nav, hero, bands, footer.
   Every page links this FIRST, then adds ONLY page-specific layout in its own
   <style>. Never redeclare tokens / nav / footer / the | device in a page.
   ========================================================================== */

/* ---------- variable Archivo (own copy → real font-stretch) ---------- */
@font-face{
  font-family:'Archivo VF';
  src:url(/assets/archivo-latin-wdth-normal.woff2) format('woff2');
  font-weight:100 900;
  font-stretch:62.5% 125%;
  font-style:normal;
  font-display:swap;
}

/* ---------- tokens (steel + plaster house) ---------- */
:root{
  --night:#0b0b0a;      /* blackened steel */
  --deep:#070706;
  --plaster:#e3ddd4;    /* lime plaster wall */
  --stone:#d6cec0;      /* travertine */
  --ink:#eae6dc;        /* warm light on dark */
  --mute:#a09a8f;
  --ink-s:#191613;      /* steel ink on stone */
  --mute-s:#564f42;
  --line:rgba(234,230,220,.16);
  --line-s:rgba(25,22,19,.18);
  --gutter:clamp(20px,5vw,72px);
  --beat:clamp(64px,10vh,96px);
  --ease:cubic-bezier(.18,.72,.16,1);
}
@media (min-width:900px){:root{--beat:clamp(100px,14vh,180px)}}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{color-scheme:dark;background:var(--night)}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{
  font-family:'Archivo VF','Archivo',-apple-system,'Helvetica Neue',Helvetica,Arial,sans-serif;
  background:var(--night);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,video{display:block;max-width:100%}
::selection{background:var(--ink);color:var(--night)}
:focus-visible{outline:2px solid currentColor;outline-offset:4px}

.skip{
  position:absolute;left:var(--gutter);top:-100px;z-index:60;
  background:var(--ink);color:var(--night);padding:.7em 1.2em;
  font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;
}
.skip:focus{top:var(--gutter)}
.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;
}

/* ==========================================================================
   THE | BRAND DEVICE  ·  the single most important rule
   ONE geometry everywhere so the mark never looks different page-to-page:
   • Thickness is one em value → scales with the type, identical at every size.
   • The bar sits on the baseline at cap-height, like a slim divider.
   • Right-margin = the wordmark role's OWN letter-spacing (letter-spacing is not
     applied after an inline-block), so the N|W rhythm always matches the letters.
   Write it as  UN<b></b>WISE  in every wordmark. Never a literal "|".
   ========================================================================== */
b.bar{
  display:inline-block;
  width:.06em;height:1.02em;                /* ONE thickness; height overshoots the cap-height so UN|WISE reads as a divider, not an I. em-based so it scales in every context */
  background:currentColor;border-radius:0;
  vertical-align:-.17em;                     /* drop below the baseline so the overshoot is symmetric top + bottom */
  margin:0 .05em 0 0;                        /* default rhythm; roles override right margin */
}
/* right margin = that role's letter-spacing, so both gaps around the bar match the letters */
.wordmark b.bar{margin-right:.22em}   /* overshoot now lives on the base b.bar rule, applied everywhere */
.statement b.bar,.big b.bar,.mk b.bar,.hero-h b.bar,.signoff b.bar,.close-h b.bar,.quote p b.bar{margin-right:.02em}
.body b.bar,.txt b.bar,.lede b.bar,.uw b.bar{margin-right:.04em}
.micro b.bar,.label b.bar,.foot-legal b.bar,.hero-kicker b.bar{margin-right:.16em}
.foot-col a b.bar{margin:0 .05em 0 .04em}   /* footer nav wordmark: no letter-spacing → tight symmetric gaps */

/* inline pipe glyph for tiny mono contexts (ticker/tag/handles) — matches the letters
   exactly at small sizes. <i> is italic by default → force upright. */
.p{display:inline;background:none;font-style:normal;width:auto;height:auto;vertical-align:baseline}
.p::before{content:"|"}
.uw{white-space:nowrap;font-weight:760;font-stretch:112%;letter-spacing:.22em;text-transform:uppercase}  /* un|wise = the header-logo lockup, everywhere — single source of truth */
.uw.uw b.bar{margin:0 .22em 0 0}              /* .uw.uw beats .foot-col a b.bar; | gap == letter-spacing, like the logo */

/* ---------- type roles ---------- */
.wordmark{
  font-size:1.05rem;font-weight:760;font-stretch:112%;
  letter-spacing:.22em;text-transform:uppercase;white-space:nowrap;
}
.statement,.big{
  font-weight:640;font-stretch:120%;
  letter-spacing:-.012em;line-height:.98;text-transform:uppercase;
}
.big{font-size:clamp(2rem,6vw,4rem)}
.big.xl{font-size:clamp(2.6rem,9vw,6.4rem)}
.mk{font-weight:660;font-stretch:122%;letter-spacing:.02em;line-height:.9;font-size:clamp(3.4rem,12vw,7rem);text-transform:uppercase}
.micro{
  font-size:.68rem;font-weight:540;font-stretch:106%;
  letter-spacing:.18em;text-transform:uppercase;
}
.body{font-size:clamp(1rem,.6rem + 1vw,1.125rem);line-height:1.68;font-weight:410;max-width:38ch}
.txt{font-size:clamp(1rem,.6rem + 1vw,1.15rem);line-height:1.7;font-weight:410;max-width:40ch}
.txt + .txt{margin-top:1.4rem}
.txt.stanza{line-height:1.95;max-width:46ch}
.lede{font-size:clamp(1.4rem,4vw,2.25rem);line-height:1.28;font-weight:470;font-stretch:102%;letter-spacing:-.008em;max-width:24ch}
.eyebrow{display:block;margin-bottom:clamp(1.4rem,3.4vh,2.2rem)}
.label{color:var(--mute-s);display:block;margin-bottom:1.4rem}
.dark .label,.deep .label{color:var(--mute)}

/* ---------- reveal system ---------- */
html.js .rv{opacity:0;transform:translateY(26px)}
html.js .rv.on{opacity:1;transform:none;transition:opacity 1s var(--ease),transform 1.15s var(--ease)}
html.js .rv-img img{transform:scale(1.035);transition:transform 1.6s var(--ease)}
html.js .rv-img.on img{transform:none}
html.js .rv .stagger{opacity:0;transform:translateY(18px)}
html.js .rv.on .stagger{opacity:1;transform:none;transition:opacity .9s var(--ease),transform 1s var(--ease)}
html.js .rv.on .stagger:nth-child(2){transition-delay:.08s}
html.js .rv.on .stagger:nth-child(3){transition-delay:.16s}
html.js .rv.on .stagger:nth-child(4){transition-delay:.24s}
html.js .rv.on .stagger:nth-child(5){transition-delay:.32s}

/* ---------- steel nav (sticky by default; home makes it a film-reveal) ---------- */
.topnav{
  position:sticky;top:0;left:0;right:0;z-index:50;
  display:flex;justify-content:space-between;align-items:center;gap:1rem;
  padding:.9rem var(--gutter);
  background:rgba(9,9,8,.96);
  border-bottom:1px solid var(--line);
}
.topnav a{color:var(--ink);text-decoration:none}
.navcta{border:1px solid var(--ink);padding:.62em 1.15em;white-space:nowrap}
.navcta:hover{background:var(--ink);color:var(--night)}
@media (max-width:400px){.navcta{padding:.55em .8em}}

/* ==========================================================================
   HERO  ·  ONE shared component, centred on every page
   Full-bleed photo + centred [kicker] · [statement] · [sub].
   Home adds .hero--tall (full viewport, flagship). Sub-pages use the default.
   ========================================================================== */
.hero{
  position:relative;min-height:var(--hero-h,78svh);
  display:grid;place-items:center;text-align:center;
  padding:calc(var(--gutter)*2) var(--gutter);
  overflow:hidden;background:var(--deep);
}
.hero--tall{--hero-h:100svh;margin-top:calc(-1 * 3.9rem)}   /* pull the hero up behind the sticky nav so it fills the screen and centres on the true viewport middle */
.hero--tall .hero-inner{transform:translateY(-1.2rem)}       /* small optical lift: sit a touch above dead-centre */
.hero-media{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center 28%;
  filter:brightness(.6) saturate(.82);
  animation:heroZoom 16s ease-in-out infinite alternate;will-change:transform;
}
@keyframes heroZoom{from{transform:scale(1)}to{transform:scale(1.12)}}
.hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 95% at 50% 42%,rgba(7,7,6,.14),rgba(7,7,6,.55) 68%,rgba(7,7,6,.82));
}
/* subtle film grain: fixed monochrome noise layer over the hero (does not zoom with the photo) */
.hero::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size:130px 130px;opacity:.34;mix-blend-mode:overlay;
}
.hero-inner{position:relative;z-index:2;width:100%;max-width:56rem;margin:0 auto}
.hero-kicker{display:block;color:var(--ink);opacity:.82;margin-bottom:clamp(1rem,2.6vh,1.7rem)}
/* hero evidence-stamp: fixed place + night time per photo, bottom-left */
.hero-tc{position:absolute;z-index:2;left:var(--gutter);bottom:clamp(16px,3.4vh,30px);font-family:'Courier New',monospace;font-size:.72rem;letter-spacing:.14em;color:var(--ink);opacity:.62;text-shadow:0 1px 5px rgba(7,7,6,.55);font-variant-numeric:tabular-nums}
.hero-h{
  font-weight:660;font-stretch:122%;letter-spacing:-.02em;line-height:.92;
  text-transform:uppercase;color:var(--ink);
  font-size:clamp(2.4rem,7.4vw,6rem);
  overflow-wrap:break-word;
}
.hero-sub{
  margin:clamp(1.1rem,2.6vh,1.7rem) auto 0;color:var(--ink);opacity:.9;
  font-size:clamp(1rem,2.6vw,1.35rem);max-width:32ch;
}
.hero-h .w{display:block}
html.js .hero-h .w{opacity:0;transform:translateY(.4em)}
html.js.set .hero-h .w{animation:settle 1.05s var(--ease) both}
html.js.set .hero-h .w:nth-child(1){animation-delay:.14s}
html.js.set .hero-h .w:nth-child(2){animation-delay:.30s}
html.js.set .hero-h .w:nth-child(3){animation-delay:.46s}
html.js.set .hero-h .w:nth-child(4){animation-delay:.62s}
@keyframes settle{from{opacity:0;transform:translateY(.4em)}to{opacity:1;transform:none}}

/* ---------- section base + explicit dark/light rhythm ---------- */
.band{padding:var(--beat) var(--gutter)}
/* dark panels = premium black leather, stitched top + bottom (single source of truth) */
.dark{background:#0a0a0a url(/assets/leather-premium.webp?v=2) center/cover;color:var(--ink)}
.deep{background:#0a0a0a url(/assets/leather-premium.webp?v=2) center/cover;color:var(--ink)}
.dark,.deep:not(.scenes){position:relative}
.dark::before,.dark::after,.deep:not(.scenes)::before,.deep:not(.scenes)::after{content:"";position:absolute;left:0;right:0;height:5px;pointer-events:none;z-index:3;background:url(/assets/single-stitch-black.webp?v=2) repeat-x left center/auto 100%}
.dark::before,.deep:not(.scenes)::before{top:5px}
.dark::after,.deep:not(.scenes)::after{bottom:5px}
.light{background-color:#dedddb;background-image:linear-gradient(rgba(222,221,218,.5),rgba(222,221,218,.5)),url(/assets/plaster-gray.webp);background-size:cover;background-position:center;color:var(--ink-s)}
.light-2{background-color:#d3d2cf;background-image:linear-gradient(rgba(211,210,207,.5),rgba(211,210,207,.5)),url(/assets/plaster-gray.webp);background-size:cover;background-position:center;color:var(--ink-s)}
.light .micro,.light-2 .micro{color:var(--mute-s)}
.light .body,.light .txt,.light-2 .body,.light-2 .txt{color:var(--mute-s)}
.dark .body,.dark .txt,.deep .body,.deep .txt{color:var(--mute)}
.light .big,.light .statement,.light-2 .big,.light-2 .statement,.light .mk,.light-2 .mk{color:var(--ink-s)}
.dark .big,.dark .statement,.deep .big,.deep .statement{color:var(--ink)}
.light .kick,.light-2 .kick{color:var(--ink-s)}
.dark .kick,.deep .kick{color:var(--ink)}
.kick{display:block;margin-top:clamp(1rem,2.4vh,1.5rem);font-weight:720}

/* ---------- the house editorial grid: big statement LEFT / copy RIGHT ---------- */
.editorial{display:grid;gap:clamp(1.8rem,4vh,2.6rem)}
.editorial .lead-col,.editorial .body-col{min-width:0}
.editorial .lead-col .big{font-size:clamp(2.2rem,5.5vw,4.3rem);line-height:.96;letter-spacing:-.02em;max-width:13ch}
.editorial .body-col .eyebrow{display:block;margin-bottom:clamp(1.2rem,3vh,1.9rem)}
.editorial .body-col .lede{font-size:clamp(1.3rem,3.4vw,2rem);line-height:1.3;font-weight:470;letter-spacing:-.006em;max-width:24ch}
.editorial .body-col .body{margin-top:1.2rem;max-width:44ch}
.editorial .body-col .body + .body{margin-top:.6rem}
.editorial .body-col .txt{max-width:44ch}
.editorial .body-col .kick{margin-top:clamp(1rem,2.4vh,1.5rem);font-weight:720}
/* manifesto layout: eyebrow + lede LEFT, body RIGHT (shared so home + about match) */
.manifesto .lede-col .lede + .lede{margin-top:1.2rem;color:var(--mute)}
.manifesto .body-col .body{color:var(--mute)}
.manifesto .body-col .body + .body{margin-top:1.1rem}
.manifesto .body-col{border-top:1px solid var(--line);padding-top:clamp(1.6rem,3.6vh,2.4rem)}
@media (min-width:900px){
  .editorial{grid-template-columns:1.05fr .95fr;gap:clamp(48px,7vw,110px);align-items:start}
  .manifesto .body-col{border-top:0;padding-top:.35rem}
}

/* ---------- un / wise split ---------- */
.split-grid{display:grid;gap:clamp(2.4rem,6vh,4rem)}
.split .lead{color:var(--mute-s);margin:.6rem 0 1rem}
.dark .split .lead,.deep .split .lead{color:var(--mute)}
.split .col + .col{border-top:1px solid var(--line-s);padding-top:clamp(2.4rem,6vh,4rem)}
@media (min-width:900px){
  .split-grid{grid-template-columns:1fr 1fr;gap:0}
  .split .col{padding:0 clamp(2rem,4vw,3.5rem)}
  .split .col:first-child{padding-left:0}
  .split .col + .col{border-top:0;border-left:1px solid var(--line-s);padding-top:0}
}

/* ---------- scenes (dark, full-bleed photo with a corner tag) ---------- */
.scenes{padding:var(--beat) 0 0}
.scenes-head{padding:0 var(--gutter);margin-bottom:clamp(2.2rem,5vh,4rem);font-size:clamp(1.9rem,6vw,4rem)}
.scene{position:relative;overflow:hidden;margin:0 auto}
.scene img{width:100%;height:100%;object-fit:cover}
.scene::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:42%;
  background:linear-gradient(to top,rgba(7,7,6,.72),rgba(7,7,6,0));pointer-events:none;
}
.scene--full{width:100%;max-height:88vh;aspect-ratio:var(--ar)}
@media (max-width:899px){.scene--full{max-height:70vh;max-height:70svh}}
.tag{position:absolute;z-index:2;left:clamp(18px,4vw,36px);bottom:clamp(16px,3.5vw,30px);right:clamp(18px,4vw,36px);color:var(--ink)}
.tag .t{font-size:.82rem;font-weight:560;font-stretch:108%;letter-spacing:.2em;text-transform:uppercase;display:block}
.tag .l{display:block;margin-top:.55rem;max-width:30ch;font-size:clamp(1rem,2.4vw,1.35rem);line-height:1.32;font-weight:440;color:rgba(234,230,220,.94)}
html.js .tag{visibility:hidden}
html.js .scene.on .tag{visibility:visible}
/* simple full-bleed atmosphere break (no tag) */
.scene-band{overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-height:76vh}
.scene-band img{width:100%;height:100%;max-height:76vh;object-fit:cover;object-position:center 40%;filter:brightness(.72) saturate(.82)}

/* ---------- footer (BLACK LEATHER) — structured, identical on every page ---------- */
footer{position:relative;background:#0a0a0a url(/assets/leather-premium.webp?v=2) center/cover;color:var(--ink);padding:clamp(92px,13vh,140px) var(--gutter) clamp(30px,4vh,48px)}
/* single cross+rope seam stitched a little inside the top edge (the "both" stitch) */
footer::before{content:"";position:absolute;left:0;right:0;top:6px;height:20px;pointer-events:none;z-index:1;background:url(/assets/stitch-seam-black.webp?v=2) repeat-x left center/auto 100%}
.foot-top{position:relative;z-index:2;display:grid;grid-template-columns:1fr;gap:clamp(2rem,5vh,3rem);padding-bottom:clamp(2.6rem,6vh,4.5rem)}
@media (min-width:720px){.foot-top{grid-template-columns:1fr 1fr 1.4fr;gap:clamp(2rem,4vw,4.5rem)}}
.foot-col{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;min-width:0}
.foot-h{color:var(--mute);margin-bottom:.4rem}
.foot-col a{color:var(--ink);text-decoration:none;font-size:.95rem;line-height:1.2;border-bottom:1px solid transparent;transition:border-color .2s var(--ease),color .2s var(--ease);max-width:100%;overflow-wrap:anywhere}
.foot-col a:hover{border-bottom-color:var(--ink)}
/* instagram = monochrome glyph + handle (no word "Instagram") — footer + contact body */
.ig-link{display:inline-flex;align-items:center;gap:.55em}
.foot-col a.ig-link{border-bottom:0}
.ig-ico{width:1.15em;height:1.15em;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2}
.ig-ico .ig-dot{fill:currentColor;stroke:none}
.ig-link span{border-bottom:1px solid transparent;transition:border-color .2s var(--ease)}
.ig-link:hover span{border-bottom-color:currentColor}
.foot-p{color:var(--mute);font-size:.9rem;line-height:1.6;max-width:32ch}
.foot-col a.foot-cta{display:inline-block;margin-top:.5rem;border:1px solid var(--line);padding:.8em 1.35em;font-size:.68rem;font-weight:540;font-stretch:106%;letter-spacing:.16em;text-transform:uppercase}
.foot-col a.foot-cta:hover{background:var(--ink);color:var(--night);border-color:var(--ink)}
.foot-legal{position:relative;z-index:2;display:flex;justify-content:space-between;gap:.6rem 2rem;flex-wrap:wrap;margin-top:clamp(2rem,4vh,3rem);padding-top:clamp(1.4rem,3vh,2rem);border-top:1px solid var(--line);color:var(--mute);font-size:.66rem;font-weight:540;font-stretch:106%;letter-spacing:.14em;text-transform:uppercase}
/* on mobile only the copyright line — "For the un|wise." is too busy there */
@media (max-width:719px){.foot-legal > span:last-child{display:none}}   /* direct child only — must not hit the nested .uw mark inside the © line */

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html.js .rv,html.js .rv.on,
  html.js .rv .stagger,html.js .rv.on .stagger{opacity:1;transform:none;transition:none}
  html.js .rv-img img,html.js .rv-img.on img{transform:none;transition:none}
  html.js .hero-h .w,html.js.set .hero-h .w{opacity:1;transform:none;animation:none}
  .hero-media{animation:none}
  html.js .tag{visibility:visible}
  .topnav{transition:none}
}
