/* ===== LongevityHub — corporate site ===== */
:root {
  --ink: #0f1a17;          /* near-black green */
  --ink-2: #16241f;
  --paper: #f7f5ef;        /* warm off-white */
  --paper-2: #efece1;
  --green: #2f6f53;        /* botanical green */
  --green-bright: #3f9b71;
  --gold: #c9a24b;         /* warm accent */
  --muted: #5d6b64;
  --line: rgba(15, 26, 23, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ===== Header / nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(247, 245, 239, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.brand__mark { color: var(--green); }
.brand__name { font-family: var(--serif); font-size: 1.25rem; letter-spacing: -0.01em; }
.brand__accent { color: var(--green); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: var(--ink) !important;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav__cta:hover { background: var(--ink); color: var(--paper) !important; border-color: var(--ink); }

@media (max-width: 680px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 24px rgba(47, 111, 83, 0.28);
}
.btn--primary:hover { background: var(--green-bright); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }

/* ===== Eyebrow / section heads ===== */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--green);
  margin: 0 0 14px;
}
.section { padding: 96px 0; }
.section--alt { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.section__head { max-width: 680px; margin-bottom: 52px; }
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.section__intro { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 9vw, 110px);
  background:
    radial-gradient(1200px 500px at 75% -10%, rgba(63, 155, 113, 0.16), transparent 60%),
    var(--paper);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(15, 26, 23, 0.18);
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .hero__media { max-width: 460px; }
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.hero__lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 36px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__glow {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.18), transparent 70%);
  pointer-events: none;
}

/* ===== Strip ===== */
.strip {
  background: var(--ink);
  color: var(--paper);
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 24px;
}
.strip__item { display: flex; flex-direction: column; gap: 4px; }
.strip__k { font-family: var(--serif); font-size: 1.4rem; color: #fff; }
.strip__v { color: rgba(247, 245, 239, 0.62); font-size: 0.92rem; }
@media (max-width: 760px) { .strip__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 26, 23, 0.08); }
.card__media { position: relative; aspect-ratio: 1 / 1; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__num {
  position: absolute;
  top: 12px; left: 12px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--paper);
  background: rgba(15, 26, 23, 0.72);
  backdrop-filter: blur(4px);
  border-radius: 9px;
}
.card__body { padding: 22px 24px 26px; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }
@media (max-width: 920px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cards { grid-template-columns: 1fr; } }

/* ===== Feature band ===== */
.feature { position: relative; }
.feature__img {
  width: 100%;
  height: clamp(280px, 42vw, 460px);
  object-fit: cover;
  display: block;
}
.feature__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(15, 26, 23, 0.74) 0%, rgba(15, 26, 23, 0.4) 45%, rgba(15, 26, 23, 0.05) 75%);
}
.feature__quote {
  font-family: var(--serif);
  font-weight: 500;
  color: #fff;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 640px;
  margin: 0;
}
@media (max-width: 540px) {
  .feature__overlay { background: linear-gradient(180deg, rgba(15, 26, 23, 0.35), rgba(15, 26, 23, 0.72)); }
}

/* ===== Approach ===== */
.approach {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.approach__copy p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}
.ticks li strong { color: var(--ink); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 4px var(--paper-2);
}
.approach__panel {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 12px;
  display: grid;
  gap: 6px;
}
.panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink-2);
  color: rgba(247,245,239,0.85);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.panel__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(63,155,113,0.18);
}
@media (max-width: 860px) { .approach { grid-template-columns: 1fr; gap: 36px; } }

/* ===== CTA ===== */
.section--cta { background: var(--ink); color: var(--paper); text-align: center; }
.section--cta .eyebrow { color: var(--green-bright); }
.section--cta .section__title { color: #fff; }
.cta__lead { color: rgba(247,245,239,0.7); font-size: 1.1rem; max-width: 520px; margin: 0 auto 30px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink-2);
  color: rgba(247,245,239,0.7);
  padding: 56px 0 40px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__brand .brand__name { color: #fff; font-size: 1.3rem; }
.footer__brand p { margin: 10px 0 0; max-width: 320px; font-size: 0.92rem; }
.footer__meta { text-align: right; }
.footer__meta a { color: var(--green-bright); text-decoration: none; font-weight: 500; }
.footer__meta a:hover { text-decoration: underline; }
.footer__disclaimer { font-size: 0.82rem; max-width: 340px; margin: 14px 0 0; opacity: 0.7; }
.footer__copy { font-size: 0.82rem; margin: 10px 0 0; opacity: 0.6; }
@media (max-width: 680px) {
  .footer__meta { text-align: left; }
  .footer__disclaimer, .footer__brand p { max-width: 100%; }
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
