/* =============================================================
   Barany Group - styles.css
   One stylesheet for every page. No framework, no build step.

   HOW IT IS ORDERED
   CSS applies rules top to bottom, so later rules override earlier
   ones of equal weight. A few blocks near the end are deliberate
   overrides and must stay last.

     0.  Fonts               self-hosted @font-face
     1.  Design tokens       colours, fonts, spacing, motion
     2.  Base + globals      reset, body, grain, .wrap, helpers
     3.  Scroll reveal       fade-in-on-scroll
     4.  Navigation          top bar + mobile drawer
     5.  Hero                homepage header
     6.  Section shell       .section, .split
     7.  Who we are
     8.  Investor profiles
     9.  Selective by design funnel + counter
     10. Our edge
     11. Investment params
     12. The cascade
     13. Team                cards + profile modal
     14. Contact / apply     forms + buttons
     15. Footer
     16. Responsive          breakpoints
     17. Print / PDF
     18. Inner pages         page header, prose, components
     19. Inner-page add-ons  portal forms, link CTAs, contact close
     20. Page transitions    cross-page fade
     21. Article motif       Insights header line
     22. Late overrides      small fixes that must load last
     23. Convergence visual  cascade 'intersection' graphic + sources
   ============================================================= */


/* =============================================================
   0. FONTS  (self-hosted, so there is no Google request)
   ============================================================= */
@font-face{ font-family:'Jost'; font-style:normal; font-weight:200; font-display:swap; src:url('fonts/jost-v20-latin-200.woff2') format('woff2'); }
@font-face{ font-family:'Jost'; font-style:normal; font-weight:300; font-display:swap; src:url('fonts/jost-v20-latin-300.woff2') format('woff2'); }
@font-face{ font-family:'Jost'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/jost-v20-latin-regular.woff2') format('woff2'); }
@font-face{ font-family:'Jost'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/jost-v20-latin-500.woff2') format('woff2'); }
@font-face{ font-family:'Hanken Grotesk'; font-style:normal; font-weight:300; font-display:swap; src:url('fonts/hanken-grotesk-v12-latin-300.woff2') format('woff2'); }
@font-face{ font-family:'Hanken Grotesk'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/hanken-grotesk-v12-latin-regular.woff2') format('woff2'); }
@font-face{ font-family:'Hanken Grotesk'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/hanken-grotesk-v12-latin-500.woff2') format('woff2'); }

/* =================================================================
   1. DESIGN TOKENS
   ================================================================= */
:root{
  /* ---- Colours ---- */
  --ink:        #0A0A0B;   /* page background (near-black) */
  --surface:    #131316;   /* raised panels, cards, inputs */
  --line:       rgba(255,255,255,0.10); /* hairline borders */
  --text:       #ECE9E3;   /* primary text (off-white) */
  --muted:      #AEABA1;   /* secondary text (brighter for readability) */
  --faint:      #908E83;   /* labels (brighter for readability) */
  --accent:     #C2A878;   /* gold: highlights, links, key numbers */

  /* ---- Type families ---- */
  --font-display: 'Jost', sans-serif;
  --font-body:    'Hanken Grotesk', sans-serif;

  /* ---- Layout ---- */
  --maxw: 1240px;
  --gutter: clamp(22px, 5vw, 80px);
  --section-pad: clamp(90px, 13vh, 180px);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* =================================================================
   2. BASE RESET + GLOBAL ELEMENTS
   ================================================================= */
*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  background:var(--ink);
  color:var(--text);
  font-family:var(--font-body);
  font-weight:400;
  font-size:1.125rem;       /* 18px base, readable for older audiences */
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

/* =================================================================
   FILM GRAIN OVERLAY
   A barely-visible static texture over the whole page. Adds a
   tactile, editorial quality without any image file. Pure CSS.
   To remove: delete this block. To adjust: change the opacity.
   ================================================================= */
.grain{
  position:fixed; inset:0; z-index:999; pointer-events:none;
  opacity:.06;                             /* subtle texture, adjust to taste */
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat:repeat;
  background-size:180px 180px;
}
@media (prefers-reduced-motion: reduce){ .grain{ display:none; } }

.wrap{
  width:100%;
  max-width:var(--maxw);
  margin-inline:auto;
  padding-inline:var(--gutter);
}

a{ color:inherit; text-decoration:none; }

:focus-visible{
  outline:1px solid var(--accent);
  outline-offset:4px;
}

.eyebrow{
  font-family:var(--font-body);
  font-size:.82rem;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--faint);
  margin-bottom:24px;
}

.h-section{
  font-family:var(--font-display);
  font-weight:300;
  letter-spacing:.01em;
  line-height:1.05;
  font-size:clamp(2.1rem, 5.5vw, 4rem);
}


/* =================================================================
   3. SCROLL-REVEAL ANIMATION
   ================================================================= */
.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* =================================================================
   4. NAVIGATION
   ================================================================= */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:20px var(--gutter);
  transition:background .4s var(--ease), border-color .4s var(--ease);
  border-bottom:1px solid transparent;
}
.nav.scrolled{
  background:rgba(10,10,11,.82);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav__brand{
  font-family:var(--font-display);
  font-weight:400;
  font-size:1rem;
  letter-spacing:.34em;
}
.nav__links{
  display:flex; align-items:center; gap:34px;
  font-size:.95rem; letter-spacing:.04em; color:var(--muted);
}
.nav__links a{ transition:color .3s var(--ease); }
.nav__links a:hover{ color:var(--text); }
.nav__cta{
  border:1px solid var(--line);
  padding:9px 20px; border-radius:3px;
  color:var(--text); letter-spacing:.06em;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.nav__cta:hover{ border-color:var(--accent); background:rgba(194,168,120,.08); }

.nav__burger{
  display:none; flex-direction:column; gap:6px;
  background:none; border:none; cursor:pointer; padding:6px; z-index:60;
}
.nav__burger span{
  width:26px; height:1px; background:var(--text); display:block;
  transition:transform .35s var(--ease), opacity .35s var(--ease);
}
body.menu-open .nav__burger span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2){ opacity:0; }
body.menu-open .nav__burger span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.drawer__overlay{
  position:fixed; inset:0; z-index:55;
  background:rgba(0,0,0,.6); backdrop-filter:blur(2px);
  opacity:0; visibility:hidden; transition:opacity .4s var(--ease), visibility .4s;
}
.drawer__overlay.open{ opacity:1; visibility:visible; }

.drawer{
  position:fixed; top:0; right:0; z-index:58;
  height:100dvh; width:min(360px, 82vw);
  background:var(--ink); border-left:1px solid var(--line);
  transform:translateX(100%); transition:transform .45s var(--ease);
  display:flex; flex-direction:column;
  padding:72px var(--gutter) 28px;
  overflow-y:auto;
}
.drawer.open{ transform:none; }
.drawer a{
  display:flex; align-items:baseline; gap:16px;
  padding:14px 0; border-bottom:1px solid var(--line);
  font-family:var(--font-display); font-weight:300;
  font-size:1.35rem; color:var(--text);
  transition:color .3s var(--ease), padding-left .3s var(--ease);
}
.drawer a:hover{ color:var(--accent); padding-left:8px; }
.drawer a .n{ font-size:.8rem; letter-spacing:.1em; color:var(--faint); min-width:24px; }
.drawer__apply{ margin-top:24px; }
.drawer__apply a{
  justify-content:center; border:1px solid var(--line); border-bottom:1px solid var(--line);
  border-radius:3px; font-size:1rem; letter-spacing:.08em; padding:16px;
}
.drawer__apply a:hover{ border-color:var(--accent); padding-left:0; }

/* =================================================================
   5. HERO
   ================================================================= */
.hero{
  position:relative;
  min-height:100svh;
  display:flex; align-items:center;
  overflow:hidden;
}
.hero__bg{
  position:absolute; inset:0; z-index:0;
  background-image:
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.78) 60%, var(--ink) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1920&auto=format&fit=crop');
  background-size:cover;
  background-position:center;
  animation:heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift{ from{ transform:scale(1.0);} to{ transform:scale(1.08);} }
@media (prefers-reduced-motion: reduce){ .hero__bg{ animation:none; } }

.hero__inner{ position:relative; z-index:1; width:100%; }
.hero__eyebrow{
  font-size:.85rem; letter-spacing:.4em; text-transform:uppercase;
  color:var(--muted); margin-bottom:30px;
}
.hero__title{
  font-family:var(--font-display);
  font-weight:200;
  font-size:clamp(2.6rem, 8.5vw, 7.5rem);
  line-height:1;
  letter-spacing:.04em;
}
.hero__divider{
  width:96px; height:1px; background:var(--accent);
  margin:38px 0 30px;
  transform:scaleX(0); transform-origin:left;
  animation:drawLine 1.6s var(--ease) .6s forwards;
}
@keyframes drawLine{ to{ transform:scaleX(1); } }
@media (prefers-reduced-motion: reduce){ .hero__divider{ transform:none; animation:none; } }
.hero__tag{
  font-size:clamp(1rem,2.2vw,1.35rem);
  color:var(--muted); max-width:32ch; font-weight:400;
}
.hero__scroll{
  position:absolute; bottom:34px; left:var(--gutter); z-index:1;
  font-size:.68rem; letter-spacing:.3em; text-transform:uppercase;
  color:var(--faint); display:flex; align-items:center; gap:12px;
}
.hero__scroll::before{ content:""; width:34px; height:1px; background:var(--faint); }

/* =================================================================
   6. GENERIC SECTION SHELL
   ================================================================= */
.section{ padding-block:var(--section-pad); position:relative; }
.section--line{ border-top:1px solid var(--line); }

.split{
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(40px,7vw,110px); align-items:start;
}

/* =================================================================
   7. WHO WE ARE
   ================================================================= */
.lede{ font-size:clamp(1.18rem,1.8vw,1.4rem); color:var(--text); margin-bottom:26px; font-weight:400; }
.who p{ color:var(--muted); margin-bottom:22px; max-width:54ch; }
.who p:last-child{ color:var(--text); }

/* =================================================================
   8. INVESTOR PROFILES
   ================================================================= */
.profiles{ border-top:1px solid var(--line); }
.profile{
  display:flex; align-items:baseline; gap:28px;
  padding:30px 0; border-bottom:1px solid var(--line);
  transition:padding-left .4s var(--ease);
}
.profile:hover{ padding-left:14px; }
.profile__name{
  font-family:var(--font-display); font-weight:300;
  font-size:clamp(1.3rem,3vw,2rem);
}

/* =================================================================
   9. SELECTIVE BY DESIGN
   ================================================================= */
.funnel{ display:flex; flex-direction:column; gap:10px; }
.step{
  border:1px solid var(--line); background:var(--surface);
  padding:18px 26px; text-align:center; align-self:center;
  font-size:1.05rem; letter-spacing:.02em; color:var(--text);
  transition:border-color .4s var(--ease);
}
.step:hover{ border-color:var(--accent); }
/* Staggered funnel entrance */
.step{ opacity:0; transform:translateY(18px); transition:opacity .6s var(--ease), transform .6s var(--ease), border-color .4s var(--ease); }
.step.is-visible{ opacity:1; transform:none; }
.step:nth-child(2){ transition-delay:.12s; }
.step:nth-child(3){ transition-delay:.24s; }
.step:nth-child(4){ transition-delay:.36s; }
.step:nth-child(5){ transition-delay:.48s; }
@media (prefers-reduced-motion: reduce){ .step{ opacity:1; transform:none; transition:none; } }
.step--final{
  background:var(--accent); color:var(--ink);
  border-color:var(--accent); font-weight:500;
}
.stat__big{
  font-family:var(--font-display); font-weight:200;
  font-size:clamp(3.5rem,11vw,7rem); line-height:1; color:var(--accent);
  font-variant-numeric:tabular-nums;
}
.stat__label{ color:var(--muted); margin-top:10px; max-width:34ch; }

/* =================================================================
   10. OUR EDGE
   ================================================================= */
.grid2{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); border:1px solid var(--line); }
.edge{
  background:var(--ink); padding:clamp(32px,4vw,52px);
  transition:background .4s var(--ease);
}
.edge:hover{ background:var(--surface); }
.edge__title{
  font-family:var(--font-display); font-weight:300;
  font-size:clamp(1.2rem,2.4vw,1.7rem); margin-bottom:18px;
}
.edge__title::before{
  content:""; display:block; width:26px; height:1px;
  background:var(--accent); margin-bottom:18px;
}
.edge p{ color:var(--muted); max-width:32ch; }

/* =================================================================
   11. INVESTMENT PARAMETERS
   ================================================================= */
.params{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.param{ background:var(--ink); padding:clamp(28px,3.5vw,44px); }
.param h3{
  font-family:var(--font-body); font-weight:400;
  font-size:.84rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--faint); margin-bottom:18px;
}
.param .value{
  font-family:var(--font-display); font-weight:400;
  font-size:clamp(1.15rem,2vw,1.5rem); font-variant-numeric:tabular-nums;
}
.param ul{ list-style:none; }
.param li{ color:var(--muted); padding:5px 0; }
/* two short metrics share one tile, so the grid stays an even 2x2 */
.param--stats{ display:flex; flex-direction:column; gap:28px; }

/* =================================================================
   12. THE CASCADE
   ================================================================= */
.cascade__line{
  font-family:var(--font-display); font-weight:200;
  font-size:clamp(2rem,6vw,4.4rem); line-height:1.04;
  letter-spacing:.02em; margin-bottom:30px;
}
.cascade__line .accent{ color:var(--accent); }
.cascade__support p{ color:var(--muted); margin-bottom:26px; max-width:40ch; }
.cascade__support .final{ color:var(--text); letter-spacing:.04em; }

/* =================================================================
   13. TEAM
   ================================================================= */
.team{
  display:grid;
  grid-template-columns:repeat(4, 1fr);   /* 4 across on desktop */
  gap:clamp(26px,2.6vw,46px);
}
.member{ max-width:100%; cursor:pointer; }
.member__frame{
  position:relative; aspect-ratio:1/1.18; width:100%;
  background:var(--surface); border:1px solid var(--line); overflow:hidden;
}
.member__frame img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  filter:grayscale(100%) contrast(1.02);
  transition:filter .5s var(--ease), transform .6s var(--ease);
}
.member:hover .member__frame img{ filter:grayscale(0%); transform:scale(1.03); }
.member__name{ font-family:var(--font-display); font-weight:400; font-size:1rem; margin-top:18px; }
.member__role{ color:var(--muted); font-size:.95rem; margin-top:5px; }
.member:focus-visible{ outline:1px solid var(--accent); outline-offset:6px; }
.member__frame::after{
  content:"+"; position:absolute; top:10px; right:13px; z-index:2;
  font-family:var(--font-display); font-size:1.2rem; line-height:1; color:var(--text);
  opacity:0; transition:opacity .3s var(--ease);
}
.member:hover .member__frame::after{ opacity:.8; }
.member__li{ display:inline-flex; margin-top:12px; color:var(--muted); transition:color .3s var(--ease); }
.member__li:hover{ color:var(--accent); }
.li-ic{ width:18px; height:18px; display:block; }

.pmodal__overlay{
  position:fixed; inset:0; z-index:70; background:rgba(0,0,0,.65); backdrop-filter:blur(3px);
  opacity:0; visibility:hidden; transition:opacity .35s var(--ease), visibility .35s;
}
.pmodal__overlay.open{ opacity:1; visibility:visible; }

/* --- Profile panel (centered, photo+LinkedIn left, bio right) --- */
.pmodal{
  position:fixed; top:50%; left:50%; z-index:72;
  transform:translate(-50%,-48%) scale(.97);
  width:min(1300px, 94vw); max-height:88vh;
  background:var(--surface); border:1px solid var(--line);
  opacity:0; visibility:hidden;
  transition:opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  overflow:hidden;
}
.pmodal.open{ opacity:1; visibility:visible; transform:translate(-50%,-50%) scale(1); }
.pmodal__inner{ display:grid; grid-template-columns:240px 1fr; max-height:88vh; }
/* Left column: photo + LinkedIn stacked */
.pmodal__left{
  display:flex; flex-direction:column; background:var(--ink);
  border-right:1px solid var(--line);
}
.pmodal__photo{ position:relative; overflow:hidden; flex-shrink:0; }
.pmodal__photo img{
  width:100%; aspect-ratio:3/4; object-fit:cover; object-position:top;
  filter:grayscale(100%) contrast(1.02); display:block;
}
.pmodal__left-links{ padding:20px 24px; }
/* Right column: role, name, bio (scrolls independently) */
.pmodal__body{
  padding:clamp(30px,4vw,48px);
  overflow-y:auto; max-height:88vh;
  scrollbar-width:thin; scrollbar-color:var(--line) transparent;
}
.pmodal__role{ font-size:.82rem; letter-spacing:.18em; text-transform:uppercase; color:var(--accent); margin-bottom:14px; }
.pmodal__name{ font-family:var(--font-display); font-weight:300; font-size:clamp(1.6rem,3vw,2.2rem); margin-bottom:22px; }
.pmodal__bio{ color:var(--muted); font-size:1.0625rem; line-height:1.75; white-space:pre-line; }
.pmodal__li{ display:inline-flex; align-items:center; gap:10px; color:var(--text);
  font-size:.82rem; letter-spacing:.06em; border:1px solid var(--line); padding:11px 20px; border-radius:999px;
  transition:border-color .3s var(--ease), color .3s var(--ease); }
.pmodal__li:hover{ border-color:var(--accent); color:var(--accent); }
.pmodal__close{ position:absolute; top:14px; right:16px; z-index:3; background:rgba(0,0,0,.4); border:none;
  color:var(--text); font-size:1.5rem; line-height:1; cursor:pointer; width:36px; height:36px;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  transition:background .3s var(--ease); }
.pmodal__close:hover{ background:rgba(0,0,0,.7); }

.footer__li{ display:inline-flex; color:var(--muted); transition:color .3s var(--ease); }
.footer__li:hover{ color:var(--accent); }
@media (max-width:880px){   /* tablet: 2 by 2 */
  .team{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px){   /* phone: still 2-up, tighter gap */
  .team{ gap:20px; }
}

/* =================================================================
   14. CONTACT / APPLY
   ================================================================= */
.contact__head{ font-family:var(--font-display); font-weight:200;
  font-size:clamp(2rem,6vw,4rem); line-height:1.05; margin-bottom:26px; }
.contact__note{ color:var(--muted); margin-bottom:36px; }
.form__status{ font-size:.92rem; margin-top:14px; min-height:1.4em; }
.form__status--ok{
  color:var(--text); background:var(--surface);
  border:1px solid var(--line); border-left:3px solid var(--accent);
  border-radius:4px; padding:22px 24px; margin-top:20px;
}
.form__status--ok p{ color:var(--muted); margin:0; }
.form__status--ok p:first-child{
  font-family:var(--font-display); font-weight:300;
  font-size:clamp(1.25rem,2.4vw,1.6rem); color:var(--text); margin:0 0 8px;
}
.form__status--err{ color:#c97; }
.form{ display:grid; gap:22px; max-width:560px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-size:.82rem; letter-spacing:.16em; text-transform:uppercase; color:var(--faint); }
.field input, .field textarea{
  background:transparent; border:none; border-bottom:1px solid var(--line);
  color:var(--text); font-family:var(--font-body); font-size:1rem;
  padding:10px 0; transition:border-color .3s var(--ease);
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--accent); }
.field textarea{ resize:vertical; min-height:90px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; line-height:1.15;
  justify-self:start; margin-top:10px; cursor:pointer;
  background:var(--text); color:var(--ink); border:none;
  font-family:var(--font-body); font-weight:500; font-size:.92rem;
  letter-spacing:.12em; text-transform:uppercase;
  padding:15px 38px; border-radius:3px;
  transition:background .3s var(--ease), color .3s var(--ease);
}
.btn:hover{ background:var(--accent); }

/* =================================================================
   15. FOOTER
   ================================================================= */
.footer{ border-top:1px solid var(--line); padding-block:50px; }
.footer__row{ display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
.footer__brand{ font-family:var(--font-display); letter-spacing:.3em; }
.footer small{ color:var(--faint); font-size:.88rem; letter-spacing:.04em; }
.footer__legal{ display:flex; justify-content:space-between; align-items:flex-start; gap:24px;
  flex-wrap:wrap; margin-top:28px; padding-top:24px; border-top:1px solid var(--line); }
.footer__links{ display:flex; gap:24px; flex-wrap:wrap; }
.footer__links a{ font-size:.88rem; letter-spacing:.04em; color:var(--muted); transition:color .3s var(--ease); }
.footer__links a:hover{ color:var(--accent); }
.footer__disc{ color:var(--text); font-size:.82rem; line-height:1.65; max-width:64ch; }

/* =================================================================
   16. RESPONSIVE
   ================================================================= */
@media (max-width: 880px){
  .nav__links{ display:none; }
  .nav__burger{ display:flex; }
  .split{ grid-template-columns:1fr; }
  .grid2{ grid-template-columns:1fr; }
  .params{ grid-template-columns:1fr; }
}

@media (max-width:700px){
  .pmodal{ width:96vw; max-height:92vh; overflow-y:auto; overflow-x:hidden; }
  .pmodal__inner{ grid-template-columns:1fr; max-height:none; }
  .pmodal__left{ border-right:none; border-bottom:1px solid var(--line); }
  .pmodal__photo{ width:100%; }
  .pmodal__photo img{ aspect-ratio:16/10; width:100%; border-radius:0; }
  .pmodal__left-links{ padding:14px 22px; }
  .pmodal__body{ max-height:none; overflow-y:visible; padding:24px 22px; }
}

/* =================================================================
   17. PRINT / PDF EXPORT
   ================================================================= */
@media print{
  .reveal{ opacity:1 !important; transform:none !important; }
  *{ -webkit-print-color-adjust:exact !important; print-color-adjust:exact !important; }
  .nav{ position:absolute; }
  .hero{ min-height:80vh; }
  .hero__scroll, .nav__burger, .drawer, .drawer__overlay{ display:none !important; }
  .edge, .param, .member, .profile, .step, .cascade__line{ break-inside:avoid; }
}

/* =================================================================
   18. INNER PAGES (added for the multi-page build)
   ================================================================= */

/* Page header (lighter than the homepage hero) */
.page-head{ padding:calc(var(--section-pad) * .78) 0 0; }
.page-head .eyebrow{ margin-bottom:22px; }
.page-head h1{
  font-family:var(--font-display); font-weight:200;
  font-size:clamp(2.3rem,6vw,4.4rem); line-height:1.04; letter-spacing:.02em;
}
.page-head .lede{ margin-top:28px; max-width:72ch; }
.page-body{ padding-block:clamp(46px,7vh,84px); }

/* Prose */
.prose{ max-width:78ch; }
.prose p{ color:var(--muted); margin-bottom:22px; }
.prose p.lead{ color:var(--text); font-size:clamp(1.1rem,1.6vw,1.3rem); }
.prose h2{ font-family:var(--font-display); font-weight:300;
  font-size:clamp(1.5rem,3vw,2.1rem); margin:46px 0 8px; }
.prose h2::after{ content:""; display:block; width:40px; height:1px; background:var(--accent); margin:18px 0 24px; }
.prose h3{ font-family:var(--font-body); font-weight:500; font-size:1.05rem;
  letter-spacing:.02em; color:var(--text); margin:30px 0 10px; }
.prose ul{ color:var(--muted); margin:0 0 22px 20px; }
.prose li{ margin-bottom:8px; }
.prose strong{ color:var(--text); font-weight:500; }
.prose a{ color:var(--accent); border-bottom:1px solid transparent; transition:border-color .3s var(--ease); }
.prose a:hover{ border-color:var(--accent); }

/* CTA row + ghost button */
.cta-row{ margin-top:44px; display:flex; gap:16px; flex-wrap:wrap; align-items:center; }
.btn--ghost{ background:transparent; color:var(--text); border:1px solid var(--line); }
.btn--ghost:hover{ background:rgba(194,168,120,.08); border-color:var(--accent); }

/* Disqualifier / access note */
.note-line{ margin-top:30px; padding-left:18px; border-left:1px solid var(--line);
  color:var(--faint); font-size:.98rem; max-width:58ch; }
.note-line strong{ color:var(--muted); font-weight:500; }

/* Homepage two-way routing */
.pathways{ display:grid; grid-template-columns:1fr 1fr; gap:1px;
  background:var(--line); border:1px solid var(--line); }
.path{ background:var(--ink); padding:clamp(30px,4vw,52px);
  display:flex; flex-direction:column; gap:14px; transition:background .4s var(--ease); color:inherit; }
.path:hover{ background:var(--surface); }
.path__eyebrow{ font-size:.78rem; letter-spacing:.2em; text-transform:uppercase; color:var(--accent); }
.path__title{ font-family:var(--font-display); font-weight:300; font-size:clamp(1.4rem,2.6vw,1.9rem); }
.path p{ color:var(--muted); max-width:38ch; }
.path__go{ margin-top:auto; padding-top:18px; color:var(--text); font-size:.9rem;
  letter-spacing:.06em; display:inline-flex; align-items:center; gap:10px;
  transition:gap .3s var(--ease), color .3s var(--ease); }
.path__go::after{ content:"\2192"; }
.path:hover .path__go{ gap:16px; color:var(--accent); }

/* Lexicon */
.lexicon .term{ padding-block:clamp(28px,4vh,44px); border-top:1px solid var(--line); }
.lexicon .term:first-child{ border-top:none; padding-top:0; }
.lexicon .term h2{ font-family:var(--font-display); font-weight:300;
  font-size:clamp(1.4rem,2.8vw,2rem); margin-bottom:14px; }
.lexicon .term p{ color:var(--muted); max-width:none; }

/* FAQ / approach */
.faq .qa{ padding-block:clamp(26px,4vh,40px); border-top:1px solid var(--line); }
.faq .qa:first-of-type{ border-top:none; padding-top:0; }
.faq .qa h2{ font-family:var(--font-display); font-weight:300;
  font-size:clamp(1.35rem,2.6vw,1.9rem); margin:0 0 12px; }
.faq .qa p{ color:var(--muted); max-width:82ch; }

/* Article (intelligence) */
.byline{ color:var(--faint); font-size:.95rem; letter-spacing:.02em; margin-top:6px; }
.tldr{ border:1px solid var(--line); background:var(--surface);
  padding:clamp(22px,3vw,32px); margin:34px 0 40px; }
.tldr h2{ font-size:.8rem; letter-spacing:.2em; text-transform:uppercase; color:var(--faint); margin:0 0 12px; }
.tldr > :first-child{ margin-top:0; }
.tldr h2::after{ display:none; }
.tldr ul{ margin:0; padding-left:18px; }
.tldr li{ margin-bottom:10px; color:var(--muted); }
.tldr li:last-child{ margin-bottom:0; }

/* Footer page nav */
.footer__nav{ max-width:var(--maxw); margin-inline:auto; padding:26px var(--gutter) 0;
  display:flex; gap:22px; flex-wrap:wrap; }
.footer__nav a{ font-size:.9rem; letter-spacing:.04em; color:var(--muted); transition:color .3s var(--ease); }
.footer__nav a:hover{ color:var(--accent); }

/* =================================================================
   19. INNER-PAGE ADD-ONS  (portal forms, link CTAs, contact close)
   ================================================================= */

/* Use more horizontal space on inner pages (title + body stay aligned) */
.page-head .wrap, .page-body .wrap{ max-width:1280px; }

/* Lexicon: two columns on wider screens */
@media (min-width:1040px){
  .lexicon{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:50px 68px; }
  .lexicon .term{ margin:0; }
  /* top of the right column: no divider line above its first item */
  .lexicon .term:nth-child(2){ border-top:none; padding-top:0; }
}

/* Sharp inline link CTA (replaces the rounded ghost email button) */
.link-cta{ display:inline-flex; align-items:center; gap:8px; color:var(--accent);
  font-weight:500; letter-spacing:.01em; text-decoration:none;
  border-bottom:1px solid rgba(194,168,120,.45); padding-bottom:3px;
  transition:border-color .25s var(--ease), color .25s var(--ease); }
.link-cta:hover{ border-bottom-color:var(--accent); color:var(--text); }

/* Reference line (e.g. mandate -> market definitions) */
.see-also{ margin-top:26px; color:var(--faint); font-size:1rem; }

/* Portal contact panel (for-companies / for-investors) */
.portal-contact{ margin-top:clamp(50px,7vh,90px); padding-top:clamp(42px,6vh,74px);
  border-top:1px solid var(--line); }
.portal-contact h2{ font-family:var(--font-display); font-weight:300;
  font-size:clamp(1.5rem,3vw,2.1rem); letter-spacing:.01em; margin-bottom:14px; }
.portal-contact h2::after{ display:none; }
.portal-contact__note{ color:var(--muted); max-width:62ch; margin-bottom:34px; }
.portal-contact .form{ max-width:640px; }
.portal-contact__email{ margin-top:28px; color:var(--faint); }

/* Article headline (intelligence): sized for a sentence, not a one-word title */
.page-head--article h1{ font-size:clamp(1.9rem,4vw,3.1rem); font-weight:300;
  line-height:1.12; letter-spacing:.01em; max-width:24ch; }
.page-head--article .byline{ margin-top:20px; }

/* Homepage contact close: two doors + email (replaces the old split form) */
.contact-close{ max-width:760px; }
.contact-close__doors{ margin-top:40px; display:flex; gap:16px; flex-wrap:wrap; }
.contact-close__email{ margin-top:32px; color:var(--faint); }

/* =================================================================
   20. PAGE TRANSITIONS  (cross-page fade)
   ================================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root){ animation-duration:.4s; }

@keyframes pageFade { from { opacity:0 } to { opacity:1 } }

/* Fallback fade for browsers without cross-document view transitions */
@supports not (view-transition-name: none){
  @media (prefers-reduced-motion: no-preference){
    body{ animation: pageFade .4s ease both; }
  }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce){
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*){ animation:none !important; }
}

/* =================================================================
   21. ARTICLE MOTIF  (quiet index line in the Insights header)
   ================================================================= */
.page-head--article{ position:relative; overflow:hidden;
  background:linear-gradient(180deg, rgba(194,168,120,.06), transparent 68%); }
.page-head--article .wrap{ position:relative; z-index:1; }
.article-head__motif{ position:absolute; inset:0; z-index:0; opacity:.16; pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 32%, #000 100%);
          mask-image:linear-gradient(90deg, transparent, #000 32%, #000 100%); }
.article-head__motif svg{ width:100%; height:100%; display:block; }
.article-head__motif polyline{ stroke:var(--accent); }
@media (prefers-reduced-motion: no-preference){
  .article-head__motif polyline{ stroke-dasharray:2400; stroke-dashoffset:2400;
    animation:motifDraw 1.6s ease .2s forwards; }
}
@keyframes motifDraw{ to { stroke-dashoffset:0; } }

/* =================================================================
   22. LATE OVERRIDES  (small fixes that must load after the rest)
   ================================================================= */

/* Phones: stack CTA buttons full width so nothing is clipped */
@media (max-width:560px){
  .cta-row{ flex-direction:column; align-items:stretch; }
  .cta-row .btn{ margin-top:0; width:100%; }
}

/* Buttons keep their own look inside article prose (must beat .prose a) */
.prose a.btn{ color:var(--ink); border:0; }
.prose a.btn:hover{ color:var(--ink); border:0; }
.prose a.btn.btn--ghost{ color:var(--text); border:1px solid var(--line); }
.prose a.btn.btn--ghost:hover{ color:var(--text); border-color:var(--accent); }

/* =================================================================
   23. CONVERGENCE VISUAL  (cascade "intersection") + article sources
   ================================================================= */
.converge{ max-width:40ch; margin:0 0 42px; }
.converge svg{ width:100%; height:auto; aspect-ratio:480 / 360; display:block; overflow:visible; }
.cv-scene, .cv-ambient{ transition:transform .4s cubic-bezier(.2,.7,.2,1); }
#cvGlow stop{ stop-color:var(--accent); }
.cv-line{ stroke:var(--accent); stroke-width:1; opacity:.4; }
.cv-dot{ fill:var(--accent); opacity:.55; }
.cv-halo{ fill:none; stroke:var(--accent); stroke-width:1; opacity:.35; }
.cv-node{ fill:var(--accent); }
.cv-glow{ opacity:.9; }
.cv-label{ fill:var(--faint); font-family:var(--font-body); font-weight:500;
  font-size:11px; letter-spacing:.22em; text-transform:uppercase; }

/* draw in when the section scrolls into view; static if reduced-motion */
@media (prefers-reduced-motion: no-preference){
  .converge .cv-line{ stroke-dasharray:200; stroke-dashoffset:200; }
  .converge .cv-dot,
  .converge .cv-node,
  .converge .cv-halo,
  .converge .cv-glow,
  .converge .cv-label{ opacity:0; }
  .converge .cv-node{ transform-box:fill-box; transform-origin:center; }
  .is-visible .cv-line{ animation:cvDraw 1.3s ease forwards; }
  .is-visible .cv-dot{ animation:cvFade .7s ease .2s forwards; }
  .is-visible .cv-label{ animation:cvFade .8s ease .35s forwards; }
  .is-visible .cv-glow{ animation:cvFade 1s ease 1s forwards; }
  .is-visible .cv-node{ animation:cvPop .6s cubic-bezier(.2,.8,.2,1) 1.05s forwards; }
  .is-visible .cv-halo{ animation:cvFade .7s ease 1.2s forwards, cvPulse 3.6s ease-in-out 2.4s infinite; }
}
@keyframes cvDraw{ to{ stroke-dashoffset:0; } }
@keyframes cvFade{ to{ opacity:1; } }
@keyframes cvPop{ from{ opacity:0; transform:scale(0); } to{ opacity:1; transform:scale(1); } }
@keyframes cvPulse{ 0%,100%{ opacity:.35; } 50%{ opacity:.6; } }

/* Insights: single sources line at the foot of the article */
.sources{ margin-top:44px; color:var(--faint); font-size:.9rem; letter-spacing:.01em; }
