/* ============================================================
   RORO ENERGY — Decarbonise the Heat
   Design system: deep forest greens, instrument gold, warm paper.
   Type: Archivo (structure) · Fraunces italic (voice) · IBM Plex Mono (data)
   ============================================================ */

:root {
  /* Palette */
  --ink:        #0B1410;   /* near-black green */
  --pine:       #14241B;
  --forest:     #1A3D2E;
  --forest-2:   #1A2E20;
  --moss:       #2F6B44;
  --leaf:       #4A8B3A;
  --sage:       #97BC62;
  --gold:       #C89B3C;
  --gold-hi:    #E3B95C;
  --sand:       #E8D3A0;
  --paper:      #F7F9F5;
  --mist:       #D7E0D5;
  --text-dark:  #2A342D;
  --text-light: #E9EFE9;
  --text-dim:   #A8B8AC;

  /* Type */
  --f-display: "Archivo", sans-serif;
  --f-body: "Archivo", sans-serif;
  --f-mono: "IBM Plex Mono", monospace;
  --f-serif: "Fraunces", serif;

  /* Rhythm */
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 48px);
  --r-lg: 22px;
  --r-md: 14px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .9s;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  font-optical-sizing: auto;
  background: var(--ink);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: normal; }

.mono {
  font-family: var(--f-mono);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

[id] { scroll-margin-top: 78px; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 300;
  background: var(--gold); color: var(--ink);
  padding: 10px 18px; border-radius: 8px; font-weight: 600;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 14px; }

/* ---------- Preloader (only shown when JS is available to remove it) ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; gap: 22px;
  background: var(--ink);
  transition: opacity .7s ease, visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__mark { width: clamp(84px, 12vw, 130px); }
.loader .draw {
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: draw 1.1s var(--ease-out) forwards;
}
.loader .d2 { animation-delay: .18s; }
.loader .d3 { animation-delay: .36s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__word {
  font-family: var(--f-display);
  font-weight: 700; letter-spacing: .42em; font-size: 13px;
  color: var(--sage); text-align: center; text-indent: .42em;
  opacity: 0; animation: fadeUp .6s .55s var(--ease-out) forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150;
  background: transparent; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--moss), var(--gold));
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .45s ease, box-shadow .45s ease, backdrop-filter .45s ease;
}
.nav.is-scrolled {
  background: rgba(11, 20, 16, .82);
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(200, 155, 60, .16);
}
.nav__inner {
  max-width: calc(var(--wrap) + 120px);
  margin-inline: auto;
  padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark { width: 42px; flex: none; }
.nav__word {
  font-family: var(--f-display); font-weight: 800; letter-spacing: .06em;
  font-size: 15px; color: #fff; white-space: nowrap;
}
.nav__word em { font-weight: 500; color: var(--sage); }

.nav__links { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--text-dim);
  padding: 6px 2px; position: relative;
  transition: color .3s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after {
  transform: scaleX(1); transform-origin: left;
}

.nav__actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: flex; border: 1px solid rgba(233, 239, 233, .22);
  border-radius: 999px; padding: 3px;
}
.lang__btn {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  padding: 5px 12px; border-radius: 999px; color: var(--text-dim);
  transition: background .3s ease, color .3s ease;
}
.lang__btn.is-active { background: var(--gold); color: var(--ink); font-weight: 500; }

.nav__burger {
  display: none; flex-direction: column; gap: 6px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid rgba(233, 239, 233, .22); border-radius: 10px;
}
.nav__burger span {
  width: 18px; height: 1.8px; background: #fff;
  transition: transform .35s var(--ease-out);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.9px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.9px) rotate(-45deg); }

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11, 20, 16, .96);
  background: color-mix(in srgb, var(--ink) 96%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center; gap: 34px;
  padding: 90px var(--pad) 48px;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s;
}
.mmenu.is-open { opacity: 1; visibility: visible; }
.mmenu__links { display: flex; flex-direction: column; gap: 6px; }
.mmenu__links a {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(28px, 7vw, 40px); padding: 6px 0; color: var(--text-light);
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
}
.mmenu.is-open .mmenu__links a { opacity: 1; transform: none; }
.mmenu__links a:hover { color: var(--gold-hi); }
.mmenu.is-open .mmenu__links a:nth-child(2) { transition-delay: .05s; }
.mmenu.is-open .mmenu__links a:nth-child(3) { transition-delay: .1s; }
.mmenu.is-open .mmenu__links a:nth-child(4) { transition-delay: .15s; }
.mmenu.is-open .mmenu__links a:nth-child(5) { transition-delay: .2s; }
.mmenu.is-open .mmenu__links a:nth-child(6) { transition-delay: .25s; }
.mmenu.is-open .mmenu__links a:nth-child(7) { transition-delay: .3s; }
.mmenu .btn { align-self: flex-start; }
.mmenu__meta { font-size: 11px; color: var(--text-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 26px; border-radius: 999px;
  transition: transform .35s var(--ease-out), box-shadow .35s ease, background .3s ease, color .3s ease;
  will-change: transform;
}
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--gold {
  background: linear-gradient(120deg, var(--gold-hi), var(--gold) 55%);
  color: var(--ink);
  box-shadow: 0 6px 22px -8px rgba(200, 155, 60, .55);
}
.btn--gold:hover { box-shadow: 0 10px 30px -8px rgba(200, 155, 60, .75); }

.btn--ghost {
  border: 1px solid rgba(233, 239, 233, .3);
  color: var(--text-light);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--nav { padding: 11px 20px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  overflow: clip;
  background:
    radial-gradient(1100px 720px at 78% 18%, rgba(47, 107, 68, .34), transparent 62%),
    radial-gradient(860px 620px at 12% 88%, rgba(200, 155, 60, .1), transparent 60%),
    var(--ink);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 20, 16, .68), transparent 26%, transparent 62%, rgba(11, 20, 16, .92)),
    radial-gradient(120% 90% at 50% 42%, transparent 42%, rgba(11, 20, 16, .5));
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--wrap); width: 100%;
  margin-inline: auto; padding: clamp(96px, 13vh, 130px) var(--pad) 30px;
}

.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--sage);
  margin-bottom: clamp(22px, 4vh, 40px);
}
.hero__kicker .tick {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(151, 188, 98, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(151, 188, 98, .55); }
  70% { box-shadow: 0 0 0 12px rgba(151, 188, 98, 0); }
  100% { box-shadow: 0 0 0 0 rgba(151, 188, 98, 0); }
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 115%;
  font-size: clamp(40px, 11.5vw, 132px);
  line-height: .96;
  letter-spacing: -.015em;
  color: #fff;
  text-wrap: balance;
  margin-bottom: clamp(24px, 4vh, 40px);
}
body[data-lang="tr"] .hero__title { font-size: clamp(30px, 8.6vw, 104px); }
.hero__line { display: block; overflow: hidden; }
.hero__line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: riseUp 1.1s var(--ease-out) forwards;
}
/* hold the entrance until the preloader starts lifting */
.js body:not(.is-ready) .hero__line > span { animation-play-state: paused; }
.hero__line:nth-child(2) > span { animation-delay: .14s; }
@keyframes riseUp { to { transform: none; } }
.gold-dot {
  background: linear-gradient(120deg, var(--gold-hi), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  max-width: 620px;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-dim);
  margin-bottom: clamp(28px, 4.5vh, 44px);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: clamp(28px, 4.5vh, 48px); }

.hero__goal {
  display: flex; align-items: center; gap: 16px;
  font-size: 14px; color: var(--sand);
  max-width: 560px;
}
.hero__goal-line { flex: none; width: 44px; height: 1px; background: var(--gold); opacity: .8; }

/* HUD strip */
.hud {
  position: relative; z-index: 2;
  max-width: var(--wrap); width: calc(100% - 2 * var(--pad));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(200, 155, 60, .28);
  border-bottom: 1px solid rgba(233, 239, 233, .08);
}
.hud__cell {
  padding: 18px 18px 20px;
  display: flex; flex-direction: column; gap: 7px;
  border-left: 1px solid rgba(233, 239, 233, .08);
}
.hud__cell:first-child { border-left: 0; }
.hud__k { font-size: 10px; color: var(--text-dim); }
.hud__v { font-size: clamp(15px, 1.6vw, 19px); color: #fff; font-weight: 500; letter-spacing: .02em; }
.hud__v em { font-size: .72em; color: var(--sage); }
.hud__v--gold { color: var(--gold-hi); }
.hud__v--gold em { color: var(--gold); }

.hero__scroll {
  position: relative; z-index: 2;
  align-self: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 20px 0;
  font-size: 10px; color: var(--text-dim);
}
.hero__scroll-line {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollHint 2.2s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(18px); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  overflow: clip;
  background: var(--pine);
  border-block: 1px solid rgba(200, 155, 60, .22);
  padding: 13px 0;
}
.marquee__track {
  display: flex; align-items: center;
  width: max-content;
  font-size: 11.5px; color: var(--sage);
  animation: marquee 36s linear infinite;
}
/* spacing lives on the items (not flex gap) so translateX(-50%) is exactly one period */
.marquee__track span, .marquee__track i { margin-right: 34px; }
.marquee__track span { white-space: nowrap; }
.marquee__track i { color: var(--gold); font-style: normal; font-size: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(84px, 12vh, 150px) 0; }
.section--dark  { background: var(--forest-2); }
.section--pine  { background: var(--pine); }
.section--ink   { background: var(--ink); }
.section--paper { background: var(--paper); color: var(--text-dark); }

.section--dark + .section--dark { padding-top: 0; }

/* Section header */
.shead {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: clamp(30px, 5vh, 52px);
}
.shead__no {
  font-size: 13px; color: var(--gold);
  font-weight: 500;
}
.shead__label { font-size: 12px; color: var(--text-dim); }
.shead--light .shead__label { color: #55645A; }
.shead--light .shead__no { color: #8A6B24; }
.shead__rule { flex: 1; height: 1px; background: currentColor; opacity: .14; align-self: center; }

.h2 {
  font-family: var(--f-display);
  font-weight: 750;
  font-stretch: 108%;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -.012em;
  color: #fff;
  text-wrap: balance;
  max-width: 21ch;
}
.h2--dark { color: var(--forest); }

.lead {
  font-size: clamp(16px, 1.7vw, 18.5px);
  color: var(--text-dim);
  max-width: 62ch;
  margin-top: 22px;
}
.lead--dark { color: #55645A; }

/* ---------- Problem ---------- */
.problem__grid { display: grid; gap: clamp(36px, 5vw, 64px); margin-top: 8px; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.stat {
  border: 1px solid rgba(233, 239, 233, .1);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(47, 107, 68, .18), transparent 70%),
    rgba(255, 255, 255, .015);
  transition: border-color .4s ease, transform .4s var(--ease-out);
}
.stat:hover { border-color: rgba(200, 155, 60, .38); transform: translateY(-3px); }
.stat--wide { grid-column: 1 / -1; }
.stat__num {
  font-family: var(--f-display);
  font-weight: 800; font-stretch: 112%;
  font-size: clamp(46px, 6vw, 72px); line-height: 1;
  color: var(--gold-hi);
  margin-bottom: 10px;
}
.stat__cap { font-size: 15px; color: var(--text-dim); max-width: 34ch; }
.stat__cap--top { margin-bottom: 20px; color: var(--text-light); }

.stat--reg { grid-column: 1 / -1; display: flex; gap: 18px; align-items: flex-start; }
.stat--reg .stat__icon { width: 34px; flex: none; color: var(--sage); margin-top: 3px; }
.stat--reg .stat__cap { max-width: none; }

.fuel { display: grid; gap: 14px; }
.fuel__row { display: grid; grid-template-columns: 92px 1fr 74px; align-items: center; gap: 14px; }
.fuel__name { font-size: 11px; color: var(--text-dim); }
.fuel__bar {
  height: 8px; border-radius: 99px;
  background: rgba(233, 239, 233, .07);
  overflow: hidden;
}
.fuel__bar span {
  display: block; height: 100%; width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--moss), var(--gold));
}
.is-in .fuel__bar span { width: var(--w); transition: width 1.4s var(--ease-out) .2s; }
.fuel__val { font-size: 12px; color: var(--sand); text-align: right; }
.fuel__val i { font-style: normal; color: var(--text-dim); }

/* ---------- Quotes ---------- */
.quote { padding: clamp(80px, 11vh, 140px) 0; }
.quote--dark {
  background:
    radial-gradient(900px 480px at 84% 20%, rgba(200, 155, 60, .07), transparent 60%),
    var(--ink);
}
.quote--sand { background: linear-gradient(160deg, var(--sand), #F2E4BE); }

.quote__text {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.28;
  letter-spacing: -.005em;
  color: var(--text-light);
  max-width: 24ch;
  text-wrap: balance;
}
.quote__text--dark { color: var(--forest); }
.quote__by {
  display: flex; align-items: center; gap: 16px;
  margin-top: 30px; font-size: 12px; color: var(--gold);
}
.quote__by--dark { color: #6B5115; }
.quote__rule { width: 44px; height: 1px; background: currentColor; }

/* ---------- Technology ---------- */
.tech__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.tech__grid .h2 { max-width: none; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.badge {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(26, 61, 46, .28);
  color: var(--forest);
  background: rgba(255, 255, 255, .5);
}
.badge--gold { border-color: rgba(200, 155, 60, .55); color: #705617; background: rgba(200, 155, 60, .1); }

.tech__visual { display: grid; place-items: center; }
.coil { width: min(100%, 420px); }
.coil__field { animation: spin 26s linear infinite; transform-origin: 210px 210px; }
.coil__field.f2 { animation-duration: 20s; animation-direction: reverse; }
.coil__field.f3 { animation-duration: 14s; }
@keyframes spin { to { transform: rotate(360deg); } }
.coil__steam path { stroke-dasharray: 44; stroke-dashoffset: 44; animation: steam 2.6s ease-in-out infinite; }
.coil__steam .s2 { animation-delay: .5s; }
.coil__steam .s3 { animation-delay: 1s; }
@keyframes steam {
  0% { stroke-dashoffset: 44; opacity: 0; }
  30% { opacity: .9; }
  100% { stroke-dashoffset: -44; opacity: 0; }
}

/* ---------- How it works ---------- */
.how { padding-top: 0; }
.how__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
  margin-top: clamp(36px, 6vh, 64px);
}
.how__diagram { position: sticky; top: 110px; align-self: start; }
.flow { width: 100%; max-width: 520px; margin-inline: auto; }

.flabel { font-size: 10.5px; letter-spacing: .14em; fill: #55645A; text-transform: uppercase; }
.fbig { font-size: 17px; letter-spacing: .04em; fill: var(--forest); font-weight: 500; text-transform: none; }
.fbig--gold { fill: #A87F2A; }

.fstage { opacity: .35; transition: opacity .6s ease; }
.fstage.is-live { opacity: 1; }

.fpipe {
  fill: none; stroke-width: 2.6; stroke-linecap: round;
  stroke-dasharray: 5 9;
  animation: flowdash 1.4s linear infinite;
  opacity: .35;
  transition: opacity .6s ease;
}
.fpipe.is-live { opacity: 1; }
@keyframes flowdash { to { stroke-dashoffset: -28; } }

.fcoil path { transition: stroke .4s ease; }
.fstage.is-live .fcoil path { animation: coilPulse 1.6s ease-in-out infinite; }
@keyframes coilPulse {
  0%, 100% { stroke: var(--gold); }
  50% { stroke: var(--gold-hi); }
}

.fsteam path, .fsteam2 path {
  stroke-dasharray: 36; stroke-dashoffset: 36;
}
.fstage.is-live .fsteam path, .fstage.is-live .fsteam2 path { animation: steam 2.2s ease-in-out infinite; }
.fstage.is-live .fsteam .s2 { animation-delay: .4s; }
.fstage.is-live .fsteam .s3 { animation-delay: .8s; }

.fled { opacity: .35; }
.fstage.is-live .fled { animation: blink 1.8s ease-in-out infinite; }
.fstage.is-live .fled.l2 { animation-delay: .35s; }
.fstage.is-live .fled.l3 { animation-delay: .7s; }
@keyframes blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.steps { display: flex; flex-direction: column; gap: clamp(26px, 4vh, 44px); }
.step {
  position: relative;
  padding: 26px 28px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(26, 61, 46, .12);
  background: #fff;
  transition: border-color .45s ease, box-shadow .45s ease, transform .45s var(--ease-out);
}
.step.is-live {
  border-color: rgba(200, 155, 60, .6);
  box-shadow: 0 18px 44px -20px rgba(26, 61, 46, .35);
  transform: translateX(6px);
}
.step__no {
  position: absolute; top: 26px; right: 26px;
  font-size: 12px; color: #8A6B24; font-weight: 500;
}
.step__title {
  font-family: var(--f-display); font-weight: 700; font-stretch: 106%;
  font-size: 21px; color: var(--forest); margin-bottom: 8px;
}
.step__text { font-size: 15.5px; color: #55645A; max-width: 46ch; }

/* ---------- The system, live (video showcase) ---------- */
.show {
  background:
    radial-gradient(1100px 640px at 14% 8%, rgba(47, 107, 68, .26), transparent 60%),
    radial-gradient(900px 560px at 90% 92%, rgba(200, 155, 60, .08), transparent 60%),
    var(--ink);
}
.show__head { max-width: 800px; margin-bottom: clamp(36px, 6vh, 60px); }
.show__stage { position: relative; }
.show__frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(200, 155, 60, .3);
  background: #FDFDFC;
  box-shadow:
    0 0 0 1px rgba(11, 20, 16, .6),
    0 40px 110px -36px rgba(200, 155, 60, .28),
    0 30px 80px -30px rgba(0, 0, 0, .6);
}
.show__video { width: 100%; aspect-ratio: 3600 / 1500; object-fit: cover; }

.show__corner {
  position: absolute; z-index: 3; width: 22px; height: 22px;
  border: 2px solid var(--gold);
  pointer-events: none;
}
.show__corner.sc1 { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.show__corner.sc2 { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.show__corner.sc3 { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.show__corner.sc4 { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.show__chip {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10px; letter-spacing: .16em; color: var(--forest);
  background: rgba(247, 249, 245, .88);
  border: 1px solid rgba(26, 61, 46, .18);
  border-radius: 999px;
  padding: 7px 14px;
  pointer-events: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.show__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--leaf);
  animation: pulse 2.2s infinite;
}

.show__toggle {
  position: absolute; right: 18px; bottom: 18px; z-index: 3;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(11, 20, 16, .78);
  color: var(--gold-hi);
  border: 1px solid rgba(200, 155, 60, .5);
  transition: transform .3s var(--ease-out), background .3s ease;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.show__toggle:hover { transform: scale(1.08); background: rgba(11, 20, 16, .92); }
.show__toggle svg { width: 18px; height: 18px; }
.show__toggle .show__ic-play { display: none; }
.show__toggle.is-paused .show__ic-pause { display: none; }
.show__toggle.is-paused .show__ic-play { display: block; }
.show__cap { margin-top: 18px; font-size: 11px; color: var(--text-dim); text-align: center; }

/* ---------- Advantages ---------- */
.adv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
}
.card {
  border: 1px solid rgba(233, 239, 233, .1);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, .018);
  position: relative;
  overflow: hidden;
  transition: border-color .45s ease, transform .45s var(--ease-out);
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(340px 200px at var(--mx, 50%) var(--my, 0%), rgba(200, 155, 60, .12), transparent 65%);
  opacity: 0; transition: opacity .45s ease;
  pointer-events: none;
}
.card:hover { border-color: rgba(200, 155, 60, .4); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 30px; height: 30px; color: var(--gold);
  margin-bottom: 20px;
}
.card__title {
  font-family: var(--f-display); font-weight: 700; font-stretch: 106%;
  font-size: 19px; color: #fff; margin-bottom: 9px;
}
.card__text { font-size: 14.5px; color: var(--text-dim); }

.adv__summary {
  margin-top: clamp(40px, 6vh, 60px);
  font-family: var(--f-serif); font-style: italic; font-weight: 380;
  font-size: clamp(19px, 2.4vw, 26px);
  color: var(--text-light);
  max-width: 44ch;
}
.adv__summary em { color: var(--gold-hi); font-style: italic; }

/* ---------- Impact ---------- */
.impact {
  background:
    radial-gradient(1000px 620px at 88% 8%, rgba(200, 155, 60, .08), transparent 60%),
    var(--forest-2);
}
.impact__nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(38px, 6vh, 60px);
}
.bignum {
  border-top: 1px solid rgba(233, 239, 233, .14);
  padding-top: 26px;
}
.bignum--gold { border-top-color: rgba(200, 155, 60, .5); }
.bignum__v {
  font-family: var(--f-display);
  font-weight: 800; font-stretch: 114%;
  font-size: clamp(58px, 8vw, 108px);
  line-height: 1; color: #fff;
  display: flex; align-items: baseline;
}
.bignum--gold .bignum__v { color: var(--gold-hi); }
.bignum__tilde { font-size: .5em; color: var(--text-dim); margin-right: 4px; }
.bignum__plus { font-size: .55em; color: var(--gold); }
.bignum__u { margin-top: 10px; font-size: 12px; color: var(--sage); }
.bignum__cap { margin-top: 12px; font-size: 14px; color: var(--text-dim); max-width: 30ch; }

.scale {
  margin-top: clamp(48px, 8vh, 80px);
  border: 1px solid rgba(200, 155, 60, .3);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 44px);
  background:
    radial-gradient(600px 300px at 8% 0%, rgba(200, 155, 60, .09), transparent 60%),
    rgba(255, 255, 255, .015);
}
.scale__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-bottom: 30px;
}
.scale__title {
  font-family: var(--f-display); font-weight: 700; font-stretch: 108%;
  font-size: clamp(20px, 2.6vw, 27px); color: #fff;
}
.scale__note { font-size: 10.5px; color: var(--text-dim); }
.scale__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.scale__item { display: flex; flex-direction: column; gap: 8px; }
.scale__v { font-size: clamp(26px, 3.4vw, 38px); color: var(--gold-hi); font-weight: 500; letter-spacing: .01em; }
.scale__k { font-size: 13.5px; color: var(--text-dim); max-width: 26ch; }

.proof {
  margin-top: clamp(40px, 6vh, 64px);
  display: flex; flex-wrap: wrap; gap: 12px;
}
.proof__item {
  display: inline-flex; align-items: baseline; gap: 10px;
  border: 1px solid rgba(233, 239, 233, .14);
  border-radius: 999px;
  padding: 11px 20px;
  transition: border-color .4s ease;
}
.proof__item:hover { border-color: rgba(200, 155, 60, .5); }
.proof__k { font-size: 12px; color: var(--gold-hi); font-weight: 500; }
.proof__x { font-size: 13px; color: var(--text-dim); }

/* ---------- Industries ---------- */
.inds__head { max-width: 780px; }
.inds__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(38px, 6vh, 60px);
}
.ind {
  border: 1px solid rgba(26, 61, 46, .13);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  background: #fff;
  transition: border-color .4s ease, transform .4s var(--ease-out), box-shadow .4s ease;
}
.ind:hover {
  border-color: rgba(200, 155, 60, .55);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -24px rgba(26, 61, 46, .35);
}
.ind--hero {
  background: linear-gradient(165deg, var(--forest), var(--forest-2));
  border-color: transparent;
  display: flex; flex-direction: column;
}
.ind__icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 18px; }
.ind__title {
  font-family: var(--f-display); font-weight: 700; font-stretch: 106%;
  font-size: 19px; color: var(--forest); margin-bottom: 8px;
}
.ind--hero .ind__title { color: #fff; font-size: 24px; }
.ind__text { font-size: 14.5px; color: #55645A; }
.ind--hero .ind__text { color: var(--text-dim); font-size: 15.5px; }
.ind__tag {
  margin-top: auto; padding-top: 26px;
  font-size: 10.5px; color: var(--gold-hi);
}

/* ---------- Roadmap ---------- */
.roadmap { padding-top: 0; }
.tline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: clamp(44px, 7vh, 70px);
  position: relative;
}
.tline::before {
  content: "";
  position: absolute; top: 5px; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--moss), var(--gold) 78%, rgba(200, 155, 60, .25));
}
.tline__item { position: relative; padding-top: 34px; }
.tline__item::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--moss);
}
.tline__item--next::before { border-color: var(--gold); background: var(--gold-hi); }
.tline__year { font-size: 12px; color: #8A6B24; font-weight: 500; }
.tline__title {
  font-family: var(--f-display); font-weight: 700; font-stretch: 106%;
  font-size: 19px; color: var(--forest);
  margin: 10px 0 8px;
}
.tline__text { font-size: 14px; color: #55645A; max-width: 30ch; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(1100px 700px at 12% 100%, rgba(47, 107, 68, .22), transparent 62%),
    radial-gradient(900px 500px at 92% 0%, rgba(200, 155, 60, .07), transparent 60%),
    var(--ink);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact__meta { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.contact__row {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 16px; color: var(--text-light);
  transition: color .3s ease;
  width: fit-content;
}
.contact__row svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
a.contact__row:hover { color: var(--gold-hi); }

.cform {
  border: 1px solid rgba(233, 239, 233, .12);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.6vw, 40px);
  background: rgba(255, 255, 255, .02);
  display: flex; flex-direction: column; gap: 18px;
}
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform__field { display: flex; flex-direction: column; gap: 8px; }
.cform__field > span { font-size: 10px; color: var(--sage); }
.cform input, .cform textarea {
  font: inherit; font-size: 15px;
  color: var(--text-light);
  background: rgba(11, 20, 16, .5);
  border: 1px solid rgba(233, 239, 233, .14);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color .3s ease, background .3s ease;
  resize: vertical;
}
.cform input::placeholder, .cform textarea::placeholder { color: #8A9A8E; }
.cform input:focus, .cform textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(11, 20, 16, .75);
}
.cform__submit { justify-content: center; margin-top: 6px; }
.cform__note { font-size: 10px; color: var(--text-dim); text-align: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(200, 155, 60, .18);
  padding: clamp(52px, 8vh, 84px) 0 34px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(40px, 6vh, 60px);
}
.footer__mark { width: 52px; margin-bottom: 14px; }
.footer__word {
  font-family: var(--f-display); font-weight: 800; letter-spacing: .06em;
  font-size: 17px; color: #fff;
}
.footer__word em { font-weight: 500; color: var(--sage); }
.footer__slogan {
  margin-top: 12px;
  font-family: var(--f-serif); font-style: italic; font-weight: 380;
  font-size: 17px; color: var(--sand);
}
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__h { font-size: 10.5px; color: var(--gold); margin-bottom: 6px; }
.footer__col a, .footer__col span { font-size: 14px; color: var(--text-dim); transition: color .3s ease; }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(233, 239, 233, .08);
  padding-top: 26px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.footer__legal, .footer__copy { font-size: 10px; color: #8A9A8E; letter-spacing: .06em; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; z-index: 250; top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold-hi);
  pointer-events: none;
  mix-blend-mode: difference;
  transform: translate(-100px, -100px);
  opacity: 0;
  transition: width .3s ease, height .3s ease, opacity .3s ease;
}
.cursor.is-on { opacity: .9; }
.cursor.is-grow { width: 46px; height: 46px; opacity: .55; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- Reveal (gated behind .js so content is never hidden without JS) ----------
   Uses the standalone `translate` property so component `transform` styles
   (hover lifts, scrollytelling shifts, magnetic buttons) are never overridden. */
.js .rev {
  opacity: 0;
  translate: 0 34px;
  transition: opacity var(--dur) var(--ease-out) var(--rd, 0s), translate var(--dur) var(--ease-out) var(--rd, 0s);
}
.js .rev.is-in { opacity: 1; translate: none; }
/* Hold every reveal at its start state while the preloader is up — when
   body.is-ready lands, the already-observed elements transition in together. */
.js body:not(.is-ready) .rev { opacity: 0; translate: 0 34px; transition: none; }

/* ============================================================
   Atmosphere & interaction layer
   ============================================================ */

/* Keep section content above decorative layers */
.section > .wrap { position: relative; z-index: 2; }
.section--dark, .section--ink, .section--pine { overflow: hidden; overflow: clip; }

/* Aurora — slow-drifting light fields on dark sections (compositor-only) */
.section--dark::before, .section--ink::before, .section--pine::before {
  content: "";
  position: absolute; inset: -22%;
  z-index: 0;
  background:
    radial-gradient(42% 34% at 24% 30%, rgba(47, 107, 68, .32), transparent 70%),
    radial-gradient(36% 30% at 78% 68%, rgba(200, 155, 60, .1), transparent 70%),
    radial-gradient(30% 26% at 62% 18%, rgba(74, 139, 58, .16), transparent 70%);
  animation: aurora 30s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform;
}
.section--pine::before { opacity: .6; animation-duration: 38s; }
@keyframes aurora {
  0%   { transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(3%, 2.5%, 0) rotate(2.2deg) scale(1.06); }
  100% { transform: translate3d(-2%, 3%, 0) rotate(-1.8deg) scale(1.03); }
}

/* Technical dot-grid on light sections (blueprint feel) */
.section--paper {
  background-image:
    radial-gradient(rgba(26, 61, 46, .07) 1px, transparent 1.5px),
    radial-gradient(120% 70% at 50% 0%, #FDFEFC 0%, var(--paper) 60%);
  background-size: 28px 28px, 100% 100%;
}

/* Film grain — one fixed compositing layer over everything */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 85;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* Gold sheen sweep on primary buttons */
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-18deg);
  transition: left .6s var(--ease-out);
  pointer-events: none;
}
.btn--gold:hover::after { left: 125%; }

/* Icon micro-motion */
.card__icon, .ind__icon, .stat__icon { transition: transform .4s var(--ease-out); }
.card:hover .card__icon, .ind:hover .ind__icon { transform: scale(1.14) rotate(-5deg); }
.stat:hover .stat__icon { transform: scale(1.1); }

/* 3D tilt targets get depth (JS drives the rotation) */
.stat, .card, .ind { will-change: transform; }

/* Roadmap line draws itself when the timeline enters the viewport */
.tline::before {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease-out) .15s;
}
.tline.is-drawn::before { transform: scaleX(1); }
.tline__item::before { transition: transform .5s var(--ease-out), background .3s; transform: scale(0); }
.tline.is-drawn .tline__item::before { transform: scale(1); }
.tline.is-drawn .tline__item:nth-child(2)::before { transition-delay: .45s; }
.tline.is-drawn .tline__item:nth-child(3)::before { transition-delay: .9s; }
.tline.is-drawn .tline__item:nth-child(4)::before { transition-delay: 1.35s; }

/* ---------- Fleet slider ---------- */
.fleet__units {
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--gold-hi); font-weight: 500;
}
.fleet__units span:last-child { font-size: .55em; color: var(--text-dim); }
.fleet__slider { margin: 26px 0 34px; }
.fleet__marks {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 12px;
  font-size: 10px; color: var(--text-dim);
}
.fleet__hint { color: var(--sage); }
.fleet__note { margin-top: 30px; font-size: 10.5px; color: var(--text-dim); }

#fleetRange {
  --p: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%; height: 7px;
  border-radius: 99px;
  background:
    linear-gradient(90deg, var(--moss), var(--gold) var(--p), rgba(233, 239, 233, .12) var(--p));
  outline-offset: 6px;
  cursor: ew-resize;
}
#fleetRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--gold-hi), var(--gold));
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 5px rgba(200, 155, 60, .22), 0 6px 18px -4px rgba(200, 155, 60, .7);
  transition: box-shadow .3s ease, transform .3s var(--ease-out);
}
#fleetRange::-webkit-slider-thumb:hover { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(200, 155, 60, .28), 0 6px 18px -4px rgba(200, 155, 60, .8); }
#fleetRange::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--gold-hi), var(--gold));
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 5px rgba(200, 155, 60, .22), 0 6px 18px -4px rgba(200, 155, 60, .7);
}
#fleetRange::-moz-range-track { background: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav__links { display: none; }
  .btn--nav { display: none; }
  .nav__burger { display: flex; }

  .adv__grid, .inds__grid { grid-template-columns: repeat(2, 1fr); }
  .impact__nums { grid-template-columns: 1fr; gap: 34px; }
  .tline { grid-template-columns: repeat(2, 1fr); gap: 40px 26px; }
  .tline::before { display: none; }
  .tline__item { border-top: 1.5px solid rgba(47, 107, 68, .3); padding-top: 24px; }
  .tline__item::before { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .tech__grid { grid-template-columns: 1fr; }
  .tech__visual { order: -1; }
  .coil { width: min(64vw, 330px); }
  .scale__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .how__layout { grid-template-columns: 1fr; }
  .how__diagram { position: relative; top: 0; }
  .flow { max-width: 460px; }
  .hud { grid-template-columns: repeat(2, 1fr); border-bottom: 0; }
  .hud__cell { border-bottom: 1px solid rgba(233, 239, 233, .08); }
  .hud__cell:nth-child(odd) { border-left: 0; }
  .hud__cell:last-child { grid-column: 1 / -1; border-left: 0; }
}

@media (max-width: 620px) {
  .stats { grid-template-columns: 1fr; }
  .adv__grid, .inds__grid { grid-template-columns: 1fr; }
  .ind--hero { grid-row: auto; }
  .cform__row { grid-template-columns: 1fr; }
  .tline { grid-template-columns: 1fr; }
  .fuel__row { grid-template-columns: 74px 1fr 64px; gap: 10px; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .rev { opacity: 1; translate: none; }
  .hero__line > span { transform: none; animation: none; }
  .loader { display: none; }
  .marquee__track { animation: none; }
  .cursor { display: none; }
}
