/* ============================================================
   Hi Fam — Build Family Culture
   Brand tokens come straight from hifam.ai/brand.
   To rebrand, edit the variables in :root — nothing else.
   ============================================================ */

:root {
  /* --- Brand palette (hifam.ai/brand, refreshed) --- */
  --forest:      #3F4730;  /* primary / logo */
  --sage:        #97A085;  /* secondary */
  --linen:       #E0DDC8;  /* pale surface */
  --stone:       #D6C6C1;  /* soft neutral */
  --rosewood:    #B28D80;  /* warm neutral */
  --cream:       #F5F1EC;  /* background */
  --charcoal:    #2C2C26;  /* ink */
  /* accents */
  --petal:       #E6C9D6;  /* soft accent */
  --orchid:      #BC83CE;  /* bright accent */
  --violet:      #8A5BA6;  /* deep accent */
  --amber:       #E89D5B;  /* warm accent */
  --terracotta:  #CD7B62;  /* warm accent */
  --mint:        #80CB96;  /* fresh accent */

  /* --- Aliases (keep existing class hooks working) --- */
  --sage-dark:   #474C3A;  /* body text */
  --plum:        var(--violet);
  --rose:        var(--petal);
  --honey:       var(--terracotta);
  --gold:        var(--amber);
  --clay:        var(--terracotta);
  --clay-deep:   #B9684F;
  --taupe:       var(--stone);
  --cream-dark:  var(--linen);

  /* --- Semantic --- */
  --bg:        var(--cream);
  --surface:   #FBF8F2;
  --ink:       var(--charcoal);
  --body:      var(--sage-dark);
  --muted:     #6E7062;
  --line:      rgba(63, 71, 48, 0.14);
  --accent:    var(--terracotta);

  /* --- Type --- */
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* --- Layout --- */
  --container: 1180px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow: 0 18px 50px -24px rgba(44, 44, 38, 0.45);
  --shadow-soft: 0 10px 30px -18px rgba(44, 44, 38, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.5rem); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .92rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .35s var(--ease), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--forest); color: var(--cream); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: #4a5438; box-shadow: 0 16px 34px -16px rgba(63,71,48,.7); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--forest); background: rgba(63,71,48,.05); }
.btn--small { padding: .6rem 1.15rem; font-size: .92rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.08rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--forest);
  border-bottom: 1.5px solid transparent; transition: gap .3s var(--ease), border-color .3s; padding-bottom: 2px; }
.link-arrow:hover { gap: .65rem; border-color: var(--forest); }

.kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--honey); margin-bottom: 1rem; }
.kicker::before { content: ""; width: 26px; height: 1.5px; background: var(--honey); display: inline-block; }
.kicker--light { color: var(--sage); }
.kicker--light::before { background: var(--sage); }

.section__title { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.section__head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__sub { margin-top: 1.1rem; font-size: 1.12rem; color: var(--muted); }

/* ============ NAV (transparent over hero -> solid on scroll) ============ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.05rem; }

/* default: transparent over the full-bleed hero (light text/logo) */
.nav .brand { color: var(--cream); }
.nav .nav__links a { color: rgba(245,241,236,.92); }
.nav .nav__toggle span { background: var(--cream); }
.brand__mark--dark { display: none; }

/* scrolled: solid cream surface (dark text/logo) */
.nav.scrolled { background: rgba(245, 241, 236, 0.9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.scrolled .brand { color: var(--forest); }
.nav.scrolled .nav__links a { color: var(--body); }
.nav.scrolled .nav__toggle span { background: var(--ink); }
.nav.scrolled .brand__mark--light { display: none; }
.nav.scrolled .brand__mark--dark { display: inline-block; }

/* Wordmark: Hi-mark + "HiFam" in Playfair */
.brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 600; font-size: 1.55rem; letter-spacing: -0.01em; }
.brand__mark { width: 34px; height: 34px; object-fit: contain; }

.nav__links { display: flex; gap: 1.9rem; }
.nav__links a { font-weight: 500; font-size: .98rem; position: relative; padding: .25rem 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--amber); transition: width .3s var(--ease); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; border-radius: 2px; transition: .3s var(--ease); }

/* ============ HERO (full-bleed) ============ */
.hero--full { position: relative; min-height: 94vh; display: flex; align-items: flex-end; overflow: hidden; padding: 0; }
.hero__bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; z-index: 0; }
.hero__scrim { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(34,36,28,.50) 0%, rgba(34,36,28,0) 28%, rgba(34,36,28,.30) 58%, rgba(34,36,28,.78) 85%, rgba(34,36,28,.93) 100%),
    linear-gradient(90deg, rgba(34,36,28,.62) 0%, rgba(34,36,28,.20) 42%, rgba(34,36,28,0) 72%); }
.hero--full .hero__inner { position: relative; z-index: 2; display: block; max-width: 880px;
  padding-top: clamp(6rem, 12vw, 9rem); padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.hero__eyebrow { font-weight: 500; letter-spacing: .06em; color: rgba(245,241,236,.92); margin-bottom: 1.1rem; font-size: 1.05rem; text-shadow: 0 1px 12px rgba(20,20,15,.5); }
.hero__title { font-size: clamp(3.2rem, 11vw, 8rem); line-height: .9; letter-spacing: -0.03em; color: var(--cream); text-shadow: 0 2px 30px rgba(18,18,14,.5), 0 1px 3px rgba(18,18,14,.35); }
.hero__title .accent { color: var(--cream); font-style: italic; font-weight: 500; }
.hero__lede { margin-top: 1.6rem; font-size: clamp(1.1rem, 2.1vw, 1.4rem); max-width: 600px; color: rgba(245,241,236,.95); text-shadow: 0 1px 16px rgba(18,18,14,.5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero--full .btn--primary { background: var(--amber); color: var(--charcoal); }
.hero--full .btn--primary:hover { background: #efae73; }
.btn--on-dark { color: var(--cream); border-color: rgba(245,241,236,.5); }
.btn--on-dark:hover { border-color: var(--cream); background: rgba(245,241,236,.12); }

.hero__scroll { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); width: 26px; height: 42px;
  border: 2px solid rgba(245,241,236,.5); border-radius: 14px; z-index: 3; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: var(--cream);
  border-radius: 2px; transform: translateX(-50%); animation: scroll 1.8s var(--ease) infinite; }
@keyframes scroll { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80%,100% { opacity: 0; top: 22px; } }

/* ============ STRIP / MARQUEE ============ */
.strip { background: var(--forest); color: var(--cream); padding-block: 1.05rem; overflow: hidden; }
.strip__track { display: inline-flex; align-items: center; gap: 2rem; white-space: nowrap; animation: marquee 34s linear infinite; }
.strip__track span { font-family: var(--display); font-style: italic; font-size: 1.25rem; }
.strip__track span[aria-hidden] { color: var(--honey); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ WORLD ============ */
.world__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.world__body p { font-size: 1.14rem; margin-bottom: 1.1rem; color: var(--sage-dark); }
.world__body .link-arrow { margin-top: .6rem; }

/* ============ COACHING (hero product) ============ */
.coaching { padding-top: 0; }
.coaching__card { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 0;
  background: var(--forest); color: var(--cream); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.coaching__media { position: relative; min-height: 420px; background:
  radial-gradient(120% 120% at 20% 10%, #4a5438 0%, #363f28 55%, #2a3120 100%); overflow: hidden; }
.coaching__glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle, rgba(205,123,98,.45), transparent 70%); top: -60px; left: -40px; filter: blur(10px); }
.coaching__avatar { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; z-index: 1; }
.coaching__overlay { position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(160deg, rgba(42,49,32,.35) 0%, rgba(42,49,32,.55) 55%, rgba(42,49,32,.82) 100%); }
.coaching__chat { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; gap: .8rem; padding: 2.2rem; }
.bubble { max-width: 80%; padding: .8rem 1.1rem; border-radius: 18px; font-size: .98rem; line-height: 1.4; box-shadow: var(--shadow-soft);
  opacity: 0; transform: translateY(12px); animation: bubbleIn .6s var(--ease) forwards; }
.bubble--in { align-self: flex-start; background: rgba(251,248,242,.16); color: var(--cream); border-bottom-left-radius: 6px; backdrop-filter: blur(4px); }
.bubble--out { align-self: flex-end; background: var(--cream); color: var(--charcoal); border-bottom-right-radius: 6px; }
.bubble:nth-child(1){ animation-delay:.2s } .bubble:nth-child(2){ animation-delay:.9s }
.bubble:nth-child(3){ animation-delay:1.8s } .bubble:nth-child(4){ animation-delay:2.5s }
@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }

.coaching__content { padding: clamp(2rem, 4vw, 3.4rem); }
.coaching .kicker { color: var(--honey); }
.coaching__title { color: var(--cream); font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.coaching__lede { color: rgba(245,241,236,.85); font-size: 1.1rem; margin-bottom: 1.6rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--cream); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem; display: grid; place-items: center;
  background: var(--honey); color: var(--forest); border-radius: 50%; font-size: .8rem; font-weight: 700; }
.coaching__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.coaching__actions .btn--primary { background: var(--honey); color: var(--forest); }
.coaching__actions .btn--primary:hover { background: #d98e73; }
.coaching__actions .btn--ghost { color: var(--cream); border-color: rgba(245,241,236,.4); }
.coaching__actions .btn--ghost:hover { border-color: var(--cream); background: rgba(245,241,236,.1); }
.coaching__note { margin-top: 1.4rem; font-size: .92rem; line-height: 1.55; color: rgba(245,241,236,.72); border-top: 1px solid rgba(245,241,236,.14); padding-top: 1.1rem; }
.coaching__note strong { color: var(--cream); }
.coaching__note a { color: var(--honey); border-bottom: 1px solid rgba(205,123,98,.5); }
.coaching__note a:hover { border-color: var(--honey); }

/* ============ EXPLORE CARDS ============ */
/* ============ EXPLORE / LIBRARY ============ */
.lib__group { margin-bottom: clamp(2.6rem, 5vw, 4.2rem); }
.lib__group:last-child { margin-bottom: 0; }
.lib__head { display: flex; align-items: baseline; gap: 1rem 1.4rem; flex-wrap: wrap; margin-bottom: 1.5rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.lib__head .kicker { margin-bottom: 0; }
.lib__desc { color: var(--muted); font-size: 1rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; min-height: 280px;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); z-index: 3; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cream-dark); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.6rem 1.7rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.card__tag { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.card__icon { font-size: 1.4rem; color: var(--accent); opacity: .8; }
.card__title { font-size: 1.5rem; margin-bottom: .7rem; }
.card__text { color: var(--muted); font-size: 1rem; flex: 1; margin-bottom: 1.3rem; }
.card__link { font-weight: 600; color: var(--forest); font-size: .98rem; transition: gap .3s; }
.card__link:hover { color: var(--accent); }
.card--feature { background: linear-gradient(150deg, #FBF8F2, var(--rose) 240%); border-color: rgba(205,123,98,.4); }

/* ============ FREE ============ */
.free { background: var(--cream-dark); }
.free__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.free__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem;
  display: flex; flex-direction: column; gap: .6rem; transition: transform .4s var(--ease), box-shadow .4s; }
.free__panel:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.free__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; font-size: 1.3rem;
  background: color-mix(in srgb, var(--accent) 18%, white); color: var(--accent); margin-bottom: .6rem; }
.free__panel h3 { font-size: 1.4rem; }
.free__panel p { color: var(--muted); flex: 1; }
.free__panel .link-arrow { margin-top: .4rem; }
.free__panel--news { background: var(--forest); }
.free__panel--news h3, .free__panel--news { color: var(--cream); }
.free__panel--news p { color: rgba(245,241,236,.8); }
.free__panel--news .free__icon { background: rgba(205,123,98,.25); color: var(--honey); }
.news { display: flex; gap: .5rem; margin-top: .6rem; }
.news input { flex: 1; min-width: 0; padding: .7rem 1rem; border-radius: 999px; border: 1.5px solid rgba(245,241,236,.3);
  background: rgba(251,248,242,.1); color: var(--cream); font-family: var(--sans); font-size: .95rem; }
.news input::placeholder { color: rgba(245,241,236,.5); }
.news input:focus { outline: none; border-color: var(--honey); }
.news .btn--primary { background: var(--honey); color: var(--forest); }

/* masterclass feature */
.masterclass { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); margin-bottom: 1.6rem; }
.masterclass__media { background: linear-gradient(160deg, var(--cream-dark), var(--taupe)); display: grid; place-items: center; padding: 1.8rem; }
.masterclass__media img { width: 100%; height: auto; max-height: 320px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(44,44,38,.22)); }
.masterclass__body { padding: clamp(1.8rem, 3.5vw, 3rem); align-self: center; }
.masterclass__body .kicker { color: var(--honey); }
.masterclass__body h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .7rem; }
.masterclass__body p { color: var(--muted); margin-bottom: 1.4rem; }

/* book/product-style card media sits on a brand surface */
.card__media--pad { background: var(--cream-dark); }

/* ============ VALUES ============ */
.values__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.vcard { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-soft);
  position: relative; transition: transform .4s var(--ease), box-shadow .4s; }
.vcard::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(44,44,38,.06); border-radius: inherit; }
.vcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.vcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.vcard:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .values__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ COMMUNITY GALLERY ============ */
.gallery { padding-block: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.gallery__head { margin-bottom: 2.5rem; max-width: 640px; }
.gallery__track-wrap { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gallery__track { display: flex; gap: 1rem; width: max-content; animation: gallery 48s linear infinite; }
.gallery:hover .gallery__track { animation-play-state: paused; }
.gallery__track img { height: clamp(240px, 32vw, 360px); width: auto; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-soft); }
@keyframes gallery { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ TESTIMONIALS ============ */
.testi { background: var(--cream-dark); }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.9rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; position: relative; }
.quote::before { content: "\201C"; font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--honey); opacity: .5; height: 2rem; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 1.3rem; line-height: 1.4; color: var(--ink); font-style: italic; }
.quote figcaption { display: flex; flex-direction: column; }
.quote figcaption strong { color: var(--forest); font-size: 1rem; }
.quote figcaption span { font-size: .85rem; color: var(--muted); }
.quote--photo { padding: 0; overflow: hidden; border: 0; }
.quote--photo::before { display: none; }
.quote--photo img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.quote--photo figcaption { position: absolute; inset: auto 0 0 0; padding: 1.4rem; background: linear-gradient(transparent, rgba(44,44,38,.85));
  color: var(--cream); font-family: var(--display); font-style: italic; font-size: 1.1rem; }

/* ============ ABOUT ============ */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { position: relative; }
.about__photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--sage) 0%, var(--forest) 100%); display: grid; place-items: center; box-shadow: var(--shadow); }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__initial { font-family: var(--display); font-size: 9rem; color: rgba(245,241,236,.35); font-style: italic; }
.about__stats { display: flex; gap: 1rem; margin-top: 1.4rem; }
.about__stats div { flex: 1; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1rem .6rem; }
.about__stats strong { display: block; font-family: var(--display); font-size: 1.8rem; color: var(--forest); }
.about__stats span { font-size: .82rem; color: var(--muted); }
.about__content p { font-size: 1.1rem; margin-bottom: 1.1rem; }
.about__content .link-arrow { margin-top: .6rem; }

/* ============ CTA ============ */
.cta { background: var(--forest); color: var(--cream); text-align: center; }
.cta__inner { max-width: 700px; margin-inline: auto; }
.cta h2 { color: var(--cream); font-size: clamp(2rem, 5vw, 3.2rem); }
.cta p { margin-top: 1rem; font-size: 1.18rem; color: rgba(245,241,236,.82); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.2rem; }
.cta__actions .btn--primary { background: var(--honey); color: var(--forest); }
.cta__actions .btn--primary:hover { background: #d98e73; }
.cta__actions .btn--ghost { color: var(--cream); border-color: rgba(245,241,236,.4); }
.cta__actions .btn--ghost:hover { border-color: var(--cream); background: rgba(245,241,236,.1); }

/* ============ FOOTER ============ */
.footer { background: var(--charcoal); color: var(--cream-dark); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer .brand { font-size: 1.7rem; color: var(--cream); }
.footer__brand p { margin-top: 1rem; color: rgba(245,241,236,.6); font-size: .98rem; }
.footer__col { display: flex; flex-direction: column; gap: .7rem; }
.footer__col h4 { color: var(--cream); font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .3rem; font-weight: 600; }
.footer__col a { color: rgba(245,241,236,.65); font-size: .96rem; transition: color .25s; }
.footer__col a:hover { color: var(--honey); }
.footer__bar { border-top: 1px solid rgba(245,241,236,.12); }
.footer__bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; padding-block: 1.4rem; font-size: .88rem; color: rgba(245,241,236,.5); }
.footer__legal a:hover { color: var(--honey); }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ POLISH ============ */
/* offset anchor jumps so headings aren't hidden under the fixed nav */
section[id] { scroll-margin-top: 88px; }

/* visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px;
}

/* gentle background rhythm: warm linen (free) -> cool sage-cream (testimonials) */
.testi { background: color-mix(in srgb, var(--sage) 13%, var(--cream)); }

/* soft warm halo behind the About portrait + a signature */
.about__media { position: relative; }
.about__media::before { content: ""; position: absolute; z-index: 0; width: 62%; aspect-ratio: 1; border-radius: 50%;
  top: -7%; left: -11%; filter: blur(34px); pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--amber) 50%, transparent), transparent 70%); }
.about__photo { position: relative; z-index: 1; }
.about__sign { font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--forest); margin: .2rem 0 1.1rem; }

/* podcast chips */
.free__btns { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.chip { font-size: .85rem; font-weight: 600; padding: .45rem .95rem; border-radius: 999px; border: 1.5px solid var(--line);
  color: var(--forest); transition: border-color .25s, color .25s, background .25s, transform .25s var(--ease); }
.chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* button press feedback */
.btn:active { transform: translateY(0) scale(.985); }

/* editorial line-breaking */
h1, h2, h3 { text-wrap: balance; }
.section__sub, .hero__lede, .lib__desc, p { text-wrap: pretty; }

/* slow cinematic zoom on the hero (motion-safe) */
@media (prefers-reduced-motion: no-preference) {
  .hero__bgimg { animation: kenburns 26s ease-in-out infinite alternate; will-change: transform; }
}
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.11); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav__links, .nav .btn--small { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--cream); padding: 1.2rem clamp(1.2rem,4vw,2.5rem) 1.8rem; gap: 1.1rem; box-shadow: var(--shadow-soft); border-top: 1px solid var(--line); }
  .nav.open .nav__links a { color: var(--body); }
  .nav.open .nav__toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); background: var(--ink); }
  .nav.open .nav__toggle span:nth-child(2){ opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

  .world__grid, .coaching__card, .about__grid { grid-template-columns: 1fr; }
  .cards, .free__grid, .testi__grid { grid-template-columns: repeat(2, 1fr); }
  .masterclass { grid-template-columns: 1fr; }
  .masterclass__media img { max-height: 240px; }
  .testi .quote--photo { grid-column: span 2; min-height: 200px; }
  .coaching__media { min-height: 340px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cards, .free__grid, .testi__grid { grid-template-columns: 1fr; }
  .testi .quote--photo { grid-column: auto; }
  .about__stats { flex-wrap: wrap; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}
