@import url('tokens.css');

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink-text);
  background:var(--light);
  line-height:1.5;
}
img,video{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3{ font-family:var(--font-display); font-weight:700; line-height:1.1; margin:0; }
p{ margin:0; }
.container{ max-width:1440px; margin:0 auto; padding:0 var(--container-inset); }
.section{ padding-block:var(--section-gap); }
.section--dark{ background:var(--ink); color:#fff; }
.section--light{ background:var(--light); }

.kicker{
  display:flex; align-items:center; gap:12px;
  font-family:var(--font-body); font-weight:600; font-size:12px;
  letter-spacing:1.2px; text-transform:uppercase; color:var(--amber-deep);
  margin-bottom:16px;
}
.section--dark .kicker{ color:var(--amber); }
.kicker::before{ content:""; width:28px; height:1px; background:currentColor; }

.btn{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-body); font-weight:600; font-size:14px;
  padding:14px 22px; border-radius:var(--radius-btn);
  border:1px solid transparent; cursor:pointer; white-space:nowrap;
}
.btn--primary{ background:var(--amber); color:var(--btn-text); }
.btn--primary:hover{ background:#e6a600; }
.btn--ghost-dark{ border-color:var(--border-dark); color:#fff; }
.btn--ghost-light{ border-color:var(--amber-deep); color:var(--ink-text); }
.btn--full{ width:100%; justify-content:center; }

/* ---- Header ---- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--ink);
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 48px; height:80px;
}
.site-header .logo img{ height:26px; width:104px; aspect-ratio:3366/842; }
.site-header .nav-right{ display:flex; align-items:center; gap:28px; }
.site-header .nav-links{ display:flex; gap:30px; list-style:none; margin:0; padding:0; }
.site-header .nav-links a{ font-size:13px; color:var(--muted-nav); }
.site-header .nav-links a[aria-current="page"], .site-header .nav-links a:hover{ color:#fff; }
.burger{ display:none; background:none; border:0; cursor:pointer; }

@media (max-width:1023px){
  .site-header{ padding:18px 20px; }
  .site-header .nav-links{ display:none; }
  .burger{ display:block; }
}

/* ---- Footer ---- */
.site-footer{ background:var(--ink); color:#fff; padding:48px 64px 32px; }
.site-footer .top{ display:flex; justify-content:space-between; gap:56px; flex-wrap:wrap; }
.site-footer .logo img{ width:220px; aspect-ratio:3366/842; }
.site-footer .cols{ display:flex; gap:56px; flex-wrap:wrap; }
.site-footer .col h4{ font-family:var(--font-body); font-weight:600; font-size:11px; letter-spacing:1.2px; color:var(--amber); margin-bottom:12px; }
.site-footer .col a{ display:block; font-size:13px; color:#fff; margin-bottom:12px; }
.site-footer hr{ border:none; border-top:1px solid var(--divider-amber); margin:28px 0; }
.site-footer .bottom{ display:flex; justify-content:space-between; font-size:12px; color:var(--muted-nav); }
@media (max-width:767px){
  .site-footer{ padding:40px 20px 24px; }
  .site-footer .top{ flex-direction:column; gap:32px; }
  .site-footer .bottom{ flex-direction:column; gap:8px; }
}

/* ---- Hero (Home) ---- */
.hero{
  position:relative; padding:120px 80px; min-height:628px;
  display:flex; flex-direction:column; gap:22px; justify-content:center;
  color:#fff; overflow:hidden;
}
.hero > *{ position:relative; z-index:2; }
.hero > .hero__media{ position:absolute; inset:0; object-fit:cover; width:100%; height:100%; z-index:0; }
.hero > .hero__overlay{ position:absolute; inset:0; background:linear-gradient(to right, rgba(10,10,10,.92), rgba(10,10,10,.72) 55%, rgba(10,10,10,.25)); z-index:1; }
.hero .kicker{ color:var(--amber-muted); margin-bottom:0; }
.hero h1{ font-size:56px; color:#fff; letter-spacing:-1px; max-width:900px; }
.hero p.lede{ font-size:18px; color:var(--muted-hero); max-width:720px; font-family:var(--font-body); }
.hero .actions{ display:flex; gap:14px; padding-top:14px; }
@media (max-width:767px){
  .hero{ padding:56px 20px; min-height:auto; }
  .hero h1{ font-size:36px; }
  .hero .actions{ flex-direction:column; }
  .hero .actions .btn{ width:100%; justify-content:center; }
}

/* placeholder for media not yet synced */
.media-placeholder{
  background:repeating-linear-gradient(45deg,#1a1a1a,#1a1a1a 10px,#111 10px,#111 20px);
  display:flex; align-items:center; justify-content:center;
  color:var(--muted-dark); font-size:12px; font-family:var(--font-body);
  min-height:280px;
}

/* ---- generic card / grid helpers used across pages ---- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--card-gap); }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:var(--card-gap); }
.card{ background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:8px; padding:var(--card-pad); }
.card--accent{ border-top:2px solid var(--amber-deep); }
@media (max-width:1023px){ .grid-3{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:767px){ .grid-3, .grid-2{ grid-template-columns:1fr; } }

.tool-chip{
  background:#1a1a1f; border:1px solid rgba(255,183,3,.55); border-radius:4px;
  padding:6px 12px; font-size:13px; font-weight:500; color:#fff;
}

/* ---- sticky mobile CTA (industry pages) ---- */
.sticky-cta{ display:none; }
@media (max-width:767px){
  .sticky-cta{
    display:block; position:fixed; bottom:0; left:0; right:0; z-index:60;
    padding:12px 20px; background:var(--ink); border-top:1px solid var(--divider-amber);
  }
}

/* ==== Container alignment (added 2026-07-21) ====
   Hero, header and footer are full-bleed with their own inline paddings;
   this aligns their content edge with the .container grid on every page. */
@media (min-width:768px){
  .hero{
    padding-left:max(var(--container-inset), calc((100% - 1440px)/2 + var(--container-inset))) !important;
    padding-right:max(var(--container-inset), calc((100% - 1440px)/2 + var(--container-inset))) !important;
  }
  .site-header, .site-footer{
    padding-left:max(var(--container-inset), calc((100% - 1440px)/2 + var(--container-inset)));
    padding-right:max(var(--container-inset), calc((100% - 1440px)/2 + var(--container-inset)));
  }
  /* Sections built without an inner .container (Pricing, Services listings)
     get aligned to the same grid. Sections that already contain .container are excluded. */
  section[style]:not(.hero):not(:has(.container)){
    padding-left:max(var(--container-inset), calc((100% - 1440px)/2 + var(--container-inset))) !important;
    padding-right:max(var(--container-inset), calc((100% - 1440px)/2 + var(--container-inset))) !important;
  }
}

/* Pull-quote (client words, reusable across pages) */
.pull-quote{ border-left:3px solid var(--amber); padding:6px 0 6px 24px; max-width:760px; }
.pull-quote p{ font-family:var(--font-display); font-weight:600; font-size:22px; line-height:1.35; margin-bottom:12px; }
.pull-quote footer{ font-size:14px; color:#5c5c59; }
.pull-quote .stars{ color:var(--amber-deep); letter-spacing:2px; font-size:13px; display:block; margin-bottom:10px; }
.section--dark .pull-quote p, .pull-quote--dark p{ color:#fff; }
.pull-quote--dark footer{ color:#aeada6; }
.pull-quote--dark .stars{ color:var(--amber); }

/* ==== Full-bleed video cover hero (home + about) ==== */
.hero--cover{
  min-height:calc(100vh - 80px);
  min-height:calc(100svh - 80px);
}
.hero--cover > .hero__overlay{
  background:linear-gradient(to right, rgba(10,10,10,.93), rgba(10,10,10,.78) 48%, rgba(10,10,10,.34));
}
.hero > .hero__stats{
  position:static; align-self:flex-start; justify-self:auto;
  grid-column:auto; grid-row:auto;
  margin:10px 0 0; padding:0; list-style:none;
  display:flex; flex-direction:row; flex-wrap:wrap; gap:10px;
}
@media (max-width:767px){
  .hero--cover > .hero__media{ transform:scale(1.18); }
  .hero--cover > .hero__overlay{
    background:linear-gradient(to bottom, rgba(10,10,10,.88), rgba(10,10,10,.66) 50%, rgba(10,10,10,.9));
  }
}

/* ==== Split hero with video panel (home + about, added 2026-07-21) ==== */
.hero--split{
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(340px,31vw,420px);
  gap:clamp(40px,5vw,72px);
  align-items:stretch;
  min-height:calc(100vh - 80px);
  min-height:calc(100svh - 80px);
  padding-block:72px;
  align-content:stretch;
}
.hero--split .hero__col{
  grid-column:1; grid-row:1;
  display:flex; flex-direction:column; gap:22px; justify-content:center;
}
.hero--split .hero__col > .kicker{ margin-bottom:0; }
.hero--split .hero__panel{
  grid-column:2; grid-row:1;
  position:relative; margin:0; overflow:hidden;
  border-radius:22px; min-height:520px;
  background:var(--ink);
  box-shadow:0 34px 80px -24px rgba(0,0,0,.8);
}
.hero--split .hero__panel video{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover; object-position:center;
  /* overscan crops the source watermark out of the top-left corner */
  transform:scale(1.13) translateY(4.5%);
}
.hero--split .hero__panel::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(to top, rgba(10,10,10,.72), rgba(10,10,10,0) 46%);
}
.hero--split > .hero__overlay{ display:none; }

.hero__stats{
  grid-column:2; grid-row:1; align-self:end; justify-self:stretch;
  z-index:3; margin:0 20px 22px; padding:0; list-style:none;
  display:flex; flex-direction:column; gap:9px; align-items:flex-start;
}
.hero__stat{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(10,10,10,.82); border:1px solid var(--divider-amber);
  border-radius:40px; padding:9px 17px;
  font-family:var(--font-body); font-size:13px; font-weight:500; color:#fff;
  white-space:nowrap; backdrop-filter:blur(6px);
}
.hero__stat b{ font-family:var(--font-display); font-weight:700; color:var(--amber); }

/* ==== Pull stat (large typographic number, service + industry pages) ==== */
.pull-stat{ display:flex; flex-direction:column; gap:12px; }
.pull-stat__num{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(56px,7.2vw,90px); line-height:.92; letter-spacing:-2.5px;
  color:var(--amber-deep);
}
.pull-stat--coral .pull-stat__num{ color:#D6402B; }
.pull-stat--on-dark .pull-stat__num{ color:var(--amber); }
.pull-stat__label{ font-size:16px; line-height:1.55; max-width:540px; color:#5c5c59; }
.pull-stat--on-dark .pull-stat__label{ color:#aeada6; }

/* ==== Related services chips (industry pages) ==== */
.related-services{ display:flex; gap:14px; flex-wrap:wrap; margin-top:6px; }
.rel-chip{
  display:flex; flex-direction:column; gap:5px;
  border:1px solid rgba(0,0,0,.12); border-radius:12px;
  padding:16px 20px; min-width:210px; background:#fff;
}
.rel-chip b{ font-size:15px; }
.rel-chip span{ font-size:13px; color:#5c5c59; line-height:1.45; }
.rel-chip:hover{ border-color:var(--amber-deep); }
.related-services--dark .rel-chip{ background:#141414; border-color:rgba(255,255,255,.16); color:#fff; }
.related-services--dark .rel-chip span{ color:#aeada6; }
.related-services--dark .rel-chip:hover{ border-color:var(--amber); }

/* Proof-in-pictures: 2-up variant with taller tiles for vertical screenshots */
.proof-pics--tall{ grid-template-columns:repeat(2,1fr) !important; }
.proof-pics.proof-pics--tall img{ height:480px; object-position:center center; }

/* ==== Mobile hardening (added 2026-07-21) ====
   Inline styles on sections override media queries; these rules win them back. */
@media (max-width:1023px){
  .site-header{ position:sticky; }
  .nav-links.open{
    display:flex !important; flex-direction:column; gap:18px;
    position:absolute; top:80px; left:0; right:0; z-index:70;
    background:var(--ink); padding:20px 20px 28px;
    border-top:1px solid var(--divider-amber); border-bottom:1px solid var(--divider-amber);
    margin:0; list-style:none;
  }
  .nav-links.open a{ font-size:16px; color:#fff; display:block; padding:4px 0; }
  .burger{ color:#fff; font-size:22px; }
}
@media (max-width:767px){
  .hero{ padding:64px 20px 48px !important; min-height:auto !important; }
  .hero h1{ font-size:34px !important; letter-spacing:-0.5px !important; max-width:100% !important; }
  .hero p.lede{ font-size:16px !important; }
  .section h2{ font-size:30px !important; }
  .container[style*="display:flex"]{ flex-wrap:wrap !important; gap:36px !important; }
  .container[style*="display:flex"] > div{ min-width:0; }
  .audit-score-bar{ top:0; }
  iframe{ max-width:100%; }
  .site-footer .logo img{ width:160px; aspect-ratio:3366/842; }
}

/* ==== Nav dropdown (added 2026-07-21) ==== */
.nav-links .has-dropdown{ position:relative; }
.nav-links .has-dropdown > a{ display:inline-flex; align-items:center; gap:5px; }
.nav-links .dropdown{
  display:none; position:absolute; top:100%; left:-18px; z-index:80;
  background:var(--ink); border:1px solid var(--divider-amber); border-radius:8px;
  padding:10px 0; min-width:190px; margin:14px 0 0; list-style:none;
}
.nav-links .has-dropdown::after{ content:""; position:absolute; left:0; right:0; top:100%; height:16px; }
.nav-links .has-dropdown:hover .dropdown,
.nav-links .has-dropdown:focus-within .dropdown{ display:block; }
.nav-links .dropdown a{ display:block; padding:9px 20px; font-size:13px; color:var(--muted-nav); white-space:nowrap; }
.nav-links .dropdown a:hover, .nav-links .dropdown a[aria-current="page"]{ color:#fff; background:rgba(255,183,3,.08); }
@media (max-width:1023px){
  .nav-links.open .dropdown{ display:block; position:static; border:none; background:none; padding:6px 0 0 16px; margin:0; }
  .nav-links.open .has-dropdown::after{ display:none; }
}

/* ==== Floating CTA (scrolls with user on every page) ==== */
.floating-cta{
  position:fixed; bottom:26px; right:26px; z-index:90;
  background:var(--amber); color:var(--btn-text);
  font-family:var(--font-body); font-weight:600; font-size:14px;
  padding:15px 22px; border-radius:40px;
  box-shadow:0 10px 30px -6px rgba(0,0,0,.45);
  display:inline-flex; align-items:center; gap:8px;
}
.floating-cta:hover{ background:#e6a600; }
@media (max-width:767px){ .floating-cta{ display:none; } }

/* Proof-in-pictures: единая высота, аккуратная обрезка */
.proof-pics{ display:grid; gap:16px; align-items:start; }
.proof-pics figure{ margin:0; }
.proof-pics img{ width:100%; height:340px; object-fit:contain; padding:12px; border-radius:10px; border:1px solid rgba(0,0,0,.1); background:#fff; }
.proof-pics figcaption{ font-size:13px; color:#5c5c59; padding-top:8px; }
@media (max-width:767px){ .proof-pics img{ height:240px; } }

/* ==== P1 design accents (2026-07-21) ==== */
.case-card{ transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.case-card:hover{ transform:translateY(-4px); border-color:var(--amber) !important; box-shadow:0 24px 48px -20px rgba(0,0,0,.28); }
.mini-card{ transition:border-color .25s ease, transform .25s ease; }
.mini-card:hover{ border-color:var(--amber); transform:translateY(-3px); }
a[href*="industries/"][style*="border-radius:40px"],
a[href*="services/"][style*="border-radius:40px"]{ transition:background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease; }
a[href*="industries/"][style*="border-radius:40px"]:hover,
a[href*="services/"][style*="border-radius:40px"]:hover{ background:var(--amber) !important; color:#0a0a0a !important; transform:translateY(-2px); }
.case-num{ font-family:var(--font-display); font-weight:700; font-size:64px; line-height:1; letter-spacing:-1px; color:#D6402B; margin:4px 0 10px; }
.case-num small{ display:block; font-family:var(--font-body); font-weight:600; font-size:12px; letter-spacing:1.2px; text-transform:uppercase; color:#5c5c59; margin-top:8px; }
@media (max-width:767px){ .case-num{ font-size:46px; } }

/* ==== P3: background section numbers (Locomotive-style) ==== */
section:has(> .sec-num){ position:relative; overflow:hidden; isolation:isolate; }
.sec-num{
  position:absolute; top:20px; right:34px; z-index:-1;
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(110px,13vw,190px); line-height:1; letter-spacing:-6px;
  color:rgba(10,10,10,.055);
  pointer-events:none; user-select:none;
}
.sec-num--dark{ color:rgba(255,255,255,.05); }
@media (max-width:1023px){ .sec-num{ display:none; } }

/* ==== Air: more breathing room site-wide (2026-07-21) ==== */
@media (min-width:1024px){
  :root{ --section-gap:136px; --card-gap:28px; }
}
@media (min-width:768px) and (max-width:1023px){
  :root{ --section-gap:104px; }
}
@media (max-width:767px){
  :root{ --section-gap:72px; }
}

/* ==== System map (How We Work, 2026-07-21) ==== */
.sysmap{ display:grid; grid-template-columns:300px minmax(0,1fr); gap:56px; align-items:start; }
.sysmap__stages{ list-style:none; margin:0; padding:0; position:relative; }
.sysmap__stages::before{ content:""; position:absolute; left:17px; top:22px; bottom:22px; width:1px; background:rgba(255,255,255,.14); }
.sysmap__stage{ position:relative; }
.sysmap__stage button{
  display:flex; align-items:center; gap:16px; width:100%;
  background:none; border:0; cursor:pointer; text-align:left;
  padding:11px 0; font-family:var(--font-body); font-size:15px; font-weight:600; color:#8a8a85;
  transition:color .2s ease;
}
.sysmap__stage .dot{
  width:34px; height:34px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.22); background:var(--ink);
  font-size:11px; font-weight:700; color:#8a8a85; position:relative; z-index:1;
  transition:all .2s ease;
}
.sysmap__stage button:hover{ color:#fff; }
.sysmap__stage.active button{ color:#fff; }
.sysmap__stage.active .dot{ background:var(--amber); border-color:var(--amber); color:#0a0a0a; }
.sysmap__panel{ background:#151515; border:1px solid rgba(255,255,255,.09); border-radius:16px; padding:36px 40px; min-height:380px; }
.sysmap__panel h3{ font-size:24px; color:#fff; margin-bottom:6px; }
.sysmap__panel .sub{ color:var(--amber); font-size:13px; font-weight:600; letter-spacing:1px; text-transform:uppercase; margin-bottom:26px; display:block; }
.sysmap__row{ margin-bottom:20px; }
.sysmap__row b{ display:block; font-size:11px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; margin-bottom:6px; }
.sysmap__row.ok b{ color:var(--green, #33D480); }
.sysmap__row.bad b{ color:#FF8A78; }
.sysmap__row.fix b{ color:var(--amber); }
.sysmap__row p{ color:#d6d6d1; font-size:15px; line-height:1.55; }
.sysmap__tools{ display:flex; gap:8px; flex-wrap:wrap; margin-top:24px; }
.sysmap__tools span{ background:#1a1a1f; border:1px solid rgba(255,183,3,.4); border-radius:30px; padding:5px 13px; font-size:12px; font-weight:500; color:#fff; }
.sysmap__panel.switching{ opacity:0; transform:translateY(8px); }
.sysmap__panel{ transition:opacity .18s ease, transform .18s ease; }
@media (max-width:1023px){
  .sysmap{ grid-template-columns:1fr; gap:24px; }
  .sysmap__stages{ display:flex; overflow-x:auto; gap:6px; padding-bottom:8px; }
  .sysmap__stages::before{ display:none; }
  .sysmap__stage button{ padding:8px 4px; white-space:nowrap; font-size:13px; gap:8px; }
  .sysmap__stage .dot{ width:26px; height:26px; font-size:10px; }
  .sysmap__panel{ padding:26px 22px; min-height:0; }
}

/* ==== Logo marquee (2026-07-21) ==== */
.logo-marquee{ overflow:hidden; position:relative; margin-bottom:30px;
  -webkit-mask-image:linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image:linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.logo-marquee__track{ display:flex; width:max-content; animation:logo-scroll 30s linear infinite; }
.logo-marquee__group{ display:flex; align-items:center; gap:72px; padding-right:72px; }
.logo-marquee:hover .logo-marquee__track{ animation-play-state:paused; }
.logo-marquee img{ height:38px; width:auto; max-width:170px; object-fit:contain;
  filter:grayscale(1) opacity(.65); transition:filter .25s ease; }
.logo-marquee img:hover{ filter:grayscale(0) opacity(1); }
@keyframes logo-scroll{ to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){
  .logo-marquee__track{ animation:none; flex-wrap:wrap; }
}

/* ==== Quote fragments (testimonials, 2026-07-21) ==== */
.quote-frags{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; max-width:1000px; margin-bottom:30px; }
.quote-frag{ border-radius:14px; padding:28px 30px; font-family:var(--font-display); font-weight:600; font-size:20px; line-height:1.35; }
.quote-frag--ink{ background:#121215; color:#fff; border:1px solid #29292b; }
.quote-frag--light{ background:#fff; color:#0f0f0f; border:1px solid rgba(0,0,0,.08); }
.quote-frag .q{ color:var(--amber); }
@media (max-width:767px){ .quote-frags{ grid-template-columns:1fr; } .quote-frag{ font-size:17px; padding:22px; } }

/* ==== Audit CTA card (2026-07-21) ==== */
.audit-cta-grid{ display:grid; grid-template-columns:minmax(0,1fr) 400px; gap:56px; align-items:center; max-width:1120px; }
.audit-card{ display:block; background:var(--amber); border-radius:18px; padding:36px 38px; color:#0a0a0a; transition:transform .25s ease, box-shadow .25s ease; }
.audit-card:hover{ transform:translateY(-5px); box-shadow:0 30px 55px -22px rgba(138,90,0,.5); }
.audit-card .big{ font-family:var(--font-display); font-weight:700; font-size:92px; line-height:.95; letter-spacing:-3px; margin-bottom:2px; }
.audit-card .big-label{ font-size:13px; font-weight:700; letter-spacing:1.6px; text-transform:uppercase; margin-bottom:22px; }
.audit-card .go{ font-family:var(--font-display); font-weight:700; font-size:19px; display:flex; align-items:center; justify-content:space-between; border-top:1px solid rgba(10,10,10,.25); padding-top:18px; }
.audit-meta{ display:flex; gap:10px; flex-wrap:wrap; margin-top:22px; }
.audit-meta span{ background:#fff; border:1px solid rgba(0,0,0,.1); border-radius:30px; padding:8px 16px; font-size:13px; font-weight:600; }
@media (max-width:1023px){ .audit-cta-grid{ grid-template-columns:1fr; gap:32px; } .audit-card{ max-width:420px; } }

/* ==== Report mock (analytics page, drawn not screenshotted) ==== */
.report-mock{ background:#121215; border:1px solid #29292b; border-radius:16px; padding:30px 32px; max-width:460px; box-shadow:0 30px 60px -25px rgba(0,0,0,.5); }
.report-mock .rm-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:22px; }
.report-mock .rm-head span:first-child{ color:#fff; font-family:var(--font-display); font-weight:700; font-size:16px; }
.report-mock .rm-tag{ font-size:10px; font-weight:700; letter-spacing:1.4px; color:var(--amber); border:1px solid rgba(255,183,3,.4); border-radius:20px; padding:3px 10px; }
.report-mock .rm-kpis{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:24px; }
.report-mock .rm-kpis div{ background:#1a1a1f; border-radius:10px; padding:14px 12px; }
.report-mock .rm-kpis b{ display:block; font-family:var(--font-display); font-weight:700; font-size:22px; color:#fff; margin-bottom:3px; }
.report-mock .rm-kpis span{ font-size:11px; color:#8a8a85; }
.report-mock .rm-label{ font-size:11px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase; color:#8a8a85; margin-bottom:12px; }
.report-mock .rm-bar{ display:grid; grid-template-columns:86px 1fr 40px; gap:10px; align-items:center; margin-bottom:10px; }
.report-mock .rm-bar span{ font-size:12px; color:#d6d6d1; }
.report-mock .rm-bar i{ display:block; height:10px; border-radius:6px; background:linear-gradient(90deg, var(--amber), #e6a600); }
.report-mock .rm-bar em{ font-style:normal; font-size:12px; font-weight:600; color:#fff; text-align:right; }
.report-mock .rm-foot{ font-size:11px; color:#8a8a85; margin-top:18px; line-height:1.5; }

/* ==== Industry essay: key cards + collapsible breakdown (case studies) ==== */
.essay-keys{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:20px; max-width:1060px; }
.key-card{ background:#fff; border:1px solid rgba(0,0,0,.08); border-left:3px solid var(--amber); border-radius:12px; padding:22px 24px; font-size:15px; line-height:1.5; color:#333330; }
.key-card b{ display:block; font-family:var(--font-display); font-weight:700; font-size:15px; color:#0a0a0a; margin-bottom:8px; }
.key-card--dark{ background:#151515; border-color:rgba(255,255,255,.09); border-left-color:var(--amber); color:#aeada6; }
.key-card--dark b{ color:#fff; }
.essay-more{ max-width:1060px; margin-bottom:8px; }
.essay-more summary{ cursor:pointer; font-weight:600; font-size:14px; color:var(--amber-deep); list-style:none; display:inline-flex; align-items:center; gap:8px; }
.essay-more summary::-webkit-details-marker{ display:none; }
.essay-more summary::after{ content:"+"; font-size:18px; line-height:1; }
.essay-more[open] summary::after{ content:"–"; }
.essay-more--dark summary{ color:var(--amber); }
.essay-more .industry-essay{ margin-top:18px; }
@media (max-width:1023px){ .essay-keys{ grid-template-columns:1fr; } }

/* ==== Editorial photo frame (offset amber block) ==== */
.photo-frame{ position:relative; display:block; }
.photo-frame::after{ content:""; position:absolute; inset:18px -18px -18px 18px; background:var(--amber); border-radius:14px; z-index:0; }
.photo-frame img{ position:relative; z-index:1; width:100%; border-radius:14px; object-fit:cover; box-shadow:0 24px 55px -18px rgba(0,0,0,.3); }
.photo-frame--coral::after{ background:#D6402B; }
.article-visual{ margin:8px 0 34px; max-width:860px; }
.article-visual img{ width:100%; max-height:420px; object-fit:cover; border-radius:14px; }
.article-visual figcaption{ font-size:13px; color:#5c5c59; padding-top:10px; }

/* ==== Leak calculator + pricing quiz (2026-07-21) ==== */
.calc-grid{ display:grid; grid-template-columns:minmax(0,1fr) 400px; gap:64px; align-items:start; }
.calc-field{ margin-bottom:22px; }
.calc-field label{ display:block; font-size:13px; font-weight:600; color:#d6d6d1; margin-bottom:8px; }
.calc-field input, .calc-field select{
  width:100%; max-width:340px; padding:13px 15px; border-radius:10px;
  border:1px solid rgba(255,255,255,.18); background:#151515; color:#fff;
  font-family:var(--font-body); font-size:15px;
}
.calc-result{ background:#151515; border:1px solid rgba(255,255,255,.09); border-radius:16px; padding:32px 34px; position:sticky; top:100px; }
.calc-result .big{ font-family:var(--font-display); font-weight:700; font-size:52px; line-height:1; color:#FF5C47; letter-spacing:-1px; margin:6px 0 4px; }
.quiz-opts{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:26px; }
.quiz-opts button{
  background:#fff; border:1px solid rgba(0,0,0,.15); border-radius:40px; padding:11px 18px;
  font-family:var(--font-body); font-size:14px; font-weight:600; color:#0a0a0a; cursor:pointer;
  transition:all .15s ease;
}
.quiz-opts button:hover{ border-color:var(--amber); transform:translateY(-1px); }
.quiz-opts button.sel{ background:var(--amber); border-color:var(--amber); }
.quiz-q{ font-family:var(--font-display); font-weight:700; font-size:17px; margin-bottom:12px; }
.quiz-q .qn{ color:#D6402B; }
.quiz-out{ background:var(--ink); border-radius:16px; padding:32px 36px; color:#fff; display:none; }
.quiz-out.show{ display:block; }
.quiz-out .rec{ font-family:var(--font-display); font-weight:700; font-size:24px; color:var(--amber); margin:4px 0 10px; }
@media (max-width:1023px){ .calc-grid{ grid-template-columns:1fr; } .calc-result{ position:static; } }

/* ==== mini-grid/card base (was page-local; needed globally for blog hub) ==== */
.mini-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.mini-card{ background:#171717; border:1px solid #333330; border-radius:12px; padding:24px; }
.mini-card b{ font-size:15px; display:block; margin-bottom:6px; }
.mini-card span{ font-size:13px; }
@media (max-width:1023px){ .mini-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:767px){ .mini-grid{ grid-template-columns:1fr; } }

/* ==== Motion layer: scroll reveals (2026-07-21) ==== */
.rv{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; will-change:opacity, transform; }
.rv-in{ opacity:1; transform:none; }
.hero > .hero__media{ transition:none; }
@media (prefers-reduced-motion: reduce){ .rv{ opacity:1; transform:none; transition:none; } }

/* ==== Mobile: new components (added 2026-07-21, must stay last) ==== */
@media (max-width:1023px){
  .hero--split{ grid-template-columns:minmax(0,1fr) clamp(280px,34vw,340px) !important; min-height:auto !important; }
  .hero--split .hero__panel{ min-height:420px; }
}
@media (max-width:767px){
  .hero--split{ display:flex !important; flex-direction:column !important; gap:22px !important; padding:64px 20px 48px !important; }
  .hero--split .hero__panel{
    position:absolute !important; inset:0 !important; z-index:0 !important;
    border-radius:0 !important; min-height:0 !important; box-shadow:none !important;
  }
  .hero--split .hero__panel::after{ display:none; }
  /* full-bleed crop is horizontal here, so the watermark needs a bigger vertical push */
  .hero--split .hero__panel video{ transform:scale(1.18) translateY(-3%) !important; }
  .hero--split > .hero__overlay{
    display:block !important;
    background:linear-gradient(to bottom, rgba(10,10,10,.9), rgba(10,10,10,.78) 55%, rgba(10,10,10,.92)) !important;
  }
  .hero--split .hero__col{ gap:18px; }
  .hero__stats{
    align-self:auto !important; justify-self:auto !important; margin:4px 0 0 !important;
    flex-direction:row !important; flex-wrap:wrap !important; gap:8px !important;
  }
  .hero__stat{ font-size:12px; padding:8px 14px; white-space:normal; }

  .pull-stat__num{ font-size:44px !important; letter-spacing:-1px !important; }
  .pull-stat__label{ font-size:15px !important; }

  .proof-pics{ grid-template-columns:1fr !important; }
  .proof-pics img, .proof-pics--tall img{ height:auto !important; max-height:420px; }

  .related-services{ flex-direction:column !important; gap:10px !important; }
  .rel-chip{ min-width:0 !important; width:100%; }
}

/* ==== Mobile: interactive components (2026-07-21, keep last) ==== */
@media (max-width:767px){
  .container[style*="gap:80px"], .container[style*="gap:64px"]{ display:flex !important; flex-direction:column !important; gap:32px !important; }
  .container[style*="gap:80px"] > div[style*="flex-shrink:0"], .container[style*="gap:80px"] > video{ width:100% !important; max-width:340px; }
  .photo-frame::after{ inset:12px -12px -12px 12px; }
  .calc-field input, .calc-field select{ max-width:100%; }
  .quiz-opts button{ font-size:13px; padding:10px 14px; }
  .quiz-out{ padding:24px 20px; }
  .calc-result .big{ font-size:40px; }
  .report-mock{ padding:24px 20px; max-width:100%; }
  .container[style*="grid-template-columns:minmax(0,1fr) 460px"]{ display:flex !important; flex-direction:column !important; }
}

/* Article photo floated to the side — full portrait, no face cropping */
.article-visual--side{ float:right; width:300px; margin:6px 0 22px 40px; }
.article-visual--side img{ max-height:none; height:auto; object-fit:unset; }
@media (max-width:760px){
  .article-visual--side{ float:none; width:100%; max-width:340px; margin:0 auto 28px; }
}

/* Pricing: service price list */
.price-row:hover{ background:#faf9f6; }
@media (max-width:820px){
  .price-row{ flex-direction:column !important; gap:6px !important; align-items:flex-start !important; padding:20px 22px !important; }
}
