/* ===============================
   1) DESIGN TOKENS
================================ */
:root{
  --fg:#111;
  --muted:#6f6f6f;
  --line:#e9e9e9;
  --max:1200px;

  --ff-sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --ff-serif: "EB Garamond", serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ===============================
   2) RESET / BASIS
================================ */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  color:var(--fg);
  background:#fff;
  font-family:var(--ff-sans);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}
img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset:4px; }

section{ padding:80px 0; }
.section-line{ border-top:1px solid var(--line); }

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

h1,h2{ font-family:var(--ff-serif); font-weight:400; margin:0 0 12px; }
h1{ font-size:clamp(40px,6vw,72px); line-height:1.05; margin-bottom:18px; }
h2{ font-size:clamp(26px,3.6vw,42px); line-height:1.15; }

p{ margin:0 0 12px; color:var(--fg); }
.lead{ font-size:18px; max-width:72ch; color:rgba(17,17,17,.85); margin-bottom:18px; }
.lead-small{ font-size:16px; max-width:72ch; color:rgba(17,17,17,.85); }

.meta{
  font-family:var(--ff-mono);
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:12px;
}

.note{
  margin-top:14px;
  font-size:14px;
  color:var(--muted);
}

/* ===============================
   3) HEADER + NAV
================================ */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.95);
  border-bottom:1px solid var(--line);
  backdrop-filter:saturate(160%) blur(8px);
}

.nav{
  max-width:var(--max);
  margin:0 auto;
  padding:16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:45px; width:auto; display:block; }
.brand-text{
  font-family:var(--ff-serif);
  font-size:24px;
  letter-spacing:.02em;
}

/* ===============================
   Brand split: click Rho / Sigma (no pills)
================================ */

/* brand blijft compact */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  white-space: nowrap;
}

/* dit is je woordmerk (Rho & Sigma) */
.brand-switch{
  display:inline-flex;       /* <- cruciaal: inline-flex, niet flex */
  align-items:baseline;
  gap:6px;                   /* afstand tussen Rho, &, Sigma */
}

/* zorg dat niks kan stretchen */
.brand-text,
.brand-switch,
.brand-tab,
.brand-sep{
  width:auto;
  flex:0 0 auto;
}

.brand-tab{
  color:inherit;
  text-decoration:none;
  position:relative;
  padding-bottom:2px;
  opacity:.92;
}

.brand-tab:hover{
  text-decoration:none;
  opacity:1;
}

.brand-tab.is-active{
  opacity:1;
}

/* onderlijning van actieve kant */
.brand-tab.is-active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-2px;
  height:1.5px;
  background: currentColor;
  opacity:1;
}

.brand-sep{
  opacity:1;
  margin:0 1px;              /* heel subtiel */
}


.menu{
  display:flex;
  gap:22px;
  align-items:center;
}

.menu a{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.14em;
  opacity:.9;
}

.menu a:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}

/* Logo = sans serif (bewust afwijkend van headings) */
.brand,
.brand-text,
.brand-switch,
.brand-tab,
.brand-sep{
  font-family: var(--ff-sans);
  font-size: 16px;          /* of 19px als je iets meer presence wil */
  letter-spacing: .01em;
  font-weight: 500;
  text-transform: none;
}

/* Zorg dat de links niet “link-achtig” gaan renderen */
.brand-tab{
  text-decoration: none;
  font-weight: 400;
}
.brand-tab:hover{
  text-decoration: none;
}

.brand-switch{ gap: 7px; }
.brand-sep{ opacity: .55; }

/* ===============================
   4) MOBILE DRAWER
================================ */
.drawer{ display:none; }

.burger{
  display:none;
  border:1px solid var(--line);
  background:transparent;
  padding:8px 10px;
  cursor:pointer;
}
.burger span{
  display:block;
  width:22px;
  height:1.5px;
  background:var(--fg);
  margin:4px 0;
}

@media (max-width: 860px){
  .menu{ display:none; }
  .burger{ display:block; }

  .drawer{
    position:fixed;
    inset:64px 16px auto 16px;
    background:#fff;
    border:1px solid var(--line);
    padding:8px;
  }
  .drawer a{
    display:block;
    padding:14px 10px;
    border-bottom:1px solid var(--line);
    text-transform:uppercase;
    font-size:13px;
    letter-spacing:.11em;
  }
  .drawer a:last-child{ border-bottom:none; }
  .drawer.open{ display:block; }
}

/* ===============================
   5) BUTTONS
================================ */
.btn-row{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:10px; }

.btn{
  display:inline-block;
  padding:8px 12px;
  border-radius:10px;
  font-family:var(--ff-mono);
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
}
.btn:hover{ text-decoration:underline; text-underline-offset:3px; }

.btn-primary{ background:#fff; }
.btn-outline{ background:#fff; }

.mono-link{
  font-family:var(--ff-mono);
  font-size:12px;
  text-transform:uppercase;
  text-decoration:underline;
  text-underline-offset:3px;
}

/* ===============================
   6) LAYOUT HELPERS
================================ */
.grid{ display:grid; gap:40px; }
.two-col{ grid-template-columns:1fr; }
@media (min-width:900px){ .two-col{ grid-template-columns:1fr 1fr; } }

/* ===============================
   7) PANELS / CARDS / LISTS
================================ */
.panel{
  border:1px solid var(--line);
  padding:18px;
  background:#fff;
}

.cards{
  margin-top:18px;
  display:grid;
  gap:14px;
  grid-template-columns:1fr;
}
.cards-3{ grid-template-columns:1fr; }
@media (min-width:900px){
  .cards-3{ grid-template-columns:1fr 1fr 1fr; }
}

.card{
  border:1px solid var(--line);
  padding:18px;
  background:#fff;
}

.card-kicker{
  font-family:var(--ff-mono);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:rgba(17,17,17,.78);
  margin-bottom:10px;
}

.price{
  margin:0 0 10px;
  font-family:var(--ff-mono);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--muted);
}

.list{
  margin:12px 0 0;
  padding-left:18px;
  color:rgba(17,17,17,.85);
}
.list li{ margin:6px 0; }

/* ===============================
   8) STEPS
================================ */
.steps{
  margin-top:18px;
  display:grid;
  gap:14px;
  grid-template-columns:1fr;
}
@media (min-width:900px){
  .steps{ grid-template-columns:1fr 1fr; }
}
@media (min-width:1200px){
  .steps{ grid-template-columns:1fr 1fr 1fr 1fr; }
}
.step{
  border:1px solid var(--line);
  padding:18px;
  background:#fff;
}
.step-n{
  font-family:var(--ff-mono);
  font-size:12px;
  color:var(--muted);
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:10px;
}
.step-t{
  font-family:var(--ff-serif);
  font-weight:400;
  font-size:18px;
  margin-bottom:8px;
}

/* ===============================
   9) WORK GRID
================================ */
.work-grid{
  margin-top:18px;
  display:grid;
  gap:14px;
  grid-template-columns:1fr;
}
@media (min-width:900px){
  .work-grid{ grid-template-columns:1fr 1fr; }
}
@media (min-width:1200px){
  .work-grid{ grid-template-columns:1fr 1fr 1fr; }
}
.work-card{
  border:1px solid var(--line);
  background:#fff;
  overflow:hidden;
}
.work-img{
  height:260px;
  border-bottom:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,0)),
    radial-gradient(1200px 420px at 30% 30%, rgba(0,0,0,.08), rgba(0,0,0,0));
}
.work-body{ padding:16px; }
.work-title{
  font-family:var(--ff-serif);
  font-size:20px;
  margin:0 0 6px;
}

/* ===============================
   10) FAQ
================================ */
details{
  border:1px solid var(--line);
  background:#fff;
  padding:16px 18px;
  margin:12px 0;
}
summary{
  cursor:pointer;
  font-family:var(--ff-mono);
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(17,17,17,.86);
  list-style:none;
}
summary::-webkit-details-marker{ display:none; }
.answer{
  margin-top:12px;
  color:rgba(17,17,17,.85);
  max-width:72ch;
}

/* ===============================
   11) HERO
================================ */
.hero{ padding-top:92px; }
@media (max-width:860px){
  .hero{ padding-top:72px; }
}

/* ===============================
   12) FOOTER
================================ */
footer{ border-top:1px solid var(--line); }
.footer-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:22px 20px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  color:#777;
  font-size:12px;
}



/* =========================================================
   14) SIGMA MODE OVERRIDES (inverted + swapped header)
   Zet op sigma.html: <body class="mode-Sigma">
========================================================= */
body.mode-Sigma{
  background:#000;
  color:#fff;
}

/* text colors */
body.mode-Sigma p{ color: rgba(255,255,255,.92); }
body.mode-Sigma .lead,
body.mode-Sigma .lead-small{ color: rgba(255,255,255,.85); }
body.mode-Sigma .meta{ color: rgba(255,255,255,.70); }
body.mode-Sigma .note{ color: rgba(255,255,255,.68); }

/* links + borders */
body.mode-Sigma a{ color:#fff; }
body.mode-Sigma .section-line{ border-color: rgba(255,255,255,.18); }
body.mode-Sigma header{
  background:rgba(0,0,0,.86);
  border-bottom:1px solid rgba(255,255,255,.14);
}
body.mode-Sigma footer{ border-top:1px solid rgba(255,255,255,.14); }
body.mode-Sigma .footer-inner{ color: rgba(255,255,255,.65); }

/* swap logo/menu sides */
body.mode-Sigma .nav{
  flex-direction: row-reverse;
}

/* hamburger + drawer in Sigma */
body.mode-Sigma .burger{
  border-color: rgba(255,255,255,.18);
}
body.mode-Sigma .burger span{ background:#fff; }

@media (max-width: 860px){
  body.mode-Sigma .drawer{
    background:#000;
    border-color: rgba(255,255,255,.18);
  }
  body.mode-Sigma .drawer a{
    border-bottom-color: rgba(255,255,255,.12);
  }
}

/* panels/cards/details in Sigma */
body.mode-Sigma .panel,
body.mode-Sigma .card,
body.mode-Sigma details,
body.mode-Sigma .step,
body.mode-Sigma .work-card{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}

body.mode-Sigma .card-kicker{ color: rgba(255,255,255,.80); }
body.mode-Sigma .price{ color: rgba(255,255,255,.70); }
body.mode-Sigma .list{ color: rgba(255,255,255,.85); }
body.mode-Sigma summary{ color: rgba(255,255,255,.88); }
body.mode-Sigma .answer{ color: rgba(255,255,255,.85); }

/* toggle pill in Sigma */
body.mode-Sigma .hs-toggle a{
  border-color: rgba(255,255,255,.22);
}
body.mode-Sigma .hs-toggle a[aria-current="page"]{
  border-color: rgba(255,255,255,.45);
}

/* =========================================================
   15) SIGMA SECTION (hero + 2x3 cards)
========================================================= */
.sigma-hero{
  padding-top:92px; /* match hero offset */
  padding-bottom:28px;
}
@media (max-width:860px){
  .sigma-hero{ padding-top:72px; }
}

.sigma-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top:18px;
}

@media (max-width: 900px){
  .sigma-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .sigma-grid{ grid-template-columns: 1fr; }
}

.sigma-card{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
  min-height: 170px;
  text-decoration: none;
  color: inherit;
  display: block;
  transform: translateY(0);
  transition: transform .18s ease, border-color .18s ease;
}

.sigma-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.28);
  text-decoration:none;
}

.sigma-card:focus-visible{
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: 3px;
}

.sigma-card .sigma-card-inner{
  position:absolute;
  inset:0;
  padding:14px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:6px;
  background: linear-gradient(to top, rgba(0,0,0,.60), rgba(0,0,0,0));
}

.sigma-card .kicker{
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .02em;
  opacity: .92;
  text-transform: uppercase;
}

.sigma-card .title{
  font-family: var(--ff-serif);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 400;
}

.sigma-card .desc{
  font-size: 14px;
  opacity: .86;
  max-width: 44ch;
}

/* =========================================================
   16) JAPANESE-INSPIRED GRADIENT "IMAGES"
   (gebruik als class op .sigma-card)
   bv: <a class="sigma-card g-japan-1" ...>
========================================================= */
.g-japan-1{
  background:
    radial-gradient(120% 120% at 20% 20%, #ff6f0e 0%, rgba(255,111,14,0) 55%),
    radial-gradient(140% 120% at 70% 30%, #e7aaff 0%, rgba(231,170,255,0) 60%),
    linear-gradient(135deg, #0b0b0b 0%, #000 100%);
}
.g-japan-2{
  background:
    radial-gradient(120% 120% at 30% 25%, #e3ff24 0%, rgba(227,255,36,0) 55%),
    radial-gradient(120% 120% at 80% 60%, #cadfeb 0%, rgba(202,223,235,0) 58%),
    linear-gradient(135deg, #0b0b0b 0%, #000 100%);
}
.g-japan-3{
  background:
    radial-gradient(110% 110% at 25% 70%, #f886fc 0%, rgba(248,134,252,0) 55%),
    radial-gradient(130% 120% at 70% 25%, #fcdb86 0%, rgba(252,219,134,0) 60%),
    linear-gradient(135deg, #0b0b0b 0%, #000 100%);
}
.g-japan-4{
  background:
    radial-gradient(120% 120% at 22% 25%, #cadfeb 0%, rgba(202,223,235,0) 60%),
    radial-gradient(120% 120% at 70% 70%, #ff6f0e 0%, rgba(255,111,14,0) 55%),
    linear-gradient(135deg, #0b0b0b 0%, #000 100%);
}
.g-japan-5{
  background:
    radial-gradient(120% 120% at 30% 30%, #fcdb86 0%, rgba(252,219,134,0) 58%),
    radial-gradient(120% 120% at 75% 55%, #f886fc 0%, rgba(248,134,252,0) 56%),
    linear-gradient(135deg, #0b0b0b 0%, #000 100%);
}
.g-japan-6{
  background:
    radial-gradient(120% 120% at 24% 60%, #e7aaff 0%, rgba(231,170,255,0) 55%),
    radial-gradient(120% 120% at 78% 32%, #e3ff24 0%, rgba(227,255,36,0) 58%),
    linear-gradient(135deg, #0b0b0b 0%, #000 100%);
}

/* =========================================================
   17) SMALL QUALITY OF LIFE
========================================================= */
body.mode-Sigma .work-img{
  border-bottom-color: rgba(255,255,255,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0)),
    radial-gradient(1200px 420px at 30% 30%, rgba(255,255,255,.10), rgba(255,255,255,0));
}
