@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-700-normal.woff2) format("woff2"); }

:root {
  --gold: #e5b44c;
  --gold-soft: #f2cd78;
  --gold-deep: #96691c;
  --gold-grad: linear-gradient(100deg, #f0c566 0%, #e5b44c 40%, #a97a24 100%);
  --ink: #000;
  --text: #fff;
  --muted: #c9c3b6;
  --glass: rgba(10, 8, 5, .76);
  --glass-solid: rgba(10, 8, 5, .9);
  --line: rgba(229, 180, 76, .26);
  --radius: 20px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.7 Poppins, system-ui, sans-serif; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1.14; font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.14rem; line-height: 1.35; font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 6px; }

.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 14px; }
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.section { position: relative; z-index: 1; padding-block: clamp(72px, 11vw, 150px); }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
main, .footer { position: relative; z-index: 1; }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 22px; background: #000; transition: opacity .7s ease, visibility .7s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader img { animation: pulse 1.8s ease-in-out infinite; }
.loader__bar { width: 170px; height: 2px; background: rgba(255, 255, 255, .13); overflow: hidden; border-radius: 2px; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width .3s ease; }
@keyframes pulse { 50% { transform: scale(1.07); filter: brightness(1.25); } }

/* Navigation */
.nav { position: fixed; z-index: 50; top: 14px; left: var(--gutter); right: var(--gutter); max-width: 1144px; margin-inline: auto; height: 64px; display: flex; align-items: center; gap: 22px; padding-inline: 18px; background: rgba(28, 21, 10, .68); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .35s ease; }
.nav.is-hidden { transform: translateY(-110px); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; letter-spacing: .05em; white-space: nowrap; }
.nav__links { display: flex; gap: clamp(12px, 2vw, 26px); margin-inline: auto; font-size: .9rem; }
.nav__links a { position: relative; padding-block: 6px; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .25s ease; }
.nav__links a:hover::after, .nav__links a.is-current::after { right: 0; }
.nav__links a.is-current { color: var(--gold-soft); }
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--gold); transition: transform .25s ease, top .25s ease; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 28px; border-radius: 12px; font: 600 .95rem/1.2 Poppins, sans-serif; cursor: pointer; border: 2px solid transparent; transition: transform .2s ease, box-shadow .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold-grad); color: #120c02; }
.btn--gold:hover { box-shadow: 0 10px 34px rgba(229, 180, 76, .42); }
.btn--line { background: rgba(0, 0, 0, .35); color: #fff; border-color: var(--gold); }
.btn--line:hover { background: rgba(229, 180, 76, .16); }
.btn--small { min-height: 42px; padding: 8px 18px; font-size: .86rem; }

#partners, #why, #team, #contact { padding-top: clamp(28px, 4vw, 56px); }

/* Hero */
.hero { position: relative; z-index: 1; min-height: 100svh; display: flex; align-items: center; padding-block: 110px 80px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .46) 42%, transparent 72%); }
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 24px; }
.hero__title { font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; margin-bottom: 22px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.lead { max-width: 560px; color: #eee8dc; font-size: clamp(1rem, 1.3vw, 1.1rem); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.anchor { position: relative; }
.anchor--logo { height: min(44vh, 420px); }
.anchor .fallback { display: none; }
.scrollcue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 44px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 14px; }
.scrollcue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60%, 100% { transform: translateY(16px); opacity: 0; } }

/* Panels and shared heads */
.panel { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); }
.panel p + p { margin-top: 14px; }
.panel h2 { margin-bottom: 18px; }
.panel p { color: #eae4d8; }
.head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 60px); padding: 22px 26px; background: var(--glass); border-radius: var(--radius); }
.head h2 + p { color: var(--muted); margin-top: 12px; }
.head--center { margin-inline: auto; text-align: center; }

/* About */
.about { min-height: 70vh; display: flex; align-items: center; justify-content: flex-end; }
.about .panel { max-width: 620px; }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.values li { padding: 7px 15px; font-size: .85rem; color: var(--gold-soft); border: 1px solid var(--line); border-radius: 30px; }

/* Energy story */
.story { position: relative; z-index: 1; height: 560vh; }
.story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story__inner { height: 100%; }
.story__label { position: absolute; top: 104px; left: var(--gutter); padding: 6px 14px; margin: 0; background: var(--glass); border-radius: 30px; }
.story__steps { position: absolute; left: var(--gutter); bottom: clamp(48px, 13vh, 120px); width: min(460px, calc(100% - 2 * var(--gutter))); height: 250px; }
.step { position: absolute; inset: auto 0 0; padding: 24px 28px; background: var(--glass-solid); border-left: 3px solid var(--gold); border-radius: 0 16px 16px 0; opacity: 0; visibility: hidden; transform: translateY(26px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.step.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease .16s, transform .4s ease .16s, visibility 0s .16s; }
.step h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); margin-bottom: 8px; }
.step p { color: #e8e2d6; }
.step__num { display: block; color: var(--gold); font-weight: 700; font-size: .85rem; letter-spacing: .14em; margin-bottom: 4px; }
.story__dots { position: absolute; right: var(--gutter); top: 50%; display: grid; gap: 14px; transform: translateY(-50%); }
.story__dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold); transition: background .3s ease, transform .3s ease; }
.story__dots i.is-active { background: var(--gold); transform: scale(1.3); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.card { padding: 28px; background: var(--glass-solid); border: 1px solid var(--line); border-radius: var(--radius); transform-style: preserve-3d; transition: border-color .25s ease; }
.card:hover { border-color: var(--gold); }
.card svg { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; transform: translateZ(30px); }
.card h3 { margin-bottom: 8px; transform: translateZ(20px); }
.card p { color: var(--muted); font-size: .95rem; }

/* Vision */
.vision { padding-top: clamp(100px, 15vw, 190px); }
.vision__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; min-height: 90vh; }
.anchor--globe { aspect-ratio: 1; width: 100%; max-height: 80vh; }
.vision__copy p:not(.eyebrow) { color: #e8e2d6; margin-top: 14px; }
.vision__copy h2 { margin-bottom: 8px; }
.mission { margin-top: clamp(60px, 9vw, 120px); }
.mission__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mission__list li { display: flex; gap: 18px; padding: 22px; background: var(--glass); border: 1px solid var(--line); border-radius: 16px; }
.mission__list span { color: var(--gold); font-weight: 700; }
.mission__list p { color: #e8e2d6; font-size: .95rem; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; }
.project { padding: 26px; background: var(--glass-solid); border: 1px solid var(--line); border-radius: var(--radius); }
.project--feature { grid-column: 1 / -1; background: linear-gradient(120deg, rgba(229, 180, 76, .17), rgba(10, 8, 5, .92) 60%); }
.project__tag { color: var(--gold); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.project--feature h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.project__place { color: var(--muted); font-size: .92rem; margin: 4px 0 14px; }
.project ul { display: grid; gap: 6px; font-size: .93rem; color: #e8e2d6; }
.project ul li { padding-left: 16px; position: relative; }
.project ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.project__note { margin-top: 12px; color: var(--muted); font-size: .84rem; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 18px 0 0; }
.specs dt { font-size: clamp(1.7rem, 3.8vw, 2.9rem); font-weight: 700; line-height: 1.15; color: var(--gold-soft); }
.specs dd { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: #120e08; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.07); }

/* Partners */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 64px); align-items: center; }
.partners__copy p:not(.eyebrow) { color: #e8e2d6; margin-top: 14px; }
.badges { display: grid; gap: 8px; margin-top: 20px; }
.badges li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--gold-soft); }
.badges li::before { content: ""; width: 18px; height: 10px; margin-top: -4px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) scale(.8); }
.expo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.expo img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 16px; max-height: 300px; }
.expo img:last-child { grid-column: 1 / -1; max-height: 230px; object-position: center; }
.marquee { margin-top: clamp(40px, 6vw, 70px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 14px; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-chip { display: grid; place-items: center; width: 180px; height: 90px; padding: 14px 20px; background: #0d0b08; border: 1px solid var(--line); border-radius: 14px; }
.logo-chip img { max-height: 60px; width: auto; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why li { display: flex; align-items: center; min-height: 92px; padding: 18px 20px; font-weight: 600; background: var(--glass-solid); border: 1px solid var(--line); border-radius: 16px; transition: background .25s ease, color .25s ease, transform .25s ease; }
.why li:hover { background: var(--gold-grad); color: #120c02; transform: translateY(-4px); }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1400px; max-width: 980px; margin-inline: auto; }
.member { text-align: center; padding: 14px 14px 20px; background: var(--glass-solid); border: 1px solid var(--line); border-radius: var(--radius); }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 14px; margin-bottom: 14px; }
.member p { color: var(--gold); font-weight: 500; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 64px); align-items: start; }
.anchor--contact-logo { height: 190px; width: 190px; margin-bottom: 14px; }
.contact__list { display: grid; gap: 14px; margin-top: 24px; }
.contact__list li { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.contact__list span { width: 92px; color: var(--gold); font-weight: 600; }
.contact__list a { display: block; flex-basis: calc(100% - 106px); border-bottom: 1px solid transparent; }
.contact__list a + a { margin-left: 106px; }
.contact__list a:hover { color: var(--gold-soft); }
.form h3 { font-size: 1.5rem; margin-bottom: 4px; }
.form__hint { color: var(--muted) !important; font-size: .9rem; margin-bottom: 18px; }
.form label { display: block; margin-top: 12px; font-size: .88rem; font-weight: 500; }
.form input, .form select, .form textarea { display: block; width: 100%; min-height: 48px; margin-top: 5px; padding: 11px 13px; color: #fff; font: 400 1rem/1.4 Poppins, sans-serif; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; }
.form select option { background: #15110a; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form textarea { resize: vertical; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.contact__list .socials { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 200px; }
.socials a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; flex-basis: auto; font-size: .86rem; color: var(--gold-soft); border: 1px solid var(--line); border-radius: 30px; transition: background .2s ease, color .2s ease; }
.socials a:hover { background: var(--gold); color: #120c02; }
.contact__list .socials a { flex-basis: auto; }
.contact__list .socials a + a { margin-left: 0; }
.socials--footer { display: flex; flex-wrap: wrap; gap: 6px; }
.socials--footer a { min-height: 36px; padding: 4px 12px; font-size: .8rem; }

/* Footer */
.footer { padding-block: 26px; border-top: 1px solid var(--line); background: #000; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; color: var(--muted); font-size: .85rem; }
.footer__inner p:last-child { margin-left: auto; }

/* Scroll reveal start state, set only when animation will run */
.js-motion [data-reveal], .js-motion [data-stagger] > * { opacity: 0; }

/* If a device can't run 3D, the page still looks right */
.no-webgl #gl { display: none; }
.no-webgl body, body.no-webgl { background: radial-gradient(90% 60% at 80% 0%, #4d2c0a 0%, #120a03 42%, #000 72%) fixed; }
.no-webgl .anchor .fallback { display: block; height: 100%; width: auto; margin-inline: auto; }
.no-webgl .anchor--globe { display: none; }
.no-webgl .vision__grid { grid-template-columns: 1fr; min-height: 0; }
.no-webgl .story { height: auto; }
.no-webgl .story__sticky { position: static; height: auto; padding-block: 60px; }
.no-webgl .story__label, .no-webgl .story__steps { position: static; width: auto; height: auto; }
.no-webgl .story__steps { display: grid; gap: 14px; }
.no-webgl .step { position: static; opacity: 1; visibility: visible; transform: none; }
.no-webgl .story__dots { display: none; }

@media (max-width: 1040px) {
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 18px; background: #15100a; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; font-size: 1rem; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav__links a { padding-block: 12px; }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .cards, .projects { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .mission__list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero { align-items: flex-end; padding-block: 92px 76px; }
  .hero::before { background: linear-gradient(0deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .55) 56%, transparent 86%); }
  .hero__grid { grid-template-columns: 1fr; }
  .anchor--logo { order: -1; height: 26vh; }
  .hero__title { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .story__dots { right: 16px; top: 112px; grid-auto-flow: column; transform: none; }
  .story__steps { height: 230px; bottom: 30px; }
  .step { padding: 18px 20px; }
  .cards, .projects, .partners, .contact, .vision__grid, .team { grid-template-columns: 1fr; }
  .vision__grid { min-height: 0; }
  .anchor--globe { order: -1; max-width: 420px; margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: 1fr; gap: 12px; }
  .team { max-width: 340px; }
  .contact__list span { width: 100%; }
  .contact__list a { flex-basis: 100%; }
  .contact__list a + a { margin-left: 0; }
  .form__actions .btn { width: 100%; }
  .footer__inner p:last-child { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .marquee { overflow-x: auto; }
}
