/* ==========================================================================
   Trokos — site styles
   Hand-written. No framework. No external requests: fonts are self-hosted,
   so the "no third-party scripts" statement on the privacy page stays true.

   Palette intent: nothing sits white-on-white. The page ground is a tinted
   cool stone, cards are white so they lift off it, and dark navy bands give
   the page rhythm. One warm accent (ember) carries the energy — used
   sparingly, against a lot of quiet.
   ========================================================================== */

/* ---------- self-hosted variable fonts ---------- */
@font-face{
  font-family:'Gabarito';
  src:url('fonts/Gabarito.woff2') format('woff2-variations');
  font-weight:400 900; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Schibsted Grotesk';
  src:url('fonts/SchibstedGrotesk.woff2') format('woff2-variations');
  font-weight:400 900; font-style:normal; font-display:swap;
}

:root{
  /* brand */
  --navy:#123C5C;
  --navy-deep:#0B2739;
  --navy-mid:#17496E;
  --ember:#EE7F4E;
  --ember-soft:#FBE6DA;

  /* neutrals — cool stone, never pure white for the page ground */
  --ink:#14212C;
  --body:#3B4A57;
  --muted:#66757F;
  --stone-50:#F4F6F8;
  --stone-100:#E9EDF1;
  --card:#FFFFFF;
  --line:#DBE2E9;
  --line-soft:#E8EDF1;

  --display:'Gabarito', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text:'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius:14px;
  --radius-sm:9px;
  --wrap:1120px;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}

body{
  margin:0;
  font-family:var(--text);
  font-size:17.5px;
  line-height:1.7;
  color:var(--body);
  background:var(--stone-50);
  -webkit-font-smoothing:antialiased;
}
img,svg{max-width:100%;height:auto;}
a{color:var(--navy);text-decoration-color:color-mix(in srgb, var(--navy) 35%, transparent);text-underline-offset:3px;}
a:hover{color:var(--ember);text-decoration-color:var(--ember);}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 26px;}

/* ---------- header ---------- */
.site-head{
  background:var(--card);border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:30;
}
.site-head .wrap{display:flex;align-items:center;gap:26px;min-height:78px;}
.brand{display:flex;align-items:center;text-decoration:none;flex:0 0 auto;}
.brand img{height:33px;width:auto;display:block;}
.nav{margin-left:auto;display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.nav a{
  font-family:var(--text);font-size:15px;font-weight:500;
  color:var(--muted);text-decoration:none;white-space:nowrap;
  padding:8px 13px;border-radius:100px;transition:background .15s,color .15s;
}
.nav a:hover{color:var(--navy);background:var(--stone-100);}
.nav a.active{color:var(--navy);background:var(--stone-100);font-weight:700;}

/* ---------- typography ---------- */
h1,h2,h3{font-family:var(--display);color:var(--navy);text-wrap:balance;margin:0 0 18px;}
h1{font-size:clamp(34px,5.2vw,55px);line-height:1.06;letter-spacing:-0.025em;font-weight:700;}
h2{font-size:clamp(25px,3.1vw,34px);line-height:1.15;letter-spacing:-0.018em;font-weight:700;}
h3{font-size:21px;line-height:1.3;letter-spacing:-0.008em;font-weight:600;margin-bottom:11px;}
p{margin:0 0 19px;}
strong{color:var(--ink);font-weight:700;}
em{color:var(--ink);}
.lede{font-size:clamp(18px,2.1vw,21px);line-height:1.6;color:var(--body);}
.muted{color:var(--muted);}
.small{font-size:15px;}

/* ---------- hero: dark, so the page never opens on white ---------- */
.hero{
  background:var(--navy-deep);
  background-image:
    radial-gradient(120% 130% at 88% 22%, rgba(238,127,78,.16) 0%, rgba(238,127,78,0) 55%),
    radial-gradient(90% 120% at 10% 96%, rgba(23,73,110,.85) 0%, rgba(11,39,57,0) 60%);
  color:#DCE6EE;
  padding:96px 0 90px;
  position:relative;overflow:hidden;
  border-bottom:1px solid var(--navy-deep);
}
.hero::after{
  content:"";position:absolute;right:-150px;top:46%;transform:translateY(-50%);
  width:520px;height:520px;opacity:.085;pointer-events:none;
  background:url('trokos-mark-white.svg') no-repeat center/contain;
}
.hero .wrap{position:relative;z-index:1;}
.hero h1{color:#FFFFFF;max-width:17ch;margin-bottom:22px;}
.hero p.lede,.hero .lede{color:#BFD1DF;max-width:56ch;margin-bottom:32px;}
.hero a{color:#FFFFFF;}

/* ---------- section rhythm ---------- */
section.band{padding:82px 0;border-bottom:1px solid var(--line-soft);}
section.band.soft{background:var(--stone-100);border-bottom-color:var(--line);}
section.band:last-of-type{border-bottom:0;}
section.band > .wrap > h2{max-width:22ch;}
.section-intro{max-width:64ch;color:var(--muted);font-size:18px;margin-bottom:38px;}

/* ---------- cards ---------- */
.grid{display:grid;gap:24px;}
.grid.three{grid-template-columns:repeat(auto-fit,minmax(272px,1fr));}
.grid.two{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));}

.card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:30px 28px;position:relative;
  transition:border-color .18s, transform .18s;
}
.card:hover{border-color:#C3D0DA;transform:translateY(-2px);}
.card h3{padding-top:14px;position:relative;}
.card h3::before{
  content:"";position:absolute;top:0;left:0;width:30px;height:3px;border-radius:2px;
  background:var(--ember);
}
.card p:last-child{margin-bottom:0;}
.card p{font-size:16.5px;}

/* ---------- prose ---------- */
.prose{max-width:68ch;margin-inline:auto;}
.prose ul{padding-left:0;margin:0 0 22px;list-style:none;}
.prose li{margin-bottom:11px;padding-left:26px;position:relative;}
.prose li::before{
  content:"";position:absolute;left:4px;top:.68em;
  width:7px;height:7px;border-radius:50%;background:var(--ember);
}
.prose h3{margin-top:36px;}
.prose h2 + p{font-size:18.5px;}

/* ---------- callout ---------- */
.callout{
  background:var(--card);border:1px solid var(--line);
  border-left:4px solid var(--ember);
  border-radius:var(--radius-sm);
  padding:26px 28px;margin:0 0 26px;
}
.callout h3{margin-top:0;}
.callout p:last-child{margin-bottom:0;}

/* ---------- status list ---------- */
.status{list-style:none;padding:0;margin:0;max-width:none;
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;}
.status li{
  display:flex;gap:20px;padding:20px 26px;border-bottom:1px solid var(--line-soft);align-items:baseline;
}
.status li:last-child{border-bottom:0;}
.status .lbl{
  flex:0 0 190px;font-family:var(--display);font-weight:600;color:var(--navy);
  font-size:15.5px;letter-spacing:.005em;
}
.status .val{flex:1;font-size:16.5px;}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;font-family:var(--display);font-weight:600;font-size:16.5px;
  background:var(--navy);color:#fff;text-decoration:none;
  padding:14px 28px;border-radius:100px;border:1.5px solid var(--navy);
  transition:background .16s,border-color .16s,transform .16s;
}
.btn:hover{background:var(--navy-mid);border-color:var(--navy-mid);color:#fff;transform:translateY(-1px);}
.btn.ghost{background:transparent;color:var(--navy);border-color:#C3D0DA;}
.btn.ghost:hover{background:var(--card);color:var(--navy);border-color:var(--navy);}
.btn-row{display:flex;flex-wrap:wrap;gap:14px;}

/* hero buttons sit on dark ground */
.hero .btn{background:var(--ember);border-color:var(--ember);color:#20130B;}
.hero .btn:hover{background:#F59468;border-color:#F59468;color:#20130B;}
.hero .btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.42);}
.hero .btn.ghost:hover{background:rgba(255,255,255,.10);border-color:#fff;color:#fff;}

/* ---------- footer ---------- */
.site-foot{background:var(--navy-deep);color:#A9BECD;padding:64px 0 38px;font-size:15.5px;}
.site-foot a{color:#fff;text-decoration:none;}
.site-foot a:hover{color:var(--ember);}
.foot-top{display:flex;flex-wrap:wrap;gap:44px;justify-content:space-between;margin-bottom:40px;}
.foot-brand img{height:30px;margin-bottom:16px;}
.foot-nav{display:flex;flex-wrap:wrap;gap:12px;align-content:flex-start;}
.foot-nav a{color:#A9BECD;padding:6px 12px;border-radius:100px;}
.foot-nav a:hover{color:#fff;background:rgba(255,255,255,.08);}
.foot-legal{border-top:1px solid rgba(255,255,255,.14);padding-top:26px;color:#7D95A7;font-size:14.5px;}
.foot-legal p{margin:0 0 9px;}

/* ---------- accessibility ---------- */
a:focus-visible,.btn:focus-visible{outline:3px solid var(--ember);outline-offset:3px;border-radius:4px;}
.site-foot a:focus-visible,.hero a:focus-visible{outline-color:var(--ember);}
.skip{
  position:absolute;left:-9999px;top:0;background:var(--navy);color:#fff;
  padding:10px 18px;z-index:60;text-decoration:none;
}
.skip:focus{left:8px;top:8px;}
@media (prefers-reduced-motion:reduce){
  *{animation:none !important;transition:none !important;scroll-behavior:auto !important;}
  .card:hover,.btn:hover{transform:none;}
}

/* ---------- responsive ---------- */
@media (max-width:960px){
  .hero::after{width:380px;right:-180px;opacity:.07;}
}
@media (max-width:760px){
  body{font-size:16.5px;}
  .site-head .wrap{flex-wrap:wrap;min-height:0;padding-top:10px;padding-bottom:8px;gap:6px;}
  .nav{margin-left:0;width:100%;gap:4px;
       /* one scrollable row instead of wrapping to three lines — the header was
          taking ~40% of a phone screen (reported 29 Aug 2026) */
       flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;
       scrollbar-width:none;-webkit-overflow-scrolling:touch;
       padding-bottom:2px;}
  .nav::-webkit-scrollbar{display:none;}
  .nav a{font-size:14px;padding:6px 10px;flex:0 0 auto;}
  .brand img{height:27px;}
  .hero{padding:60px 0 56px;}
  .hero::after{display:none;}
  section.band{padding:56px 0;}
  .card{padding:26px 22px;}
  .status li{flex-direction:column;gap:3px;padding:17px 20px;}
  .status .lbl{flex:none;}
  .btn{width:100%;text-align:center;}
  .btn-row{flex-direction:column;}
}


/* ── product imagery + warmth (added 2026-08-26) ───────────────────── */
.hero-split{display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:52px; align-items:center;}
.hero-copy{min-width:0;}
.hero-figure{min-width:0;}
.hero-figure img{width:100%; height:auto; display:block;
  filter:drop-shadow(0 22px 44px rgba(4,17,28,.42));}
@media (max-width:860px){
  .hero-split{grid-template-columns:1fr; gap:34px;}
  .hero-figure{max-width:440px; margin:0 auto;}
}

.band.soft .wrap{position:relative;}
.fig-inline{float:right; width:38%; max-width:380px; margin:0 0 22px 40px;}
.fig-inline img{width:100%; height:auto; display:block;
  filter:drop-shadow(0 16px 32px rgba(18,60,92,.13));}
@media (max-width:860px){
  .fig-inline{float:none; width:100%; max-width:400px; margin:0 auto 26px;}
}

/* soft tinted ground so sections are not all flat white */
.band.soft{background:linear-gradient(180deg,#F6F9FB 0%,#EEF4F8 100%);}
.band.soft .card{background:#FFFFFF;}


/* ── stat strip (added 2026-08-26) ─────────────────────────────────── */
.statstrip{background:var(--navy); padding:30px 0;}
.statstrip ul{list-style:none; margin:0; padding:0; display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr)); gap:26px;}
.statstrip li{display:flex; flex-direction:column; gap:5px; align-items:flex-start;
  padding-left:16px; border-left:3px solid rgba(238,127,78,.75);}
.statstrip .sv{font-family:'Gabarito',system-ui,sans-serif; font-size:31px;
  line-height:1; font-weight:700; color:#FFFFFF; letter-spacing:-.5px;}
.statstrip .sl{font-size:13.5px; line-height:1.35; color:#BFD1DF;}
@media (max-width:820px){ .statstrip ul{grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px;} }
@media (max-width:460px){ .statstrip ul{grid-template-columns:1fr;} }

/* ==========================================================================
   Round 3 — visual warmth: card icons, process strip, tinted bands
   ========================================================================== */

/* ---------- icon badge inside cards ---------- */
.ic{
  display:inline-flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:13px;
  background:linear-gradient(160deg,#EAF1F6 0%, #DCE7EF 100%);
  color:var(--navy);
  margin-bottom:15px;
}
.ic svg{width:24px;height:24px;display:block;}
.ic.warm{background:linear-gradient(160deg,#FDEEE5 0%, #F9DECE 100%); color:#C9551F;}
.card.ico h3{padding-top:0;}
.card.ico h3::before{display:none;}

/* ---------- process strip ---------- */
.steps{
  background:linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #1B5478 100%);
  color:#DCE8F1; padding:64px 0 68px; position:relative; overflow:hidden;
}
.steps::after{
  content:""; position:absolute; right:-90px; top:-70px; width:340px; height:340px;
  background:url('trokos-mark-white.svg') center/contain no-repeat; opacity:.05;
  pointer-events:none;
}
.steps .wrap{position:relative; z-index:1;}
.steps h2{color:#FFFFFF; margin-bottom:8px;}
.steps .section-intro{color:#A9C3D6; margin-bottom:40px;}
.steps ol{
  list-style:none; margin:0; padding:0;
  display:grid; gap:22px; grid-template-columns:repeat(auto-fit,minmax(215px,1fr));
}
.steps li{
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.13);
  border-radius:var(--radius);
  padding:24px 22px 22px;
}
.steps .n{
  display:flex; align-items:center; gap:11px; margin-bottom:13px;
}
.steps .n b{
  font-family:var(--display); font-size:15px; font-weight:800; letter-spacing:.04em;
  color:var(--ember);
}
.steps .n svg{width:22px;height:22px;color:#8FB6D0;flex:0 0 auto;}
.steps h3{
  font-family:var(--display); font-size:18px; font-weight:700; color:#FFFFFF;
  margin:0 0 8px; padding:0;
}
.steps h3::before{display:none;}
.steps p{font-size:15.5px; line-height:1.6; color:#B7CDDD; margin:0;}

/* ---------- warm tinted band ---------- */
.band.tint{
  background:linear-gradient(180deg,#FDF6F1 0%, #FAEDE4 100%);
  border-top:1px solid #F3DECF; border-bottom:1px solid #F3DECF;
}
.band.tint .card{background:#FFFFFF; border-color:#F0DACB;}

/* ---------- status list, warmed up ---------- */
.status li{transition:background .15s;}
.status li:hover{background:#FBFCFD;}
.status .lbl::before{
  content:""; display:block; width:22px; height:3px; border-radius:2px;
  background:var(--ember); margin-bottom:8px;
}

/* ---------- second-figure helper (left float) ---------- */
.fig-inline.left{float:left; margin:0 40px 22px 0;}

@media (max-width:820px){
  .fig-inline, .fig-inline.left{float:none; width:100%; max-width:460px; margin:0 auto 26px;}
  .steps{padding:48px 0 52px;}
}

/* ---------- prose pages with inline figures ---------- */
.prose.wide{max-width:94ch;}
.prose::after{content:"";display:block;clear:both;}
.fig-inline.sm{width:32%; max-width:320px;}

/* ---------- round 3 refinements ---------- */
.ic{
  background:linear-gradient(160deg,#E1ECF4 0%, #CFE0EC 100%);
  box-shadow:inset 0 0 0 1px rgba(18,60,92,.07);
}
.ic svg{width:25px;height:25px;}
.band.soft .fig-inline{width:31%; max-width:330px; margin-left:32px;}
.grid.two{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));}
.steps li{padding:26px 24px 24px;}
.steps .n svg{width:24px;height:24px;color:#9CC1D9;}
.steps h3{font-size:18.5px;line-height:1.35;}
.steps p{font-size:15.5px;}
/* lists must not wrap around a float — their markers would strand at the margin */
.prose ul{overflow:hidden;}
.prose .callout{clear:both;}

/* ---------- WCD-002: selected showcase lists use a miniature Trokos mark ---------- */
.prose ul.brandmarks li::before{
  left:0;top:.30em;width:14px;height:14px;border-radius:0;
  background:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%3E%3Cg%20stroke='%23F0946B'%20stroke-width='8'%20stroke-linecap='round'%20fill='none'%3E%3Cline%20x1='50'%20y1='43.6'%20x2='50'%20y2='8'/%3E%3Cline%20x1='56.09'%20y1='48.02'%20x2='79.48'%20y2='40.42'/%3E%3Cline%20x1='53.76'%20y1='55.18'%20x2='72.34'%20y2='80.74'/%3E%3Cline%20x1='46.24'%20y1='55.18'%20x2='33.54'%20y2='72.65'/%3E%3Cline%20x1='43.91'%20y1='48.02'%20x2='16.71'%20y2='39.18'/%3E%3C/g%3E%3Ccircle%20cx='50'%20cy='50'%20r='17'%20fill='%23F0946B'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- phones: keep the header out of the way (added 29 Aug 2026) ---------- */
@media (max-width:520px){
  .site-head .wrap{padding-top:8px;padding-bottom:6px;gap:4px;}
  .brand img{height:24px;}
  .nav a{font-size:13.5px;padding:5px 9px;}
}
