/* ============================================================================
   ADFIC website — WEB.CSS · Snøhetta-style editorial skin (2026-06-22)
   ----------------------------------------------------------------------------
   Loaded AFTER adfic3.css so it overrides the v2.0 web layer without editing it.
   Aesthetic (per CEO 2026-06-22): near-monochrome (warm white / near-black /
   greys) + ONE restrained ADFIC-orange accent; a single grotesque (Hanken
   Grotesk) with grey-tone hierarchy (not bold/big); image-forward; custom
   arrowheads; full-screen overlay menu; very generous whitespace.
   Scope: body.web only — the slide/deck token layer is untouched.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;600;700&display=swap');

:root{
  --w-bg:    #FBFAF7;   /* warm near-white canvas */
  --w-bg-2:  #F1EFEA;   /* subtle grey section */
  --w-bg-dk: #16140F;   /* near-black section */
  --w-ink:   #16140F;   /* near-black text (warm) */
  --w-ink-2: #6A655D;   /* secondary grey */
  --w-ink-3: #9D988E;   /* tertiary grey / captions / eyebrows */
  --w-line:  #E4E1DA;   /* hairline */
  --w-line-2:#D4CFC6;
  --w-accent:#C2612E;   /* ADFIC orange — sparing accent only */
  --w-cream: #F1EFEA;
  --w-sans:  'Hanken Grotesk','Helvetica Neue',Arial,sans-serif;
  --w-max:   1320px;
  --w-pad:   48px;
}

/* ---- base ---------------------------------------------------------------- */
/* Remap the adfic3 font tokens under body.web → every element that uses
   var(--serif)/var(--sans)/var(--mono) (headings, cards, SVG labels, etc.)
   renders in the single grotesque. No Playfair/Inter leaks, no per-class chasing.
   Colour tokens are untouched, so inline SVG diagrams keep their brand colours. */
body.web{ --serif:var(--w-sans); --sans:var(--w-sans); --mono:var(--w-sans);
  background:var(--w-bg); color:var(--w-ink); font-family:var(--w-sans);
  font-weight:400; -webkit-font-smoothing:antialiased; letter-spacing:-.005em; }
body.web h1, body.web h2, body.web h3, body.web h4{ font-family:var(--w-sans); font-weight:500; letter-spacing:-.01em; }
body.web ::selection{ background:var(--w-accent); color:#fff; }
.web-wrap{ max-width:var(--w-max); margin:0 auto; padding:0 var(--w-pad); }

/* arrowhead motif (Snøhetta signature) */
.arw{ display:inline-block; width:.62em; height:.62em; vertical-align:baseline; margin-left:.5em; flex:0 0 auto; }
.arw svg{ width:100%; height:100%; display:block; }
.arw path{ stroke:currentColor; stroke-width:1.4; fill:none; }

/* ---- minimal top nav ----------------------------------------------------- */
.s-nav{ position:fixed; top:0; left:0; right:0; z-index:200; display:flex; align-items:center;
  justify-content:space-between; padding:20px var(--w-pad); transition:background .3s, color .3s, padding .3s;
  mix-blend-mode:normal; }
.s-nav.on-image{ color:#fff; } .s-nav.on-light{ color:var(--w-ink); background:rgba(251,250,247,.9);
  backdrop-filter:saturate(1.1) blur(8px); border-bottom:1px solid var(--w-line); padding:14px var(--w-pad); }
.s-nav .s-word{ display:flex; align-items:center; gap:9px; font-weight:600; font-size:18px; letter-spacing:.01em;
  color:inherit; text-decoration:none; }
.s-nav .s-word .s-mark{ width:13px; height:11px; } .s-nav .s-word .s-mark svg{ width:100%; height:100%; }
.s-nav .s-word .s-mark path{ fill:var(--w-accent); }
.s-nav .s-word .s-sub{ font-weight:400; font-size:12px; opacity:.7; letter-spacing:.06em; }
.s-nav-right{ display:flex; align-items:center; gap:22px; }
.s-langs{ display:flex; gap:8px; font-size:12.5px; font-weight:500; }
.s-langs button{ background:none; border:0; color:inherit; opacity:.55; cursor:pointer; padding:2px; font:inherit; transition:.15s; }
.s-langs button.active{ opacity:1; color:var(--w-accent); }
.s-langs button:not(.active):hover{ opacity:.85; }
.s-menu-btn{ display:inline-flex; align-items:center; gap:9px; background:none; border:0; color:inherit;
  font:inherit; font-size:13px; font-weight:600; letter-spacing:.02em; cursor:pointer; text-transform:uppercase; }
.s-menu-btn .bars{ display:inline-flex; flex-direction:column; gap:3px; }
.s-menu-btn .bars i{ width:20px; height:1.5px; background:currentColor; display:block; }

/* ---- full-screen overlay menu (the directory) ---------------------------- */
.s-menu{ position:fixed; inset:0; z-index:300; background:var(--w-bg); transform:translateY(-100%);
  transition:transform .5s cubic-bezier(.7,0,.2,1); overflow-y:auto; visibility:hidden; }
.s-menu.open{ transform:translateY(0); visibility:visible; }
.s-menu-top{ display:flex; align-items:center; justify-content:space-between; padding:20px var(--w-pad);
  border-bottom:1px solid var(--w-line); position:sticky; top:0; background:var(--w-bg); z-index:2; }
.s-menu-top .s-word{ font-weight:600; font-size:18px; color:var(--w-ink); text-decoration:none; display:flex; align-items:center; gap:9px; }
.s-menu-top .s-word .s-mark path{ fill:var(--w-accent); } .s-menu-top .s-word .s-mark{ width:13px; height:11px; }
.s-close{ background:none; border:0; font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  color:var(--w-ink); cursor:pointer; display:inline-flex; align-items:center; gap:9px; }
.s-close .x{ font-size:20px; line-height:1; }
.s-menu-body{ max-width:var(--w-max); margin:0 auto; padding:46px var(--w-pad) 80px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:40px 30px; }
.s-col .s-col-h{ font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--w-ink-3); padding-bottom:12px; margin-bottom:10px; border-bottom:1px solid var(--w-line); display:flex; justify-content:space-between; }
.s-col-h .acc{ color:var(--w-accent); }
.s-col ul{ list-style:none; margin:0; padding:0; }
.s-col li{ margin:0; }
.s-col li.grp{ font-size:9.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--w-ink-3); padding:14px 0 4px; }
.s-col a{ display:flex; align-items:baseline; justify-content:space-between; gap:8px; text-decoration:none;
  color:var(--w-ink); font-size:18px; font-weight:500; line-height:1.18; padding:9px 0; border-bottom:1px solid var(--w-line);
  transition:.14s; }
.s-col a:hover{ color:var(--w-accent); padding-left:6px; }
.s-col a .m{ font-size:11px; font-weight:500; color:var(--w-ink-3); letter-spacing:.02em; flex:0 0 auto; }
.s-col li.sub a{ font-size:14.5px; font-weight:400; color:var(--w-ink-2); padding:7px 0; }
.s-col li.sub a:hover{ color:var(--w-accent); }

/* ---- hero (full-bleed photographic) -------------------------------------- */
.s-hero{ position:relative; min-height:100vh; display:flex; align-items:flex-end;
  background:#16140F center/cover no-repeat; color:#fff; }
.s-hero::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to bottom, rgba(8,7,5,.28) 0%, rgba(8,7,5,0) 28%, rgba(8,7,5,0) 50%, rgba(8,7,5,.66) 100%); }
.s-hero-inner{ position:relative; z-index:1; width:100%; max-width:var(--w-max); margin:0 auto;
  padding:0 var(--w-pad) 9vh; }
.s-eyebrow{ font-size:12px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.82); margin-bottom:22px; display:flex; align-items:center; gap:12px; }
.s-eyebrow .flag{ display:inline-flex; gap:4px; } .s-eyebrow .flag i{ width:9px; height:9px; display:block; }
.s-eyebrow .flag i:nth-child(1){ background:var(--w-accent); } .s-eyebrow .flag i:nth-child(2){ background:#fff; } .s-eyebrow .flag i:nth-child(3){ background:#2FA36F; }
.s-hero h1{ font-family:var(--w-sans); font-weight:500; font-size:clamp(38px,6vw,86px); line-height:1.02;
  letter-spacing:-.02em; color:#fff; max-width:16ch; margin:0; }
.s-hero .s-hero-sub{ font-size:clamp(16px,1.6vw,21px); font-weight:400; color:rgba(255,255,255,.85);
  max-width:46ch; margin:26px 0 0; line-height:1.45; }
.s-hero-meta{ margin-top:34px; font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.7); }
.s-scroll{ position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:1; color:rgba(255,255,255,.7); font-size:11px; letter-spacing:.18em; text-transform:uppercase; display:flex; flex-direction:column; align-items:center; gap:8px; }
.s-scroll .ln{ width:1px; height:34px; background:rgba(255,255,255,.5); }

/* ---- editorial statement ------------------------------------------------- */
.s-statement{ padding:13vh 0; }
.s-statement .web-wrap{ max-width:1100px; }
.s-statement .lbl{ font-size:11px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--w-ink-3); margin-bottom:30px; }
.s-statement p{ font-size:clamp(22px,3.1vw,40px); font-weight:400; line-height:1.34; letter-spacing:-.018em; color:var(--w-ink); margin:0; max-width:24ch; }
.s-statement p .mut{ color:var(--w-ink-3); }
.s-statement p .acc{ color:var(--w-accent); }
.s-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; margin-top:64px; }
.s-stat .n{ font-size:clamp(30px,3.6vw,46px); font-weight:500; letter-spacing:-.02em; color:var(--w-ink); }
.s-stat .k{ font-size:13px; color:var(--w-ink-2); line-height:1.5; margin-top:10px; max-width:26ch; }
.s-stat{ padding-top:22px; border-top:1px solid var(--w-line-2); }

/* ---- editorial index (image-led featured tiles) -------------------------- */
.s-index{ padding:2vh 0 12vh; }
.s-index-h{ display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:38px; flex-wrap:wrap; }
.s-index-h .lbl{ font-size:11px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--w-ink-3); }
.s-index-h .all{ font-size:13px; font-weight:600; color:var(--w-ink); text-decoration:none; display:inline-flex; align-items:center; }
.s-index-h .all:hover{ color:var(--w-accent); }
.s-tiles{ display:grid; grid-template-columns:1fr 1fr; gap:8px 8px; }
.s-tile{ position:relative; display:block; text-decoration:none; color:#fff; overflow:hidden; aspect-ratio:16/10;
  background:#16140F center/cover no-repeat; }
.s-tile::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(8,7,5,.72), rgba(8,7,5,.05) 55%, rgba(8,7,5,.18)); transition:.4s; }
.s-tile:hover::after{ background:linear-gradient(to top, rgba(194,97,46,.78), rgba(8,7,5,.1) 60%, rgba(8,7,5,.2)); }
.s-tile img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .6s cubic-bezier(.4,0,.1,1); }
.s-tile:hover img{ transform:scale(1.04); }
.s-tile .tx{ position:relative; z-index:1; height:100%; display:flex; flex-direction:column; justify-content:flex-end; padding:30px; }
.s-tile .tier{ font-size:10.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.82); margin-bottom:8px; }
.s-tile h3{ font-family:var(--w-sans); font-weight:500; font-size:clamp(22px,2.4vw,30px); line-height:1.08; color:#fff; margin:0; letter-spacing:-.01em; }
.s-tile .meta{ font-size:13px; color:rgba(255,255,255,.85); margin-top:9px; max-width:34ch; line-height:1.45; display:flex; align-items:baseline; }
.s-tile.wide{ grid-column:1 / -1; aspect-ratio:21/8; }
.s-tile .lock{ position:absolute; top:24px; right:24px; z-index:1; font-size:10px; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:#fff; border:1px solid rgba(255,255,255,.5); border-radius:2px; padding:4px 9px; }

/* quiet full directory (text) under the tiles */
.s-dir{ margin-top:8px; display:grid; grid-template-columns:repeat(4,1fr); gap:34px 30px; padding-top:40px; }

/* ---- footer -------------------------------------------------------------- */
.s-footer{ background:var(--w-bg-dk); color:#fff; padding:80px var(--w-pad) 40px; }
.s-footer .web-wrap{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; align-items:flex-start; }
.s-footer .f-word{ font-size:26px; font-weight:500; letter-spacing:-.01em; }
.s-footer .f-word .dot{ color:var(--w-accent); }
.s-footer .f-col h4{ font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.5); margin-bottom:14px; }
.s-footer .f-col a, .s-footer .f-col p{ display:block; font-size:14px; color:rgba(255,255,255,.82); text-decoration:none; line-height:2; }
.s-footer .f-col a:hover{ color:var(--w-accent); }
.s-footer .f-bottom{ max-width:var(--w-max); margin:56px auto 0; padding-top:22px; border-top:1px solid rgba(255,255,255,.14);
  display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; font-size:11.5px; color:rgba(255,255,255,.5); letter-spacing:.04em; }
.s-footer .f-bottom .f-credit{ color:rgba(255,255,255,.7); }
.s-footer .f-bottom a{ color:var(--w-accent); text-decoration:none; border-bottom:1px solid transparent; transition:border-color .2s; }
.s-footer .f-bottom a:hover{ border-bottom-color:var(--w-accent); }

/* ============================================================================
   PROPAGATION OVERRIDES — re-skin the shared adfic3 web components in the
   Snøhetta idiom so adding this stylesheet to any tier page adopts the look.
   (Landing uses the .s-* classes above; these prepare the rest of the site.)
   ========================================================================== */
body.web .site-nav{ background:var(--w-bg); border-bottom:1px solid var(--w-line); min-height:60px; padding:0 var(--w-pad); }
body.web .site-nav .nav-wordmark{ font-family:var(--w-sans); font-weight:600; color:var(--w-ink); font-size:17px; }
body.web .site-nav .nav-wordmark .nav-dot{ background:var(--w-accent); }
body.web .site-nav .nav-wordmark .nav-section{ font-family:var(--w-sans); color:var(--w-ink-3); }
body.web .site-nav .nav-links li a{ font-family:var(--w-sans); color:var(--w-ink-2); font-size:13px; letter-spacing:0; }
body.web .site-nav .nav-links li a:hover, body.web .site-nav .nav-links li a.active{ color:var(--w-accent); }
body.web .nav-back{ color:var(--w-ink-2); } body.web .nav-back:hover{ color:var(--w-accent); } body.web .nav-back-arrow{ color:var(--w-accent); }
body.web .nav-badge{ background:none; color:var(--w-ink-3); border:1px solid var(--w-line-2); font-weight:600; }
body.web .lang-switch{ border-color:var(--w-line-2); }
body.web .lang-switch button{ color:var(--w-ink-3); } body.web .lang-switch button.active{ background:var(--w-accent); color:#fff; }
body.web .sub-nav{ background:var(--w-bg); border-bottom:1px solid var(--w-line); }
body.web .sub-nav .sn-label{ color:var(--w-ink-3); font-family:var(--w-sans); }
body.web .sub-nav a{ color:var(--w-ink-2); font-family:var(--w-sans); }
body.web .sub-nav a:hover{ color:var(--w-ink); } body.web .sub-nav a.active{ color:var(--w-accent); border-bottom-color:var(--w-accent); }
@media (min-width:861px){ body.web .sub-nav{ top:60px; } }

body.web .content-wrap{ max-width:980px; padding:60px var(--w-pad) 90px; }
body.web .page-eyebrow{ font-family:var(--w-sans); color:var(--w-ink-3); font-weight:700; letter-spacing:.16em; }
body.web .page-h1{ font-family:var(--w-sans); font-weight:500; color:var(--w-ink); letter-spacing:-.02em; font-size:clamp(30px,4vw,52px); line-height:1.04; }
body.web .page-lede{ font-family:var(--w-sans); font-style:normal; color:var(--w-ink-2); font-size:clamp(17px,1.7vw,22px); }
body.web .section-intro{ font-family:var(--w-sans); color:var(--w-ink-2); font-size:15px; line-height:1.75; }
body.web .web-rule{ background:var(--w-accent); }

body.web .doc-card{ background:none; border:0; border-top:1px solid var(--w-line-2); border-radius:0; padding:28px 0; }
body.web .doc-card .dc-kicker{ font-family:var(--w-sans); color:var(--w-ink-3); }
body.web .doc-card h3{ font-family:var(--w-sans); font-weight:500; color:var(--w-ink); }
body.web .doc-card .dc-frame{ font-family:var(--w-sans); color:var(--w-ink-2); }
body.web .doc-card .dc-aud{ font-family:var(--w-sans); font-style:normal; color:var(--w-ink-3); border-left-color:var(--w-line-2); }
body.web .btn-dl{ background:var(--w-ink); color:var(--w-bg); border-radius:2px; font-family:var(--w-sans); font-weight:600; }
body.web .btn-dl:hover{ background:var(--w-accent); }
body.web .btn-dl.orange{ background:var(--w-accent); } body.web .btn-dl.orange:hover{ background:var(--w-ink); }
body.web .btn-ghost{ border-color:var(--w-line-2); color:var(--w-ink); font-family:var(--w-sans); }
body.web .btn-ghost:hover{ border-color:var(--w-accent); color:var(--w-accent); }

body.web .viz{ background:var(--w-bg-2); border:1px solid var(--w-line); border-radius:3px; }
body.web .viz-kicker{ font-family:var(--w-sans); color:var(--w-ink-3); }
body.web .viz-title{ font-family:var(--w-sans); font-weight:500; color:var(--w-ink); }
body.web .viz-cap{ font-family:var(--w-sans); font-style:normal; color:var(--w-ink-2); border-top-color:var(--w-line); }
body.web .tier-badge{ background:none; color:var(--w-ink-3); border:1px solid var(--w-line-2); }
body.web .tier-badge.t1, body.web .tier-badge.t2, body.web .tier-badge.t3, body.web .tier-badge.t4{ background:none; color:var(--w-ink-2); }

body.web .gate-overlay{ background:rgba(22,20,15,.5); }
body.web .gate-modal{ background:var(--w-bg); border-top:2px solid var(--w-accent); border-radius:4px; }
body.web .gate-modal h2{ font-family:var(--w-sans); font-weight:500; color:var(--w-ink); }
body.web .gate-modal .gm-tier{ font-family:var(--w-sans); color:var(--w-accent); }
body.web .gate-modal p, body.web .gate-field label, body.web .gate-note{ font-family:var(--w-sans); color:var(--w-ink-2); }
body.web .gate-cta{ background:var(--w-ink); font-family:var(--w-sans); border-radius:2px; }
body.web .gate-cta:hover{ background:var(--w-accent); }
body.web .gate-field input{ border-color:var(--w-line-2); }
body.web .site-footer{ background:var(--w-bg-dk); }
body.web .site-footer .ft-left{ color:rgba(255,255,255,.6); } body.web .site-footer .ft-right{ color:var(--w-accent); }

/* injected "Parcourir" button in inner-page navs (opens the overlay menu) */
body.web .site-nav .nav-right{ display:flex; align-items:center; gap:18px; }
body.web .site-nav .s-menu-btn{ color:var(--w-ink); font-size:12px; }
body.web .site-nav .s-menu-btn .bars i{ background:var(--w-ink); }

/* DFI reader — match the editorial skin */
body.web .dfi-sidebar{ background:var(--w-bg-2); border-right-color:var(--w-line); }
body.web .dfi-sidebar .ds-title{ font-family:var(--w-sans); font-weight:500; color:var(--w-ink); }
body.web .dfi-sidebar .ds-doc{ color:var(--w-accent); }
body.web .dfi-toc a{ color:var(--w-ink-2); } body.web .dfi-toc a:hover{ color:var(--w-ink); }
body.web .dfi-toc a.active, body.web .dfi-toc a.h1{ color:var(--w-ink); } body.web .dfi-toc a.active{ border-left-color:var(--w-accent); }
body.web .dfi-body{ color:var(--w-ink); }
body.web .dfi-body p, body.web .dfi-body li, body.web .dfi-body td, body.web .dfi-body th{ font-family:var(--w-sans); }
body.web .dfi-body h1, body.web .dfi-body h2{ font-family:var(--w-sans); font-weight:500; color:var(--w-ink); }
body.web .dfi-body h3{ font-family:var(--w-sans); color:var(--w-ink-2); }
body.web .dfi-body strong{ color:var(--w-ink); }
body.web .dfi-body blockquote{ border-left-color:var(--w-accent); background:var(--w-bg-2); }
body.web .stage-banner.dark-flag{ background:var(--w-ink); }
body.web .caveat{ background:var(--w-bg-2); border-color:var(--w-line-2); border-left-color:var(--w-accent); }
body.web .caveat b{ color:var(--w-accent); }

/* rendered Mermaid flowcharts (were ASCII code blocks) */
.mermaid-wrap{ background:var(--w-bg-2); border:1px solid var(--w-line); border-radius:6px;
  padding:20px 18px; margin:20px 0; overflow-x:auto; }
.mermaid-wrap .mermaid{ background:none; text-align:center; font-family:var(--w-sans); line-height:1.3; min-height:40px; }
.mermaid-wrap .mermaid:not([data-processed]){ color:var(--w-ink-3); font-size:11px; white-space:pre-wrap; } /* pre-render fallback */
.mermaid-wrap .mermaid svg{ max-width:100%; height:auto; }

/* generic page eyebrow/lede already overridden above; consortium pages too */
body.web .badge-share, body.web .badge.share{ background:var(--w-ink); }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width:980px){
  .s-menu-body, .s-dir{ grid-template-columns:repeat(2,1fr); }
  .s-stats{ grid-template-columns:1fr; gap:0; }
  .s-stat{ margin-top:0; }
}
@media (max-width:680px){
  :root{ --w-pad:22px; }
  .s-tiles{ grid-template-columns:1fr; } .s-tile.wide{ aspect-ratio:16/10; }
  .s-menu-body, .s-dir{ grid-template-columns:1fr; gap:26px; }
  .s-hero{ min-height:92vh; }
  .s-statement{ padding:9vh 0; }
}
