/* ================================================
   YINKA BABALOLA — yinkababalola.com
   2026 Rebrand Styles
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --clay:       #7B4F2E;
  --clay-dark:  #5C3820;
  --clay-mid:   #A07040;
  --clay-light: #C4A882;
  --satin:      #F0E4D4;
  --linen:      #E8D8C2;
  --off-white:  #F7F1EA;
  --warm-white: #FBF7F2;
  --dark:       #1A1816;
  --mid:        #6B6560;
  --subtle:     #B0A89E;
  --border:     #E4D8CA;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1180px;
  --side-pad:  clamp(1.5rem, 5vw, 5rem);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--dark);
  background: var(--off-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--side-pad);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: var(--warm-white);
  box-shadow: 0 1px 0 var(--border);
}
.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 52px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
}
.nav__logo .logo-dark  { display: block; }
.nav__logo .logo-linen { display: none; }

/* Over the hero before scroll — show linen version */
.nav:not(.scrolled) .logo-dark  { display: none; }
.nav:not(.scrolled) .logo-linen { display: block; }
.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav__links a:hover,
.nav__links a.active { opacity: 1; }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: transform 0.3s;
}
.nav__mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--warm-white);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav__mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--dark);
}
.nav__mobile.open { display: flex; }
.nav__close {
  position: absolute;
  top: 1.75rem; right: var(--side-pad);
  font-size: 1.5rem;
  color: var(--mid);
  cursor: pointer;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
.display {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.display--clay { color: var(--clay); }
.display--white { color: #fff; }

.headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--dark);
}

.subhead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.625rem);
  font-weight: 400;
  font-style: italic;
  color: var(--clay);
  line-height: 1.4;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-light);
}

.body-text {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--dark);
}
.body-text--mid { color: var(--mid); }

.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--clay);
  line-height: 1.5;
  border-left: 3px solid var(--clay-light);
  padding-left: 1.75rem;
}

/* ================================================
   BUTTONS / CTAs
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  transition: all 0.25s ease;
}
.btn--clay {
  background: var(--clay);
  color: #fff;
}
.btn--clay:hover {
  background: var(--clay-dark);
}
.btn--outline {
  border: 1px solid var(--clay);
  color: var(--clay);
}
.btn--outline:hover {
  background: var(--clay);
  color: #fff;
}
.btn--ghost {
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 0.25rem 0;
  letter-spacing: 0.1em;
}
.btn--ghost:hover {
  border-color: var(--clay);
  color: var(--clay);
}
.btn--white {
  background: #fff;
  color: var(--clay);
}
.btn--white:hover {
  background: var(--satin);
}

/* ================================================
   LAYOUT
   ================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.section {
  padding: clamp(4rem, 8vw, 8rem) var(--side-pad);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section--full {
  padding: clamp(4rem, 8vw, 8rem) var(--side-pad);
}

hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ================================================
   HERO — FULL VIEWPORT
   ================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 24, 22, 0.72) 0%,
    rgba(26, 24, 22, 0.2) 50%,
    rgba(26, 24, 22, 0.05) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--side-pad) clamp(4rem, 8vw, 7rem);
  max-width: 820px;
}
.hero__content .eyebrow {
  color: var(--clay-light);
  margin-bottom: 1.5rem;
}
.hero__content .display {
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero__content .body-text {
  color: rgba(255,255,255,0.8);
  font-size: 1.0625rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* ================================================
   PAGE HERO (interior pages)
   ================================================ */
.page-hero {
  position: relative;
  height: clamp(380px, 55vw, 680px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 24, 22, 0.65) 0%,
    rgba(26, 24, 22, 0.1) 60%,
    transparent 100%
  );
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--side-pad) clamp(3rem, 5vw, 5rem);
}
.page-hero__content .display {
  color: #fff;
  margin-bottom: 0.5rem;
}
.page-hero__content .subhead {
  color: rgba(255,255,255,0.75);
}

/* ================================================
   TEXT SECTIONS
   ================================================ */
.text-block {
  max-width: 680px;
}
.text-block p + p { margin-top: 1.25rem; }
.text-block .pull-quote { margin: 2.5rem 0; }

.text-block--wide { max-width: 820px; }
.text-block--center {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.text-block--center .pull-quote {
  border-left: none;
  padding-left: 0;
  border-top: 2px solid var(--clay-light);
  border-bottom: 2px solid var(--clay-light);
  padding: 1.5rem 0;
}

/* ================================================
   SPLIT SECTIONS (image + text)
   ================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 8rem) var(--side-pad);
  max-width: var(--max-width);
  margin: 0 auto;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image {
  aspect-ratio: 4/5;
  overflow: hidden;
}
/* Landscape (16:9) programme images */
.split__image--landscape {
  aspect-ratio: 16/9;
}
.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.8s ease;
}
.split__image:hover img { transform: scale(1.03); }

.split__text .eyebrow { margin-bottom: 1.25rem; }
.split__text .headline { margin-bottom: 1.5rem; }
.split__text .body-text + .body-text { margin-top: 1.25rem; }
.split__text .pull-quote { margin: 2rem 0; }
.split__text .btn { margin-top: 2rem; }

/* ================================================
   OFFER CARDS
   ================================================ */
.offer-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: clamp(4rem, 6vw, 6rem) 0;
  border-top: 1px solid var(--border);
}
.offer-card:last-child { border-bottom: 1px solid var(--border); }

.offer-card__image {
  width: 100%;
  height: clamp(280px, 42vw, 540px);
  overflow: hidden;
  background: var(--linen);
  margin-bottom: clamp(2rem, 3vw, 3rem);
}
.offer-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.offer-card__body { padding-top: 1rem; }
.offer-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 400;
  color: var(--clay);
  margin-bottom: 1.5rem;
}
.offer-card__body .body-text + .body-text { margin-top: 1rem; }
.offer-card__body .btn { margin-top: 2rem; }

/* Sub-offers (1:1 tiers) */
.tier { margin-top: 1.75rem; }
.tier__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.tier + .tier { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }

/* ================================================
   FULL-WIDTH BAND SECTIONS
   ================================================ */
.band {
  background: var(--satin);
  padding: clamp(4rem, 7vw, 7rem) var(--side-pad);
}
.band--clay {
  background: var(--clay);
  color: #fff;
}
.band--clay .display,
.band--clay .headline,
.band--clay .body-text { color: #fff; }
.band--clay .body-text--mid { color: rgba(255,255,255,0.72); }
.band--clay .btn--white { color: var(--clay); }

.band--dark {
  background: var(--dark);
  color: #fff;
}
.band--dark .display,
.band--dark .headline,
.band--dark .body-text { color: #fff; }
.band--dark .eyebrow { color: var(--clay-light); }
.band--dark .body-text--mid { color: rgba(255,255,255,0.6); }

.band__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.band__inner .headline { margin-bottom: 1.5rem; }
.band__inner .body-text + .body-text { margin-top: 1.25rem; }
.band__inner .btn { margin-top: 2.5rem; }

/* ================================================
   HERO V2 — IMAGE FULL STAGE, TEXT BELOW
   ================================================ */
.hero-v2 {
  background: var(--off-white);
}
.hero-v2__img-wrap {
  position: relative;
  height: 88svh;
  min-height: 560px;
  overflow: hidden;
}
.hero-v2__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.hero-v2__fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to bottom, transparent 0%, var(--off-white) 100%);
  pointer-events: none;
}
.hero-v2__text {
  background: var(--off-white);
  text-align: center;
  padding: clamp(2rem, 4vw, 4rem) var(--side-pad) clamp(3.5rem, 6vw, 6rem);
}
.hero-v2__text .display {
  max-width: 760px;
  margin: 0 auto 1.5rem;
}
.hero-v2__text .subhead {
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ================================================
   IMAGE FULL-WIDTH SECTION
   ================================================ */
.full-img {
  position: relative;
  height: clamp(420px, 55vw, 700px);
  overflow: hidden;
}
.full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.full-img__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26,24,22,0.65) 0%,
    rgba(26,24,22,0.1) 60%,
    transparent 100%
  );
  display: flex;
  align-items: center;
}
.full-img__copy {
  padding: 0 var(--side-pad);
  max-width: 600px;
  color: #fff;
}
.full-img__copy .display { color: #fff; margin-bottom: 1.25rem; }
.full-img__copy .body-text { color: rgba(255,255,255,0.82); margin-bottom: 2rem; }

/* ================================================
   PODCAST SECTION
   ================================================ */
.podcast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  overflow: hidden;
}
.podcast__image {
  position: relative;
  overflow: hidden;
}
.podcast__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.podcast__copy {
  background: var(--dark);
  padding: clamp(3rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.podcast__copy .eyebrow { color: var(--clay-light); margin-bottom: 1.5rem; }
.podcast__copy .headline { color: #fff; margin-bottom: 0.75rem; }
.podcast__copy .subhead { color: var(--clay-light); margin-bottom: 1.75rem; }
.podcast__copy .body-text { color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; }
.podcast__copy .btn { margin-top: 1.5rem; }

/* ================================================
   MINI LIST (offers overview on about)
   ================================================ */
.offer-list {
  list-style: none;
  border-top: 1px solid var(--border);
}
.offer-list li {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.offer-list__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--clay);
  min-width: 180px;
  flex-shrink: 0;
}
.offer-list__desc {
  font-size: 0.9375rem;
  color: var(--mid);
  line-height: 1.6;
}

/* ================================================
   EMAIL / SUBSCRIBE FORM
   ================================================ */
.form-inline {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin-top: 2rem;
}
.form-inline input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-right: none;
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}
.form-inline input::placeholder { color: var(--subtle); }
.form-inline input:focus { border-color: var(--clay-light); }
.form-inline .btn { flex-shrink: 0; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: clamp(3rem, 5vw, 5rem) var(--side-pad);
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.footer__brand .nav__logo { color: rgba(255,255,255,0.85); font-size: 1rem; }
.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
  font-style: italic;
  font-family: var(--font-display);
}
.footer__nav-title {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay-light);
  margin-bottom: 1.25rem;
}
.footer__nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__nav-list a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer__nav-list a:hover { color: rgba(255,255,255,0.9); }
.footer__social {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}
.footer__social a {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer__social a:hover { color: var(--clay-light); }
.footer__bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ================================================
   MARQUEE / TICKER
   ================================================ */
.marquee-wrap {
  overflow: hidden;
  background: var(--clay);
  padding: 1.1rem 0;
  white-space: nowrap;
  cursor: default;
}
.marquee-wrap:hover .marquee-inner { animation-play-state: paused; }

.marquee-inner {
  display: inline-flex;
  gap: 0;
  animation: ticker 28s linear infinite;
}
.marquee-inner span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  font-style: italic;
  color: #fff;
  padding: 0 2rem;
  letter-spacing: 0.02em;
}
.marquee-inner span.dot {
  color: var(--clay-light);
  padding: 0;
  font-style: normal;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Reverse direction variant */
.marquee-wrap--light {
  background: var(--satin);
}
.marquee-wrap--light .marquee-inner {
  animation-direction: reverse;
  animation-duration: 35s;
}
.marquee-wrap--light .marquee-inner span {
  color: var(--clay);
}
.marquee-wrap--light .marquee-inner span.dot {
  color: var(--clay-light);
}

/* ================================================
   CELEBRATION / PLAYFUL SECTION
   ================================================ */
.celebration {
  position: relative;
  height: clamp(500px, 60vw, 720px);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.celebration__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.celebration__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(123,79,46,0.82) 0%,
    rgba(26,24,22,0.55) 60%,
    rgba(26,24,22,0.15) 100%
  );
}
.celebration__copy {
  position: relative;
  z-index: 2;
  padding: 0 var(--side-pad);
  max-width: 680px;
}
.celebration__copy .display {
  color: #fff;
  margin-bottom: 1.25rem;
}
.celebration__copy .body-text {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}

/* ================================================
   UTILITIES
   ================================================ */
.mt-sm  { margin-top: 1rem; }
.mt-md  { margin-top: 1.75rem; }
.mt-lg  { margin-top: 3rem; }
.mb-sm  { margin-bottom: 1rem; }
.mb-md  { margin-bottom: 1.75rem; }
.mb-lg  { margin-bottom: 3rem; }

.text-clay  { color: var(--clay); }
.text-mid   { color: var(--mid); }
.text-light { color: var(--subtle); }

/* ================================================
   RESPONSIVE
   ================================================ */

/* iPad / Tablet (768px – 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  :root { --side-pad: 2.5rem; }

  .hero-v2__img-wrap { height: 70svh; }

  .split,
  .split--reverse {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .split__image { aspect-ratio: 4/5; }

  .podcast { grid-template-columns: 1fr 1fr; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .offer-card__image { height: clamp(240px, 35vw, 380px); }
  .tier { margin-top: 1.25rem; }
}

@media (max-width: 900px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2.5rem;
  }
  .split__image { aspect-ratio: 16/9; }

  .offer-card,
  .offer-card--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .offer-card__image { height: 280px; }

  .podcast {
    grid-template-columns: 1fr;
  }
  .podcast__image { height: 320px; }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .hero-v2__img-wrap { height: 65svh; min-height: 400px; }
  .hero-v2__text .display { font-size: clamp(2rem, 7vw, 2.8rem); }
  /* Podcast section on resources */
  .podcast-grid { grid-template-columns: 1fr !important; }
  .celebration { height: clamp(420px, 80vw, 560px); }

  .hero__content { max-width: 100%; }

  .full-img__overlay {
    background: linear-gradient(to top, rgba(26,24,22,0.72) 0%, rgba(26,24,22,0.2) 60%, transparent 100%);
    align-items: flex-end;
  }
  .full-img__copy { padding-bottom: 3rem; }

  .form-inline { flex-direction: column; }
  .form-inline input { border-right: 1px solid var(--border); border-bottom: none; }
  .form-inline .btn { width: 100%; justify-content: center; }

  .offer-list li { flex-direction: column; gap: 0.25rem; }
  .offer-list__name { min-width: auto; }
}
