:root {
  --bg: #0a0809;
  --bg-2: #100c0e;
  --ink: #f2ece4;
  --ink-dim: #b3a89e;
  --muted: #6f6660;
  --line: rgba(242, 236, 228, 0.14);
  --line-strong: rgba(242, 236, 228, 0.28);
  --accent: #c8102e;
  --accent-soft: #e85066;
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Jost", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.4px;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 820px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

/* ---------- Shared type ---------- */
.eyebrow, .section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 400;
}
.section-eyebrow { display: block; margin-bottom: 26px; }
.section-title { font-size: clamp(2rem, 3.8vw, 3.4rem); font-weight: 300; }
.section-lead {
  color: var(--ink-dim);
  font-size: 1.05rem;
  max-width: 540px;
  margin-top: 26px;
}
.center-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Jost", sans-serif;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-solid:hover { background: transparent; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 30px 0;
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}
.nav-links { list-style: none; display: flex; gap: 38px; }
.nav-right { justify-content: flex-end; }
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.4s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--ink);
  transition: width 0.5s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { transform: scale(1.05); animation: kenburns 18s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10, 8, 9, 0.92) 0%, rgba(10, 8, 9, 0.35) 42%, rgba(10, 8, 9, 0.45) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 0 40px 120px; }
.hero-content .eyebrow { display: block; margin-bottom: 30px; color: var(--ink); }
.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.6rem);
  font-weight: 300;
  margin-bottom: 30px;
}
.hero-sub {
  color: var(--ink-dim);
  font-size: 1.12rem;
  max-width: 540px;
  margin: 0 auto 44px;
}
.scroll-hint {
  position: absolute;
  bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-dim);
  animation: floaty 2.4s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translate(-50%, 0); opacity: 0.6; } 50% { transform: translate(-50%, 6px); opacity: 1; } }

/* ---------- Philosophy ---------- */
.philosophy { padding: 170px 0; border-bottom: 1px solid var(--line); }
.statement {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
}
.statement-sub { color: var(--ink-dim); font-size: 1.08rem; max-width: 600px; margin: 40px auto 0; }

/* ---------- Split (science) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split-media { position: relative; min-height: 640px; }
.split-text { padding: 130px 7vw; display: flex; flex-direction: column; justify-content: center; }
.split-text .section-lead { margin-bottom: 48px; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 34px; }
.steps li { display: flex; gap: 26px; align-items: flex-start; padding-top: 28px; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: none; padding-top: 0; }
.step-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--accent-soft);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  padding-top: 4px;
}
.steps h3 { font-size: 1.6rem; margin-bottom: 6px; }
.steps p { color: var(--ink-dim); font-size: 0.98rem; }

/* ---------- Features ---------- */
.features { padding: 170px 0; border-top: 1px solid var(--line); }
.feature-head { max-width: 700px; margin-bottom: 90px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature {
  padding: 56px 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease);
}
.feature:hover { background: var(--bg-2); }
.feature-no {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent-soft);
  display: block;
  margin-bottom: 22px;
  letter-spacing: 0.1em;
}
.feature h3 { font-size: 1.7rem; margin-bottom: 12px; }
.feature p { color: var(--ink-dim); font-size: 0.98rem; }

/* ---------- Reviews ---------- */
.reviews { padding: 170px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.reviews .center { margin-bottom: 90px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.review { display: flex; flex-direction: column; gap: 22px; }
.stars { color: var(--accent-soft); letter-spacing: 0.4em; font-size: 0.85rem; }
.review blockquote {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 300;
}
.review figcaption {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: auto;
}
.review figcaption .muted { letter-spacing: 0.1em; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 180px 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.cta-media {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200, 16, 46, 0.16), transparent 55%);
}
.cta-content { position: relative; z-index: 2; max-width: 720px; }
.cta-form { display: flex; gap: 0; max-width: 560px; margin: 48px auto 0; border: 1px solid var(--line-strong); }
.cta-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 18px 24px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 300;
}
.cta-form input:focus { outline: none; }
.cta-form input::placeholder { color: var(--muted); letter-spacing: 0.05em; }
.cta-form .btn { border: none; border-left: 1px solid var(--line-strong); }

/* ---------- Footer ---------- */
.site-footer { padding: 100px 0 50px; background: var(--bg); border-top: 1px solid var(--line); }
.footer-top { text-align: center; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.footer-brand { display: inline-block; font-size: 2rem; margin-bottom: 14px; }
.footer-tag { color: var(--ink-dim); font-style: italic; font-family: "Cormorant Garamond", serif; font-size: 1.2rem; }
.footer-cols { display: flex; gap: 90px; flex-wrap: wrap; padding: 70px 40px; }
.footer-cols h5 {
  font-family: "Jost", sans-serif; font-weight: 400;
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.footer-cols a {
  display: block; color: var(--ink-dim); font-size: 0.92rem; margin-bottom: 12px;
  transition: color 0.4s var(--ease);
}
.footer-cols a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 40px; border-top: 1px solid var(--line);
  font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-dim);
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: fade-up both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
  }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(38px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 420px; }
  .split-text { padding: 90px 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-cols { gap: 56px; }
}
@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .nav { padding: 0 24px; grid-template-columns: 1fr auto 1fr; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.62rem; letter-spacing: 0.16em; }
  .philosophy, .features, .reviews { padding: 110px 0; }
  .cta { padding: 120px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 44px 28px; }
  .cta-form { flex-direction: column; }
  .cta-form .btn { border-left: none; border-top: 1px solid var(--line-strong); padding: 18px; }
}
