/* R+K Global Holding – design tokens
   Palette taken from a PV module: silicon cell, busbar silver, sunlight. */
:root {
  --night: #070B1E;
  --silicon: #0D1638;
  --silicon-2: #16224D;
  --sun: #FF8C42;
  --sun-deep: #9A4A0A;
  --sky: #8DB8FF;
  --busbar: #C9D1DC;
  --daylight: #F4F6F3;
  --paper: #FFFFFF;
  --ink: #10182B;
  --ink-soft: #4A556B;
  --on-dark: #EEF1F6;
  --on-dark-soft: #A9B4C8;
  --line-dark: rgba(201, 209, 220, .18);
  --line-light: rgba(16, 24, 43, .14);

  --font: "Archivo", "Noto Sans Georgian", system-ui, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--night);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 2px; }
.light :focus-visible { outline-color: var(--ink); }

.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 16px; background: var(--sun); color: var(--ink);
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.dark { background: var(--night); color: var(--on-dark); }
.light { background: var(--daylight); color: var(--ink); }

/* Type: one family, the width axis does the work */
h1, h2, .brand__mark {
  font-stretch: 125%;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.02;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2.4rem, 6.4vw, 6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: 1.06; }
h3 { font-size: 1.3rem; font-weight: 600; font-stretch: 112%; line-height: 1.2; letter-spacing: -.01em; }
.big { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.45; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--on-dark-soft); max-width: 34em; }
:lang(ka) h1, :lang(ka) h2, :lang(ka) .brand__mark { font-stretch: 100%; letter-spacing: 0; line-height: 1.15; }
:lang(ka) h1 { font-size: clamp(2rem, 5vw, 4.6rem); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font: inherit; font-weight: 600; font-stretch: 108%; text-decoration: none;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--small { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #FFB07A; }
.btn--line { border-color: rgba(201, 209, 220, .45); color: var(--on-dark); background: transparent; }
.btn--line:hover { border-color: var(--on-dark); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  color: var(--on-dark);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck, .nav.is-open { background: rgba(7, 11, 30, .92); backdrop-filter: blur(12px); border-bottom-color: var(--line-dark); }
.nav__progress { position: absolute; inset: auto 0 -1px 0; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left center; }
.nav__row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; min-height: 44px; padding-block: 8px; }
.brand__mark { font-size: 1.5rem; font-weight: 700; }
.brand__plus { color: var(--sun); }
.brand__name { font-size: .95rem; color: var(--on-dark-soft); font-stretch: 108%; }
.nav__menu { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav__menu > a:not(.btn) { text-decoration: none; font-size: .98rem; padding-block: 12px; border-bottom: 1px solid transparent; }
.nav__menu > a:not(.btn):hover { border-bottom-color: var(--sun); }
.brand, .nav__menu > a, .nav__toggle { white-space: nowrap; }
@media (max-width: 1400px) { :lang(ka) .brand__name { display: none; } }
.nav__toggle { display: none; min-height: 44px; padding: 0 16px; font: inherit; color: inherit; background: none; border: 1px solid var(--line-dark); border-radius: 2px; cursor: pointer; }
.lang { display: inline-flex; border: 1px solid var(--line-dark); border-radius: 2px; }
.lang button {
  min-width: 44px; min-height: 40px; padding: 0 10px;
  font: inherit; font-size: .85rem; font-weight: 600; color: var(--on-dark-soft);
  background: none; border: 0; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--on-dark); color: var(--night); }

/* Hero: stacked by default; .is-scrub (added by JS) turns it into a
   tall track with a pinned stage that the scroll position scrubs. */
.vhero { position: relative; background: var(--night); }
.vhero__pin { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid; align-items: end; }
.vhero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease; will-change: transform; pointer-events: none;
}
.vhero__video.is-ready { opacity: 1; }
.vhero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 11, 30, .6), rgba(7, 11, 30, 0) 70%),
    linear-gradient(180deg, rgba(7, 11, 30, .6), rgba(7, 11, 30, .15) 30%, rgba(7, 11, 30, .4) 60%, rgba(7, 11, 30, .92));
}
.no-video .vhero__shade { background: radial-gradient(90% 60% at 78% 0%, rgba(255, 140, 66, .16), transparent 60%), linear-gradient(180deg, var(--silicon), var(--night) 72%); }
.vhero__content { position: relative; display: grid; gap: 28px; padding-top: 120px; padding-bottom: clamp(72px, 13vh, 136px); }
.vhero h1 { max-width: 11em; text-shadow: 0 4px 30px rgba(0, 0, 0, .45); }
.vhero__end { max-width: 40em; }
.vhero__end .lead { color: var(--on-dark); font-size: clamp(1.2rem, 2.2vw, 1.9rem); line-height: 1.3; font-stretch: 108%; text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.vhero__end .btn--line { border-color: rgba(238, 241, 246, .6); background: rgba(7, 11, 30, .35); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.vhero__hint, .vhero__bar { display: none; }

.vhero.is-scrub { height: calc(100vh + 2800px); height: calc(100lvh + 2800px); }
.is-scrub .vhero__pin { position: sticky; top: 0; height: 100vh; height: 100lvh; min-height: 0; }
.is-scrub .vhero__content > * { grid-area: 1 / 1; align-self: end; }
.is-scrub .vhero__end { opacity: 0; visibility: hidden; }
.is-scrub .vhero__hint {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: absolute; left: 50%; bottom: clamp(16px, 4vh, 36px); transform: translateX(-50%);
  font-size: .85rem; font-weight: 600; color: rgba(238, 241, 246, .8); transition: opacity .4s ease; pointer-events: none;
}
.is-scrub .vhero__hint svg { animation: nudge 1.6s ease-in-out infinite; }
.is-scrub .vhero__bar { display: block; position: absolute; inset: auto 0 0 0; height: 2px; background: rgba(255, 255, 255, .14); }
.vhero__bar div { height: 100%; background: var(--sun); transform: scaleX(0); transform-origin: left center; }
@keyframes nudge { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(5px); opacity: 1; } }

/* Sun section keeps the old hero's sky */
.hero {
  background:
    radial-gradient(90% 60% at 78% 0%, rgba(255, 140, 66, .16), transparent 60%),
    linear-gradient(180deg, var(--silicon) 0%, var(--night) 72%);
}

/* Sun instrument */
.sun__cap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px clamp(28px, 6vw, 96px); align-items: end; }
.year h3 { font-size: 1.1rem; font-stretch: 108%; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.sun__cap p, .year figcaption p, .sun__axis { font-size: .9rem; color: var(--on-dark-soft); }
.sun__plot, .year__plot { position: relative; margin-top: 28px; }
.sun__plot { height: clamp(190px, 30vw, 380px); margin-top: clamp(40px, 5vw, 72px); margin-bottom: 34px; }
.sun__plot svg, .year__plot svg { width: 100%; height: 100%; overflow: visible; }
.sun__line { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.sun__line--ge { stroke: var(--sun); }
.sun__line--de { stroke: var(--sky); stroke-dasharray: 7 5; }
.sun__horizon { stroke: var(--busbar); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sun__now { stroke: var(--on-dark); stroke-opacity: .45; stroke-width: 1; vector-effect: non-scaling-stroke; }
.sun__dot {
  position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 6px rgba(255, 140, 66, .18), 0 0 34px 8px rgba(255, 140, 66, .5);
}
.sun__dot--de { background: var(--sky); box-shadow: 0 0 0 6px rgba(141, 184, 255, .18), 0 0 30px 6px rgba(141, 184, 255, .42); }
.sun__dot.is-down { background: var(--night); border: 2px solid currentColor; box-shadow: none; color: var(--sun); }
.sun__dot--de.is-down { color: var(--sky); }
.sun__tag { position: absolute; font-size: .85rem; font-weight: 600; white-space: nowrap; transform: translate(-50%, -100%); padding-bottom: 8px; }
.sun__tag.is-below { transform: translate(-50%, 0); padding: 12px 0 0; }
.sun__tag--ge { color: var(--sun); }
.sun__tag[hidden] { display: none; }
.sun__tag--de { color: var(--sky); }
.sun__span { position: absolute; top: calc(90% + 4px); height: 3px; background: linear-gradient(90deg, var(--sun), var(--sky)); border-radius: 2px; }
.sun__ticks { position: absolute; inset: 100% 0 auto 0; height: 24px; font-size: .8rem; color: var(--on-dark-soft); }
.sun__ticks span { position: absolute; top: 8px; transform: translateX(-50%); white-space: nowrap; }
.sun__ticks span:first-child { transform: none; }
.sun__axis { text-align: right; }
.sim { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 20px; padding: 12px 0; border-block: 1px solid var(--line-dark); font-size: .92rem; }
.sim__state { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-width: 6.5em; }
.sim__state i { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255, 140, 66, .6); }
.sim.is-sim .sim__state i { background: var(--sky); }
.sim label { color: var(--on-dark-soft); }
.sim input { flex: 1 1 220px; min-width: 0; height: 44px; accent-color: var(--sun); cursor: pointer; }
.sim output { min-width: 8.5em; font-weight: 600; font-stretch: 108%; }
.sim [hidden] { display: none; }
.sun__window { margin-top: 28px; font-size: clamp(1.25rem, 2.3vw, 2rem); font-stretch: 112%; font-weight: 500; line-height: 1.25; max-width: 30em; text-wrap: balance; }
.sun__window b { color: var(--sun); font-weight: 600; white-space: nowrap; }

.sun__read { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 64px); margin-top: 36px; }
.read { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 2px solid var(--sun); }
.read--de { border-top: 2px dashed var(--sky); }
.read > div { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.read dt { font-size: .85rem; color: var(--on-dark-soft); }
.read dd { font-size: 1.25rem; font-weight: 500; font-stretch: 108%; }
.read__wide { grid-column: 1 / -1; }
.read__place { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; }
.read__place dt { font-size: 1.5rem; font-weight: 600; font-stretch: 118%; color: var(--on-dark); }
.read__place dd { font-size: .95rem; font-weight: 400; color: var(--on-dark-soft); }

/* Sections */
.section { padding: clamp(72px, 10vw, 152px) 0; }
.section--tight { padding-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.prose { display: grid; gap: 20px; max-width: 36em; }
.light .prose p:not(.big) { color: var(--ink-soft); }
.dark .prose p:not(.big) { color: var(--on-dark-soft); }
.h2--wide { max-width: 16em; }

/* Services as PV modules: cell grid, frame, and a glint that follows the pointer */
.modules { background: linear-gradient(180deg, var(--night), var(--silicon) 60%, var(--night)); }
.panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 72px); }
.panel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  min-height: 460px; padding: calc(50% + 12px) 28px 28px;
  border: 1px solid rgba(201, 209, 220, .28); border-radius: 6px;
  background-color: #0A1030;
  background-image:
    radial-gradient(440px circle at var(--mx, 75%) var(--my, 0%), rgba(255, 140, 66, .26), transparent 60%),
    repeating-linear-gradient(90deg, rgba(201, 209, 220, .11) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(0deg, rgba(201, 209, 220, .11) 0 1px, transparent 1px 76px),
    linear-gradient(160deg, var(--silicon-2), #0A1030 70%);
}
.panel svg { position: absolute; top: 28px; left: 28px; width: calc(100% - 56px); height: auto; color: var(--busbar); }
.panel .hot { stroke: var(--sun); }
.panel h3 { position: relative; font-size: clamp(1.4rem, 2vw, 1.9rem); font-stretch: 120%; line-height: 1.12; overflow-wrap: anywhere; }
.panel p { position: relative; color: var(--on-dark-soft); }

/* PV cell texture: cell gaps and busbars, kept faint */
.cells {
  background-color: var(--night);
  background-image:
    linear-gradient(180deg, var(--night) 0%, rgba(7, 11, 30, .82) 40%, var(--night) 100%),
    repeating-linear-gradient(90deg, rgba(201, 209, 220, .16) 0 1px, transparent 1px 156px),
    repeating-linear-gradient(0deg, rgba(201, 209, 220, .16) 0 1px, transparent 1px 156px),
    repeating-linear-gradient(0deg, transparent 0 51px, rgba(201, 209, 220, .07) 51px 52px);
}

.year { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line-dark); padding-top: 24px; }
.year figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 32px; }
.year__plot { height: clamp(200px, 26vw, 340px); margin: 40px 0 44px; }
.year__grid { stroke: var(--line-dark); stroke-width: 1; vector-effect: non-scaling-stroke; }
.year__y { position: absolute; left: 0; transform: translateY(-110%); font-size: .8rem; color: var(--on-dark-soft); }

.table-scroll { overflow-x: auto; margin-top: 12px; }
.facts { width: 100%; border-collapse: collapse; min-width: 520px; }
.facts th, .facts td { padding: 14px 16px 14px 0; text-align: left; border-bottom: 1px solid var(--line-dark); font-weight: 400; }
.facts thead th { font-weight: 600; font-stretch: 112%; font-size: 1.1rem; }
.facts tbody th { color: var(--on-dark-soft); }
.facts tbody td { font-size: 1.15rem; font-weight: 500; }
.key { display: inline-block; width: 22px; height: 0; margin-right: 10px; vertical-align: middle; border-top: 3px solid var(--sun); }
.key--de { border-top: 3px dashed var(--sky); }

/* Group structure: parent and subsidiary, joined by the shareholding */
.group { margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-light); padding-top: 24px; }
.group h3 { font-size: 1.1rem; font-stretch: 108%; }
.group__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; margin-top: 20px; }
.entity { padding: 24px; background: var(--paper); border: 1px solid var(--line-light); border-radius: 6px; }
.entity dt { font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 600; font-stretch: 118%; line-height: 1.15; margin-bottom: 10px; }
.entity dd { color: var(--ink-soft); }
.group__link { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 120px; padding: 0 8px; text-align: center; color: var(--ink-soft); font-size: .9rem; border-block: 2px solid var(--sun-deep); align-self: center; }
.group__link strong { font-size: 1.5rem; font-stretch: 118%; color: var(--ink); line-height: 1.6; }
.offices li span { text-align: right; }
.offices a { text-underline-offset: 3px; }

/* Photography and ambient clips */
.band { margin-top: clamp(40px, 5vw, 72px); aspect-ratio: 21 / 9; border-radius: 6px; overflow: hidden; background: var(--silicon); }
.band > *, .shot > img, .shot > video { display: block; width: 100%; height: 100%; object-fit: cover; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 72px); }
.shot { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-dark); background: var(--silicon); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 64px 24px 20px; background: linear-gradient(180deg, transparent, rgba(7, 11, 30, .88));
}
.shot strong { font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 600; font-stretch: 120%; }
.shot span { font-size: .85rem; color: var(--on-dark-soft); }
.dusk { background: linear-gradient(180deg, rgba(7, 11, 30, .8), rgba(7, 11, 30, .72) 50%, rgba(7, 11, 30, .94)), url("contact.jpg") center / cover no-repeat var(--night); }

/* Process: a real sequence, so it is numbered */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; margin-top: clamp(40px, 5vw, 72px); }
.steps li { counter-increment: step; border-top: 2px solid var(--line-light); padding-top: 18px; transition: border-color .5s var(--ease); }
.steps li.is-on { border-top-color: var(--ink); }
.steps li.is-on::before { color: var(--sun-deep); }
.steps li::before { content: counter(step); display: block; font-size: 2.6rem; font-weight: 300; font-stretch: 125%; line-height: 1; margin-bottom: 28px; color: rgba(16, 24, 43, .3); transition: color .5s var(--ease); }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-soft); font-size: .98rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact .big { margin-top: 24px; color: var(--on-dark-soft); max-width: 28em; }
.offices { margin-top: 40px; border-top: 1px solid var(--line-dark); }
.offices li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.offices span { color: var(--on-dark-soft); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: clamp(20px, 3vw, 40px); background: var(--silicon); border: 1px solid var(--line-dark); border-radius: 4px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; color: var(--on-dark);
  background: var(--night); border: 1px solid rgba(201, 209, 220, .4); border-radius: 2px;
}
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #FF9A8A; }
.err { font-size: .9rem; color: #FFB3A6; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__hint, .form__status { font-size: .9rem; color: var(--on-dark-soft); }
.form__status:empty { display: none; }

/* Footer */
.footer { border-top: 1px solid var(--line-dark); padding: 28px 0; font-size: .92rem; color: var(--on-dark-soft); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.footer nav { display: flex; gap: 24px; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* Legal stub pages */
.legal { padding: 140px 0 96px; min-height: 80vh; }
.legal h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; font-stretch: 112%; margin: 32px 0 8px; letter-spacing: 0; }
.legal p { max-width: 40em; color: var(--ink-soft); }
.legal mark { background: #FFE7A8; color: var(--ink); padding: 0 4px; }

/* One orchestrated moment: the day curves draw in on load */
@media (prefers-reduced-motion: no-preference) {
  .sun__plot svg { animation: draw 1.9s var(--ease) .2s both; }
  .sun__dot, .sun__plot .sun__tag, .sun__span { opacity: 0; transition: opacity .7s var(--ease); }
  .sun__plot.is-drawn .sun__dot, .sun__plot.is-drawn .sun__tag, .sun__plot.is-drawn .sun__span { opacity: 1; }
  .sim:not(.is-sim) .sim__state i { animation: pulse 2s ease-out infinite; }
  .panel .flow { stroke-dasharray: 5 7; animation: flow 1.2s linear infinite; }
  @keyframes pulse { to { box-shadow: 0 0 0 10px rgba(255, 140, 66, 0); } }
  @keyframes flow { to { stroke-dashoffset: -12; } }
  @keyframes draw { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 1100px) {
  .nav__toggle { display: inline-flex; align-items: center; }
  .nav__menu {
    display: none; position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--night); border-bottom: 1px solid var(--line-dark);
  }
  .nav.is-open { background: var(--night); backdrop-filter: none; }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .lang { align-self: flex-start; margin: 20px 0 16px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .panels { grid-template-columns: minmax(0, 1fr); }
  .panel { min-height: 0; }
}
@media (max-width: 820px) {
  .vhero.is-scrub { height: calc(100vh + 1900px); height: calc(100lvh + 1900px); }
  .duo, .group__row { grid-template-columns: minmax(0, 1fr); }
  .group__link { justify-self: start; flex-direction: row; gap: 8px; align-items: baseline; border-block: 0; border-left: 2px solid var(--sun-deep); padding: 4px 12px; }
  .band { aspect-ratio: 16 / 9; }
  .sun__cap, .split, .contact, .sun__read { grid-template-columns: minmax(0, 1fr); }
  .sun__read { gap: 32px; }
  .sun__ticks span:nth-child(even) { display: none; }
  .sun__axis { text-align: left; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand__name { display: none; }
  .steps, .form { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .nav__menu .btn { width: auto; align-self: flex-start; }
  .sun__tag { font-size: .78rem; }
}

/* ---------- Cinematic layer ---------- */
html, body { overflow-x: hidden; overflow-x: clip; }
html { background: var(--night); }
body { background: transparent; }
/* One environment behind every dark section: two soft lights drifting slowly */
body::before {
  content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 34% at 22% 28%, rgba(255, 140, 66, .13), transparent 70%),
    radial-gradient(44% 40% at 80% 72%, rgba(141, 184, 255, .11), transparent 70%);
}
.modules { background: transparent; }
.hero { background: radial-gradient(90% 60% at 78% 0%, rgba(255, 140, 66, .16), transparent 60%), linear-gradient(180deg, rgba(13, 22, 56, .92) 0%, rgba(7, 11, 30, 0) 72%); }
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

/* Hero captions */
.vhero__pin { background: var(--night) center / cover no-repeat; }
.vhero { --tshadow: 0 1px 2px rgba(5, 8, 20, .9), 0 3px 12px rgba(5, 8, 20, .7), 0 10px 44px rgba(5, 8, 20, .7); }
.vhero h1, .vhero__mid, .vhero__end .lead { text-shadow: var(--tshadow); }
.vhero__mid { font-size: clamp(1.7rem, 4vw, 3.6rem); font-weight: 600; font-stretch: 120%; letter-spacing: -.02em; line-height: 1.08; max-width: 15em; text-wrap: balance; }
:lang(ka) .vhero__mid { font-stretch: 100%; letter-spacing: 0; line-height: 1.2; }
.is-scrub .vhero__mid { opacity: 0; visibility: hidden; }
.is-scrub .w {
  display: inline-block; --kc: clamp(0, calc((var(--k, 0) - var(--th, 0)) * 2.8), 1);
  opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * .5em));
}
.is-scrub .vhero__end .actions { --kb: clamp(0, calc((var(--k, 0) - .72) * 4), 1); opacity: var(--kb); transform: translateY(calc((1 - var(--kb)) * 14px)); }

@media (prefers-reduced-motion: no-preference) {
  body::before { animation: drift 80s ease-in-out -20s infinite alternate; }
  @keyframes drift { from { transform: translate3d(-4%, -3%, 0) rotate(0deg); } to { transform: translate3d(5%, 4%, 0) rotate(8deg); } }

  /* Entrances: children arrive in sequence, then the delay is retired */
  .motion .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .motion .rv.in { opacity: 1; transform: none; }
  .motion .rv.in.done { transition-delay: 0s; }
  /* Diagrams draw themselves when their panel arrives */
  .motion .panel svg :is(path:not(.flow), circle, rect) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .35s; }
  .motion .panel.in svg :is(path:not(.flow), circle, rect) { stroke-dashoffset: 0; }
  .motion .year__plot svg { clip-path: inset(-20% 100% -20% 0); transition: clip-path 2s var(--ease) .25s; }
  .motion .year.in .year__plot svg { clip-path: inset(-20% 0 -20% 0); }
  .motion .year .sun__tag { opacity: 0; transition: opacity .6s var(--ease) 1.6s; }
  .motion .year.in .sun__tag { opacity: 1; }
}

/* ---------- High-tech layer ---------- */
/* Instrument panel around the live sun readings */
.sun {
  position: relative; padding: clamp(20px, 3.2vw, 44px); border: 1px solid rgba(201, 209, 220, .2); border-radius: 12px;
  background: linear-gradient(180deg, rgba(22, 34, 77, .55), rgba(7, 11, 30, .4));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 90px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
/* Corner ticks, like a viewfinder */
.sun::after, .orbit__map::after, .year::after, .band::after, .shot::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none; opacity: .75;
  --c: rgba(255, 140, 66, .9);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 18px 1.5px, linear-gradient(var(--c), var(--c)) 0 0 / 1.5px 18px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 18px 1.5px, linear-gradient(var(--c), var(--c)) 100% 0 / 1.5px 18px,
    linear-gradient(var(--c), var(--c)) 0 100% / 18px 1.5px, linear-gradient(var(--c), var(--c)) 0 100% / 1.5px 18px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 18px 1.5px, linear-gradient(var(--c), var(--c)) 100% 100% / 1.5px 18px;
  background-repeat: no-repeat;
}
.band, .year { position: relative; }
.year { padding: clamp(20px, 3vw, 40px); border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(7, 11, 30, .55); }
.sun__window b { text-shadow: 0 0 28px rgba(255, 140, 66, .55); }
.read dd, .facts tbody td { font-feature-settings: "tnum"; }

/* Orbit: dot-matrix map of day and night with the link between the two companies */
.orbit { margin: 22px 0 28px; }
.orbit__map { position: relative; border-radius: 12px; overflow: hidden; background: radial-gradient(120% 90% at 70% 40%, #101B45, #070B1E 75%); border: 1px solid rgba(16, 24, 43, .2); }
.orbit__map svg { display: block; width: 100%; height: auto; }
.orbit .o0 { fill: rgba(141, 184, 255, .2); }
.orbit .o1 { fill: rgba(201, 209, 220, .55); }
.orbit .o2 { fill: rgb(255, 140, 66); }
.orbit circle { transition: fill 1.2s ease; }
.orbit__arc { fill: none; stroke: url(#arcGrad); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; }
.orbit__pulse { fill: #fff; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .9)); }
.orbit__pin { fill: #8DB8FF; stroke: #fff; stroke-width: 3; }
.orbit__pin--b { fill: rgb(255, 140, 66); }
.orbit__pin.is-night { fill: #070B1E; }
.orbit__node { position: absolute; display: grid; gap: 1px; padding: 10px 14px; color: var(--on-dark); background: rgba(7, 11, 30, .72); border: 1px solid rgba(201, 209, 220, .28); border-radius: 8px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .85rem; line-height: 1.35; white-space: nowrap; }
.orbit__node strong { font-size: 1.05rem; font-stretch: 115%; }
.orbit__node span { color: var(--on-dark-soft); }
.orbit__node em { font-style: normal; font-feature-settings: "tnum"; color: rgb(255, 140, 66); }
.orbit__node--a { transform: translate(18px, -50%); }
.orbit__node--b { transform: translate(calc(-100% - 18px), -50%); }
.orbit__share { position: absolute; transform: translate(-50%, -50%); padding: 6px 14px; font-weight: 700; font-stretch: 118%; color: var(--ink); background: rgb(255, 140, 66); border-radius: 999px; }
.orbit figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-soft); }

/* Key figures */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 28px; margin-top: clamp(40px, 5vw, 72px); }
.stats > div { padding: 22px 0 8px; border-top: 2px solid var(--ink); }
.stat__num { display: block; font-size: clamp(2rem, 3.6vw, 4rem); font-weight: 600; font-stretch: 125%; letter-spacing: -.03em; line-height: 1; font-feature-settings: "tnum"; white-space: nowrap; }
.stats dd { margin-top: 12px; color: var(--ink-soft); max-width: 18em; }

/* Section rail */
.rail { position: fixed; right: 18px; top: 50%; z-index: 30; display: grid; gap: 4px; transform: translateY(-50%); mix-blend-mode: difference; }
.rail a { position: relative; display: block; width: 28px; height: 22px; }
.rail a::before { content: ""; position: absolute; right: 6px; top: 10px; width: 10px; height: 2px; background: #fff; opacity: .55; transition: width .3s var(--ease), opacity .3s var(--ease); }
.rail a.is-active::before { width: 22px; opacity: 1; }
.rail a span { position: absolute; right: 38px; top: 50%; transform: translate(6px, -50%); font-size: .8rem; font-weight: 600; color: #fff; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.nav__menu > a.is-active:not(.btn) { border-bottom-color: var(--sun); }

/* A soft light follows the pointer across dark sections */
.section.dark { position: relative; }
.section.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(560px circle at var(--sx, -999px) var(--sy, -999px), rgba(141, 184, 255, .09), transparent 65%); }
.section.dark > .wrap { position: relative; }

/* Sheen across the primary button */
.btn--sun { position: relative; overflow: hidden; }
.btn--sun::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); }
@media (prefers-reduced-motion: no-preference) { .btn--sun:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); } }

@media (max-width: 1180px) { .rail { display: none; } }
@media (max-width: 820px) {
  .orbit__node { font-size: .72rem; padding: 6px 9px; }
  .orbit__node strong { font-size: .85rem; }
  .orbit__node span { display: none; }
  .orbit__node--a { transform: translate(10px, -50%); }
  .orbit__node--b { transform: translate(calc(-100% - 10px), -50%); }
  .sun::after, .year::after { inset: 6px; }
}
