/* Vitalyfe Academy — Component Styles */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--vt-sans);
  color: var(--vt-bark);
  background: var(--vt-oat);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Grain texture overlay — makes the page feel printed, not clinical */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.028;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }
a { color: var(--vt-terracotta); text-decoration: none; }
a:hover { color: var(--vt-terracotta-deep); }

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

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.72s cubic-bezier(.16,1,.3,1), transform 0.72s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.28s; }
.d4 { transition-delay: 0.38s; }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,240,228,0.88);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(45,38,32,.065);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px var(--pad);
  max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; line-height: 1; }
.brand-logo { display: block; height: 40px; width: auto; }
.nav-links {
  display: flex; gap: 36px;
  font-size: 14.5px; font-weight: 500;
}
.nav-links a {
  color: var(--vt-bark); position: relative; padding: 4px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--vt-clay);
  transition: width .26s ease;
}
.nav-links a:hover { color: var(--vt-sage); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--vt-sage); color: var(--vt-oat) !important;
  padding: 10px 22px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  transition: background .2s, transform .18s;
}
.nav-cta:hover { background: var(--vt-sage-dark); transform: translateY(-1px); }

/* ─── BUTTONS ─── */
.btn {
  font-family: var(--vt-sans); font-weight: 600; font-size: 15px;
  border-radius: 999px; border: none; cursor: pointer;
  padding: 16px 30px;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--vt-terracotta); color: var(--vt-oat);
  box-shadow: 0 8px 28px -8px rgba(176,94,63,.38);
}
.btn-primary:hover {
  background: var(--vt-terracotta-deep); color: var(--vt-oat);
  box-shadow: 0 14px 36px -8px rgba(176,94,63,.48);
}
.btn-text {
  background: transparent; color: var(--vt-sage); font-weight: 600;
  padding: 16px 8px; border-bottom: 1.5px solid var(--vt-clay); border-radius: 0;
}
.btn-text:hover { color: var(--vt-sage-dark); border-color: var(--vt-terracotta); }

/* ─── EYEBROW ─── */
.eyebrow {
  font-family: var(--vt-mono); font-size: 11.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--vt-terracotta);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px;
  background: currentColor; flex-shrink: 0;
}

/* ─── HERO ─── */
.hero {
  padding: clamp(60px, 9vw, 116px) 0 clamp(60px, 8vw, 96px);
  position: relative; overflow: hidden;
}
/* Warm bloom behind portrait column */
.hero::before {
  content: '';
  position: absolute;
  right: max(0px, calc(50% - 660px));
  top: 0; bottom: 0; width: 50%;
  background: radial-gradient(ellipse 80% 95% at 60% 48%,
    rgba(224,185,164,.55) 0%, rgba(237,228,210,0) 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  position: relative;
}
.hero-text { max-width: 640px; }
.hero h1 {
  font-family: var(--vt-serif); font-weight: 500;
  font-size: clamp(50px, 6.8vw, 86px);
  line-height: 1.01; letter-spacing: -0.028em;
  color: var(--vt-sage);
  margin: 0 0 28px; text-wrap: pretty;
}
.hero h1 em {
  font-style: italic; color: var(--vt-terracotta); font-weight: 500;
}
.hero .lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.62; color: var(--vt-bark-soft);
  max-width: 500px; margin: 0 0 40px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-portrait {
  position: relative; aspect-ratio: 4/5;
  border-radius: 24px; overflow: hidden;
  background: var(--vt-linen);
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.hero-portrait .ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg,
      rgba(176,94,63,.07) 0 14px,
      rgba(176,94,63,.02) 14px 28px),
    var(--vt-clay-soft);
  display: flex; align-items: flex-end; padding: 22px;
}
.hero-portrait .cap {
  font-family: var(--vt-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(45,38,32,.48);
}

/* ─── PROOF STRIP / MARQUEE ─── */
.proof {
  border-top: 1px solid rgba(45,38,32,.07);
  border-bottom: 1px solid rgba(45,38,32,.07);
  background: var(--vt-oat);
  overflow: hidden; padding: 0;
}
.proof-track {
  display: flex; align-items: center;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.proof-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.proof-track > span {
  font-family: var(--vt-mono); font-size: 11.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--vt-stone); white-space: nowrap;
  padding: 20px 30px;
}
.proof-track .sep {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--vt-clay); flex-shrink: 0;
}

/* ─── SECTION GENERIC ─── */
.section { padding: clamp(84px, 11vw, 140px) 0; }
.section-head {
  max-width: 680px; margin: 0 auto 64px; text-align: center;
}
h2 {
  font-family: var(--vt-serif); font-weight: 500;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.07; letter-spacing: -0.025em;
  color: var(--vt-sage); margin: 0 0 18px; text-wrap: balance;
}
h2 em { font-style: italic; color: var(--vt-terracotta); font-weight: 500; }
.sub {
  font-size: 18px; color: var(--vt-bark-soft);
  line-height: 1.65; margin: 0;
}

/* ─── FAMILIAR ─── */
.familiar { background: var(--vt-oat); }
.familiar-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 7vw, 90px);
  align-items: start;
  max-width: 1100px; margin: 0 auto;
}
.familiar-text h2 { text-align: left; }
.familiar-text .sub { text-align: left; max-width: 440px; }
.familiar-list { list-style: none; display: grid; gap: 14px; }
.familiar-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 24px;
  border-left: 3px solid var(--vt-sage);
  background: var(--vt-linen);
  border-radius: 0 14px 14px 0;
  transition: border-color .22s, box-shadow .22s;
}
.familiar-item:hover {
  border-color: var(--vt-terracotta);
  box-shadow: 4px 10px 28px -12px rgba(45,38,32,.22);
}
.familiar-item .check {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--vt-sage); color: var(--vt-oat);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.familiar-item .check svg { width: 14px; height: 14px; }
.familiar-item p {
  margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--vt-bark); padding-top: 2px;
}

/* ─── WHO ─── */
.who { background: var(--vt-linen); }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.who-card {
  background: var(--vt-oat); border-radius: 20px;
  padding: 34px 30px;
  border: 1px solid rgba(45,38,32,.05);
  display: flex; gap: 22px; align-items: flex-start;
  transition: transform .22s ease, box-shadow .22s ease;
}
.who-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -20px rgba(45,38,32,.22);
}
.who-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(63,88,71,.1); color: var(--vt-sage);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.who-icon svg { width: 20px; height: 20px; }
.who-card h3 {
  font-family: var(--vt-serif); font-size: 19px; font-weight: 500;
  color: var(--vt-sage); margin: 0 0 10px; line-height: 1.25; letter-spacing: -0.01em;
}
.who-card p { font-size: 15px; line-height: 1.62; color: var(--vt-bark-soft); }

/* ─── MEET ─── */
.meet { background: var(--vt-oat); }
.meet-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(48px, 7vw, 90px); align-items: center;
}
.meet-photo {
  position: relative; aspect-ratio: 4/5;
  border-radius: 24px; overflow: hidden;
  background: var(--vt-linen);
}
.meet-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 15%;
  display: block;
}
.meet-photo .ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg,
      rgba(63,88,71,.08) 0 14px,
      rgba(63,88,71,.02) 14px 28px), #C9D0BD;
  display: flex; align-items: flex-end; padding: 22px;
}
.meet-photo .cap {
  font-family: var(--vt-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(45,38,32,.48);
}
.meet-text .eyebrow { color: var(--vt-sage); }
.meet-text .eyebrow::before { background: var(--vt-sage); }
.meet-text h2 { text-align: left; }
.meet-text p {
  font-size: 17px; line-height: 1.72; color: var(--vt-bark-soft);
  margin: 0 0 18px; max-width: 550px;
}
.meet-creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.cred {
  font-family: var(--vt-sans); font-size: 12px; font-weight: 600;
  background: rgba(63,88,71,.1); color: var(--vt-sage);
  padding: 6px 14px; border-radius: 999px;
}
.cred.clay { background: rgba(198,138,111,.2); color: var(--vt-terracotta-deep); }

/* ─── SERVICES ─── */
.services { background: var(--vt-linen); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service {
  background: var(--vt-oat); border-radius: 20px;
  padding: 34px 28px;
  border: 1px solid rgba(45,38,32,.05);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
/* Top-border reveal on hover */
.service::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--vt-sage);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 56px -24px rgba(45,38,32,.28); }
.service:hover::before { transform: scaleX(1); }
.service.coming::before { background: var(--vt-terracotta); }
.service .icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(63,88,71,.1); color: var(--vt-sage);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service .icon svg { width: 22px; height: 22px; }
.service .tag {
  font-family: var(--vt-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--vt-stone); margin-bottom: 10px;
}
.service h3 {
  font-family: var(--vt-serif); font-size: 22px; line-height: 1.2;
  font-weight: 500; color: var(--vt-sage); margin: 0 0 12px; letter-spacing: -0.01em;
}
.service p {
  font-size: 14.5px; line-height: 1.6; color: var(--vt-bark-soft);
  margin: 0 0 28px; flex-grow: 1;
}
.service .btn { font-size: 13.5px; padding: 10px 20px; align-self: flex-start; }
.service.coming .icon { background: rgba(198,138,111,.2); color: var(--vt-terracotta); }
.service.coming .tag { color: var(--vt-terracotta); }

/* ─── LEAD MAGNET ─── */
.lead {
  background: var(--vt-sage); color: var(--vt-oat);
  padding: clamp(84px, 11vw, 140px) 0;
  position: relative; overflow: hidden;
}
/* Botanical arc rings */
.lead::before {
  content: '';
  position: absolute; top: -180px; right: -180px;
  width: 520px; height: 520px; border-radius: 50%;
  border: 72px solid rgba(198,138,111,.18);
  pointer-events: none;
}
.lead::after {
  content: '';
  position: absolute; bottom: -220px; left: -160px;
  width: 480px; height: 480px; border-radius: 50%;
  border: 56px solid rgba(176,94,63,.14);
  pointer-events: none;
}
.lead-inner {
  position: relative; text-align: center;
  max-width: 620px; margin: 0 auto;
}
.lead .eyebrow { color: var(--vt-clay-soft); justify-content: center; }
.lead .eyebrow::before { background: var(--vt-clay-soft); }
.lead h2 {
  font-family: var(--vt-serif); font-weight: 500;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.07; color: var(--vt-oat);
  letter-spacing: -0.025em; margin: 0 0 20px;
}
.lead h2 em { font-style: italic; color: var(--vt-clay-soft); font-weight: 500; }
.lead p {
  font-size: 18px; line-height: 1.65;
  color: rgba(246,240,228,.82); margin: 0 0 40px;
}
.privacy {
  margin-top: 22px; font-family: var(--vt-mono); font-size: 11px;
  letter-spacing: 0.08em; color: rgba(246,240,228,.48);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--vt-bark); color: rgba(246,240,228,.7);
  padding: clamp(56px, 8vw, 80px) 0 32px; font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(246,240,228,.08);
}
.footer-logo { height: 48px; width: auto; opacity: 0.88; }
.footer-tagline {
  font-family: var(--vt-serif); font-style: italic;
  font-size: 17px; color: rgba(246,240,228,.55); margin-top: 20px;
}
.footer h4 {
  font-family: var(--vt-mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--vt-clay-soft); margin: 0 0 18px; font-weight: 500;
}
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { color: rgba(246,240,228,.72); transition: color .2s; }
.footer ul a:hover { color: var(--vt-oat); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; padding-top: 28px;
  font-family: var(--vt-mono); font-size: 10.5px;
  letter-spacing: 0.06em; color: rgba(246,240,228,.38);
}
.footer-bottom a { color: rgba(246,240,228,.48); }
.footer-disclaimer {
  margin-top: 20px; font-size: 11px;
  color: rgba(246,240,228,.28); font-family: var(--vt-mono);
  letter-spacing: 0.04em; text-align: center; line-height: 1.6;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid, .meet-grid { grid-template-columns: 1fr; }
  .familiar-grid { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 480px; }
  .meet-photo { max-width: 480px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .who-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { gap: 12px; }
  .btn { width: 100%; justify-content: center; }
  .btn-text { width: auto; }
}
