/* ============================================================
   Reinforcement Partners
   Palette and type taken directly from the brand spec:
   bg #111111 · white #FFFFFF · leg #CCCCCC · rule #333333
   · tagline #555555 · ghost grid #FFFFFF @13%
   Helvetica Neue, medium, uppercase, wide tracking.
   ============================================================ */

:root{
  --ink:     #111111;   /* brand background      */
  --surface: #171717;   /* raised bands          */
  --rule:    #333333;   /* brand divider rule    */
  --text:    #ffffff;   /* brand wordmark white  */
  --leg:     #cccccc;   /* the diagonal on mark  */
  --muted:   #9a9a9a;   /* body copy on dark     */
  --dim:     #555555;   /* brand tagline gray    */

  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);

  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --track-wide: .2em;   /* tagline tracking      */
  --track-mark: .06em;  /* wordmark tracking     */
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--ink);
  color:var(--text);
  font-family:var(--sans);
  font-size:clamp(1rem,.96rem + .2vw,1.0625rem);
  font-weight:400;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }

.wrap{ max-width:var(--max); margin-inline:auto; padding-inline:var(--pad); }

.skip{ position:absolute; left:-9999px; top:0; background:var(--text); color:var(--ink); padding:.75rem 1rem; z-index:100; }
.skip:focus{ left:0; }

/* Shared label treatment — mirrors the logo tagline */
.eyebrow,.num,.tier-label,.card-idx,.bio-role,.contrast h3,.geo-head,
.spec dt,.field label,.foot-meta{
  text-transform:uppercase;
  letter-spacing:var(--track-wide);
  font-weight:500;
}

/* ── Ghost grid + diagonal leg: lifted straight from the mark ──
   The mask lives on .ghost so the fade stays put while the grid
   inside it cascades. --cell must match the gradient period for
   the loop to be seamless. */
.ghost{
  position:absolute; inset:0; pointer-events:none; z-index:0; overflow:hidden;
  --cell:46px;
  -webkit-mask-image:radial-gradient(115% 85% at 82% 12%, #000 0%, transparent 70%);
          mask-image:radial-gradient(115% 85% at 82% 12%, #000 0%, transparent 70%);
}
.ghost::before{
  content:""; position:absolute;
  left:-10%; right:-10%; top:calc(-10% - var(--cell)); bottom:-10%;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.13) 0 1px, transparent 1px var(--cell)),
    repeating-linear-gradient(0deg,  rgba(255,255,255,.13) 0 1px, transparent 1px var(--cell));
  opacity:.42;
  will-change:transform;
  animation:cascade 5.625s linear infinite;   /* 1.6x the original 9s */
}
@keyframes cascade{
  from{ transform:translate3d(0,0,0); }
  to  { transform:translate3d(0,var(--cell),0); }
}
.ghost::after{                       /* the diagonal leg */
  content:""; position:absolute;
  top:-30%; right:14%; width:clamp(28px,4.5vw,58px); height:170%;
  background:var(--leg); opacity:.13;
  transform:rotate(28deg); transform-origin:top center;
}
@media (max-width:720px){
  .ghost{ --cell:34px; }
  .ghost::after{ display:none; }
}

.rule{ height:1px; border:0; background:var(--rule); }

/* ───────────────────────── NAV ───────────────────────── */
.nav{
  position:sticky; top:0; z-index:50;
  background:color-mix(in oklab, var(--ink) 90%, transparent);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--rule);
}
.nav-inner{ display:flex; align-items:center; gap:2rem; height:72px; }
.brand{ display:flex; align-items:center; text-decoration:none; margin-right:auto; }
.nav-right{ display:flex; align-items:center; gap:.85rem; flex:none; }
.brand-mark{ height:34px; width:auto; }
.brand-text{
  text-transform:uppercase; letter-spacing:var(--track-mark);
  font-weight:500; font-size:.98rem; white-space:nowrap;
}
.brand-text.small{ font-size:.86rem; }

.nav nav{ display:flex; align-items:center; gap:1.7rem; }
.nav nav a{
  font-size:.72rem; text-transform:uppercase; letter-spacing:.14em; font-weight:500;
  color:var(--muted); text-decoration:none; transition:color .18s;
}
.nav nav a:hover{ color:var(--text); }
.nav-cta{
  color:var(--text) !important; border:1px solid var(--rule); padding:.5rem 1rem;
}
.nav-cta:hover{ border-color:var(--text); }

/* ── Hamburger: two hairlines, matching the divider rule weight ── */
.menu-toggle{
  display:none; width:44px; height:44px; margin-right:-10px;
  padding:0; background:none; border:0; cursor:pointer;
  align-items:center; justify-content:flex-end;
}
.menu-bars,.menu-bars::before{
  content:""; display:block; width:26px; height:1px; background:var(--text);
  transition:transform .22s ease, opacity .22s ease;
}
.menu-bars{ position:relative; }
.menu-bars::before{ position:absolute; top:-7px; left:0; }
.menu-toggle[aria-expanded="true"] .menu-bars{ transform:rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::before{ top:0; transform:rotate(-90deg); }

.nav-scrim{
  position:fixed; inset:0; z-index:40;
  background:rgba(0,0,0,.55); backdrop-filter:blur(2px);
}
.nav-scrim[hidden]{ display:none; }

@media (max-width:900px){
  .menu-toggle{ display:flex; }

  #site-nav{
    position:absolute; top:100%; left:0; right:0; z-index:45;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--ink); border-bottom:1px solid var(--rule);
    padding:.5rem var(--pad) 1.4rem;
    opacity:0; visibility:hidden; transform:translateY(-8px);
    transition:opacity .2s ease, transform .2s ease, visibility .2s;
  }
  body.nav-open #site-nav{ opacity:1; visibility:visible; transform:translateY(0); }

  #site-nav a{
    padding:1rem 0; font-size:.78rem; letter-spacing:.16em;
    border-bottom:1px solid var(--rule);
  }
  #site-nav a:last-child{ border-bottom:0; }
  body.nav-open{ overflow:hidden; }
}
@media (min-width:901px){ .nav-scrim{ display:none; } }

/* ───────────────────────── HERO ───────────────────────── */
.hero{
  position:relative; overflow:hidden;
  padding-block:clamp(5rem,13vh,9rem) clamp(4.5rem,11vh,8rem);
  border-bottom:1px solid var(--rule);
}
.hero .wrap{ position:relative; z-index:1; }

.eyebrow{
  font-size:.71rem; color:var(--leg); margin:0 0 1.7rem; display:flex;
  align-items:center; gap:.85rem;
}
.eyebrow::before{ content:""; width:30px; height:1px; background:var(--leg); flex:none; }

h1{
  margin:0 0 1.9rem;
  font-size:clamp(2rem,1.1rem + 4.1vw,4rem);
  line-height:1.08; letter-spacing:-.028em; font-weight:500;
  max-width:20ch;
}
h1 em{ font-style:normal; color:var(--muted); }

.lede{
  max-width:54ch; color:var(--muted);
  font-size:clamp(1.02rem,.98rem + .3vw,1.18rem); margin:0 0 2.6rem;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:.85rem; }


.btn{
  display:inline-block; text-decoration:none; cursor:pointer;
  padding:.9rem 1.6rem; font-family:inherit; font-size:.73rem;
  text-transform:uppercase; letter-spacing:.16em; font-weight:500;
  border:1px solid var(--text); background:var(--text); color:var(--ink);
  transition:background .18s, color .18s, border-color .18s;
}
.btn:hover{ background:transparent; color:var(--text); }
.btn-ghost{ background:transparent; color:var(--muted); border-color:var(--rule); }
.btn-ghost:hover{ background:transparent; color:var(--text); border-color:var(--text); }

/* ───────────────────── SECTION SCAFFOLD ───────────────────── */
.band{ padding-block:clamp(4rem,9vh,6.5rem); }
.band-accent,.band-contact{ background:var(--surface); }

.grid-2{ display:grid; gap:clamp(2rem,5vw,4.5rem); grid-template-columns:minmax(0,.8fr) minmax(0,1.55fr); }
@media (max-width:880px){ .grid-2{ grid-template-columns:1fr; } }

.col-label .num{ display:block; font-size:.71rem; color:var(--leg); margin-bottom:1rem; }
.col-label h2{
  margin:0; font-size:clamp(1.15rem,1rem + .8vw,1.6rem);
  line-height:1.25; text-transform:uppercase; letter-spacing:.05em;
  font-weight:500; max-width:18ch;
}
.col-label.wide{ margin-bottom:3rem; }
.col-label.wide h2{ max-width:26ch; }
.section-sub{ color:var(--muted); max-width:58ch; margin:1.1rem 0 0; }

.col-body > p{ margin:0 0 1.15rem; color:var(--muted); max-width:64ch; }
.col-body > p.big{
  color:var(--text); font-size:clamp(1.1rem,1.02rem + .45vw,1.36rem);
  line-height:1.45; letter-spacing:-.012em; font-weight:400;
  margin-bottom:1.9rem; max-width:48ch;
}
.note{ border-left:1px solid var(--leg); padding-left:1.2rem; margin-top:2.3rem !important; }

/* ───────────────────── SPEC TABLE ───────────────────── */
.spec{ margin:0 0 2.8rem; border-top:1px solid var(--rule); }
.spec > div{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);
  gap:1rem; padding:.95rem 0; border-bottom:1px solid var(--rule);
}
.spec dt{ font-size:.7rem; color:var(--dim); }
.spec dd{ margin:0; font-weight:500; letter-spacing:-.004em; }

/* ───────────────────── CONTRAST LISTS ───────────────────── */
.contrast{
  display:grid; gap:clamp(1.6rem,3.5vw,3rem);
  grid-template-columns:repeat(auto-fit,minmax(255px,1fr)); margin-top:.5rem;
}
.contrast h3{
  font-size:.71rem; color:var(--text); margin:0 0 1.1rem;
  padding-bottom:.75rem; border-bottom:1px solid var(--rule);
}
.ticks,.crosses{ list-style:none; margin:0; padding:0; }
.ticks li,.crosses li{
  position:relative; padding-left:1.65rem; margin-bottom:.75rem;
  color:var(--muted); font-size:.95rem; line-height:1.55;
}
.ticks li::before{ content:""; position:absolute; left:0; top:.5em; width:9px; height:9px; background:var(--leg); }
.crosses li::before{ content:""; position:absolute; left:0; top:.5em; width:9px; height:9px; border:1px solid var(--dim); }

/* ───────────────────── GEOGRAPHY ───────────────────── */
.geo-head{
  font-size:.71rem; color:var(--text); margin:3rem 0 1.3rem;
  padding-bottom:.75rem; border-bottom:1px solid var(--rule);
}
.geo{ display:grid; gap:1.7rem; }
.tier-label{ font-size:.68rem; color:var(--leg); margin:0 0 .8rem; }
.chips{ list-style:none; display:flex; flex-wrap:wrap; gap:.5rem; margin:0; padding:0; }
.chips li{ border:1px solid var(--rule); padding:.4rem .85rem; font-size:.83rem; }
.chips-muted li{ color:var(--muted); border-style:dashed; }

/* ───────────────────── INDUSTRY CARDS ───────────────────── */
.cards{
  display:grid; gap:1px; background:var(--rule); border:1px solid var(--rule);
  grid-template-columns:repeat(auto-fit,minmax(258px,1fr));
}
.card{ background:var(--ink); padding:clamp(1.5rem,2.5vw,2.15rem); transition:background .2s; }
.card:hover{ background:var(--surface); }
.card-idx{ font-size:.68rem; color:var(--leg); margin:0 0 1.6rem; }
.card h3{
  margin:0 0 .85rem; font-size:.95rem; text-transform:uppercase;
  letter-spacing:.07em; font-weight:500;
}
.card p{ margin:0; color:var(--muted); font-size:.92rem; line-height:1.6; }

/* ───────────────────── TEAM ───────────────────── */
.bio{
  padding:1.9rem 0; border-top:1px solid var(--rule);
  display:grid; grid-template-columns:auto minmax(0,1fr);
  gap:1.5rem; align-items:start;
}
.bio:last-of-type{ border-bottom:1px solid var(--rule); }

/* Desaturated so the only colour on the page stays absent — remove
   the filter if you'd rather these run in full colour. */
.bio-photo{
  width:78px; height:78px; object-fit:cover; object-position:center top;
  filter:grayscale(1) contrast(1.04);
  border:1px solid var(--rule);
}
.bio-head{ display:flex; align-items:baseline; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.bio h3{ margin:0; font-size:1.1rem; text-transform:uppercase; letter-spacing:.05em; font-weight:500; }
.bio-role{ font-size:.68rem; color:var(--leg); margin:.4rem 0 1.1rem !important; }
.bio p{ color:var(--muted); margin:0; max-width:64ch; }
.li{
  font-size:.68rem; text-transform:uppercase; letter-spacing:.14em; font-weight:500;
  color:var(--muted); text-decoration:none; border-bottom:1px solid var(--rule);
  padding-bottom:2px; white-space:nowrap; transition:color .18s, border-color .18s;
}
.li:hover{ color:var(--text); border-color:var(--text); }

/* ───────────────────── CONTACT FORM ───────────────────── */
.direct{ margin-top:1.9rem; }
.direct a{
  font-size:.9rem; color:var(--text); text-decoration:none;
  border-bottom:1px solid var(--dim); word-break:break-all;
}
.direct a:hover{ border-color:var(--text); }

.field-row{ display:grid; gap:1rem; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); }
.field{ margin-bottom:1rem; display:flex; flex-direction:column; }
.field label{ font-size:.68rem; color:var(--dim); margin-bottom:.55rem; }
.opt{ letter-spacing:.06em; text-transform:none; }
.field input,.field textarea{
  font-family:inherit; font-size:.96rem; color:var(--text);
  background:var(--ink); border:1px solid var(--rule); padding:.8rem .9rem;
  width:100%; transition:border-color .18s;
}
.field textarea{ resize:vertical; min-height:120px; }
.field input:focus,.field textarea:focus{ outline:none; border-color:var(--text); }
.field input::placeholder,.field textarea::placeholder{ color:var(--dim); }

.hp{ position:absolute; left:-9999px; }
.fineprint{ margin:1.3rem 0 0; font-size:.82rem; color:var(--dim); max-width:54ch; line-height:1.55; }

/* ───────────────────── FOOTER ───────────────────── */
.foot{ border-top:1px solid var(--rule); padding-block:2.4rem; }
.foot-inner{ display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.foot-meta{ font-size:.68rem; color:var(--dim); }
.foot-tag{ font-size:.68rem; color:var(--dim); text-transform:uppercase; letter-spacing:var(--track-wide); font-weight:500; }

/* ───────────────────── MOBILE ───────────────────── */

/* Anchor targets must clear the sticky header, or a jump link
   parks the section heading underneath it. */
section[id]{ scroll-margin-top:84px; }

@media (max-width:600px){
  .nav-inner{ height:62px; gap:.75rem; }
  .brand-mark{ height:28px; }
  .brand-text{ font-size:.82rem; }
  .nav-right{ gap:.4rem; }
  .nav-cta{ padding:.45rem .75rem; font-size:.66rem; letter-spacing:.1em; }
  section[id]{ scroll-margin-top:74px; }

  /* Full-width tap targets instead of two cramped half-width ones */
  .hero-actions{ gap:.65rem; }
  .hero-actions .btn{ flex:1 1 100%; text-align:center; }

  /* Label above value reads better than a squeezed two-column row */
  .spec > div{ grid-template-columns:1fr; gap:.3rem; padding:.85rem 0; }
  .spec dd{ font-size:1.02rem; }

  .bio{ padding:1.5rem 0; gap:1rem; }
  .bio-photo{ width:58px; height:58px; }
  .bio-head{ gap:.5rem; }
  .bio-role{ margin-bottom:.9rem !important; }

  .foot-inner{ flex-direction:column; align-items:flex-start; gap:.6rem; }
}

/* Below 380px the chip rows start to crowd */
@media (max-width:380px){
  .chips li{ padding:.35rem .65rem; font-size:.79rem; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}
