/* ============================================================
   GUANGYI — single point of entry to Russia's top retail
   Super-modern dark redesign · bento density · lime accent
   ============================================================ */

:root {
  --bg:        #0a0e0c;
  --bg2:       #0d1310;
  --surface:   #121814;
  --surface-2: #171f1a;
  --line:      rgba(255,255,255,.10);
  --line-2:    rgba(255,255,255,.055);
  --text:      #eef2ec;
  --muted:     #8b988d;
  --muted-2:   #616d63;
  --lime:      #c8f24e;
  --lime-dim:  #9cc23a;
  --mango:     #ff7a36;
  --green:     #5fbf6e;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2,.7,.3,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--lime); color: #0a0e0c; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

/* ---------- type primitives ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.03em;
}
.display { font-size: clamp(2.6rem, 6.2vw, 5.4rem); font-weight: 800; }
.kicker {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lime); font-weight: 500;
  display: inline-flex; align-items: center; gap: .8em;
}
.kicker::before { content: "▍"; color: var(--lime); }

.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section-head { max-width: 64ch; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin: 20px 0 18px; }
.section-head .sub { color: var(--muted); font-size: clamp(1rem,1.5vw,1.18rem); max-width: 56ch; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,14,12,.72); backdrop-filter: blur(16px) saturate(1.3);
  padding: 12px var(--pad); border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  letter-spacing: -.04em; display: inline-flex; align-items: center; gap: .45em;
}
.brand .dot { color: var(--mango); }
.logo-mark { width: 1.5em; height: 1.5em; flex: none; color: var(--lime); }
.logo-mark svg { width: 100%; height: 100%; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-cta {
  color: var(--bg) !important; background: var(--lime); font-weight: 600 !important;
  border-radius: 999px !important; padding: 9px 18px !important;
}
.nav-cta:hover { background: #d6ff62 !important; }

/* ============================================================
   HERO — bento
   ============================================================ */
.hero {
  min-height: 100vh; position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 0 0;
  background:
    radial-gradient(80% 60% at 85% 0%, rgba(200,242,78,.10), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(255,122,54,.08), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero-inner { display: flex; flex-direction: column; justify-content: center; flex: 1; padding-bottom: 20px; }
.hero-copy { max-width: 960px; }
.hero-copy h1 { margin: 22px 0 0; }
.hero-copy h1 .hl { color: var(--lime); }
.hero-sub { margin-top: 22px; max-width: 46ch; color: var(--muted); font-size: clamp(1rem,1.4vw,1.18rem); }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: .95rem; padding: .95em 1.5em; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--mango); color: #1a0c04; }
.btn-primary:hover { transform: translateY(-2px); background: #ff8c4e; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translate(3px,-3px); }

/* image stage — horizontal crossfade slideshow */
.hero-stage {
  position: relative; width: 100%; margin-top: clamp(24px,3.5vw,40px);
  height: clamp(260px, 42vh, 440px); border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: var(--surface);
}
.hero-stage figure { position: absolute; inset: 0; margin: 0; opacity: 0; animation: xfade 25s infinite; }
.hero-stage figure:first-child { opacity: 1; }
.hero-stage figure:nth-child(2) { animation-delay: 5s; }
.hero-stage figure:nth-child(3) { animation-delay: 10s; }
.hero-stage figure:nth-child(4) { animation-delay: 15s; }
.hero-stage figure:nth-child(5) { animation-delay: 20s; }
.hero-stage img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: kenburns 25s ease-in-out infinite alternate; }
.hero-stage figcaption {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(10,14,12,.55); backdrop-filter: blur(6px);
  padding: 6px 11px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16);
}
@keyframes xfade { 0%{opacity:0} 2%{opacity:1} 18%{opacity:1} 20%{opacity:0} 100%{opacity:0} }
@keyframes kenburns { from{transform:scale(1.05)} to{transform:scale(1.13)} }

/* marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 16px 0; background: var(--bg2); }
.marquee-track { display: flex; width: max-content; animation: scroll-x 38s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em;
  padding: 0 26px; color: var(--text); display: inline-flex; align-items: center; gap: 26px; white-space: nowrap;
}
.marquee-track span::after { content: "●"; color: var(--lime); font-size: .5rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { padding: clamp(80px,10vw,150px) 0; border-bottom: 1px solid var(--line); }
.manifesto p {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 4.2vw, 3.3rem); line-height: 1.08; letter-spacing: -.025em;
  max-width: 24ch;
}
.manifesto .hl { color: var(--lime); }
.manifesto .top { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.manifesto .note { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); max-width: 26ch; letter-spacing: .04em; line-height: 1.7; }

/* ============================================================
   FULL-BLEED NUTS BAND
   ============================================================ */
.fullband { position: relative; height: clamp(300px, 44vw, 520px); overflow: hidden; }
.fullband img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.fullband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,12,.85), transparent 55%, rgba(10,14,12,.4)); }
.fullband .cap { position: absolute; z-index: 2; left: var(--pad); bottom: clamp(28px,5vw,56px); max-width: 18ch; }
.fullband .cap .kicker { color: var(--lime); }
.fullband .cap h3 { font-size: clamp(1.6rem, 3.4vw, 2.8rem); margin-top: 14px; }

/* ============================================================
   CATALOG — masonry
   ============================================================ */
.catalog-meta { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); letter-spacing: .04em; margin: -28px 0 36px; }
.catalog { columns: 4 250px; column-gap: 16px; }
.cat {
  break-inside: avoid; width: 100%; margin-bottom: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 20px 16px; transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.cat:hover { border-color: var(--lime); transform: translateY(-3px); background: var(--surface-2); }
.cat h4 { font-family: var(--font-mono); font-weight: 600; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.cat ul { list-style: none; display: grid; gap: 8px; }
.cat li { font-size: .98rem; border-bottom: 1px solid var(--line-2); padding-bottom: 7px; }
.cat li:last-child { border-bottom: none; padding-bottom: 0; }
.cat li .v { color: var(--muted-2); font-size: .76rem; }

/* ============================================================
   STATS + PILLARS (suppliers)
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 18px; }
.stat { padding: clamp(24px,3vw,38px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem,5.5vw,4.4rem); line-height: 1; color: var(--lime); letter-spacing: -.04em; }
.stat .num small { font-size: .38em; color: var(--mango); }
.stat .cap { margin-top: 12px; color: var(--muted); font-size: .95rem; max-width: 26ch; }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); gap: 1px; }
.pillar { background: var(--bg); padding: clamp(22px,2.6vw,30px) 24px; transition: background .25s; }
.pillar:hover { background: var(--surface); }
.pillar .pn { font-family: var(--font-mono); font-size: .72rem; color: var(--mango); letter-spacing: .1em; }
.pillar h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: 10px 0 10px; letter-spacing: -.01em; }
.pillar p { color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* logos marquee */
.subhead { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: clamp(48px,6vw,72px) 0 20px; }
.logos-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos-track { display: flex; gap: 14px; width: max-content; animation: scroll-x 34s linear infinite; }
.logo {
  flex: none; display: grid; place-items: center; min-width: 180px; min-height: 76px; padding: 0 26px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--text);
  filter: grayscale(1) opacity(.78); transition: filter .25s, border-color .25s;
}
.logo:hover { filter: grayscale(0) opacity(1); border-color: var(--lime); }
.logos-cap { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); margin-top: 18px; letter-spacing: .03em; }

/* sourcing chips */
.src-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.src-chip { display: inline-flex; align-items: center; gap: .5em; padding: .5em .95em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .92rem; color: var(--text); transition: border-color .2s, transform .2s; }
.src-chip:hover { border-color: var(--lime); transform: translateY(-2px); }
.src-chip .flag { font-size: 1.05rem; }
.src-chip.priority { border-color: var(--mango); color: var(--mango); }
.src-chip.priority::after { content: "priority"; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }

/* ============================================================
   INVESTORS
   ============================================================ */
.invest { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,4vw,56px); align-items: center; }
.invest-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(28px,3.5vw,44px); position: relative; overflow: hidden; }
.invest-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(200,242,78,.35), transparent 70%); }
.invest-card .yield { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem,3vw,2.3rem); color: var(--lime); line-height: 1; letter-spacing: -.03em; }
.invest-card .yield small { font-size: .32em; color: var(--mango); display: block; margin-top: 8px; font-weight: 500; }
.invest-card ul { list-style: none; margin: 24px 0; display: grid; gap: 13px; }
.invest-card li { display: flex; gap: .7em; color: var(--muted); font-size: .96rem; }
.invest-card li::before { content: "→"; color: var(--lime); }
.mail-btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-mono); font-weight: 600; font-size: .9rem; color: var(--lime); }
.mail-btn:hover { color: var(--mango); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: clamp(90px,12vw,170px) 0; text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 0%, rgba(200,242,78,.10), transparent 60%); }
.contact-inner { position: relative; z-index: 2; }
.contact h2 { font-size: clamp(2.4rem, 7vw, 5.6rem); font-weight: 800; margin: 22px 0 30px; }
.contact h2 em { font-style: normal; color: var(--lime); }
.contact .big-mail { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.6vw, 2.6rem); color: var(--text); border-bottom: 3px solid var(--mango); padding-bottom: 6px; transition: color .25s, border-color .25s; letter-spacing: -.02em; }
.contact .big-mail:hover { color: var(--mango); }
.contact .subline { color: var(--muted); margin-top: 26px; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg2); border-top: 1px solid var(--line); padding: clamp(48px,6vw,72px) 0 40px; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.footer .grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .brand { color: var(--text); margin-bottom: 16px; font-size: 1.25rem; }
.footer .legal { max-width: 46ch; }
.footer .legal strong { color: var(--text); font-weight: 600; }
.footer .legal a:hover { color: var(--lime); }
.footer .cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer .col h5 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.footer .col a { display: block; margin-bottom: 8px; transition: color .2s; }
.footer .col a:hover { color: var(--text); }
.footer .copy { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: .72rem; opacity: .7; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; } .reveal.d3 { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .logos-track, .hero-stage figure, .hero-stage img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding: 120px 0 0; }
  .hero-stage { height: 300px; }
  .invest { grid-template-columns: 1fr; }
  .catalog { columns: 2 200px; }
}
@media (max-width: 620px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .catalog { columns: 1; }
  .hero-stage { height: 240px; }
  .footer .grid { flex-direction: column; }
}
