/*
Theme Name:        Tyke & Tina Adventures
Theme URI:         https://tykeandtinaadventures.com
Author:            Tyke & Tina Adventures
Description:       Custom WordPress theme for Tyke & Tina Adventures — slow travel, early retirement, life design. Converted 1:1 from the static site.
Version:           1.0.0
Requires at least: 6.0
Requires PHP:      7.4
License:           GPL v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       tyke-tina
*/
/* =====================================================================
   Tina Â· Financially Free â€” modern landing-page stylesheet
   Palette: deep evergreen + warm cream + gold accent
   ===================================================================== */

:root {
  /* Brand */
  --c-bg:        #f7f3ec;   /* warm cream */
  --c-bg-2:      #efe8da;
  --c-ink:       #1a2520;   /* near-black */
  --c-ink-soft:  #4a554f;
  --c-line:      #d8cfbc;
  --c-card:      #ffffff;
  --c-card-soft: #fbf7ee;
  --c-brand:     #1f3d34;   /* deep evergreen */
  --c-brand-2:   #2d5a47;
  --c-accent:    #c89b3c;   /* warm gold */
  --c-accent-2:  #e9c46a;
  --c-success:   #4a7c59;

  /* Type */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Sizing */
  --radius:    18px;
  --radius-sm: 12px;
  --shadow-s:  0 2px 8px rgba(26,37,32,.06);
  --shadow-m:  0 10px 30px rgba(26,37,32,.10);
  --shadow-l:  0 30px 60px -20px rgba(26,37,32,.25);
  --container: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --c-bg:        #11181a;
    --c-bg-2:      #0e1416;
    --c-ink:       #ecedea;
    --c-ink-soft:  #b4bbb6;
    --c-line:      #233030;
    --c-card:      #1a2326;
    --c-card-soft: #16201f;
    --c-brand:     #d6c79a;
    --c-brand-2:   #c89b3c;
    --c-accent:    #e9c46a;
    --c-accent-2:  #f3d791;
    --shadow-s:    0 2px 8px rgba(0,0,0,.4);
    --shadow-m:    0 10px 30px rgba(0,0,0,.5);
    --shadow-l:    0 30px 60px -20px rgba(0,0,0,.6);
  }
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (min-width: 720px) { .container { padding: 0 40px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ----- Typography ----- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.01em; color: var(--c-ink); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.1; }
h3 { font-size: 1.25rem; line-height: 1.3; }
h4 { font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink-soft); font-family: var(--f-sans); font-weight: 600; }

.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-brand-2); font-weight: 600;
}
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--c-accent); } }
.accent {
  background: linear-gradient(120deg, var(--c-brand-2), var(--c-accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .65rem 1.1rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 1.5px solid transparent;
}
.btn--lg  { padding: .9rem 1.6rem; font-size: 1rem; }
/* All primary CTAs share the same sunset-orange gradient â€” Buy now on
   product cards, the hero "Explore Resources", story "Start your adventure",
   nav CTA, and the community-CTA button. Warmer / softer than the original
   neon orange; reads "sunset on the road" rather than "highlighter". */
.btn--primary {
  background: linear-gradient(180deg, #f9a04a 0%, #f28c28 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 0 #b65d12, 0 6px 14px rgba(242, 140, 40, .25);
}
.btn--primary:hover  { filter: brightness(1.05); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 1px 0 #b65d12, 0 3px 8px rgba(242, 140, 40, .25); }
.btn--primary:focus-visible { outline: 3px solid #ffd9a0; outline-offset: 2px; }
/* Ghost button lives in the navy navbar â€” white outline + white text. */
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.32);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn--quiet {
  background: transparent; color: var(--c-ink);
}
.btn--quiet:hover { color: var(--c-brand-2); }

/* ----- NAV -----
   Deep luxury-navy bar. Same color as the footer so the page is "framed"
   in navy top + bottom, with the cream content between them. Translucent
   when at the top of the page, opaque after scrolling. */
:root {
  /* Page-level navy token reused by nav, footer, and a few accents below. */
  --c-navy:    #15244d;
  --c-navy-2:  #1a2e5e;
  --c-navy-3:  #243b75;   /* lighter line for borders / link hover */
  --c-yellow:  #f0b929;   /* sun yellow â€” same as community CTA */
}

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--c-navy) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  color: #fff;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled {
  border-bottom-color: rgba(255,255,255,.10);
  background: var(--c-navy);
}
.nav__inner {
  /* 3-column grid: brand on the left, nav links truly centered in the
     middle, CTAs (YouTube + Explore) on the right. */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  /* Taller now so the circular portrait mark has breathing room. */
  height: 92px;
}

/* Brand â€” two-line stack (name on top, "Retire Your Way" tagline below).
   The mark on the left is now a circular portrait crop. */
.brand {
  display: inline-flex; align-items: center; gap: .9rem; color: inherit;
  justify-self: start;     /* hug the left edge in the grid */
}
.brand__mark {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--c-yellow); color: var(--c-navy);
  font-family: var(--f-display); font-weight: 700; font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
/* Photo variant â€” a round portrait with a yellow ring. Slightly bigger
   than the square mark so the faces are recognizable at navbar size. */
.brand__mark--photo {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--c-navy);
  padding: 0;
  overflow: hidden;
  /* Yellow ring around the photo, plus a soft drop shadow. */
  box-shadow:
    0 0 0 3px var(--c-yellow),
    0 6px 14px rgba(0,0,0,.35);
}
.brand__mark--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Source is already a tight portrait crop of just the couple â€” no
     object-position bias needed; centered cover does the right thing. */
  object-position: center;
  display: block;
}
.brand__text { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-weight: 700;
  font-size: 1.22rem;          /* bumped from 1.02 â€” "Tyke & Tina Adventures" reads bigger */
  color: inherit;
  letter-spacing: -.01em;
}
.brand__sub  {
  color: var(--c-yellow);
  font-family: var(--f-display);
  font-weight: 500;
  font-style: italic;
  font-size: .92rem;           /* bumped from .82 to scale with brand__name */
  letter-spacing: .04em;
  margin-top: 1px;
}

.nav__links {
  display: none;
  gap: 2rem;
  justify-self: center;        /* truly centered in the grid's middle column */
}
.nav__links a {
  color: rgba(255,255,255,.78);
  font-weight: 500; font-size: .95rem;
  transition: color .15s ease;
}
.nav__links a:hover { color: #fff; }

.nav__cta { display: none; gap: .55rem; justify-self: end; align-items: center; }

.nav__toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; padding: 10px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  justify-self: end;
  grid-column: 3;              /* in the 3rd column on mobile (where CTAs would be) */
}
.nav__toggle span {
  display: block; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle { display: none; }
}

/* Mobile menu â€” when toggled, show links stacked under the nav.
   Navy background to match the navbar itself; white link text. */
.nav.is-open .nav__links {
  display: flex; flex-direction: column;
  position: absolute; top: 92px; left: 0; right: 0;
  background: var(--c-navy);
  padding: 1rem 24px 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.10);
  gap: 1rem;
}
.nav.is-open .nav__cta {
  /* Below the links â€” only 3 nav links now (Shop / About / Contact). */
  display: flex; flex-direction: column;
  position: absolute; top: calc(92px + 1rem + 3 * 2rem); left: 0; right: 0;
  background: var(--c-navy);
  padding: 0 24px 1.5rem;
}

/* ----- HERO -----
   Two-column split: copy + CTAs on the left, big tropical photo on the
   right. Warm radial gradients in the bg add a "tropical glow" tint so
   the page reads sun-drenched even before the photo loads. */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 110px) 0 clamp(48px, 7vw, 100px);
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 0%, color-mix(in srgb, var(--c-accent) 22%, transparent), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, color-mix(in srgb, var(--c-brand) 18%, transparent), transparent 60%);
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }

/* Two-column grid when wide enough; stacked vertically on phones. */
.hero--split .hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: none;
}
@media (max-width: 880px) {
  .hero--split .hero__inner { grid-template-columns: 1fr; }
}

.hero__copy { max-width: 580px; }
.hero__title { margin-top: 1rem; }
.hero__sub {
  margin-top: 1.2rem;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--c-ink-soft);
  line-height: 1.55;
}
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }

/* The tropical photo column. The mask-image on the photo itself fades
   the left and bottom edges into the page, so the photo blends in rather
   than sitting on top as a hard-edged rectangle. */
.hero__photo {
  position: relative;
  width: 100%;
  height: clamp(360px, 50vw, 560px);
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* hero-tropical.jpg has been pre-cropped tight on the couple (top 22%
     of trees removed + slight side zoom), so the faces sit close to the
     vertical center now. */
  object-position: center 50%;
  border-radius: 22px;
  /* Soft-fade the LEFT edge (blends into the copy column) and the
     BOTTOM edge (blends into the info-cards section below). Fade zones
     are narrower than before so the photo doesn't go hazy. */
  -webkit-mask-image:
    linear-gradient(90deg,  transparent 0%, #000 9%, #000 100%),
    linear-gradient(180deg, #000        0%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(90deg,  transparent 0%, #000 9%, #000 100%),
    linear-gradient(180deg, #000        0%, #000 90%, transparent 100%);
          mask-composite: intersect;
  filter: saturate(1.05);
}
@media (max-width: 880px) {
  .hero__photo { height: clamp(280px, 60vw, 420px); margin-top: 18px; }
  .hero__photo img {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
  }
}

/* YouTube CTA in the navbar â€” small red pill with the play triangle. */
.btn--yt {
  background: #c4302b;          /* YouTube red */
  color: #fff;
  border: 0;
  font-weight: 600;
  font-size: .92rem;
  padding: .55rem 1rem;
  display: inline-flex; align-items: center; gap: .35rem;
  box-shadow: 0 4px 10px rgba(196, 48, 43, .28);
}
.btn--yt:hover { background: #db3a34; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(196, 48, 43, .36); }

/* Trust line under the hero CTAs â€” small, soft, italic. */
.hero__trust {
  margin-top: 1.1rem;
  font-style: italic;
  color: var(--c-ink-soft);
  font-size: .95rem;
  max-width: 52ch;
  letter-spacing: .005em;
}

/* "See How We Retired Early" â€” quieter ghost-style for the secondary CTA. White-
   ish background pill against the warm cream page so it reads "secondary"
   next to the orange primary. */
.btn--ghost-light {
  background: #fff;
  color: var(--c-ink);
  border: 1.5px solid var(--c-line);
  box-shadow: var(--shadow-s);
}
.btn--ghost-light:hover {
  border-color: var(--c-brand-2);
  color: var(--c-brand);
  transform: translateY(-1px);
  box-shadow: var(--shadow-m);
}

/* ----- INFO CARDS (3-up below the hero) ----- */
.info-cards {
  padding: 0 0 clamp(40px, 6vw, 70px);
  position: relative;
}
.info-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.info-card {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-s);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.info-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c-accent) 50%, var(--c-line));
  box-shadow: var(--shadow-m);
}
.info-card__icon {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c-yellow) 35%, #fff);
  font-size: 22px;
  margin-bottom: 10px;
}
.info-card h3 {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--c-ink);
  letter-spacing: -.005em;
}
.info-card p {
  color: var(--c-ink-soft);
  font-size: .95rem;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 760px) {
  .info-cards__grid { grid-template-columns: 1fr; }
}

/* Shared keyframe â€” used by the in-footer handwritten tagline's heart. */
@keyframes taglinePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

/* ----- Strip ----- */
.strip {
  padding: 24px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
  background: var(--c-bg-2);
}
.strip__inner {
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: center;
  color: var(--c-ink-soft);
}
.strip__label { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.strip__logo {
  font-family: var(--f-display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: .01em; opacity: .65;
}
.strip__logo:hover { opacity: 1; }

/* ----- Section heads ----- */
.section-head { margin: 0 0 2.5rem; max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: .8rem; }
.section-sub { margin-top: .9rem; color: var(--c-ink-soft); font-size: 1.05rem; }
/* Secondary footnote line under .section-sub â€” smaller, softer, italic.
   Used for "Every purchase helps support..." in the Shop heading. */
.section-foot {
  margin-top: .7rem;
  color: var(--c-ink-soft);
  font-size: .92rem;
  font-style: italic;
}

/* ----- Shop / product grid ----- */
.shop { padding: clamp(60px, 8vw, 100px) 0; }
.products {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
/* Free card same size as the paid ones, but pinned alone on row 1 so the
   three paid cards drop to row 2. The remaining row-1 cells stay empty. */
.product--free               { grid-row: 1; }
.product:not(.product--free) { grid-row: 2; }
.product {
  position: relative;
  background: var(--c-card); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  box-shadow: var(--shadow-s);
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); border-color: color-mix(in srgb, var(--c-brand) 35%, var(--c-line)); }

.product__media {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--c1, #2d5a47), var(--c2, #1f3d34));
  display: grid; place-items: center;
  color: #fff;
  overflow: hidden;
}
.product__media::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(0,0,0,.25), transparent 60%);
}
.product__emoji {
  position: relative; font-size: 4.5rem;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.35));
}
.product__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--c-accent); color: #1a2520;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .55rem; border-radius: 999px;
}
.product__badge--new  { background: #fff; color: var(--c-brand); }
.product__badge--free { background: #2faf5a; color: #fff; letter-spacing: .12em; }

/* When the media area holds the real cover photo (instead of an emoji on a
   gradient), drop the gradient background and overlay vignette and let the
   image fill the slot edge-to-edge. */
.product__media--photo { background: #1a2520; }
.product__media--photo::before { display: none; }
.product__photo {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.product__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product__desc { color: var(--c-ink-soft); font-size: .94rem; }
.product__row {
  margin-top: auto; padding-top: 1rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: .8rem;
}
.product__price { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; }
.product__price--free { color: #2faf5a; }

/* Free-download variant of the Buy button â€” green to match the FREE badge,
   acts as an <a> with the native download attribute rather than a Stripe link. */
.product__buy--free {
  background: #2faf5a;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.product__buy--free:hover {
  background: #258548;
  transform: translateY(-1px);
  box-shadow: var(--shadow-m);
}
.product__buy--free:active { transform: translateY(0); }

/* ----- About ----- */
.about { padding: clamp(60px, 8vw, 100px) 0; background: var(--c-bg-2); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
/* Top-align so the channel banner on the right anchors to the top of the
   long-form bio on the left instead of floating mid-paragraph. */
.about__grid { display: grid; gap: 3rem; align-items: start; }
.about__points { list-style: none; margin: 1.5rem 0; display: grid; gap: .7rem; }
.about__points li { display: flex; align-items: center; gap: .7rem; color: var(--c-ink-soft); }
.about__points span {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-success); color: #fff; font-size: .75rem; font-weight: 800;
}
.about__copy h2 { margin: .8rem 0 1.2rem; }
.about__copy p { color: var(--c-ink-soft); max-width: 56ch; margin-bottom: 1.05rem; }
.about__copy .btn { margin-top: 1.2rem; }

/* ---- Story prose treatments ---- */

/* Pull-quote â€” the standout "What if we didn't wait?" line. Editorial italic
   serif with a gold left border so it visually breaks from the body prose. */
.about__copy .story-pullquote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 500;
  color: var(--c-brand-2);
  line-height: 1.25;
  padding: .2rem 0 .2rem 1.1rem;
  border-left: 4px solid var(--c-accent);
  margin: 1.6rem 0 1.6rem;
  max-width: 56ch;
}

/* Emphasis â€” short, punchy single-sentence beats ("That decision changed
   everything." / "We simply chose a different path."). Slightly bigger,
   semibold, brand color to feel like a beat in the storytelling. */
.about__copy .story-emphasis {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--c-brand);
  margin: 1.4rem 0;
  max-width: 56ch;
}

/* The "We're not millionaires / not trust fund babies / didn't win it
   overnight" triplet â€” slightly indented, italic, tighter spacing so they
   read as three rapid beats before the punch line. */
.about__copy .story-disclaim {
  margin: 1.4rem 0;
  padding-left: 1rem;
  border-left: 2px dashed var(--c-line);
}
.about__copy .story-disclaim p {
  font-style: italic;
  margin: 0 0 .35rem;
  color: var(--c-ink-soft);
}
.about__copy .story-disclaim p:last-child { margin-bottom: 0; }

/* Closing welcome line â€” a soft hero moment to end the bio on. */
.about__copy .story-welcome {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 600;
  color: var(--c-brand);
  margin: 1.8rem 0 1.4rem;
  letter-spacing: -0.01em;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(140% 80% at 0% 0%, rgba(201,155,60,.55), transparent 60%),
    linear-gradient(160deg, #1f3d34, #0d1c18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-l);
  overflow: hidden;
  display: grid; place-items: center;
  color: #fff;
  border: 1px solid var(--c-line);
}
.video-frame::after {
  content: ""; position: absolute; inset: 8px; border-radius: calc(var(--radius) - 8px);
  border: 1px dashed rgba(255,255,255,.18); pointer-events: none;
}
.video-frame .play {
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.95); color: var(--c-brand);
  font-size: 1.6rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.video-frame:hover .play { transform: scale(1.05); }
.video-frame__label {
  position: absolute; bottom: 14px; left: 14px;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(0,0,0,.45); padding: .35rem .6rem; border-radius: 999px;
}

/* ----- Top-of-page hero banner section -----
   Wraps the channel banner with breathing room above (nav clearance) and
   below (visual separator before the existing hero text). On wider screens
   the image displays slightly larger via the `--top` modifier below. */
.hero-banner {
  padding: clamp(20px, 3.5vw, 40px) 0 clamp(16px, 2.5vw, 28px);
  animation: bannerFadeIn 0.7s ease-out both;
}
@keyframes bannerFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Stack the channel banner + the two story snapshots vertically in the
   right column. The bio on the left is long, so without these the column
   would feel empty below the YouTube banner. */
.about__video {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Story snapshot photos â€” same rounded card look as the channel banner,
   minus the play badge. Sit under the YouTube banner to fill the column. */
.story-snap {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 36px -16px rgba(26,37,32,.25);
  background: var(--c-bg-2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.story-snap:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 48px -18px rgba(26,37,32,.30);
}
.story-snap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ----- Channel banner (the real YouTube banner image) ----- */
.channel-banner {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;             /* matches the source image exactly */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  border: 1px solid var(--c-line);
  /* The image is the focal point â€” gentle hover lift hints it's clickable. */
  transition: transform .25s ease, box-shadow .25s ease;
}
.channel-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 36px 70px -22px rgba(26,37,32,.32);
}
.channel-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.channel-banner__badge {
  position: absolute;
  bottom: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: .45rem;
  background: #ff0000;              /* official YouTube red */
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .5rem .85rem;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(255,0,0,.35), 0 2px 4px rgba(0,0,0,.25);
  /* Pulse on the parent's hover to draw the eye */
  transition: transform .2s ease, box-shadow .2s ease;
}
.channel-banner:hover .channel-banner__badge {
  transform: scale(1.05);
  box-shadow: 0 10px 22px rgba(255,0,0,.45), 0 2px 4px rgba(0,0,0,.25);
}
.channel-banner__badge svg { display: block; }

/* Top placement gets a slightly more dramatic shadow + a thicker border so
   it reads as a header element, not just a content card. The badge sits
   in the bottom-left here (the image's content is photo-on-left, text-on-
   right, so the badge clears the artwork in the bottom-left corner).
   `max-width` keeps it narrower than the full container â€” the banner reads
   as a focused header rather than spanning edge-to-edge. */
.channel-banner--top {
  max-width: 880px;
  margin: 0 auto;
  border: 0;
  border-radius: 22px;
  box-shadow:
    0 24px 50px -16px rgba(26,37,32,.35),
    0 6px 14px -4px rgba(26,37,32,.18);
}
.channel-banner--top:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 64px -18px rgba(26,37,32,.42),
    0 8px 18px -4px rgba(26,37,32,.22);
}
.channel-banner--top .channel-banner__badge {
  right: auto;
  left: 18px;
  bottom: 18px;
  font-size: .9rem;
  padding: .6rem 1rem;
}

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.05fr .95fr; }
}

/* ----- Tools / newsletter ----- */
.tools { padding: clamp(60px, 8vw, 100px) 0; }
.newsletter {
  display: flex; flex-wrap: wrap; gap: .6rem;
  max-width: 520px; margin: 1.6rem auto 0;
  background: var(--c-card); border: 1px solid var(--c-line);
  padding: .5rem; border-radius: 999px;
  box-shadow: var(--shadow-s);
}
.newsletter input {
  flex: 1 1 220px; min-width: 0;
  padding: .8rem 1rem; border: 0; outline: 0;
  background: transparent; color: var(--c-ink); font-size: .98rem;
}
.newsletter input::placeholder { color: color-mix(in srgb, var(--c-ink-soft) 80%, transparent); }
.newsletter__hint {
  text-align: center; color: var(--c-ink-soft); font-size: .85rem;
  margin-top: .8rem;
}

/* ----- Community CTA (newsletter hero, "Your best retirement starts here.") -----
   Hero-style section above the footer. Uses navy + royal-blue + sun-yellow
   palette locally to stand out from the evergreen+gold elsewhere â€” matches
   the look of swap.jpg. */
.cta-community {
  --cta-navy:    #1f3a6b;        /* deep navy for serif headline + bold accents */
  --cta-blue:    #2e62c8;        /* royal blue script + email icon */
  --cta-yellow:  #f0b929;        /* warm sun-yellow for icons, dashes, swoosh */
  --cta-orange:  #f28c28;        /* sunset/travel-orange button â€” warmer than neon */
  --cta-orange-d:#b65d12;        /* button base shadow */
  --cta-text:    #43526e;        /* body copy color, softer than navy */

  background: var(--c-card-soft);
  padding: clamp(56px, 9vw, 110px) 0;
  position: relative;
}
.cta-community__inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

/* Top community-with-heart icon */
.cta-community__icon {
  display: block;
  color: var(--cta-yellow);
  width: 64px;
  height: 56px;
  margin-bottom: 18px;
}
.cta-community__icon svg { width: 100%; height: 100%; display: block; }

/* Eyebrow with side-dashes */
.cta-community__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-sans, Inter, sans-serif);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cta-navy);
  margin: 0 0 26px;
}
.cta-community__eyebrow .dash {
  display: inline-block;
  width: 38px;
  height: 4px;
  background: var(--cta-yellow);
  border-radius: 999px;
}

/* The headline â€” first line in deep navy serif, second line in royal-blue
   script with a yellow underline swoosh. Tight letter-spacing on the serif. */
.cta-community__headline {
  font-family: var(--f-display, Fraunces, Georgia, serif);
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1.04;
  margin: 0 0 22px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.cta-community__serif {
  color: var(--cta-navy);
  display: inline;
}
.cta-community__script {
  font-family: "Dancing Script", cursive;
  color: var(--cta-blue);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0;
  display: inline-block;
  position: relative;
  padding: 0 .1em 0 .15em;
  white-space: nowrap;
}
/* Yellow swoosh under "starts here" */
.cta-community__script::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 14%;
  bottom: 0.18em;
  height: .14em;
  background: var(--cta-yellow);
  border-radius: 999px;
  z-index: -1;
}
.cta-community__period { color: var(--cta-navy); }

.cta-community__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--cta-text);
  max-width: 58ch;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.cta-community__sub strong { color: var(--cta-navy); font-weight: 700; }

/* Pill-shaped form: white container, envelope+input on left, orange button on right. */
.cta-community__form {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 999px;
  padding: 8px;
  width: 100%;
  max-width: 640px;
  gap: 8px;
  box-shadow: 0 10px 26px rgba(31, 58, 107, .10);
  margin-bottom: 26px;
}
.cta-community__field {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 12px;
  min-width: 0;
}
.cta-community__field-icon {
  width: 22px; height: 22px;
  color: var(--cta-blue);
  flex: 0 0 auto;
}
.cta-community__field input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--f-sans, Inter, sans-serif);
  font-size: 1rem;
  color: var(--cta-navy);
  padding: 14px 0;
  min-width: 0;
}
.cta-community__field input::placeholder { color: #93a3c3; }

.cta-community__btn {
  position: relative;
  background: linear-gradient(180deg, #f9a04a, var(--cta-orange));
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--f-sans, Inter, sans-serif);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .01em;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .08s, filter .15s, box-shadow .15s;
  box-shadow: 0 3px 0 var(--cta-orange-d), 0 6px 14px rgba(242, 140, 40, .25);
}
.cta-community__btn svg { width: 20px; height: 20px; }
.cta-community__btn:hover  { filter: brightness(1.05); }
.cta-community__btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--cta-orange-d), 0 3px 8px rgba(242, 140, 40, .25); }
.cta-community__btn:focus-visible { outline: 3px solid #ffd09a; outline-offset: 2px; }

/* Sparkle/burst over the top-right of the button */
.cta-community__sparkle {
  position: absolute;
  top: -10px; right: -10px;
  width: 26px; height: 26px;
  color: var(--cta-yellow);
  pointer-events: none;
  animation: ctaSparkle 2.6s ease-in-out infinite;
}
.cta-community__sparkle svg { width: 100%; height: 100%; }
@keyframes ctaSparkle {
  0%, 100% { transform: scale(1)   rotate(0); opacity: .85; }
  50%      { transform: scale(1.15) rotate(10deg); opacity: 1; }
}

/* Stack form vertically on phones */
@media (max-width: 620px) {
  .cta-community__form {
    flex-direction: column;
    border-radius: 22px;
    padding: 10px;
  }
  .cta-community__field { padding: 6px 14px; }
  .cta-community__btn { width: 100%; justify-content: center; }
  .cta-community__sparkle { top: -14px; right: 8px; }
}

/* Trust badges row */
.cta-community__trust {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 0;
  font-family: var(--f-sans, Inter, sans-serif);
  font-size: .95rem;
  color: var(--cta-text);
}
.cta-community__trust li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 22px;
}
.cta-community__trust li + li { border-left: 1px solid #d3d8e3; }
.cta-community__trust svg {
  width: 22px; height: 22px;
  color: var(--cta-yellow);
  flex: 0 0 auto;
}
@media (max-width: 560px) {
  .cta-community__trust li { padding: 4px 12px; }
  .cta-community__trust li + li { border-left: 0; }
}

/* ----- Footer -----
   Deep luxury navy matching the navbar â€” frames the page top and bottom.
   Text is white-with-alpha so the hierarchy still reads (headings opaque
   white, body links softer, fine-print line softest).

   Background is layered: a soft radial warm glow at top-left + a faint
   travel-map-style line texture (inline SVG dataURI) at low opacity. The
   base navy stays dominant; the additions just keep the surface from
   reading "flat". */
.footer {
  padding: 80px 0 32px;
  border-top: 0;
  color: #fff;
  position: relative;
  background-color: var(--c-navy);
  background-image:
    /* Faint travel-route polylines (dotted-line longitudes/latitudes) */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' preserveAspectRatio='none'><g fill='none' stroke='%23f0b929' stroke-width='1' stroke-dasharray='2 6' opacity='0.16'><path d='M0 60 C 120 30 280 120 600 60'/><path d='M0 140 C 180 110 380 200 600 130'/><path d='M0 220 C 150 200 320 270 600 210'/><path d='M0 300 C 200 280 380 350 600 310'/><path d='M50 0 C 80 120 30 260 90 400'/><path d='M180 0 C 220 140 160 280 230 400'/><path d='M340 0 C 380 130 320 270 400 400'/><path d='M500 0 C 540 130 480 270 560 400'/></g><g fill='%23f0b929' opacity='0.22'><circle cx='90' cy='105' r='3'/><circle cx='240' cy='180' r='2.5'/><circle cx='380' cy='90' r='2'/><circle cx='520' cy='260' r='3'/></g></svg>"),
    /* Warm glow at top-left */
    radial-gradient(60% 70% at 12% 0%, rgba(240, 185, 41, 0.10), transparent 60%),
    /* Cool deeper navy at bottom-right */
    radial-gradient(45% 60% at 100% 100%, rgba(0, 0, 0, 0.35), transparent 60%);
  background-repeat: no-repeat;
  background-size: cover, auto, auto;
}
.footer__grid {
  display: grid; gap: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 2.4rem;
}
.footer__grid h4 { margin-bottom: .9rem; color: var(--c-yellow); font-family: var(--f-display); font-weight: 600; }
.footer__grid a {
  display: block; padding: .25rem 0;
  color: rgba(255,255,255,.78); font-size: .94rem;
  transition: color .15s ease;
}
.footer__grid a:hover { color: #fff; }

/* Tiny icon glyph beside each link (used by the Channel column). */
.footer-link__icon {
  display: inline-block;
  width: 1.2em;
  margin-right: 4px;
  color: var(--c-yellow);
  font-size: .92em;
  text-align: center;
  /* Emoji glyphs render in their full color; we tint plain unicode (â–¶ âœ‰)
     with the brand-yellow above. */
}

/* Footer link with a "Coming soon" flag (used on Courses).
   Refined to read as accent, not announcement: smaller, darker gold,
   extra space around it. */
.footer__grid a.has-flag {
  display: inline-flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.coming-soon-flag {
  display: inline-block;
  background: transparent;
  color: #c89b3c;                  /* darker gold than --c-yellow */
  border: 1px solid rgba(200, 155, 60, .55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 999px;
  line-height: 1.5;
  /* Sit a half-step above the link's baseline so it reads as a tag,
     not as inline text. */
  transform: translateY(-1px);
}
.footer__tag { margin-top: .8rem; color: rgba(255,255,255,.65); font-size: .92rem; max-width: 28ch; }

/* Footer brand â€” mirror the nav brand on a navy bg: yellow mark, white
   stacked text, gold tagline. */
.footer .brand { color: #fff; }
.footer .brand__sub { color: var(--c-yellow); }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between;
  padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55); font-size: .85rem;
}

/* Brand column inside the footer â€” slightly wider than the others so the
   stacked name + tagline have breathing room. */
.footer__brand-col { padding-right: 12px; }
.brand--footer {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
}
.brand--footer .brand__name {
  font-family: var(--f-display);
  font-size: 1.15rem;
  letter-spacing: -.005em;
}
.brand--footer .brand__sub {
  margin-top: 2px;
  font-size: .85rem;
  color: var(--c-yellow);
  font-family: var(--f-display);
  font-style: italic;
}

/* Subtle in-footer handwritten tagline â€” sits between the grid and the
   fine-print row. Smaller and quieter than the old standalone tagline
   section it replaced. */
.footer__tagline {
  text-align: center;
  margin: 8px auto 26px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255, 220, 170, 0.16);
}
.footer__tagline-text {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: rgba(255, 220, 170, 0.85);
  letter-spacing: -.005em;
  display: inline-flex; align-items: center; gap: 10px;
}
.footer__tagline-heart {
  font-size: .8em;
  animation: taglinePulse 2.6s ease-in-out infinite;
}

/* ----- Yellow section divider (above the Shop "apps" section) -----
   A subtle horizontal line broken in the middle by a small yellow dot â€”
   reads as an intentional editorial section break, not just a hairline rule. */
.section-divider {
  display: flex; align-items: center; gap: 14px;
  width: min(640px, 86%);
  margin: 0 auto clamp(36px, 6vw, 64px);
}
.section-divider__line {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--c-yellow) 40%, var(--c-yellow));
}
.section-divider__line:last-child {
  background: linear-gradient(90deg, var(--c-yellow), var(--c-yellow) 60%, transparent);
}
.section-divider__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c-yellow);
  box-shadow: 0 0 0 4px rgba(240, 185, 41, .18);
  flex: 0 0 auto;
}
/* Give the Shop section a touch more top breathing room since the divider
   sits at the very top, and the page-level top padding feels tight up
   against it otherwise. */
.shop { padding-top: clamp(40px, 6vw, 70px); }

/* ----- Reveal-on-scroll (set up in main.js) ----- */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----- Toast ----- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px);
  background: var(--c-ink); color: var(--c-bg);
  padding: .85rem 1.1rem; border-radius: 12px;
  font-size: .92rem;
  box-shadow: var(--shadow-l);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .25s ease;
  z-index: 100; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
