:root {
  --ink: #020a14;
  --navy: #06192e;
  --navy-2: #0a2440;
  --cyan: #12aef5;
  --cyan-soft: #8adaff;
  --red: #dc2827;
  --green: #65d632;
  --white: #f6f9fc;
  --muted: #a9bacb;
  --line: rgba(128, 205, 255, .2);
  --max: 1280px;
  --header: 92px;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--white); font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif; }
body::before { content: ""; position: fixed; z-index: 20; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--red), var(--cyan), transparent 75%); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -70px; padding: 12px 18px; background: white; color: #00101e; border-radius: 4px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: absolute; z-index: 30; inset: 0 0 auto; height: var(--header); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; width: min(calc(100% - 64px), 1480px); margin: auto; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 500 21px/.86 "Avenir Next", "Helvetica Neue", sans-serif; letter-spacing: .04em; }
.brand img { width: 55px; height: 53px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(133, 199, 234, .25)); }
.brand b { font-weight: 800; }
.site-header nav { display: flex; justify-content: flex-end; gap: clamp(16px, 2vw, 34px); }
.site-header nav a { position: relative; padding: 13px 0; color: rgba(255,255,255,.86); font-size: 12px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 7px; height: 1px; background: var(--cyan); transition: right .25s; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 19px; }
.language-switch { display: flex; align-items: center; gap: 5px; color: #6e8093; font-size: 11px; }
.language-switch button { border: 0; padding: 4px 2px; background: none; color: #7890a4; cursor: pointer; font-weight: 700; }
.language-switch button.active { color: #fff; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: rgba(4,20,37,.7); }
.menu-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: white; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 15px; padding: 0 24px; border-radius: 3px; text-decoration: none; text-transform: uppercase; font: 700 11px/1 "Avenir Next", "Helvetica Neue", sans-serif; letter-spacing: .07em; transition: transform .25s, box-shadow .25s, background .25s; }
.button:hover { transform: translateY(-2px); }
.button-red { background: linear-gradient(135deg, #ee322d, #a80813); box-shadow: 0 10px 28px rgba(220,40,39,.22); }
.button-red:hover { box-shadow: 0 13px 36px rgba(220,40,39,.4); }
.button-ghost { border: 1px solid rgba(170,220,248,.4); background: rgba(2,15,28,.32); backdrop-filter: blur(8px); }
.play { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-size: 13px; }

.hero { position: relative; min-height: 900px; overflow: hidden; background: #031326 url("assets/csaba-reinach-hero.png") center top / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,8,18,.2), rgba(1,13,27,.09) 47%, rgba(0,9,20,.2)), linear-gradient(180deg, rgba(0,8,18,.25), transparent 54%, #020a14 100%); }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(circle at 63% 36%, transparent 0 20%, rgba(0,8,18,.14) 58%, rgba(0,6,14,.47) 100%); }
.hero-network { position: absolute; z-index: 2; right: 1.5%; top: 104px; width: min(42vw, 650px); height: auto; opacity: .72; }
.net-lines { fill: none; stroke: #20aff2; stroke-width: 1; opacity: .43; }
.net-dash { stroke-dasharray: 3 7; opacity: .8; }
.net-dots { fill: #65d6ff; filter: drop-shadow(0 0 6px #00aaf5); }
.net-dots circle { animation: blink 4s ease-in-out infinite; }
.net-dots circle:nth-child(2n) { animation-delay: -1.6s; }
.reinach circle:first-child { fill: none; stroke: #25c2ff; opacity: .5; transform-origin: 536px 80px; animation: pulse 3s ease-out infinite; }
.reinach circle:nth-child(2) { fill: rgba(20,161,224,.4); stroke: #56d6ff; }
.reinach circle:nth-child(3) { fill: #eefcff; filter: drop-shadow(0 0 10px #28bfff); }
.reinach text { fill: white; text-anchor: middle; font: 600 13px "Avenir Next", "Helvetica Neue", sans-serif; letter-spacing: .1em; }
@keyframes blink { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes pulse { 0% { transform: scale(.7); opacity: .75; } 100% { transform: scale(1.55); opacity: 0; } }
.hero-content { position: relative; z-index: 3; width: min(53vw, 740px); margin-left: max(43vw, calc((100vw - 1480px) / 2 + 600px)); padding-top: 200px; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 24px; color: var(--cyan-soft); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .19em; }
.eyebrow > span:first-child { width: 34px; height: 1px; background: var(--red); box-shadow: 0 0 9px var(--red); }
.hero h1, .section h2 { margin: 0; font-family: "Avenir Next", "Helvetica Neue", sans-serif; font-weight: 800; letter-spacing: -.035em; }
.hero h1 { border-left: 5px solid var(--red); padding-left: 23px; font-size: clamp(45px, 4.45vw, 72px); line-height: .99; text-transform: uppercase; text-shadow: 0 6px 24px #000b18; }
.hero h1 em, .section h2 em { color: var(--cyan-soft); font-style: normal; }
.hero-lead { max-width: 650px; margin: 25px 0 29px 29px; color: #d6e2ec; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.55; }
.hero-actions { display: flex; gap: 13px; margin-left: 29px; }
.hero-scroll { position: absolute; z-index: 3; right: 35px; bottom: 69px; display: flex; align-items: center; gap: 14px; color: #9ab3c8; font-size: 9px; text-transform: uppercase; letter-spacing: .18em; transform: rotate(90deg); transform-origin: bottom right; }
.hero-scroll i { display: block; width: 60px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }

.section { position: relative; padding: 120px max(32px, calc((100vw - var(--max)) / 2)); }
.section-intro { display: grid; grid-template-columns: .8fr 1.4fr .9fr; align-items: end; gap: 56px; margin-bottom: 52px; }
.section-intro .eyebrow { align-self: start; }
.section h2 { font-size: clamp(38px, 4vw, 61px); line-height: 1.06; }
.section-intro > p:last-child, .deep-copy > p, .profile-heading p { color: var(--muted); line-height: 1.75; }
.focus { overflow: hidden; background: linear-gradient(180deg, #020a14, #051522); }
.focus::before { content: ""; position: absolute; width: 600px; height: 600px; right: -280px; top: 80px; border: 1px solid rgba(24,152,220,.1); border-radius: 50%; box-shadow: 0 0 130px rgba(10,124,199,.08); }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }
.focus-card { position: relative; min-height: 515px; overflow: hidden; border: 1px solid rgba(132,206,248,.28); border-radius: 7px; background: #071827; box-shadow: 0 23px 55px rgba(0,0,0,.28); }
.focus-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.focus-card:nth-child(1) > img { object-position: 57% center; }
.focus-card:hover > img { transform: scale(1.055); }
.focus-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,11,22,.03), rgba(1,10,20,.9) 63%, #020b15), linear-gradient(90deg, rgba(1,10,20,.5), transparent); }
.focus-number { position: absolute; right: 18px; top: 17px; color: rgba(255,255,255,.4); font: 600 10px "Avenir Next", "Helvetica Neue", sans-serif; letter-spacing: .13em; }
.focus-copy { position: absolute; inset: auto 29px 31px; }
.focus-icon { display: grid; place-items: center; width: 55px; height: 55px; margin-bottom: 18px; border: 1px solid currentColor; border-radius: 50%; font-size: 28px; background: rgba(3,17,30,.65); box-shadow: 0 0 28px currentColor; }
.focus-icon.red { color: #ff4340; }.focus-icon.green { color: #76e43e; }.focus-icon.blue { color: #23b3ff; }
.tag { margin: 0 0 9px; color: var(--cyan); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.focus-card h3 { margin: 0 0 16px; font: 700 clamp(25px, 2vw, 31px)/1.05 "Avenir Next", "Helvetica Neue", sans-serif; text-transform: uppercase; }
.focus-card ul { margin: 0; padding: 0; color: #c5d4df; list-style: none; font-size: 13px; line-height: 1.8; }
.focus-card li::before { content: "✓"; margin-right: 9px; color: var(--cyan); font-weight: 800; }
.focus-card:first-child li::before { color: #ff3b37; }.focus-card:nth-child(2) li::before { color: var(--green); }

.manifesto { min-height: 570px; display: grid; place-items: center; align-content: center; overflow: hidden; text-align: center; background: #020a14 url("assets/reinach-nightscape.png") center 57% / cover fixed; }
.manifesto::before { content: ""; position: absolute; inset: 0; background: rgba(0,8,18,.82); }
.manifesto-line { position: absolute; z-index: 1; width: 1px; height: 90px; top: 0; background: linear-gradient(var(--red), transparent); }
.quote-mark { position: absolute; z-index: 1; top: 37px; margin: 0; color: rgba(17,168,242,.16); font: 180px Georgia, serif; }
.manifesto blockquote { position: relative; z-index: 2; margin: 0; font: 500 clamp(29px, 3.3vw, 52px)/1.25 "Avenir Next", "Helvetica Neue", sans-serif; letter-spacing: -.03em; }
.manifesto blockquote em { color: var(--cyan-soft); font-style: normal; }
.signature { position: relative; z-index: 2; margin: 29px 0 0; color: var(--cyan); font: 38px "Snell Roundhand", "Segoe Script", cursive; transform: rotate(-4deg); }

.deep-dive { display: grid; grid-template-columns: 1.07fr .93fr; gap: clamp(70px, 8vw, 130px); align-items: center; background: #04111e; }
.deep-dive.energy-section { background: linear-gradient(180deg, #04111e, #020b14); }
.deep-media { position: relative; height: 570px; overflow: hidden; border: 1px solid rgba(120,199,240,.25); border-radius: 6px; }
.deep-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(1,9,18,.8)); }
.deep-media img { width: 100%; height: 100%; object-fit: cover; }
.deep-media span { position: absolute; z-index: 2; left: 19px; bottom: 17px; color: var(--cyan-soft); font: 600 10px "Avenir Next", "Helvetica Neue", sans-serif; letter-spacing: .17em; }
.media-grid { position: absolute; z-index: 2; inset: 0; opacity: .17; background-image: linear-gradient(rgba(44,173,238,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(44,173,238,.5) 1px, transparent 1px); background-size: 45px 45px; mask-image: linear-gradient(transparent, #000); }
.deep-copy .eyebrow { margin-bottom: 30px; }
.deep-copy > p { margin: 27px 0 33px; font-size: 15px; }
.principles { border-top: 1px solid var(--line); }
.principles div { display: grid; grid-template-columns: 48px 1fr; gap: 15px; align-items: center; min-height: 58px; border-bottom: 1px solid var(--line); }
.principles b { color: var(--red); font: 600 10px "Avenir Next", "Helvetica Neue", sans-serif; }
.principles span { color: #e2ecf4; font-size: 13px; }

.profile { background: radial-gradient(circle at 78% 24%, rgba(11,109,170,.12), transparent 33%), #020a14; }
.profile-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; margin-bottom: 80px; }
.profile-heading > div { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin: 25px 0 70px; }
.timeline-track { position: absolute; left: 6%; right: 6%; top: 30px; height: 1px; background: linear-gradient(90deg, var(--cyan), #1c668e 82%, var(--red)); }
.timeline article { position: relative; text-align: center; }
.timeline-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 14px; border: 1px solid var(--cyan); border-radius: 50%; background: #04101d; box-shadow: 0 0 20px rgba(18,174,245,.22); font-size: 22px; }
.timeline article > b { color: #e7f5ff; font: 600 13px "Avenir Next", "Helvetica Neue", sans-serif; }
.timeline article p { max-width: 125px; margin: 5px auto 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.timeline .future .timeline-dot { border-color: #ff4945; background: linear-gradient(135deg, #eb342e, #a90c17); font-size: 25px; }
.timeline .future > b { color: #ff4743; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-card { position: relative; height: 230px; overflow: hidden; padding: 0; border: 1px solid rgba(150,211,244,.35); border-radius: 6px; background: #061525; color: white; cursor: zoom-in; box-shadow: 0 15px 35px rgba(0,0,0,.32); }
.gallery-card::after { content: "↗"; position: absolute; right: 13px; top: 10px; opacity: 0; color: var(--cyan-soft); transition: opacity .25s; }
.gallery-card:hover::after { opacity: 1; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card span { position: absolute; inset: auto 0 0; padding: 30px 10px 13px; background: linear-gradient(transparent, rgba(0,7,15,.92)); text-align: center; font-size: 11px; font-weight: 600; }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 65px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roles > div { min-height: 125px; display: flex; flex-direction: column; justify-content: center; padding: 20px 25px; border-right: 1px solid var(--line); }
.roles > div:last-child { border: 0; }
.roles span { margin-bottom: 11px; color: var(--cyan); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.roles b { font: 600 13px "Avenir Next", "Helvetica Neue", sans-serif; }
.roles small { margin-top: 7px; color: var(--muted); font-size: 10px; }

.cta { min-height: 570px; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; text-align: center; background: #041525 url("assets/energy-orbit.png") center / cover no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(0,9,20,.76); }
.cta-glow { position: absolute; width: 620px; height: 620px; border: 1px solid rgba(43,181,246,.18); border-radius: 50%; box-shadow: 0 0 120px rgba(12,141,212,.13), inset 0 0 100px rgba(12,141,212,.06); }
.cta > * { position: relative; z-index: 1; }
.cta .eyebrow { margin-bottom: 22px; }
.cta > p:not(.eyebrow) { max-width: 550px; margin: 22px 0 29px; color: #b4c5d3; line-height: 1.65; }
.cta .button { min-width: 205px; }
.cta .button b { font-size: 18px; }

.site-footer { display: grid; grid-template-columns: 1.4fr 1fr 1.35fr auto; align-items: center; gap: 35px; min-height: 150px; padding: 35px max(32px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); background: #010811; color: #a5b7c7; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: white; font: 500 14px "Avenir Next", "Helvetica Neue", sans-serif; letter-spacing: .08em; }
.footer-brand img { width: 39px; height: 37px; object-fit: contain; }
.site-footer p { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 11px; }
.site-footer svg { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: #e8f5ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-links { display: flex; gap: 17px; }
.footer-links a { color: #d8e7f2; font-size: 10px; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.site-footer small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(128,205,255,.1); color: #5c7184; font-size: 9px; }

.lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 6vh 6vw; background: rgba(0,6,14,.94); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: .25s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 7px; box-shadow: 0 25px 80px #000; }
.lightbox button { position: absolute; right: 3vw; top: 3vh; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(4,20,37,.8); color: white; cursor: pointer; font-size: 30px; }
body.lightbox-open { overflow: hidden; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .site-header { width: calc(100% - 38px); gap: 20px; }
  .site-header nav { gap: 15px; }
  .site-header nav a { font-size: 10px; }
  .header-actions .button { display: none; }
  .hero { min-height: 790px; background-position: 44% top; }
  .hero-content { width: 56vw; margin-left: 41vw; padding-top: 180px; }
  .hero-network { opacity: .35; }
  .section-intro { grid-template-columns: 1fr 1.6fr; }
  .section-intro > p:last-child { grid-column: 2; }
  .deep-dive { gap: 50px; }
  .profile-heading, .profile-heading > div { gap: 35px; }
  .profile-heading > div { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header: 75px; }
  .site-header { grid-template-columns: 1fr auto auto; }
  .brand { font-size: 17px; }.brand img { width: 43px; height: 43px; }
  .menu-toggle { display: block; order: 3; cursor: pointer; }
  .site-header nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 17px; padding: 75px 30px 30px; background: rgba(1,9,18,.97); opacity: 0; visibility: hidden; transition: .25s; }
  .site-header nav.open { opacity: 1; visibility: visible; z-index: -1; }
  .site-header nav a { font-size: 18px; }
  .header-actions { justify-self: end; }
  .hero { min-height: 820px; background-image: linear-gradient(180deg, rgba(0,5,12,.05) 42%, rgba(1,9,18,.82) 70%, #020a14), url("assets/csaba-reinach-hero.png"); background-size: auto 820px; background-position: 37% top; }
  .hero-network { top: 95px; right: -32%; width: 92vw; opacity: .32; }
  .hero-content { position: absolute; inset: auto 22px 55px; width: auto; margin: 0; padding: 0; }
  .hero h1 { font-size: clamp(35px, 10vw, 53px); padding-left: 15px; border-width: 3px; }
  .hero-lead { margin-left: 18px; font-size: 14px; }
  .hero-actions { margin-left: 18px; flex-wrap: wrap; }
  .hero-scroll { display: none; }
  .section { padding: 85px 22px; }
  .section-intro { display: block; }
  .section-intro > p:last-child { margin-top: 22px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: 440px; }
  .manifesto { min-height: 500px; }
  .deep-dive, .energy-section { grid-template-columns: 1fr; }
  .energy-section .deep-copy { order: 2; }.energy-section .deep-media { order: 1; }
  .deep-media { height: 420px; }
  .profile-heading { display: block; }
  .profile-heading > div { display: block; }
  .profile-heading p { margin-top: 23px; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 38px; }
  .timeline-track { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-card { height: 210px; }
  .roles { grid-template-columns: 1fr 1fr; }
  .roles > div:nth-child(2) { border-right: 0; }.roles > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr; gap: 20px; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 450px) {
  .language-switch span { display: none; }
  .language-switch { gap: 2px; }
  .hero { background-position: 35% top; }
  .hero-content { left: 17px; right: 17px; }
  .hero-lead { display: none; }
  .hero-actions { margin-top: 24px; }
  .button { padding: 0 18px; min-height: 45px; }
  .section h2 { font-size: 34px; }
  .focus-card { min-height: 410px; }
  .deep-media { height: 330px; }
  .timeline-dot { width: 50px; height: 50px; }
  .gallery { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
  .roles > div { border-right: 0; border-bottom: 1px solid var(--line); }
}

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

.legal-page { min-height: 100vh; background: radial-gradient(circle at 80% 0, rgba(16,139,210,.15), transparent 34%), #020a14; }
.legal-header { position: static; width: min(calc(100% - 44px), 1280px); margin: auto; }
.legal-main { width: min(calc(100% - 44px), 900px); margin: auto; padding: 90px 0 120px; }
.legal-main .eyebrow { margin-bottom: 20px; }
.legal-main h1 { margin: 0 0 45px; font: 800 clamp(42px, 7vw, 78px)/1 "Avenir Next", "Helvetica Neue", sans-serif; letter-spacing: -.04em; }
.legal-main h2 { margin: 48px 0 15px; padding-top: 30px; border-top: 1px solid var(--line); font-size: 22px; }
.legal-main h3 { margin-top: 28px; font-size: 16px; }
.legal-main p, .legal-main li { color: #b5c5d2; font-size: 14px; line-height: 1.75; }
.legal-main a { color: var(--cyan-soft); }
.legal-back { display: inline-flex; margin-top: 50px; color: white; text-decoration: none; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
