/* ===== Self-hosted fonts (latin subset) ===== */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/inter-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/inter-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/inter-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/inter-tight-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/inter-tight-latin-600-normal.woff2') format('woff2');}
*{ margin:0; padding:0; box-sizing:border-box; }
:root{
  --ink:#0A0A0A; --ground:#08080A; --paper:#F4F4F1; --c400:#8A8A85; --c300:#B8B8B2; --line:#CFCFC9;
  --red:#E5482E; --red-deep:#C63A21;
  --pad: clamp(1.25rem, 4vw, 2.75rem);
  --maxw: 1440px;
}
html{ -webkit-font-smoothing:antialiased; background:var(--ground); scroll-behavior:smooth; }
body{ font-family:'Inter',system-ui,sans-serif; background:var(--paper); color:var(--ink); }
.eyebrow{ letter-spacing:.14em; text-transform:uppercase; font-size:.7rem; font-weight:500; }
.num{ font-variant-numeric:tabular-nums; }
.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 var(--pad); }
.display{ font-family:'Inter Tight','Inter',sans-serif; }

/* ============ GRID COLUMNS BACKDROP (hero only) ============ */
.fx{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.cols .rules{ position:absolute; inset:0; max-width:var(--maxw); margin:0 auto; padding:0 var(--pad);
  display:grid; grid-template-columns:repeat(12,1fr); gap:0; }
.cols .rules span{ border-left:1px solid rgba(244,244,241,.06); }
.cols .rules::after{ content:''; position:absolute; top:0; bottom:0; right:var(--pad); border-right:1px solid rgba(244,244,241,.06); }
.cols .glow{ position:absolute; top:0; bottom:0; left:0; width:34vw; opacity:0;
  background:linear-gradient(90deg, transparent, rgba(229,72,46,.16) 45%, rgba(240,168,94,.12) 55%, transparent);
  filter:blur(22px); mix-blend-mode:screen; will-change:transform,opacity; }
@media (max-width:767px){
  .cols .rules{ grid-template-columns:repeat(6,1fr); }
  .cols .rules span:nth-child(n+7){ display:none; }
  .cols .glow{ width:62vw; opacity:1; animation:sweep 16s ease-in-out infinite; }
}
@keyframes sweep{ 0%{ transform:translateX(-70vw); } 50%{ transform:translateX(110vw); } 100%{ transform:translateX(-70vw); } }
.guard{ position:absolute; inset:0; z-index:1; pointer-events:none;
  background:radial-gradient(120% 90% at 50% 34%, transparent 42%, rgba(6,6,8,.55) 100%),
    linear-gradient(to bottom, rgba(6,6,8,.28), transparent 22%, transparent 60%, rgba(6,6,8,.62)); }

/* ============ HEADER ============ */
header{ position:fixed; top:1.1rem; inset-inline:0; z-index:50; }
.hbar{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem;
  padding:.6rem .7rem .6rem 1.1rem; border-radius:999px; border:1px solid transparent; background:transparent;
  transition:background .45s ease, border-color .45s ease, box-shadow .45s ease, backdrop-filter .45s ease; }
header.stuck .hbar{ background:rgba(20,20,24,.55); border-color:rgba(244,244,241,.12);
  -webkit-backdrop-filter:blur(14px) saturate(1.3); backdrop-filter:blur(14px) saturate(1.3); box-shadow:0 10px 34px rgba(0,0,0,.34); }
header.onlight .hbar{ background:rgba(244,244,241,.72); border-color:rgba(10,10,10,.10); box-shadow:0 10px 30px rgba(0,0,0,.08); }
.brand{ font-family:'Inter Tight'; font-weight:600; letter-spacing:-.01em; font-size:16px; white-space:nowrap; color:var(--paper); transition:color .45s ease; }
header.onlight .brand{ color:var(--ink); }
header nav{ display:flex; gap:2rem; font-size:13px; font-weight:500; }
header nav a{ color:rgba(244,244,241,.74); text-decoration:none; position:relative; transition:color .45s ease; }
header nav a::after{ content:''; position:absolute; left:0; right:100%; bottom:-5px; height:1.5px; background:var(--red); transition:right .3s cubic-bezier(.22,.61,.36,1); }
header nav a:hover::after{ right:0; }
header nav a:hover{ color:#fff; }
header.onlight nav a{ color:rgba(10,10,10,.72); }
header.onlight nav a:hover{ color:var(--ink); }
@media (max-width:860px){ header nav{ display:none; } }
.cta{ flex:none; display:inline-flex; align-items:center; gap:.5rem; white-space:nowrap; font-size:13px; font-weight:500;
  text-decoration:none; color:#fff; background:var(--red); border-radius:999px; padding:.6rem 1.1rem;
  transition:background .3s ease, color .3s ease; }
.cta:hover{ background:#fff; color:var(--ink); }
.cta svg{ display:block; }

/* rolling label: on hover the word slides up and a duplicate rolls in */
.roll{ position:relative; display:inline-block; overflow:hidden; vertical-align:middle; line-height:1.25; }
.roll > span{ display:block; transition:transform .42s cubic-bezier(.22,.61,.36,1); }
.roll > .r2{ position:absolute; left:0; top:0; width:100%; transform:translateY(105%); }
.cta:hover .roll > .r1,
.btn-ghost:hover .roll > .r1,
.btn-solid:hover .roll > .r1{ transform:translateY(-105%); }
.cta:hover .roll > .r2,
.btn-ghost:hover .roll > .r2,
.btn-solid:hover .roll > .r2{ transform:translateY(0); }

/* ============ HERO ============ */
.hero{ position:relative; background:var(--ground); color:var(--paper); min-height:100svh;
  display:flex; flex-direction:column; justify-content:center; overflow:hidden; }
.hero .wrap{ position:relative; z-index:10; padding-left:calc(var(--pad) + 1.1rem); padding-right:calc(var(--pad) + 1.1rem); }
h1.head{ font-family:'Inter Tight'; font-weight:500; letter-spacing:-.03em; line-height:.98;
  font-size:clamp(2.05rem, 5.4vw, 4.6rem); max-width:19ch; text-wrap:balance; margin-left:-0.055em; }
h1.head .line{ display:block; overflow:hidden; }
h1.head .line > span{ display:block; transform:translateY(105%); transition:transform 1s cubic-bezier(.19,1,.22,1); }
h1.head.in .line > span{ transform:translateY(0); }
h1.head.in .line:nth-child(2) > span{ transition-delay:.08s; }
h1.head.in .line:nth-child(3) > span{ transition-delay:.16s; }
h1.head .muted{ color:rgba(244,244,241,.42); }
.hero-sub{ margin-top:1.9rem; max-width:44rem; font-size:clamp(.95rem,1.25vw,1.06rem); line-height:1.65; color:rgba(244,244,241,.72);
  opacity:0; transform:translateY(14px); transition:opacity .9s ease .45s, transform .9s ease .45s; }
.hero.in .hero-sub{ opacity:1; transform:none; }
.hero-actions{ margin-top:2.4rem; display:flex; gap:1rem; align-items:center;
  opacity:0; transform:translateY(14px); transition:opacity .9s ease .6s, transform .9s ease .6s; }
.hero.in .hero-actions{ opacity:1; transform:none; }
.btn-ghost{ display:inline-flex; align-items:center; gap:.6rem; font-size:14px; font-weight:500; text-decoration:none;
  color:var(--paper); border:1px solid rgba(244,244,241,.28); border-radius:999px; padding:.75rem 1.35rem;
  transition:background .3s ease, border-color .3s ease, color .3s ease, transform .25s ease; will-change:transform; }
.btn-ghost:hover{ background:#fff; color:var(--ink); border-color:#fff; }

/* ============ LIGHT SECTIONS ============ */
section.light{ background:var(--paper); color:var(--ink); padding:clamp(4.5rem,10vh,7.5rem) 0; border-bottom:1px solid var(--line); }
.sec-head{ display:grid; grid-template-columns:repeat(12,1fr); gap:1.5rem; margin-bottom:clamp(2.5rem,5vw,3.75rem); }
.sec-head .lab{ grid-column:span 3; color:var(--c400); }
.sec-head h2{ grid-column:span 9; font-family:'Inter Tight'; font-weight:500; letter-spacing:-.02em; line-height:1.05;
  font-size:clamp(1.75rem,3.4vw,3rem); max-width:22ch; text-wrap:balance; }
.sec-head p.lede{ grid-column:4 / span 8; margin-top:1.4rem; font-size:clamp(.95rem,1.2vw,1.05rem); line-height:1.7; color:rgba(10,10,10,.72); max-width:62ch; }
@media (max-width:768px){ .sec-head .lab{ grid-column:1/-1; } .sec-head h2, .sec-head p.lede{ grid-column:1/-1; } }

.sub-lab{ display:grid; grid-template-columns:repeat(12,1fr); gap:1.5rem; margin:clamp(2.5rem,5vw,3.5rem) 0 0; }
.sub-lab p{ grid-column:span 12; color:var(--c400); border-top:1px solid var(--line); padding-top:1rem; }

/* statement-led section head (About) */
.statement{ display:grid; grid-template-columns:repeat(12,1fr); gap:1.5rem; align-items:start; }
.statement .lab{ grid-column:span 3; color:var(--red); padding-top:.55rem; }

/* indented block: aligns with the statement column */
.indent{ display:grid; grid-template-columns:repeat(12,1fr); gap:1.5rem; }
.indent > *{ grid-column:4 / span 9; }
@media (max-width:768px){ .indent > *{ grid-column:1/-1; } }
.statement .say{ grid-column:4 / span 9; font-family:'Inter Tight'; font-weight:500; letter-spacing:-.022em;
  line-height:1.12; font-size:clamp(1.5rem,3.05vw,2.7rem); color:var(--ink); max-width:44ch; text-wrap:balance; }
@media (max-width:768px){ .statement .lab{ grid-column:1/-1; padding-top:0; } .statement .say{ grid-column:1/-1; max-width:none; } }

/* --- Card grid: bordered 3-up cards with ghost numerals (Operations) --- */
.cards{ list-style:none; display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin-top:1.25rem;
  border-top:1px solid var(--line); border-left:1px solid var(--line); border-right:1px solid var(--line); }
.cards li{ position:relative; padding:2.25rem 1.75rem 2.5rem; border-right:1px solid var(--line); border-bottom:1px solid var(--line);
  transition:background-color .4s ease, color .4s ease; overflow:hidden; }
.cards li:last-child{ border-right:0; }
.cards .ico{ display:block; width:38px; height:38px; margin-bottom:1.65rem; color:var(--ink);
  stroke:currentColor; fill:none; stroke-width:1.35; stroke-linecap:round; stroke-linejoin:round;
  transition:color .4s ease, transform .4s ease; }
.cards li:hover .ico{ color:var(--red); transform:translateY(-2px); }
.cards h3{ font-weight:500; font-size:1.05rem; margin-bottom:.7rem; letter-spacing:-.01em; }
.cards p{ font-size:.9rem; line-height:1.65; color:rgba(10,10,10,.66); transition:color .4s ease; }
.cards li::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--red);
  transform:scaleX(0); transform-origin:left; transition:transform .45s cubic-bezier(.22,.61,.36,1); }
.cards li:hover{ background:var(--ink); color:var(--paper); }
.cards li:hover .n{ color:rgba(244,244,241,.35); }
.cards li:hover p{ color:rgba(244,244,241,.72); }
.cards li:hover::after{ transform:scaleX(1); }
@media (max-width:900px){
  .cards{ grid-template-columns:1fr; }
  .cards li{ border-right:0; padding:1.9rem 1.35rem 2rem; }
}

/* subsection: marker + title, no rules — the card grid carries the structure */
.block{ margin-top:clamp(3.25rem,6.5vw,5rem); }
.block-head{ display:flex; align-items:center; gap:.7rem; margin-bottom:1.35rem; }
.block-head::before{ content:''; width:7px; height:7px; background:var(--red); flex:none; }
.block-head h3{ font-family:'Inter Tight'; font-weight:500; letter-spacing:-.018em;
  font-size:clamp(1.2rem,1.9vw,1.55rem); }

/* ledger rows */
ol.ledger{ list-style:none; display:grid; grid-template-columns:repeat(12,1fr); gap:0 1.5rem; margin-top:1.25rem; }
ol.ledger li{ grid-column:1/-1; display:grid; grid-template-columns:repeat(12,1fr); gap:1rem; align-items:baseline;
  padding:1.6rem 0; border-top:1px solid var(--line); transition:background-color .35s ease, padding .35s ease, color .35s ease; }
ol.ledger li:last-child{ border-bottom:1px solid var(--line); }
ol.ledger li:hover{ background:var(--ink); color:var(--paper); padding-left:1.1rem; padding-right:1.1rem; }
ol.ledger .n{ grid-column:span 1; font-size:12.5px; color:var(--c400); }
ol.ledger li:hover .n{ color:var(--c300); }
ol.ledger h3{ grid-column:span 4; font-weight:500; font-size:1rem; }
ol.ledger p{ grid-column:span 7; font-size:.9rem; line-height:1.65; color:rgba(10,10,10,.66); }
ol.ledger li:hover p{ color:rgba(244,244,241,.72); }
/* mobile: stack as blocks led by a large ghost numeral */
@media (max-width:768px){
  ol.ledger li{ display:block; padding:1.9rem 0 2.1rem; }
  ol.ledger li:hover{ background:transparent; color:inherit; padding-left:0; padding-right:0; }
  ol.ledger .n{ display:block; font-family:'Inter Tight'; font-weight:600; font-size:2.5rem; line-height:1;
    color:var(--c300); margin-bottom:1.1rem; }
  ol.ledger li:hover .n{ color:var(--c300); }
  ol.ledger h3{ display:block; font-size:1.05rem; margin-bottom:.6rem; }
  ol.ledger p{ display:block; font-size:.95rem; line-height:1.7; color:rgba(10,10,10,.66); }
  ol.ledger li:hover p{ color:rgba(10,10,10,.66); }
}

/* contact */
.contact-grid{ display:grid; grid-template-columns:repeat(12,1fr); gap:1.5rem; align-items:start;
  margin-top:clamp(3rem,6vw,4.5rem); }

/* stacked in the right column, aligned under the statement */
.contact-lead{ grid-column:4 / span 9; margin-top:clamp(2.75rem,5vw,3.75rem); }
.contact-lead .lab{ display:flex; align-items:center; gap:.7rem; color:var(--c400); margin-bottom:1.1rem; }
.contact-lead .lab::before{ content:''; width:7px; height:7px; background:var(--red); flex:none; }
.mailto{ display:inline-block; font-family:'Inter Tight'; font-weight:500; letter-spacing:-.022em;
  font-size:clamp(1.35rem,2.7vw,2.35rem); line-height:1.1; color:var(--red); text-decoration:none;
  background-image:linear-gradient(var(--red-deep),var(--red-deep)); background-size:0% 2px; background-repeat:no-repeat;
  background-position:0 100%; transition:background-size .45s cubic-bezier(.22,.61,.36,1), color .35s ease; }
.mailto:hover{ color:var(--red-deep); background-size:100% 2px; }
.contact-lead .hours{ margin-top:1.5rem; font-size:.92rem; line-height:1.7; color:rgba(10,10,10,.62); max-width:38ch; }
.btn-solid{ display:inline-flex; align-items:center; gap:.55rem; margin-top:1.9rem; font-size:14px; font-weight:500;
  text-decoration:none; background:var(--ink); color:var(--paper); border-radius:999px; padding:.75rem 1.3rem;
  transition:background .3s ease, transform .25s ease; will-change:transform; }
.btn-solid:hover{ background:#fff; color:var(--ink); box-shadow:inset 0 0 0 1px rgba(10,10,10,.14); }

/* registered particulars, stacked beneath the email */
dl.details{ grid-column:4 / span 9; }
dl.details > div{ border-top:1px solid var(--line); padding:1.2rem 0;
  display:grid; grid-template-columns:repeat(12,1fr); gap:1rem; align-items:baseline; }
dl.details > div:last-child{ border-bottom:1px solid var(--line); }
dl.details dt{ grid-column:span 4; color:var(--c400); }
dl.details dd{ grid-column:span 8; font-size:.98rem; line-height:1.6; }
@media (max-width:900px){
  .contact-lead, dl.details{ grid-column:1/-1; }
  .contact-lead{ margin-top:2.5rem; }
  dl.details dt{ grid-column:1/-1; margin-bottom:.35rem; }
  dl.details dd{ grid-column:1/-1; }
}

/* footer */
footer{ background:var(--ink); color:rgba(244,244,241,.7); padding:clamp(3rem,6vh,4.5rem) 0 2rem; }
.foot-top{ display:grid; grid-template-columns:repeat(12,1fr); gap:1.5rem; padding-bottom:2.5rem; border-bottom:1px solid rgba(244,244,241,.16); }
.foot-top .fbrand{ grid-column:span 6; }
.foot-top .fbrand .n{ font-family:'Inter Tight'; font-weight:600; font-size:15px; color:var(--paper); margin-bottom:.9rem; }
.foot-top .fbrand p{ font-size:.83rem; line-height:1.7; color:rgba(244,244,241,.5); max-width:34ch; }
.foot-links{ grid-column:8 / span 5; display:flex; flex-wrap:wrap; gap:.5rem 1.75rem; align-items:flex-start; justify-content:flex-end; }
.foot-links button{ font:inherit; font-size:.85rem; background:none; border:0; cursor:pointer; color:rgba(244,244,241,.7);
  border-bottom:1px solid transparent; padding:0 0 2px; transition:color .3s, border-color .3s; }
.foot-links button:hover{ color:var(--paper); border-color:var(--paper); }
.foot-bot{ padding-top:1.5rem; display:grid; grid-template-columns:repeat(12,1fr); gap:1rem; font-size:.78rem; color:rgba(244,244,241,.45); }
.foot-bot p:first-child{ grid-column:span 6; }
.foot-bot p:last-child{ grid-column:span 6; text-align:right; }
@media (max-width:768px){
  .foot-top .fbrand, .foot-links{ grid-column:1/-1; justify-content:flex-start; }
  .foot-links{ margin-top:1.5rem; }
  .foot-bot p:first-child, .foot-bot p:last-child{ grid-column:1/-1; text-align:left; }
}

/* reveal */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); }
.reveal.in{ opacity:1; transform:none; }

/* modal */
.modal{ position:fixed; inset:0; z-index:80; display:none; align-items:center; justify-content:center; padding:1rem; }
.modal.open{ display:flex; }
.modal .backdrop{ position:absolute; inset:0; background:rgba(8,8,10,.6); backdrop-filter:blur(3px); }
.modal .panel{ position:relative; width:100%; max-width:44rem; max-height:86vh; background:var(--paper); color:var(--ink);
  border:1px solid var(--line); display:flex; flex-direction:column; }
.modal .phead{ display:flex; align-items:center; justify-content:space-between; padding:1.15rem 1.6rem; border-bottom:1px solid var(--line); }
.modal .phead h3{ font-family:'Inter Tight'; font-weight:500; font-size:1.2rem; letter-spacing:-.01em; }
.modal .phead button{ font:inherit; font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; background:none; border:0; cursor:pointer; color:var(--c400); }
.modal .phead button:hover{ color:var(--red); }
.modal .pbody{ overflow-y:auto; padding:1.5rem 1.6rem; font-size:.9rem; line-height:1.7; color:rgba(10,10,10,.75); }
.modal .pbody h4{ font-weight:600; color:var(--ink); margin:1.25rem 0 .4rem; font-size:.92rem; }
.modal .pbody h4:first-child{ margin-top:0; }
.modal .pbody p + p{ margin-top:.7rem; }
.modal .pbody ul{ margin:.5rem 0 0 1.1rem; }
.modal .pbody li{ margin-bottom:.35rem; }
.modal .pfoot{ padding:.9rem 1.6rem; border-top:1px solid var(--line); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--c400); }

*:focus-visible{ outline:2px solid var(--red); outline-offset:3px; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .roll > span{ transition:none !important; }
  .roll > .r2{ display:none; }
  .reveal, .hero-sub, .hero-actions{ opacity:1 !important; transform:none !important; }
  h1.head .line > span{ transform:none !important; }
  .cols .glow{ animation:none !important; }
}
