:root {
  --bg: #0b0b0c;
  --bg-soft: #131316;
  --text: #f4f2ee;
  --muted: #9b978f;
  --accent: #c9a35c;
  --maxw: 1200px;
  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 300; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.02em; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.muted { color: var(--muted); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.35s, backdrop-filter 0.35s;
}
.nav.scrolled { background: rgba(11,11,12,0.82); backdrop-filter: blur(14px); }
.nav-logo { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.nav-logo span { color: var(--accent); font-weight: 300; }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a { font-size: 0.88rem; color: var(--muted); transition: color 0.25s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 0.85rem; font-weight: 500;
  border: 1px solid rgba(244,242,238,0.35); border-radius: 100px;
  padding: 0.45rem 1.3rem; transition: border-color 0.25s, background 0.25s;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,0.25) 0%, rgba(11,11,12,0.35) 55%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 7rem 1.5rem 5rem; max-width: 880px; }
.lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); margin: 1.6rem auto 2.6rem; max-width: 620px; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; font-size: 0.92rem; font-weight: 500;
  border-radius: 100px; padding: 0.85rem 2.1rem; transition: all 0.25s;
}
.btn-solid { background: var(--text); color: var(--bg); }
.btn-solid:hover { background: var(--accent); }
.btn-ghost { border: 1px solid rgba(244,242,238,0.3); }
.btn-ghost:hover { border-color: var(--text); }

/* ---------- products ---------- */
.products { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) 1.5rem; }
.section-head { text-align: center; margin-bottom: clamp(3rem, 7vw, 6rem); }

.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center; margin-bottom: clamp(4rem, 9vw, 8rem);
}
.product.flip .product-media { order: 2; }
.product-media img { border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; }
.product-copy h3 { margin-bottom: 1.1rem; }
.product-copy p { color: var(--muted); max-width: 46ch; }
.stat {
  margin-top: 1.2rem; padding-left: 1rem;
  border-left: 2px solid var(--accent);
  font-size: 0.88rem; color: var(--muted); font-style: italic;
}
.textlink {
  display: inline-block; margin-top: 1.6rem; color: var(--accent);
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.03em;
  border-bottom: 1px solid transparent; transition: border-color 0.25s;
}
.textlink:hover { border-color: var(--accent); }

/* ---------- vision ---------- */
.vision { background: var(--bg-soft); padding: clamp(4.5rem, 9vw, 8rem) 1.5rem; }
.vision-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.vision-inner > p { color: var(--muted); max-width: 640px; margin: 1.6rem auto 0; }
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
  margin-top: clamp(3rem, 6vw, 5rem); text-align: left;
}
.pillar h4 { margin-bottom: 0.6rem; color: var(--text); }
.pillar p { font-size: 0.95rem; color: var(--muted); }

/* ---------- cta band ---------- */
.cta-band {
  text-align: center; padding: clamp(5rem, 10vw, 9rem) 1.5rem;
  display: grid; gap: 2rem; justify-items: center;
}

/* ---------- contact ---------- */
.contact { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem clamp(4rem, 9vw, 7rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.contact-line { margin-top: 0.7rem; font-size: 1.05rem; }
.contact-line a:hover { color: var(--accent); }
.contact-form { display: grid; gap: 1rem; align-content: start; }
.contact-form input, .contact-form textarea {
  background: var(--bg-soft); border: 1px solid rgba(244,242,238,0.12);
  border-radius: 10px; padding: 0.9rem 1.1rem; color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem; resize: vertical;
  transition: border-color 0.25s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .btn { justify-self: start; border: 0; cursor: pointer; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid rgba(244,242,238,0.08);
  padding: 2.5rem clamp(1.2rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.footer nav { display: flex; gap: 1.8rem; }
.footer nav a { font-size: 0.85rem; color: var(--muted); transition: color 0.25s; }
.footer nav a:hover { color: var(--text); }
.footer p { font-size: 0.8rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .product, .contact-grid { grid-template-columns: 1fr; }
  .product.flip .product-media { order: 0; }
  .pillars { grid-template-columns: 1fr; }
}
