/* ============================================
   HELIUM × QUEST — Design System
   Palette: Copper & Slate (refined)
   Fonts: Cormorant Garamond + Plus Jakarta Sans
   ============================================ */

:root {
  --cream:       #F5F0EB;
  --cream-dark:  #EDE5DA;
  --slate:       #2F3640;
  --slate-light: #4A5568;
  --copper:      #B87333;
  --copper-light:#D4A574;
  --copper-pale: #F0E0CC;
  --white:       #FDFAF7;
  --text-body:   #3D3530;
  --text-muted:  #7A6E65;
  --border:      rgba(184, 115, 51, 0.18);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --max-w: 1200px;
  --section-pad: 120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--white);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--copper); border-radius: 2px; }

/* ── SELECTION ── */
::selection { background: var(--copper-pale); color: var(--slate); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.52s; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(253, 250, 247, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 24px rgba(47, 54, 64, 0.06);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-logo-he { color: var(--copper); }
.nav-logo-lium { color: var(--slate); }
.nav-logo-sep {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 13px;
  margin: 0 4px;
}
.nav-logo-quest { color: var(--slate-light); font-weight: 400; }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--copper);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--copper-pale);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.nav-cta:hover { border-color: var(--copper); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--slate);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border: 1px solid var(--slate);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-primary:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--white);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border: 1px solid var(--border);
  transition: border-color 0.25s, color 0.25s;
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 80px;
}
.hero-bg-text {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(200px, 28vw, 420px);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--cream-dark);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  background: var(--copper-pale);
  padding: 6px 16px;
  margin-bottom: 32px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--slate);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--copper);
}
.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 48px;
  height: 1px;
  background: var(--copper-light);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--copper);
  animation: scrollSlide 2s ease-in-out infinite;
}
@keyframes scrollSlide {
  0% { left: -100%; }
  50% { left: 0%; }
  100% { left: 100%; }
}

/* ── ABOUT ── */
.about {
  background: var(--cream);
  padding: var(--section-pad) 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--slate);
  letter-spacing: -0.01em;
}
.about-right p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}
.about-pillars {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.pillar:hover {
  border-color: var(--copper-light);
  box-shadow: 0 4px 20px rgba(184, 115, 51, 0.08);
}
.pillar-icon {
  color: var(--copper);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.pillar-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 4px;
}
.pillar-text span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── SECTION DIVIDER ── */
.section-divider {
  background: var(--slate);
  padding: 28px 48px;
}
.divider-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.divider-inner span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-light);
}

/* ── USE CASES ── */
.use-cases {
  background: var(--white);
}

.use-case {
  padding: var(--section-pad) 48px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.use-case--1 { background: var(--white); }
.use-case--2 { background: var(--cream); }
.use-case--3 { background: var(--white); }

.use-case::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--copper), var(--copper-light));
}

.uc-number {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--cream-dark);
  line-height: 1;
  position: absolute;
  top: 40px;
  right: 48px;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.use-case--2 .uc-number { -webkit-text-stroke: 1px #DDD5C8; }

.uc-content {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.uc-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.uc-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--slate);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  max-width: 700px;
}
.uc-lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 48px;
}

/* Problem block */
.uc-problem {
  background: var(--cream-dark);
  border-left: 3px solid var(--copper-light);
  padding: 28px 32px;
  margin-bottom: 40px;
  max-width: 720px;
}
.use-case--2 .uc-problem { background: var(--white); }
.uc-problem-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
}
.uc-problem p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Solution block */
.uc-solution { margin-bottom: 48px; }
.uc-solution-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 24px;
}
.uc-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.uc-solution-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.use-case--2 .uc-solution-item { background: var(--cream); }
.uc-solution-item:hover {
  border-color: var(--copper-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(184, 115, 51, 0.1);
}
.uc-solution-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--copper-light);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -4px;
}
.uc-solution-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 8px;
  line-height: 1.4;
}
.uc-solution-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Outcome stats */
.uc-outcome {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  overflow: hidden;
}
.uc-outcome-stat {
  flex: 1;
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.25s;
}
.uc-outcome-stat:last-child { border-right: none; }
.uc-outcome-stat:hover { background: var(--copper-pale); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: var(--copper);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ── BESPOKE ── */
.bespoke {
  background: var(--slate);
  padding: var(--section-pad) 48px;
  position: relative;
  overflow: hidden;
}
.bespoke::before {
  content: 'BESPOKE';
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.05);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  line-height: 1;
}
.bespoke-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.bespoke .section-label { color: var(--copper-light); }
.bespoke .section-headline {
  color: var(--cream);
  margin-bottom: 24px;
}
.bespoke p {
  font-size: 15px;
  color: rgba(245, 240, 235, 0.65);
  line-height: 1.8;
  margin-bottom: 20px;
}
.bespoke .btn-primary {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--white);
  margin-top: 12px;
}
.bespoke .btn-primary:hover {
  background: var(--copper-light);
  border-color: var(--copper-light);
}
.bespoke-features {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bf-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: padding-left 0.25s;
}
.bf-item:first-child { padding-top: 0; }
.bf-item:last-child { border-bottom: none; }
.bf-item:hover { padding-left: 8px; }
.bf-icon {
  color: var(--copper);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.bf-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}
.bf-text p {
  font-size: 13px;
  color: rgba(245, 240, 235, 0.55);
  line-height: 1.65;
  margin: 0;
}

/* ── FOOTER ── */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 64px 48px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-logo span:last-child {
  font-weight: 300;
  color: var(--text-muted);
  font-size: 13px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.65;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--copper); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-bottom span {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-inner,
  .bespoke-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .uc-solution-grid {
    grid-template-columns: 1fr;
  }
  .uc-outcome {
    flex-direction: column;
  }
  .uc-outcome-stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .uc-outcome-stat:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .nav { padding: 0 24px; }
  .hero { padding: 100px 24px 72px; }
  .hero-scroll-hint { left: 24px; }
  .hero-bg-text { font-size: 40vw; opacity: 0.5; }
  .about,
  .use-case,
  .bespoke,
  .footer { padding-left: 24px; padding-right: 24px; }
  .section-divider { padding: 20px 24px; }
  .uc-number { font-size: 80px; top: 24px; right: 24px; }
  .footer-inner { flex-direction: column; }
  .footer-links { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }
}