:root {
  --ink: #171816;
  --muted: #666962;
  --paper: #f3f1eb;
  --white: #fff;
  --orange: #cf7849;
  --orange-dark: #a9473f;
  --orange-soft: #f7e6d9;
  --brand-red: #c24e46;
  --brand-gold: #d0a952;
  --brand-yellow: #c9c75a;
  --brand-green: #9bcb3b;
  --brand-gradient: linear-gradient(110deg, var(--brand-red) 0%, var(--orange) 27%, var(--brand-gold) 52%, var(--brand-yellow) 75%, var(--brand-green) 100%);
  --line: rgba(23, 24, 22, .16);
  --shell: 1280px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Archivo, sans-serif; font-size: 16px; line-height: 1.5; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section-pad { padding: 128px 0; }
.skip-link { position: fixed; top: -60px; left: 18px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 76px; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(243, 241, 235, .92); backdrop-filter: blur(18px); }
.site-header__inner { height: 76px; display: flex; align-items: center; gap: 48px; }
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { width: 174px; height: auto; }
.desktop-nav { display: flex; gap: 28px; margin-left: auto; }
.desktop-nav a, .header-access { font-family: "Space Mono", monospace; font-size: 11px; font-weight: 700; }
.desktop-nav a { color: var(--muted); }
.desktop-nav a:hover { color: var(--orange-dark); }
.header-access { padding: 11px 15px; border: 1px solid var(--ink); }
.header-access:hover { background: var(--ink); color: var(--white); }
.menu-button, .mobile-nav { display: none; }

.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; padding: 112px 0 54px; background: radial-gradient(circle at 50% 36%, rgba(207,120,73,.14), transparent 32%), var(--paper); }
.hero__layout { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__logo { width: clamp(340px, 55vw, 720px); max-width: 100%; height: auto; margin-bottom: 30px; }
.hero__badge { margin: 0 0 24px; padding: 8px 13px; border: 1px solid rgba(155,54,0,.25); background: var(--orange-soft); color: var(--orange-dark); font-family: "Space Mono", monospace; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
h1 { max-width: 1000px; margin-bottom: 34px; font-size: clamp(48px, 6vw, 88px); line-height: .96; }
h2 { margin-bottom: 0; font-size: clamp(42px, 5vw, 72px); line-height: .98; }
h3 { font-size: 25px; line-height: 1.1; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; width: 100%; }
.hero__action { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.hero__action:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(169, 71, 63, 0.3); }
.hero__action:active { transform: translateY(1px); box-shadow: none; }
.hero__signature { position: absolute; bottom: 10%; padding-top: 22px; border-top: 1px solid var(--line); text-align: center }
.hero__signature p { margin: 0; color: var(--muted); font-family: "Space Mono", monospace; font-size: 13px; line-height: 1.65; }
.hero__signature strong { display: inline-block; color: var(--ink); font-family: Archivo, sans-serif; font-size: clamp(19px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -.035em; }
.hero__illustration-slot { position: absolute; bottom: 30%; left: 50%; width: min(calc(100% - 48px), 980px); transform: translateX(-50%); pointer-events: none; }
.hero__illustration-slot img { width: 100%; height: auto; object-fit: contain; }

.section-split { display: grid; grid-template-columns: .82fr 1.18fr; gap: 9vw; }
.section-heading { position: sticky; top: 118px; align-self: start; }
.section-heading--wide { position: static; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 72px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.section-number { display: block; margin-bottom: 20px; color: var(--orange-dark); font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.section-heading--wide .section-number { margin: 0; order: 2; }

.actors { background: var(--white); }
.actor-stack { display: grid; gap: 9px; }
.actor-stack div { display: grid; grid-template-columns: 70px 1fr; align-items: center; min-height: 108px; padding: 20px 28px; background: #ff0000; color: var(--ink); transition: transform .2s, filter .2s; }
.actor-stack div:nth-child(2) { margin-left: 6%; background: #ffc000; }
.actor-stack div:nth-child(3) { margin-left: 12%; background: #92d050; }
.actor-stack div:nth-child(4) { margin-left: 18%; background: #5b9bd5; }
.actor-stack div:hover { transform: translateX(-8px); }
.actor-stack small { font-family: "Space Mono", monospace; opacity: .62; }
.actor-stack strong { font-size: clamp(20px, 2.3vw, 34px); line-height: 1.05; }

.specialities { background: var(--paper); }
.speciality-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.speciality { min-height: 280px; padding: 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.speciality > span { color: var(--orange-dark); font-family: "Space Mono", monospace; font-size: 11px; }
.speciality h3 { margin: 70px 0 15px; font-size: clamp(27px, 3vw, 43px); }
.speciality p { max-width: 560px; margin: 0; color: var(--muted); font-size: 17px; }

.remarks { background: var(--brand-gradient); }
.remarks .section-number { color: var(--ink); }
.remarks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.remark-panel { min-height: 360px; padding: 44px; background: var(--paper); }
.remark-panel--dark { background: var(--ink); color: var(--white); }
.remark-panel h3 { margin-bottom: 62px; font-family: "Space Mono", monospace; font-size: 14px; letter-spacing: 0; text-decoration: underline; }
.remark-panel p { margin: 0; padding: 12px 0; border-bottom: 1px solid currentColor; font-size: clamp(20px, 2vw, 29px); }
.remarks-question { margin: 74px 0 0; font-size: clamp(32px, 5vw, 68px); font-style: italic; font-weight: 700; line-height: 1; letter-spacing: -.05em; }

.objective { background: var(--ink); color: var(--white); }
.objective .section-number { color: var(--orange); }
.objective__layout { display: grid; grid-template-columns: 1fr; }
.objective__heading { position: static; align-self: center; width: 100%; text-align: center; }
.objective-list, .session-list { margin: 0; padding: 0; list-style: none; }
.objective-list { width: min(100%, 920px); margin-inline: auto; }
.objective-list li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.19); }
.objective-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.19); }
.objective-list span { color: var(--orange); font-family: "Space Mono", monospace; font-size: 12px; }
.objective-list p { max-width: 700px; margin: 0; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.25; }

.tool { background: var(--paper); }
.tool-layout { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: start; overflow-x: auto; }
.tool-list { width: min(100%, 880px); margin: 0; padding: 0; list-style: none; counter-reset: tool; }
.tool-list li { display: grid; grid-template-columns: 48px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 2vw, 27px); }
.tool-list b { color: var(--orange-dark); font-family: "Space Mono", monospace; font-size: 12px; }
.tool-list--continued { margin-top: 4px; }
.stream-cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 28px; min-width: 720px; margin-top: 42px; padding: 25px 72px 25px 18px; isolation: isolate; }
.stream-cards::before { content: ""; position: absolute; inset: 10px 0; z-index: -1; background: linear-gradient(90deg, #b9caca, #9eafaf); clip-path: polygon(0 24%, 84% 24%, 84% 0, 100% 50%, 84% 100%, 84% 76%, 0 76%); }
.stream-cards span { display: grid; place-items: center; min-height: 80px; padding: 14px 18px; border-radius: 12px; background: #075477; color: var(--white); box-shadow: 0 5px 8px rgba(18,39,45,.24); font-size: clamp(20px, 2vw, 29px); font-weight: 500; line-height: 1.05; text-align: center; }
.stream-cards span:nth-child(2) { background: #ff7a7f; color: var(--white); }
.stream-cards span:nth-child(3) { background: #00b956; color: var(--white); font-size: clamp(16px, 1.55vw, 22px); }

.streams { overflow: hidden; background: var(--white); }
.stream-map { display: grid; gap: 84px; overflow-x: auto; padding: 4px 0 18px; scrollbar-color: #0a5277 #e8e9e6; }
.stream-row { display: grid; grid-template-columns: 1.28fr repeat(5, 1fr); min-width: 1120px; filter: drop-shadow(3px 4px 0 #e9edef); }
.stream-row > * { min-height: 92px; display: grid; place-items: center; margin-left: -17px; padding: 14px 28px 14px 38px; clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 50%, calc(100% - 38px) 100%, 0 100%, 38px 50%); text-align: center; line-height: 1.12; }
.stream-row > *:first-child { z-index: 6; margin-left: 0; padding-left: 50px; }
.stream-row > *:nth-child(2) { z-index: 5; }
.stream-row > *:nth-child(3) { z-index: 4; }
.stream-row > *:nth-child(4) { z-index: 3; }
.stream-row > *:nth-child(5) { z-index: 2; }
.stream-row > *:nth-child(6) { z-index: 1; }
.stream-row strong { justify-content: start; font-size: 26px; font-weight: 500; }
.stream-row span { font-size: 18px; font-weight: 700; }
.stream-row--operations > * { background: #075477; color: var(--white); box-shadow: inset 3px 0 0 var(--white); }
.stream-row--operations > *:first-child { background: #082760; box-shadow: none; }
.stream-row--local { grid-template-columns: 1.28fr 2.36fr 2.36fr; }
.stream-row--local > * { background: #00b956; color: var(--white); box-shadow: inset 3px 0 0 var(--white); }
.stream-row--local > *:first-child { box-shadow: none; }
.stream-row--local span { font-size: 21px; font-weight: 500; }
.stream-row--finances > * { min-height: 80px; background: #ff1010; color: var(--white); box-shadow: inset 3px 0 0 var(--white); }
.stream-row--finances > *:first-child { box-shadow: none; }

.session { background: var(--paper); }
.session-list li { display: grid; grid-template-columns: 78px 1fr; padding: 25px 0; border-top: 1px solid var(--line); }
.session-list li:last-child { border-bottom: 1px solid var(--line); }
.session-list b { color: var(--orange-dark); font-family: "Space Mono", monospace; font-size: 12px; }
.session-list p { max-width: 720px; margin: 0; font-size: clamp(19px, 2vw, 27px); line-height: 1.25; }

.screens { background: var(--orange-soft); }
.cashflow { background: var(--ink); color: var(--white); }
.cashflow .section-heading--wide { border-color: rgba(255,255,255,.2); }
.cashflow .section-number { color: var(--orange); }
.document-visual { margin: 0 auto; max-width: 930px; padding: 28px; background: var(--white); box-shadow: 0 32px 80px rgba(49,25,9,.16); transform: rotate(-1deg); }
.document-visual img { width: 100%; }
.document-visual--wide { max-width: 1160px; transform: rotate(.5deg); }

.evidence { background: var(--white); }
.evidence-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 24px; align-items: stretch; }
.evidence-card { margin: 0; padding: 34px; border: 1px solid var(--line); background: var(--paper); }
.evidence-card h2 { min-height: 145px; margin-bottom: 38px; font-size: clamp(34px, 4vw, 58px); }
.evidence-card img { width: 100%; height: 640px; object-fit: contain; background: var(--white); }
.evidence-card--session { background: var(--brand-gradient); }
.evidence-card--session img { object-fit: cover; }

.conclusion { background: var(--brand-gradient); }
.conclusion .section-number { color: var(--ink); }
.conclusion-list { margin: 0; padding: 0; list-style: none; }
.conclusion-list li { position: relative; padding: 23px 0 23px 44px; border-top: 1px solid rgba(23,24,22,.35); font-size: clamp(20px, 2vw, 28px); line-height: 1.25; }
.conclusion-list li:last-child { border-bottom: 1px solid rgba(23,24,22,.35); }
.conclusion-list li::before { content: "$"; position: absolute; left: 0; font-family: "Space Mono", monospace; font-weight: 700; }

.site-footer { padding: 64px 0 24px; border-top: 1px solid var(--line); background: radial-gradient(circle at 50% 36%, rgba(207,120,73,.14), transparent 32%), var(--paper); color: var(--ink); }
.site-footer__inner { display: block; }
.site-footer__grid { display: grid; grid-template-columns: 1.35fr .7fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; padding-bottom: 48px; }
.site-footer__brand { max-width: 410px; }
.site-footer__logo { width: min(100%, 330px); height: auto; margin-bottom: 20px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 15px; }
.site-footer p strong { color: var(--ink); }
.site-footer__signature { margin-top: 20px !important; padding-top: 18px; border-top: 1px solid var(--line); font-family: "Space Mono", monospace; font-size: 11px !important; }
.site-footer__title { margin-bottom: 18px !important; color: var(--ink) !important; font-family: "Space Mono", monospace; font-size: 11px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-footer__nav, .site-footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer__nav a, .site-footer__contact a, .site-footer__bottom a { font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.site-footer__nav a:hover, .site-footer__contact a:hover, .site-footer__bottom a:hover { color: var(--orange-dark); text-decoration: underline; }
.site-footer__contact > p:not(.site-footer__title) { margin-top: 8px; line-height: 1.55; }
.site-footer__consoltia { width: 190px; height: auto; margin-top: 8px; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.site-footer__bottom p { font-family: "Space Mono", monospace; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .desktop-nav, .header-access { display: none; }
  .site-header__inner { justify-content: space-between; }
  .menu-button { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; background: transparent; }
  .menu-button span { width: 24px; height: 2px; background: var(--ink); transition: transform .2s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: fixed; inset: 76px 0 auto; display: grid; max-height: 0; overflow: hidden; background: var(--paper); transition: max-height .3s; }
  .mobile-nav.is-open { max-height: 400px; border-bottom: 1px solid var(--line); }
  .mobile-nav a { padding: 16px 24px; border-top: 1px solid var(--line); font-weight: 700; }
  .section-split { grid-template-columns: 1fr; gap: 64px; }
  .section-heading { position: static; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-card h2 { min-height: auto; }
  .evidence-card img { height: auto; max-height: 660px; }
  .stream-map { overflow-x: auto; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .hero__signature { position: static; width: min(100%, 760px); margin-top: 50px; transform: none; }
  .hero__illustration-slot { position: static; width: 100%; margin-top: 32px; transform: none; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 30px), var(--shell)); }
  .section-pad { padding: 84px 0; }
  h1 { font-size: clamp(48px, 14vw, 68px); }
  h2 { font-size: clamp(39px, 11vw, 54px); }
  .hero { min-height: auto; padding-top: 124px; }
  .hero__logo { margin-bottom: 24px; }
  .hero__actions { flex-direction: column; width: min(100%, 360px); margin-inline: auto; gap: 14px; }
  .hero__action { width: 100%; text-align: center; }
  .section-heading--wide { align-items: start; margin-bottom: 46px; }
  .speciality-grid, .remarks-grid { grid-template-columns: 1fr; }
  .speciality { min-height: 230px; padding: 25px; }
  .speciality h3 { margin-top: 52px; }
  .remark-panel { min-height: 310px; padding: 28px; }
  .actor-stack div { grid-template-columns: 48px 1fr; padding: 18px; }
  .actor-stack div:nth-child(n) { margin-left: 0; }
  .objective-list li, .session-list li { grid-template-columns: 50px 1fr; }
  .document-visual { padding: 10px; }
  .evidence-card { padding: 20px; }
  .evidence-card h2 { margin-bottom: 28px; }
  .site-footer { padding-top: 48px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 38px; padding-bottom: 36px; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__logo { width: min(100%, 280px); }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .site-footer__consoltia { width: min(100%, 190px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
