/* ─── NATASCHA DARLING — BRAND OVERRIDES ──────────────────────────────────────
   Ported from index-v2.html design prototype.
   Applied on top of the carl/Encore base theme.
   ─────────────────────────────────────────────────────────────────────────── */

/* ─── FONTS ─────────────────────────────────────────────────────────────────── */
/* Mulish (Google) = superheadlines, display (ALL CAPS), buttons, body          */
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');
/* Meno Banner Condensed (Adobe/Typekit) = headings (h1, h2, card titles)       */
@import url('https://use.typekit.net/sbg1cwo.css');

/* ─── DESIGN TOKENS ────────────────────────────────────────────────────────── */
:root {
  --clr-dark:        #302922;   /* footer bg, body text                       */
  --clr-brown:       #3D2717;   /* headings, logo                             */
  --clr-accent:      #794E2E;   /* buttons, labels, highlights                */
  --clr-light:       #F8F8EC;   /* section backgrounds                        */
  --clr-white:       #ffffff;
  --clr-border:      #C1B4AC;   /* taupe borders & dividers                   */
  --clr-warm:        #D99476;   /* supporting warm tone                       */
  --clr-muted:       #C3998A;   /* supporting muted tone                      */
  --clr-font-dark:   #302922;   /* dark font — on light backgrounds           */
  --clr-font-light:  #F8F8EC;   /* light font — on dark backgrounds           */
  /* ── Font roles ──────────────────────────────────────────────────────────
     Superheadline  → Mulish            (section labels, small caps callouts)
     Heading        → Meno Banner Condensed  (h1, h2, card titles)
     Display        → Mulish ALL CAPS   (hero big text — apply text-transform)
     Button         → Mulish
     Body           → Mulish
  ── */
  --ff-heading:      "meno-banner-condensed", Georgia, serif;
  --ff-body:         'Mulish', sans-serif;
  /* --ff-display and --ff-body are both Mulish; display adds text-transform: uppercase */
  --max-w:           1100px;
  --nav-h:           72px;
  --grad-start:      #cab4a6;   /* light taupe  — gradient start (top/left)  */
  --grad-end:        #745a4b;   /* warm brown   — gradient end (bottom/right) */
  --grad-course:     linear-gradient(135deg, #cab4a6 0%, #745a4b 100%);
}

/* ─── RESET ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-font-dark);
  background: var(--clr-white);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--ff-body); }

/* ─── HEADER ────────────────────────────────────────────────────────────────── */
.header { border-bottom: none !important; box-shadow: none !important; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────────
   v4 HTML footer: dark #302922 → #1e1510 — overrides Kajabi inline bg-color   */
.footer {
  background: linear-gradient(to bottom, #302922 0%, #1e1510 100%) !important;
}
.footer, .footer a, .copyright, .powered-by a {
  color: var(--clr-font-light, #F8F8EC) !important;
}

/* ─── UTILITY ──────────────────────────────────────────────────────────────── */
.nd-container { width: 90%; max-width: var(--max-w); margin-inline: auto; }

.nd-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--clr-brown);
  color: var(--clr-white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--clr-brown);
  transition: background 0.2s, color 0.2s;
}
.nd-btn:hover { background: transparent; color: var(--clr-brown); }

.nd-section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 16px;
}

.nd-divider { width: 48px; height: 1px; background: var(--clr-accent); margin: 24px auto; }

/* ─── HERO ─────────────────────────────────────────────────────────────────── */
/* Flat white — wave SVG at bottom handles the transition into the course section */
.nd-hero {
  padding: 90px 0 0;
  text-align: center;
  background: #ffffff;
  overflow: hidden;
}
.nd-hero .nd-section-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  margin-bottom: 20px;
}
.nd-hero__headline {
  font-family: var(--ff-heading);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.08;
  color: var(--clr-brown);
  margin-bottom: 28px;
}
.nd-hero__headline em { font-style: italic; color: var(--clr-accent); }
.nd-hero__sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--clr-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.9;
}

/* ─── COURSE CARD GRID ─────────────────────────────────────────────────────── */
/* v4: starts at #ede3dc (hero bottom) → #cab4a6 at 8% → #745a4b — seamless join with hero */
.nd-featured-courses {
  padding: 120px 0 0; /* matches v4 padding-top: 120px */
  background: linear-gradient(to bottom, #ede3dc 0%, #cab4a6 8%, #745a4b 100%);
  overflow: hidden;
}
.nd-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; /* v4 exact */
}
.nd-course-card {
  display: flex;
  flex-direction: column;
  background: var(--clr-white);
  border: none;
  box-shadow: 0 4px 24px rgba(48,41,34,0.18);
  transition: box-shadow 0.25s, transform 0.25s;
}
.nd-course-card:hover {
  box-shadow: 0 12px 40px rgba(48,41,34,0.28);
  transform: translateY(-4px);
}
.nd-course-card__thumb {
  aspect-ratio: 4/3;
  background: var(--clr-light);
  overflow: hidden;
}
.nd-course-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.nd-course-card:hover .nd-course-card__thumb img { transform: scale(1.03); }
.nd-course-card__body {
  flex: 1;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
}
.nd-course-card__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 10px;
}
.nd-course-card__title {
  font-family: var(--ff-heading);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--clr-brown);
  line-height: 1.3;
  margin-bottom: 14px;
}
.nd-course-card__desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--clr-muted);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 28px;
}
.nd-course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nd-course-card__price {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--clr-brown);
}
.nd-course-card__price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: #999;
  font-family: var(--ff-body);
}
.nd-btn--buy {
  background: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-end) 100%);
  border: none;
  color: var(--clr-white);
  padding: 12px 26px;
  font-size: 0.72rem;
  white-space: nowrap;
  transition: none;
}
.nd-btn--buy:hover {
  background: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-end) 100%);
  border: none;
  color: var(--clr-white);
  opacity: 0.9;
}

/* ─── TESTIMONIALS / REVIEWS ───────────────────────────────────────────────── */
.nd-reviews { background: var(--clr-light); padding: 96px 0; }
.nd-reviews__header { text-align: center; margin-bottom: 56px; }
.nd-reviews__header h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--clr-brown);
}
.nd-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.nd-review-card {
  background: var(--clr-white);
  padding: 36px 32px;
  border-top: 3px solid var(--clr-accent);
}
.nd-review-card__stars {
  color: var(--clr-accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.nd-review-card__text {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--clr-font-dark);
  margin-bottom: 24px;
}
.nd-review-card__author {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

/* ─── CONTACT BAND ─────────────────────────────────────────────────────────── */
.nd-home-contact-wrap {
  padding: 80px 0 100px;
  background: var(--clr-white);
}
.nd-home-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--clr-border);
  overflow: hidden;
}
/* Form side */
.nd-home-contact__form {
  background: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 56px;
  border-right: 1px solid var(--clr-border);
}
.nd-home-contact__form-inner { width: 100%; max-width: 420px; }
.nd-home-contact__form .nd-section-label { margin-bottom: 12px; }
.nd-home-contact__form h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 300;
  color: var(--clr-brown);
  margin-bottom: 8px;
  line-height: 1.2;
}
.nd-home-contact__form p {
  font-size: 0.87rem;
  font-weight: 300;
  color: var(--clr-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}
.nd-form-group { margin-bottom: 16px; }
.nd-form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-font-dark);
  margin-bottom: 7px;
}
.nd-form-group input,
.nd-form-group textarea,
.nd-form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--clr-border);
  background: var(--clr-light);
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--clr-font-dark);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}
.nd-form-group input:focus,
.nd-form-group textarea:focus,
.nd-form-group select:focus { border-color: var(--clr-accent); }
.nd-form-group textarea { resize: vertical; min-height: 100px; }

/* Photo side */
.nd-home-contact__photo {
  background: var(--clr-light);
  background-size: cover;
  background-position: center top;
  min-height: 480px;
}

/* ─── SHOP PAGE ────────────────────────────────────────────────────────────── */
.nd-shop-hero {
  background: var(--grad-course);
  padding: 80px 0 64px;
  text-align: center;
}
.nd-shop-hero .nd-section-label { color: rgba(255,255,255,0.75); }
.nd-shop-hero h1 {
  font-family: var(--ff-heading);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  color: var(--clr-white);
}
.nd-shop-hero p {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.80);
  max-width: 520px;
  margin: 20px auto 0;
  line-height: 1.9;
}
.nd-shop-grid {
  padding: 64px 0 100px;
  background: var(--grad-course);
}

/* ─── CONTACT PAGE ─────────────────────────────────────────────────────────── */
.nd-contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}
.nd-contact-image {
  background: var(--clr-light);
  background-size: cover;
  background-position: center;
  min-height: 600px;
}
.nd-contact-form-col {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nd-contact-form-col h1 {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
  color: var(--clr-brown);
  margin-bottom: 12px;
}
.nd-contact-form-col > div > p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--clr-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

/* ─── FOOTER ───────────────────────────────────────────────────────────────── */
/* Override base theme background-color with brand gradient using !important   */
.footer,
.nd-footer {
  background: linear-gradient(135deg, var(--grad-start, #cab4a6) 0%, var(--grad-end, #745a4b) 100%) !important;
  padding: 48px 0 32px;
}
/* Text on gradient footer — use dark brown for contrast on light areas        */
.footer,
.footer .footer__block,
.footer a.link-list__link,
.footer a.link-list__link:hover,
.footer .copyright,
.footer .powered-by a,
.footer .social-icon,
.nd-footer,
.nd-footer__logo,
.nd-footer__links a,
.nd-footer__links a:hover,
.nd-footer__legal,
.nd-footer__copy {
  color: var(--clr-white, #fffdf8) !important;
}
.nd-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.nd-footer__logo {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--clr-font-light);
}
.nd-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  list-style: none;
}
.nd-footer__links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  transition: color 0.2s;
}
.nd-footer__links a:hover { color: var(--clr-white); }
.nd-footer__legal {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--clr-muted);
  line-height: 1.8;
  max-width: 680px;
}
.nd-footer__copy { font-size: 0.68rem; color: var(--clr-border); letter-spacing: 0.05em; }

/* ─── PURCHASE POPUP ───────────────────────────────────────────────────────── */
.nd-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.nd-popup-overlay.open { display: flex; }
.nd-popup {
  background: var(--clr-white);
  max-width: 480px;
  width: 100%;
  padding: 52px 48px;
  text-align: center;
  position: relative;
  border-top: 4px solid var(--clr-accent);
}
.nd-popup__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--clr-border);
  line-height: 1;
  transition: color 0.2s;
  cursor: pointer;
}
.nd-popup__close:hover { color: var(--clr-dark); }
.nd-popup__icon { font-size: 2.4rem; margin-bottom: 20px; }
.nd-popup h3 {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--clr-brown);
  margin-bottom: 14px;
}
.nd-popup p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--clr-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ─── NAV LOGO ─────────────────────────────────────────────────────────────── */
.nd-nav .nav__logo,
.site-header .nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav__logo img {
  height: 40px;
  width: auto;
  display: block;
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav__logo-name {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--clr-brown);
  letter-spacing: 0.04em;
}
.nav__logo-tagline {
  font-family: var(--ff-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

/* ─── FOOTER LOGO ───────────────────────────────────────────────────────────── */
.footer__logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.footer__logo-name {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--clr-font-light);
  letter-spacing: 0.04em;
}
.footer__logo-tagline {
  font-family: var(--ff-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-border);
}

/* ─── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nd-home-contact,
  .nd-contact-wrap          { grid-template-columns: 1fr; }
  .nd-home-contact__photo,
  .nd-contact-image         { min-height: 320px; }
  .nd-home-contact__form    { padding: 48px 32px; border-right: none; border-bottom: 1px solid var(--clr-border); }
  .nd-contact-form-col      { padding: 56px 0; }
  .nd-reviews__grid         { grid-template-columns: 1fr; }
  .nd-course-grid           { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nd-course-grid  { grid-template-columns: 1fr 1fr; }
  .nd-popup        { padding: 40px 28px; }
}
