/* ===== Build Your Glow — sunshine / cellular-health / "it starts with yellow" ===== */
:root {
  --yellow:   #FFC700;
  --yellow-d: #F5A800;
  --amber:    #FF9F1C;
  --orange:   #FF7A1A;
  --sun-glow: #FFE066;
  --sun-pale: #FFF3C4;
  --cream:    #FFFDF5;
  --honey:    #FFF8E6;
  --ink:      #2A2208;
  --ink-soft: #6E6234;
  --white:    #ffffff;
  --shadow:   0 18px 50px rgba(245, 168, 0, 0.18);
  --shadow-sm:0 8px 24px rgba(245, 168, 0, 0.12);
  --radius:   22px;
  --grad:     linear-gradient(120deg, var(--sun-glow) 0%, var(--yellow) 45%, var(--amber) 100%);
  --grad-deep:linear-gradient(120deg, var(--yellow-d) 0%, var(--orange) 100%);
  --serif:    'Playfair Display', Georgia, serif;
  --sans:     'Poppins', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
em { font-style: italic; }
strong { font-weight: 600; color: var(--ink); }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.2rem, 5vw, 3.5rem);
  background: rgba(255, 253, 245, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sun-pale);
}
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand span { background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.nav-links { display: flex; align-items: center; gap: clamp(0.8rem, 2.5vw, 1.8rem); }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 400; transition: color .2s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta { background: var(--grad); color: var(--ink) !important; padding: 0.55rem 1.1rem; border-radius: 100px; font-weight: 600 !important; box-shadow: var(--shadow-sm); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; cursor: pointer; border: none;
  background: var(--grad); color: var(--ink);
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 0.95rem 2rem; border-radius: 100px; text-decoration: none;
  box-shadow: 0 12px 28px rgba(255, 159, 28, 0.38);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 122, 26, 0.5); }
.btn-lg { font-size: 1.1rem; padding: 1.1rem 2.6rem; }
.btn-block { width: 100%; }
.btn-ghost {
  display: inline-block; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem;
  padding: 0.95rem 1.2rem; border-bottom: 2px solid var(--yellow); transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--orange); border-color: var(--orange); }

/* ===== HERO (real Nebraska prairie sunset photo) ===== */
.hero {
  position: relative; overflow: hidden;
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) 1.5rem clamp(7rem, 16vw, 11rem);
  /* photo of a Nebraska cornfield sunset, with a warm scrim layered on top:
     lightens the sky behind the copy and melts the bottom into the cream page */
  background-image:
    linear-gradient(180deg,
      rgba(255,253,245,0.40) 0%,
      rgba(255,250,236,0.18) 24%,
      rgba(255,247,224,0.20) 50%,
      rgba(255,250,238,0.66) 80%,
      var(--cream) 100%),
    url("assets/hero-sunset.jpg");
  background-size: cover, cover;
  background-position: center 46%, center 46%;
  background-repeat: no-repeat, no-repeat;
}
.hero-inner { position: relative; z-index: 4; max-width: 800px; margin: 0 auto; }
/* soft cream halo behind the copy so nothing is lost against the bright sky */
.hero-inner::before {
  content: ""; position: absolute; z-index: -1; inset: -12% -9%;
  background: radial-gradient(ellipse at 50% 48%,
    rgba(255,252,242,0.92) 0%, rgba(255,252,242,0.74) 40%, rgba(255,252,242,0.28) 66%, rgba(255,252,242,0) 80%);
  filter: blur(10px); pointer-events: none;
}
/* soft fade at the very bottom so the photo melts seamlessly into the page below */
.hero::after {
  content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  height: 9rem;
  background: linear-gradient(180deg, rgba(255,253,245,0) 0%, var(--cream) 100%);
  pointer-events: none;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem;
  font-weight: 600; color: var(--yellow-d); margin-bottom: 1.2rem;
}
/* keep hero copy crisp against the brighter sky — darker small print + halo so it
   never blends into the yellow/orange */
.hero .eyebrow { color: #B36A00; text-shadow: 0 1px 12px rgba(255, 253, 245, 0.95); }
.hero .tagline { color: #4a3d10; text-shadow: 0 1px 14px rgba(255, 253, 245, 0.95); }
.hero .micro { color: #5a4d18; font-weight: 400; text-shadow: 0 1px 10px rgba(255, 253, 245, 0.95); }
/* lift the CTA buttons off the yellow so they never blend in */
.hero .btn {
  box-shadow: 0 14px 30px rgba(214, 122, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  border: 1px solid rgba(245, 168, 0, 0.55);
}
.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.55); border-radius: 100px;
  border-bottom: 2px solid var(--orange); padding: 0.9rem 1.4rem;
  backdrop-filter: blur(2px);
}
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.4rem); margin-bottom: 1.4rem; }
.hero h1 .grad { background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.tagline { font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: var(--ink-soft); max-width: 640px; margin: 0 auto 2.2rem; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.micro { font-size: 0.85rem; color: var(--ink-soft); margin-top: 1rem; }
.micro.center, .center { text-align: center; }

/* ===== SECTIONS ===== */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 1.5rem; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.kicker {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  font-weight: 600; color: var(--amber); margin-bottom: 0.7rem;
}
.section h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.2rem; }
.sub { color: var(--ink-soft); max-width: 640px; margin: 0 auto 2.8rem; font-size: 1.05rem; }
.center { text-align: center; }

/* ===== WHY-YELLOW STRIP ===== */
.strip { background: var(--white); padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.strip-item { display: flex; gap: 1rem; align-items: flex-start; }
.strip-num {
  flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--grad); color: var(--ink); font-weight: 700; font-family: var(--serif);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.strip-item p { color: var(--ink-soft); font-size: 0.98rem; }

/* ===== EDUCATION GRID ===== */
.edu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.edu-card {
  background: var(--honey); border-radius: var(--radius); padding: 2rem 2rem 2.1rem;
  border: 1px solid var(--sun-pale); border-left: 5px solid var(--yellow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.edu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-left-color: var(--orange); }
.edu-icon { font-size: 2.1rem; margin-bottom: 0.7rem; }
.edu-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--ink); }
.edu-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ===== FEATURED NUGGET ===== */
.nugget-feature { background: var(--grad); }
.nugget-inner { max-width: 880px; text-align: center; }
.nugget-tag {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem;
  font-weight: 700; color: var(--ink); background: rgba(255,255,255,0.55);
  padding: 0.35rem 1rem; border-radius: 100px; margin-bottom: 1.4rem;
}
.nugget-feature h2 { font-size: clamp(1.7rem, 4.2vw, 2.8rem); color: var(--ink); margin-bottom: 1.2rem; }
.nugget-sub { color: #4a3d10; font-size: 1.1rem; max-width: 720px; margin: 0 auto; }

/* ===== PILLARS ===== */
.pillars { background: var(--cream); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.pillar {
  background: var(--white); border-radius: var(--radius); padding: 2.2rem 1.8rem; text-align: center;
  border: 1px solid var(--sun-pale); transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-icon { font-size: 2.6rem; margin-bottom: 0.8rem; }
.pillar h3 { font-size: 1.5rem; margin-bottom: 0.6rem; color: var(--yellow-d); }
.pillar p { color: var(--ink-soft); font-size: 0.98rem; }

/* ===== DID-YOU-KNOW BAND ===== */
.band { background: var(--ink); color: var(--cream); }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
.band-fact { text-align: center; }
.band-stat {
  display: block; font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 3.8rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 0.6rem; font-weight: 700;
}
.band-fact p { color: rgba(255,253,245,0.78); font-size: 0.98rem; max-width: 300px; margin: 0 auto; }
.band-fact strong { color: var(--sun-glow); }

/* ===== OFFER / FORM ===== */
.offer { background: radial-gradient(120% 120% at 0% 0%, var(--sun-pale), var(--cream)); }
.offer-card {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem);
  background: var(--white); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow); align-items: center;
}
.offer-card h2 { color: var(--ink); }
.offer-lead { color: var(--ink-soft); margin-bottom: 1.1rem; }
.checks { list-style: none; margin: 1.2rem 0; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: 0.7rem; color: var(--ink-soft); }
.checks li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--grad-deep); color: var(--white);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
}
.offer-sub { font-weight: 500; color: var(--ink); }
.lead-form { display: flex; flex-direction: column; gap: 1rem; }
.lead-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.lead-form label em { color: var(--ink-soft); font-weight: 400; }
.lead-form input {
  font-family: var(--sans); font-size: 1rem; padding: 0.85rem 1rem;
  border: 1.5px solid var(--sun-pale); border-radius: 12px; background: var(--honey); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.lead-form input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255,159,28,0.16); }
.lead-form .btn { margin-top: 0.4rem; }
.hp { position: absolute; left: -9999px; }

/* ===== VIDEOS ===== */
.stories { background: var(--white); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.video-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); border: 1px solid var(--sun-pale); }
/* Landscape by default (normal YouTube/Vimeo clips); portrait only when marked
   (Shorts / phone recordings). Frames never crop the video now. */
.video-frame { position: relative; aspect-ratio: 16/9; background: var(--ink); }
.video-card.is-portrait .video-frame { aspect-ratio: 9/16; max-height: 70vh; margin: 0 auto; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.video-meta { padding: 1rem 1.2rem; }
.video-meta h4 { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: 0.2rem; }
.video-meta p { font-size: 0.88rem; color: var(--ink-soft); }
.empty-note { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); padding: 2rem; border: 2px dashed var(--sun-pale); border-radius: var(--radius); }
/* Written testimonial (no video) */
.quote-card { display: flex; flex-direction: column; background: var(--honey); }
.quote-card .quote-body { flex: 1; padding: 1.6rem 1.4rem 0.4rem; position: relative; }
.quote-card .quote-mark { font-family: var(--serif); font-size: 3.2rem; line-height: 0; color: var(--yellow); display: block; height: 1.4rem; }
.quote-card .quote-body p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.4; color: var(--ink); }
.quote-card .video-meta h4 { font-size: 1rem; }

/* ===== BLOG ===== */
.blog { background: var(--honey); position: relative; overflow: hidden; }
.blog::before {
  content: ''; position: absolute; top: -140px; right: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,199,0,0.18) 0%, rgba(255,199,0,0) 70%);
  pointer-events: none;
}
.post-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem;
  grid-auto-rows: 1fr; position: relative;
}
/* lead post spans full width, laid out side-by-side */
.post-card--featured { grid-column: 1 / -1; }
.post-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--sun-pale); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(245,168,0,0.4); }
.post-card--featured { flex-direction: row; }
.post-card--featured .post-thumb { flex: 0 0 44%; aspect-ratio: auto; }
.post-card--featured .post-body { justify-content: center; padding: 2.4rem 2.6rem; }
.post-card--featured .post-body h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.post-card--featured .post-body p { font-size: 1.02rem; }

/* thumbnail: image when present, else a decorative sun-glow motif */
.post-thumb {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: var(--grad); display: grid; place-items: center;
  /* per-card hue rotation so image-less cards read as distinct, not identical */
  filter: hue-rotate(calc(var(--i, 0) * 24deg));
}
.post-thumb-glow {
  position: absolute; width: 150%; height: 150%; top: -25%; left: -25%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 45%);
  pointer-events: none;
}
.post-thumb-mark {
  font-family: var(--serif); font-size: clamp(3.5rem, 9vw, 6rem); font-weight: 700; font-style: italic;
  color: rgba(255,255,255,0.6); text-shadow: 0 4px 18px rgba(245,168,0,0.35);
  line-height: 1; transform: translateY(-2px); transition: transform .3s ease;
}
.post-card:hover .post-thumb-mark { transform: translateY(-2px) scale(1.06); }

.post-body { padding: 1.5rem 1.6rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.post-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.post-date { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--amber); font-weight: 600; }
.post-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sun-pale); }
.post-read { font-size: 0.74rem; letter-spacing: 0.04em; color: var(--ink-soft); font-weight: 500; }
.post-body h3 { font-size: 1.32rem; margin-bottom: 0.55rem; color: var(--ink); }
.post-body p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; flex: 1; }
.link-arrow {
  align-self: flex-start; margin-top: 1.1rem; color: var(--orange); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--yellow); padding-bottom: 2px; transition: color .2s, border-color .2s, gap .2s;
}
.link-arrow:hover { color: var(--yellow-d); border-color: var(--orange); }

/* ===== WORK WITH ME / CONNECT ===== */
.connect { background: var(--honey); }
.connect-card {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem);
  background: var(--white); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow); align-items: center;
}
.connect-card h2 { color: var(--ink); }
.connect-lead { color: var(--ink-soft); margin-bottom: 1.1rem; }
.connect-book { margin: 0.4rem 0 1.1rem; }
.connect-sub { font-weight: 500; color: var(--ink); }

/* ===== FINAL CTA ===== */
.final-cta { background: var(--grad-deep); color: var(--white); }
.final-cta h2 { color: var(--white); font-size: clamp(2.2rem, 6vw, 3.4rem); }
.final-cta .sub { color: rgba(255,255,255,0.95); }
.final-cta .btn { background: var(--white); color: var(--orange); box-shadow: 0 12px 28px rgba(0,0,0,0.2); }
.final-cta .hero-cta { margin-top: 1.6rem; }
.final-cta .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.7); }
.final-cta .btn-ghost:hover { color: var(--white); border-color: var(--white); }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: var(--cream); padding: 2.5rem 1.5rem; text-align: center; }
.footer .brand { color: var(--cream); display: block; margin-bottom: 0.6rem; }
.footer .brand span { -webkit-text-fill-color: initial; }
.footer .micro { color: rgba(255,253,245,0.55); max-width: 640px; margin: 0 auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .offer-card { grid-template-columns: 1fr; }
  .strip-inner, .edu-grid, .pillar-grid, .video-grid, .post-grid, .band-grid { grid-template-columns: 1fr; }
  .edu-grid { gap: 1.2rem; }
  .post-card--featured { flex-direction: column; }
  .post-card--featured .post-thumb { flex: none; aspect-ratio: 16/10; }
  .post-card--featured .post-body { padding: 1.5rem 1.6rem 1.8rem; }
}
@media (max-width: 620px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-cta { flex-direction: column; gap: 0.8rem; }
}

/* ===== BLOG ARTICLE PAGE (post.html) ===== */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 2.4rem 1.3rem 4.5rem; }
.article-loading { color: var(--ink-soft); text-align: center; padding: 3rem 0; }
.article-back { display: inline-block; font-weight: 500; font-size: 0.9rem; color: var(--orange); text-decoration: none; margin-bottom: 1.6rem; }
.article-back:hover { color: var(--yellow-d); }
.post-article { background: var(--white); border: 1px solid var(--sun-pale); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 2.6rem 2.6rem 3rem; }
.article-head { border-bottom: 1px solid var(--sun-pale); padding-bottom: 1.4rem; margin-bottom: 1.8rem; }
.article-head h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); margin: 0.5rem 0 0.7rem; }
.article-lede { font-size: 1.12rem; color: var(--ink-soft); line-height: 1.6; }
.article-hero { width: 100%; border-radius: var(--radius); margin-bottom: 1.8rem; display: block; }

/* Rendered article body — shared feel with the admin editor preview */
.article-body { font-size: 1.12rem; line-height: 1.8; color: var(--ink); }
.article-body p { margin: 0 0 1.15rem; }
.article-body h2 { font-size: 1.7rem; margin: 2rem 0 0.7rem; }
.article-body h3 { font-size: 1.32rem; margin: 1.6rem 0 0.5rem; }
.article-body a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--yellow-d); }
.article-body ul, .article-body ol { margin: 0 0 1.15rem 1.4rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body img { max-width: 100%; border-radius: 14px; }
/* Big WordPress-style pull-quote */
.article-body blockquote {
  margin: 2rem 0; padding: 1.2rem 1.6rem;
  border-left: 5px solid var(--yellow);
  background: var(--honey); border-radius: 0 16px 16px 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem); line-height: 1.4; color: var(--ink);
}
.article-body blockquote p { margin: 0; }

.article-foot { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; margin-top: 2.2rem; }
.article-missing { text-align: center; padding: 3rem 1rem; }
.article-missing h1 { font-size: 2rem; margin-bottom: 0.6rem; }
.article-missing p { color: var(--ink-soft); margin-bottom: 1.6rem; }

@media (max-width: 620px) {
  .post-article { padding: 1.6rem 1.4rem 2rem; }
}
