/* SideQuest — sidequest.net redesign v1
   Editorial serif headlines, clean sans body, one red accent. */

:root{
  --paper:#FAF7F2;
  --paper-2:#F3EEE6;
  --ink:#1B1A19;
  --ink-2:#3A3734;
  --muted:#6F6962;
  --line:#E4DDD3;
  --red:#D62828;            /* match to the SideQuest Network logo red */
  --red-ink:#B91E1E;
  --white:#FFFFFF;
  --serif:"Fraunces", Georgia, "Times New Roman", serif;
  --sans:"Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max:1200px;
  --gutter:clamp(16px, 4vw, 48px);
  --radius:20px;
  --ease:cubic-bezier(.2,.7,.2,1);
}

*{box-sizing:border-box;min-width:0}
h1,h2,h3,h4,p{overflow-wrap:break-word}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;overflow-x:clip;background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-size:17px;line-height:1.6;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;line-height:1.05;letter-spacing:-.015em;margin:0}
h1{font-size:clamp(40px,6.2vw,80px);font-variation-settings:"opsz" 144,"SOFT" 40}
h2{font-size:clamp(32px,4.4vw,56px);font-variation-settings:"opsz" 144,"SOFT" 30}
h3{font-size:clamp(22px,2.4vw,30px);font-variation-settings:"opsz" 72}
h4{font-size:20px;font-variation-settings:"opsz" 48}
p{margin:0}
.lede{font-size:clamp(18px,1.6vw,22px);line-height:1.5;color:var(--ink-2);max-width:40ch}
.muted{color:var(--muted)}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}
.wrap-narrow{max-width:820px;margin:0 auto;padding:0 var(--gutter)}
section{padding:clamp(64px,9vw,128px) 0}
section.tight{padding:clamp(40px,6vw,80px) 0}
.eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--red);margin-bottom:18px}
.center{text-align:center}
.center .lede{margin-left:auto;margin-right:auto}
.stack>*+*{margin-top:22px}

/* ---- Links & buttons ---- */
.link{
  display:inline-flex;align-items:center;gap:10px;font-weight:700;color:var(--ink);
  border-bottom:2px solid var(--red);padding-bottom:3px;transition:gap .25s var(--ease),color .2s;
}
.link:hover{gap:16px;color:var(--red-ink)}
.link svg{width:18px;height:18px}
.btn{white-space:nowrap;
  display:inline-flex;align-items:center;gap:10px;background:var(--ink);color:var(--white);
  padding:16px 26px;border-radius:999px;font-weight:700;border:0;cursor:pointer;font-size:16px;
  transition:transform .25s var(--ease),background .2s;
}
.btn:hover{background:var(--red);transform:translateY(-1px)}
.btn.red{background:var(--red)}
.btn.red:hover{background:var(--red-ink)}
.btn.ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.btn.ghost:hover{background:var(--ink);color:var(--white)}

/* ---- Header / nav ---- */
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:8px 12px;border-radius:8px}
.skip:focus{left:8px;z-index:200}
header.site{
  position:sticky;top:0;z-index:100;background:rgba(250,247,242,.86);
  backdrop-filter:saturate(180%) blur(14px);-webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid transparent;transition:border-color .3s;
}
header.site.scrolled{border-bottom-color:var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:54px;gap:24px}
.brand{display:flex;align-items:center}
.brand img{height:28px;width:auto}
footer .brand img{height:28px}
@media (max-width:600px){.brand img{height:26px}}
.menu{display:flex;gap:4px;list-style:none;margin:0;padding:0}
.menu>li{position:relative}
.menu>li>a,.menu>li>button{
  display:inline-flex;align-items:center;gap:6px;padding:10px 14px;border-radius:999px;background:transparent;border:0;
  font:inherit;font-weight:600;color:var(--ink);cursor:pointer;transition:background .2s;
}
.menu>li>a:hover,.menu>li>button:hover,.menu>li.open>button{background:var(--paper-2)}
.menu>li>button svg{width:14px;height:14px;transition:transform .25s var(--ease)}
.menu>li.open>button svg{transform:rotate(180deg)}
.mega{
  position:absolute;left:50%;top:calc(100% + 12px);transform:translateX(-50%) translateY(6px);
  min-width:420px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:14px;box-shadow:0 24px 60px -24px rgba(27,26,25,.28);opacity:0;visibility:hidden;
  transition:opacity .2s,transform .25s var(--ease),visibility .2s;
}
.menu>li.open .mega{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.mega .mega-title{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:700;padding:8px 12px 10px}
.mega a{display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:start;padding:12px;border-radius:14px;transition:background .2s}
.mega a:hover{background:var(--paper)}
.mega .ico{width:40px;height:40px;border-radius:12px;background:var(--paper-2);display:grid;place-items:center;color:var(--red)}
.mega .ico svg{width:20px;height:20px}
.mega b{display:block;font-weight:700;font-size:15px}
.mega span{display:block;font-size:13.5px;color:var(--muted);line-height:1.4}
.mega.wide{min-width:min(640px,calc(100vw - 32px))}
.mega{max-width:calc(100vw - 32px)}
.mega.wide .cols{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}
.utility{display:flex;align-items:center;gap:8px}
.lang{font-size:13px;font-weight:700;letter-spacing:.08em;padding:8px 12px;border-radius:999px;border:1px solid var(--line);background:transparent;font-family:inherit;cursor:pointer}
.burger{display:none;width:38px;height:38px;border-radius:999px;border:1px solid var(--line);background:transparent;cursor:pointer;place-items:center}
.burger svg{width:20px;height:20px}
.mobile-nav{display:none}

@media (max-width:960px){
  .menu{display:none}
  .burger{display:grid}
  .mobile-nav{display:none;position:fixed;inset:54px 0 0 0;background:var(--paper);z-index:99;overflow:auto;padding:12px var(--gutter) 48px}
  .mobile-nav.open{display:block}
  .mobile-nav details{border-bottom:1px solid var(--line)}
  .mobile-nav summary{list-style:none;cursor:pointer;padding:18px 0;font-family:var(--serif);font-size:26px;display:flex;justify-content:space-between;align-items:center}
  .mobile-nav summary::-webkit-details-marker{display:none}
  .mobile-nav summary::after{content:"+";font-family:var(--sans);font-size:24px;color:var(--muted)}
  .mobile-nav details[open] summary::after{content:"–"}
  .mobile-nav .sub a{display:block;padding:10px 0 10px 4px;font-weight:600}
  .mobile-nav .sub a span{display:block;font-weight:400;font-size:14px;color:var(--muted)}
  .mobile-nav .sub{padding-bottom:14px}
  .mobile-nav>a{display:block;padding:18px 0;font-family:var(--serif);font-size:26px;border-bottom:1px solid var(--line)}
}

/* ---- Photo slots ---- */
.photo{
  position:relative;overflow:hidden;background:linear-gradient(135deg,#E9DFD2,#D8C9B7);
  border-radius:var(--radius);
}
.photo img{width:100%;height:100%;object-fit:cover;filter:saturate(.88) contrast(1.02) sepia(.06)}
.photo.ph::after{
  content:attr(data-shot);position:absolute;inset:auto 16px 16px 16px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;
  color:#6E5E4A;background:rgba(250,247,242,.85);padding:8px 10px;border-radius:8px;
}
.photo.ph img{display:none}

/* ---- Hero: landscape band, never taller than ~60% of the viewport ---- */
.hero{position:relative;width:100%;height:clamp(360px,38vw,560px);display:flex;align-items:flex-end;color:var(--white);isolation:isolate}
.hero .photo{position:absolute;inset:0;border-radius:0;z-index:-1}
.hero .photo img{filter:saturate(.92) contrast(1.02)}
.hero .photo[data-slot="home-hero"] img{object-position:12% 35%}
@media (max-width:600px){.hero .photo[data-slot="home-hero"] img{object-position:45% 30%}}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(27,26,25,.06) 0%,rgba(27,26,25,.16) 45%,rgba(27,26,25,.72) 100%)}
.hero .wrap{width:100%;padding-bottom:clamp(28px,4vw,56px);padding-top:48px}
.hero h1{max-width:16ch;text-wrap:balance;font-size:clamp(32px,4.6vw,60px)}
.hero .lede{color:rgba(255,255,255,.88);margin-top:14px;max-width:48ch;font-size:clamp(16px,1.3vw,19px)}
.hero.inner{height:clamp(300px,30vw,440px)}
.hero.inner h1{font-size:clamp(30px,4vw,52px)}
@media (max-width:600px){
  .hero{height:78vw;min-height:300px}
  .hero.inner{height:62vw;min-height:240px}
  .hero h1,.hero.inner h1{font-size:clamp(26px,7.5vw,34px)}
  .hero .lede{font-size:15px;margin-top:10px}
  .hero .wrap{padding-bottom:22px;padding-top:24px}
}

/* Brand-page hero: same band as the homepage, wordmark + CTA over the photo */
.hero.bh .wm,.hero.bh .wm.on{color:#fff;opacity:1;margin-bottom:14px}
.hero.bh .wm .mark{background:#fff}
.hero.bh .wm .mark svg{color:var(--ink)}
.hero.bh h1{font-size:clamp(30px,4.2vw,56px)}
.hero.bh .hero-cta{margin-top:20px}
.hero.bh .btn.red{background:#fff;color:var(--ink)}
.hero.bh .btn.red:hover{background:var(--red);color:#fff}
@media (max-width:600px){.hero.bh{height:86vw;min-height:340px}.hero.bh h1{font-size:clamp(26px,7vw,32px)}.hero.bh .wm.lg .t{font-size:1.1em}.hero.bh .hero-cta{margin-top:14px}.hero.bh .btn{padding:12px 20px;font-size:15px}}

/* Intent-group bands on the homepage: hero-sized, stacked */
.bands{display:grid;gap:16px;margin-top:40px}
.hero.band{height:clamp(320px,34vw,500px)}
.hero.band::before{background:linear-gradient(180deg,rgba(27,26,25,.12) 0%,rgba(27,26,25,.3) 40%,rgba(27,26,25,.84) 100%)}
.hero.band h2{font-size:clamp(28px,3.6vw,48px);max-width:18ch;text-wrap:balance}
.hero.band .lede{color:rgba(255,255,255,.88);margin-top:12px;max-width:52ch}
.hero.band .brands{display:flex;flex-wrap:wrap;gap:12px 26px;margin-top:18px}
.hero.band .brands .wm,.hero.band .brands .wm:hover{color:#fff;opacity:1}
.hero.band .brands .wm .mark{background:#fff}
.hero.band .brands .wm .mark svg{color:var(--ink)}
@media (max-width:600px){.hero.band{height:82vw;min-height:320px}.hero.band h2{font-size:clamp(24px,6.6vw,30px)}.hero.band .lede{font-size:15px}.hero.band .brands{gap:8px 18px}.hero.band .brands .wm .t{font-size:15px}.hero.band .brands .wm[data-brand="fluid-simulation"] .t,.hero.band .brands .wm[data-brand="sidequest-network"] .t{font-size:12px}}

/* ---- Logo marquee ---- */
.marquee{overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px 0;background:var(--white)}
.marquee .track{display:flex;gap:72px;width:max-content;animation:scroll 42s linear infinite}
.marquee:hover .track{animation-play-state:paused}
@keyframes scroll{to{transform:translateX(-50%)}}

/* ---- Wordmarks (stand-ins for SVG logos) ---- */
.wm{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:var(--ink);opacity:.72;transition:opacity .25s,color .25s;line-height:1}
.wm .mark{width:22px;height:22px;border-radius:7px;background:currentColor;opacity:.9;flex:none;display:inline-grid;place-items:center}
.wm .mark svg{width:14px;height:14px;color:var(--paper)}
.wm[data-brand="fairbrowse"] .mark{background:transparent;opacity:1;overflow:hidden}
.wm[data-brand="fairbrowse"] .mark img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.wm[data-brand="safeshop"] .mark{background:transparent;opacity:1}
.wm[data-brand="safeshop"] .mark img{width:100%;height:100%;object-fit:contain}
.wm[data-brand="starsunfolded"] .mark{background:transparent;opacity:1}
.wm[data-brand="starsunfolded"] .mark img{width:100%;height:100%;object-fit:contain}
.wm .t{font-weight:800;font-size:19px;letter-spacing:-.02em;font-family:var(--sans)}
.wm[data-brand="storybranch"] .t{font-family:var(--serif);font-weight:600;font-style:italic;font-size:22px;letter-spacing:-.01em}
.wm[data-brand="fluid-simulation"] .t{font-weight:400;letter-spacing:.12em;text-transform:uppercase;font-size:15px}
.wm[data-brand="anonymox"] .t{font-weight:800;letter-spacing:-.04em;font-size:22px}
.wm[data-brand="safeshop"] .t{font-weight:700;letter-spacing:.02em}
.wm[data-brand="fairbrowse"] .t{font-family:var(--serif);font-weight:500;font-size:21px}
.wm[data-brand="sidequest-network"] .t{font-weight:800;text-transform:uppercase;letter-spacing:.06em;font-size:15px}
.wm[data-brand="starsunfolded"] .t{font-family:var(--serif);font-weight:400;font-size:21px;letter-spacing:.01em}
.wm:hover,.wm.on{opacity:1}
.wm[data-brand="storybranch"]:hover,.wm[data-brand="storybranch"].on{color:#C2410C}
.wm[data-brand="fluid-simulation"]:hover,.wm[data-brand="fluid-simulation"].on{color:#0E7490}
.wm[data-brand="anonymox"]:hover,.wm[data-brand="anonymox"].on{color:#2563EB}
.wm[data-brand="safeshop"]:hover,.wm[data-brand="safeshop"].on{color:#15803D}
.wm[data-brand="fairbrowse"]:hover,.wm[data-brand="fairbrowse"].on{color:#7C3AED}
.wm[data-brand="sidequest-network"]:hover,.wm[data-brand="sidequest-network"].on{color:var(--red)}
.wm[data-brand="starsunfolded"]:hover,.wm[data-brand="starsunfolded"].on{color:#B45309}
.wm.lg .t{font-size:1.6em}
.wm.lg[data-brand="fluid-simulation"] .t,.wm.lg[data-brand="sidequest-network"] .t{font-size:1.1em}
.wm.lg .mark{width:34px;height:34px;border-radius:10px}
.wm.lg .mark svg{width:20px;height:20px}

/* ---- Portfolio grid ---- */
.grid-logos{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:48px}
.grid-logos a{
  display:grid;place-items:center;min-height:132px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  transition:transform .3s var(--ease),box-shadow .3s,border-color .3s;
}
.grid-logos a:hover{transform:translateY(-4px);box-shadow:0 22px 44px -26px rgba(27,26,25,.3);border-color:transparent}
.grid-logos a:hover .wm{opacity:1}
.grid-logos a{min-width:0;overflow:hidden;padding:0 12px}
@media (max-width:900px){.grid-logos{grid-template-columns:repeat(2,1fr)}.wm.lg .t{font-size:1.15em}.wm.lg .mark{width:26px;height:26px}}
@media (max-width:520px){.grid-logos{grid-template-columns:1fr;gap:10px}.grid-logos a{min-height:84px}.wm.lg .t{font-size:1.15em}}

/* ---- Photo strip ---- */
.strip{overflow:hidden;margin-top:56px}
.strip .track{display:flex;gap:16px;width:max-content;animation:scroll 70s linear infinite}
.strip .photo{width:clamp(220px,26vw,360px);aspect-ratio:4/5;border-radius:16px}
.strip .photo:nth-child(even){aspect-ratio:5/4;align-self:flex-end}

/* ---- Cards ---- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:48px}
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .3s var(--ease),box-shadow .3s}
.card:hover{transform:translateY(-4px);box-shadow:0 28px 50px -30px rgba(27,26,25,.35)}
.card .photo{aspect-ratio:4/3;border-radius:0}
.card .body{padding:26px 26px 28px;display:flex;flex-direction:column;gap:12px;flex:1}
.card .body p{color:var(--ink-2)}
.card .brands{display:flex;flex-wrap:wrap;gap:14px 22px;margin-top:auto;padding-top:14px}
.card .brands .wm .t{font-size:15px}
.card .brands .wm[data-brand="storybranch"] .t,.card .brands .wm[data-brand="anonymox"] .t,.card .brands .wm[data-brand="fairbrowse"] .t,.card .brands .wm[data-brand="starsunfolded"] .t{font-size:17px}
.card .brands .wm[data-brand="fluid-simulation"] .t,.card .brands .wm[data-brand="sidequest-network"] .t{font-size:12.5px}
.card .brands .wm .mark{width:18px;height:18px;border-radius:5px}
.card .brands .wm .mark svg{width:11px;height:11px}
@media (max-width:900px){.cards{grid-template-columns:1fr}}

/* ---- Three columns ---- */
.cols3{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:48px}
.cols3>div{border-top:2px solid var(--ink);padding-top:22px}
.cols3 h4{margin-bottom:16px}
.cols3 .list{display:flex;flex-direction:column;gap:14px}
@media (max-width:900px){.cols3{grid-template-columns:1fr}}

/* ---- Stats ---- */
.stats{background:var(--ink);color:var(--paper)}
.stats .eyebrow{color:#F0A2A2}
.stats .nums{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:48px}
.stats .n{border-left:1px solid rgba(250,247,242,.18);padding-left:22px}
.stats .big{font-family:var(--serif);font-size:clamp(40px,4.6vw,64px);line-height:1;letter-spacing:-.02em}
.stats .big.pending{color:rgba(250,247,242,.35);font-size:clamp(28px,3vw,40px);line-height:1.2}
.stats .n p{margin-top:12px;color:rgba(250,247,242,.72);font-size:15px;max-width:26ch}
@media (max-width:900px){.stats .nums{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.stats .nums{grid-template-columns:1fr;gap:22px}.stats .n p{max-width:none}}

/* ---- Two panels ---- */
.panels{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:48px}
.panel{position:relative;border-radius:var(--radius);overflow:hidden;min-height:520px;display:flex;align-items:flex-end;color:var(--white);isolation:isolate}
.panel .photo{position:absolute;inset:0;border-radius:0;z-index:-1}
.panel::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(27,26,25,0) 20%,rgba(27,26,25,.82) 100%)}
.panel .body{padding:34px}
.panel .body p{color:rgba(255,255,255,.85);margin:14px 0 20px;max-width:40ch}
.panel .link{color:#fff}
.panel .link:hover{color:#fff}
@media (max-width:900px){.panels{grid-template-columns:1fr}.panel{min-height:420px}}

/* ---- Quotes ---- */
.quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:48px}
.quote{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:32px;display:flex;flex-direction:column;gap:18px}
.quote blockquote{margin:0;font-family:var(--serif);font-size:24px;line-height:1.3;font-variation-settings:"opsz" 72}
.quote .who{margin-top:auto;font-size:14px;color:var(--muted);font-weight:600}
.quote .stat{font-family:var(--serif);font-size:48px;line-height:1;color:var(--red)}
.quote .qbrand{padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:4px}
.quote .qbrand .wm .t{font-size:15px}
.quote .qbrand .wm[data-brand="storybranch"] .t,.quote .qbrand .wm[data-brand="anonymox"] .t,.quote .qbrand .wm[data-brand="fairbrowse"] .t,.quote .qbrand .wm[data-brand="starsunfolded"] .t{font-size:17px}
.quote .qbrand .wm[data-brand="fluid-simulation"] .t,.quote .qbrand .wm[data-brand="sidequest-network"] .t{font-size:12.5px}
.quote .qbrand .wm .mark{width:18px;height:18px;border-radius:5px}
.quote .qbrand .wm .mark svg{width:11px;height:11px}
@media (max-width:900px){.quotes{grid-template-columns:1fr}}

/* ---- Split (text + photo) ---- */
.split{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(32px,6vw,96px);align-items:center}
.split .photo{aspect-ratio:4/3;max-height:440px;width:100%}
.split .photo img{height:100%}
.split.rev{direction:rtl}.split.rev>*{direction:ltr}
@media (max-width:900px){.split{grid-template-columns:1fr}.split .photo{aspect-ratio:16/9;max-height:none}}

/* ---- Founders ---- */
.founders{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:40px}
.founder{display:grid;grid-template-columns:120px 1fr;gap:22px;align-items:start;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.founder .photo{aspect-ratio:1;border-radius:14px}
.founder h4{margin-bottom:6px}
.founder p{font-size:15px;color:var(--ink-2)}
@media (max-width:900px){.founders{grid-template-columns:1fr}}

/* ---- Beliefs / principles ---- */
.beliefs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:32px}
.belief{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:16px 18px;display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto 1fr;column-gap:14px;row-gap:0;align-items:start}
.belief .ico{width:36px;height:36px;border-radius:10px;background:var(--paper-2);display:grid;place-items:center;color:var(--red);margin:0;grid-column:1;grid-row:1/3}
.belief h4,.belief p{grid-column:2}
.belief .ico svg{width:18px;height:18px}
.belief h4{margin-bottom:4px;font-size:17px}
.belief p{color:var(--ink-2);font-size:14.5px;line-height:1.5}
@media (max-width:900px){.beliefs{grid-template-columns:1fr}}

/* ---- Timeline ---- */
.timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:48px;position:relative}
.timeline::before{content:"";position:absolute;left:0;right:0;top:9px;height:2px;background:var(--line)}
.timeline>div{position:relative;padding-top:30px}
.timeline>div::before{content:"";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:var(--paper);border:2px solid var(--red)}
.timeline .yr{font-family:var(--serif);font-size:26px;margin-bottom:6px}
.timeline .yr.todo{color:var(--muted)}
.timeline p{font-size:15px;color:var(--ink-2)}
@media (max-width:900px){.timeline{grid-template-columns:1fr 1fr}.timeline::before{display:none}}

/* ---- Brand hub ---- */
.group-head{display:flex;align-items:baseline;justify-content:space-between;gap:24px;border-top:2px solid var(--ink);padding-top:22px;margin-top:64px}
.group-head p{color:var(--ink-2);max-width:48ch}
.bcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-top:28px}
.bcard{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .3s var(--ease),box-shadow .3s}
.bcard:hover{transform:translateY(-4px);box-shadow:0 28px 50px -30px rgba(27,26,25,.35)}
.bcard .photo{aspect-ratio:16/10;border-radius:0}
.bcard .body{padding:24px;display:flex;flex-direction:column;gap:14px;flex:1}
.bcard .body p{color:var(--ink-2);font-size:16px}
.bcard .links{display:flex;gap:22px;margin-top:auto;padding-top:8px;flex-wrap:wrap}
.bcard .links .link{font-size:15px}

/* ---- Brand page ---- */
.bhero{padding:clamp(48px,8vw,110px) 0 0}
.bhero .split{align-items:center}
.bhero .wm.lg{margin-bottom:28px}
.bhero .split .photo{aspect-ratio:4/3;max-height:440px;width:100%}
.split .photo img{height:100%}
.threeup{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:48px}
.threeup>div{border-top:2px solid var(--ink);padding-top:22px}
.threeup h4{margin-bottom:10px}
.threeup p{color:var(--ink-2);font-size:16px}
@media (max-width:900px){.threeup{grid-template-columns:1fr}}
.proof{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.proof>div{flex:1 1 220px;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:18px 20px}
.proof .big{font-family:var(--serif);font-size:clamp(28px,3vw,40px);line-height:1;color:var(--red)}
.proof .big.pending{color:var(--muted);font-size:18px;line-height:1.25}
.proof p{margin-top:8px;color:var(--ink-2);font-size:14px}
.proof blockquote{margin:0;font-family:var(--serif);font-size:19px;line-height:1.3}
.proof .who{display:block;margin-top:10px;font-size:13px;color:var(--muted);font-weight:600}
.siblings{display:flex;flex-wrap:wrap;gap:16px;margin-top:32px}
.siblings a{display:inline-flex;align-items:center;gap:14px;background:var(--white);border:1px solid var(--line);border-radius:999px;padding:14px 22px 14px 18px;transition:border-color .2s,transform .25s var(--ease)}
.siblings a:hover{transform:translateY(-2px);border-color:var(--ink)}
.siblings a>svg{width:18px;height:18px;flex:none}
.siblings a:hover .wm{opacity:1}
.logowall{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:40px}
.logowall div{display:grid;place-items:center;min-height:84px;background:var(--white);border:1px solid var(--line);border-radius:14px;font-weight:800;letter-spacing:.02em;color:var(--ink-2);font-size:15px;text-align:center;padding:12px}
@media (max-width:900px){.logowall{grid-template-columns:repeat(2,1fr)}}
.cases{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}
.case{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;gap:10px}
.case .big{font-family:var(--serif);font-size:48px;line-height:1;color:var(--red)}
.case h4{margin-top:6px}
.case p{color:var(--ink-2);font-size:15px}
@media (max-width:900px){.cases{grid-template-columns:1fr}}

/* ---- Skills grid (Storybranch) ---- */
.skills{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:28px}
.skills>div{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:flex;flex-direction:row;align-items:center;gap:12px;min-height:0}
.skills .num{font-family:var(--serif);font-size:20px;color:var(--red);line-height:1;flex:none}
.skills h4{font-size:15px;line-height:1.25}
@media (min-width:1100px){.skills{grid-template-columns:repeat(7,1fr)}.skills>div{flex-direction:column;align-items:flex-start;gap:10px;padding:16px 14px}.skills h4{font-size:14px}}
.photo.cover{aspect-ratio:1;max-width:520px;box-shadow:0 30px 60px -30px rgba(27,26,25,.4)}
.photo.cover img{filter:none}
@media (max-width:900px){.photo.cover{max-width:none}}

/* ---- Video embed & screenshot gallery (Fluid Simulation) ---- */
.video{position:relative;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;background:#000;margin-top:32px;box-shadow:0 30px 60px -30px rgba(27,26,25,.4)}
.video iframe,.video img{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover}
.video .play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:84px;height:84px;border-radius:50%;border:0;background:var(--red);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 12px 30px rgba(0,0,0,.35);transition:transform .25s var(--ease),background .2s}
.video .play:hover{transform:translate(-50%,-50%) scale(1.06);background:var(--red-ink)}
.video .play svg{width:36px;height:36px;margin-left:4px}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:32px}
.gallery figure{margin:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--white)}
.gallery img{width:100%;aspect-ratio:16/10;object-fit:cover}
.gallery figcaption{font-size:13px;color:var(--muted);padding:10px 14px}
@media (max-width:900px){.gallery{grid-template-columns:1fr}}

/* ---- anonymoX page ---- */
.hero .hero-logo{height:42px;width:auto;margin-bottom:16px;filter:brightness(0) invert(1)}
.btns{display:flex;flex-wrap:wrap;gap:10px}
.btn.store{background:#fff;color:var(--ink);padding-left:16px}
.btn.store img{width:24px;height:24px}
.btn.store:hover{background:var(--paper-2);transform:translateY(-1px)}
.proof .browsers .row{display:flex;gap:22px}
.proof .browsers .row a{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:15px}
.proof .browsers .row img{width:34px;height:34px}
.proof .browsers .row a:hover span{color:var(--red)}
.press{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:32px}
.press>div{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:18px 20px;display:flex;flex-direction:column;gap:12px}
.press img{height:22px;width:auto;object-fit:contain;object-position:left;filter:grayscale(1);opacity:.75}
.press blockquote{margin:0;font-family:var(--serif);font-size:17px;line-height:1.35}
.photo.shotframe img{padding:6%}
@media (max-width:900px){.press{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.press{grid-template-columns:1fr}}

/* ---- SideQuest Network page ---- */
.badges{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.badges>div{background:var(--white);border:1px solid var(--line);border-radius:14px;min-height:84px;display:flex;align-items:center;justify-content:center;padding:14px 18px}
.badges img{width:auto;max-width:100%;object-fit:contain}
.badges .b-iab{height:34px}
.badges .b-tru{height:22px}
.badges .b-coppa{height:44px}
.badges .plat{flex-direction:column;gap:8px}
.badges .plat span{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:700}
.badges .plat img{max-height:26px}
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:32px}
.tiles>div{border-radius:14px;overflow:hidden;border:1px solid var(--line);aspect-ratio:16/9;background:var(--white)}
.tiles img{width:100%;height:100%;object-fit:cover}
.casegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px}
.casegrid .case{padding:0;overflow:hidden;gap:0}
.casegrid .art{aspect-ratio:16/6.3;overflow:hidden;background:var(--paper-2)}
.casegrid .art img{width:100%;height:100%;object-fit:cover}
.casegrid .body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:8px}
.casegrid .clogo{height:26px;width:auto;max-width:160px;object-fit:contain;object-position:left;margin-bottom:6px}
.casegrid .big{font-size:40px}
.casegrid .lbl{font-weight:700;color:var(--ink);font-size:15px;margin:0}
.casegrid .lbl.strong{font-family:var(--serif);font-size:20px;font-weight:500;line-height:1.25}
.casegrid p{font-size:14.5px}
@media (max-width:900px){.badges{grid-template-columns:1fr 1fr}.tiles{grid-template-columns:1fr 1fr}.casegrid{grid-template-columns:1fr}}

/* ---- FairBrowse page ---- */
.duo{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:8px}
.duo>div{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px 28px 30px;display:flex;flex-direction:column;gap:12px}
.duo h3{font-size:clamp(22px,2.2vw,28px)}
.duo p{color:var(--ink-2);font-size:15.5px}
.presslogos{display:flex;flex-wrap:wrap;gap:40px;align-items:center;margin-top:16px}
.presslogos img{height:30px;width:auto;filter:grayscale(1);opacity:.7}
.presslogos img[alt="BNR Zakendoen"]{height:48px}
@media (max-width:900px){.duo{grid-template-columns:1fr}}

/* ---- Logo grid (charities) ---- */
.logogrid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:32px}
.logogrid>div{background:var(--white);border:1px solid var(--line);border-radius:14px;height:110px;padding:16px;overflow:hidden}
.logogrid img{width:100%;height:100%;object-fit:contain;display:block}
@media (max-width:900px){.logogrid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:520px){.logogrid{grid-template-columns:1fr 1fr}}

/* ---- Category chips (StarsUnfolded) ---- */
.chips{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:32px}
.chips a{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;align-items:center;justify-content:center;transition:transform .25s var(--ease),border-color .2s}
.chips a:hover{transform:translateY(-2px);border-color:var(--ink)}
.chips b{font-family:var(--serif);font-size:20px;font-weight:500}
.chips span{font-size:13px;color:var(--muted)}
@media (max-width:900px){.chips{grid-template-columns:repeat(3,1fr)}}
@media (max-width:520px){.chips{grid-template-columns:1fr 1fr}}
.hero .hero-logo.orange{filter:none}

/* ---- CTA band ---- */
.cta{background:var(--paper-2)}
.cta .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}

/* ---- Prose (legal, principles) ---- */
.prose h2{font-size:clamp(26px,3vw,34px);margin:48px 0 14px}
.prose h3{font-size:22px;margin:28px 0 10px}
.prose p{margin:0 0 16px;color:var(--ink-2)}
.prose ul{padding-left:22px;color:var(--ink-2)}
.prose li{margin-bottom:8px}
.prose a{border-bottom:1.5px solid var(--red)}
.prose .meta{color:var(--muted);font-size:15px;margin-bottom:32px}
.principles{counter-reset:p;display:grid;gap:18px;margin-top:40px}
.principles>div{display:grid;grid-template-columns:64px 1fr;gap:18px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.principles>div::before{counter-increment:p;content:counter(p,decimal-leading-zero);font-family:var(--serif);font-size:34px;color:var(--red);line-height:1}
.principles h4{margin-bottom:8px}
.principles p{color:var(--ink-2);font-size:16px}

/* ---- Contact form ---- */
.form{display:grid;gap:18px;margin-top:40px;max-width:640px}
.form label{display:grid;gap:8px;font-weight:700;font-size:14px}
.form input,.form select,.form textarea{
  font:inherit;font-size:16px;padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--white);color:var(--ink);width:100%;
}
.form input:focus,.form select:focus,.form textarea:focus{outline:none;border-color:var(--ink)}
.form textarea{min-height:160px;resize:vertical}
.form .hp{position:absolute;left:-9999px}
.form .status{font-size:15px;color:var(--muted)}
.contact-meta{margin-top:40px;display:flex;flex-wrap:wrap;gap:32px;color:var(--ink-2)}
.contact-meta b{display:block;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.contact-meta a{border-bottom:1.5px solid var(--red)}

/* ---- Note (visible only in preview builds) ---- */
.note{font-size:12.5px;color:var(--muted);background:var(--paper-2);border:1px dashed var(--line);border-radius:10px;padding:8px 12px;display:inline-block}

/* ---- Footer ---- */
footer.site{background:var(--white);border-top:1px solid var(--line);padding:72px 0 40px}
.fgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;gap:32px}
.fgrid h5{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 16px}
.fgrid a{display:block;padding:5px 0;font-size:15px;color:var(--ink-2)}
.fgrid a:hover{color:var(--red)}
.fgrid .tag{font-family:var(--serif);font-size:20px;line-height:1.3;margin-top:16px;max-width:22ch}
.fbottom{display:flex;flex-wrap:wrap;gap:14px 32px;justify-content:space-between;align-items:center;margin-top:56px;padding-top:24px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.fbottom .ai{font-size:12px}
@media (max-width:900px){.fgrid{grid-template-columns:1fr 1fr}}

/* ---- Reveal on scroll ---- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .marquee .track,.strip .track{animation:none}
}
