:root {
  --ink: #0a2f57;
  --ink-deep: #062744;
  --teal: #0d7e78;
  --teal-dark: #086962;
  --teal-soft: #dceceb;
  --blue-soft: #e6eff4;
  --paper: #f7f3ea;
  --paper-2: #fffdf8;
  --warm: #c99243;
  --warm-soft: #f3e7d2;
  --text: #173550;
  --muted: #5d7282;
  --line: rgba(10,47,87,.14);
  --shadow: 0 14px 40px rgba(8,46,74,.08);
  --radius: 18px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--paper-2);
  line-height: 1.65;
}
a { color: var(--teal-dark); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; }

.skip-link { position:absolute; left:-9999px; top:auto; }
.skip-link:focus { left:1rem; top:1rem; z-index:2000; background:#fff; color:var(--ink); padding:.75rem 1rem; border-radius:.5rem; }

.ts-navbar { background: rgba(255,253,248,.96); border-bottom:1px solid rgba(10,47,87,.06); backdrop-filter: blur(12px); }
.ts-navbar .container-xl { min-height: 78px; }
.ts-brand { display:inline-flex; align-items:center; gap:.7rem; color:var(--ink); text-decoration:none; }
.brand-type { display:flex; flex-direction:column; line-height:1.05; }
.brand-type strong { font-family:'Libre Baskerville', Georgia, serif; font-size:1.35rem; letter-spacing:-.02em; }
.brand-type small { color:var(--teal-dark); font-size:.72rem; margin-top:.22rem; }
.brand-mark { width:36px; height:44px; position:relative; display:inline-block; flex:0 0 36px; }
.brand-mark:after { content:""; position:absolute; width:3px; height:35px; background:var(--teal-dark); border-radius:5px; left:17px; bottom:1px; transform:rotate(-1deg); }
.brand-mark span { position:absolute; width:18px; height:28px; background:var(--teal); border-radius:100% 0 100% 0; transform-origin:bottom right; }
.brand-mark span:nth-child(1){ left:0; top:9px; transform:rotate(-34deg); }
.brand-mark span:nth-child(2){ left:17px; top:1px; transform:scaleX(-1) rotate(-30deg); background:#0a6868; }
.brand-mark span:nth-child(3){ left:17px; top:18px; transform:scaleX(-1) rotate(-55deg); background:#1a8b83; }
.brand-mark-light:after, .brand-mark-light span { filter:brightness(0) invert(1); }
.navbar-nav .nav-link { color:var(--ink); font-weight:600; font-size:.94rem; padding:.65rem .8rem !important; border-radius:999px; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color:var(--teal-dark); background:rgba(13,126,120,.07); }
.nav-icon-link { font-size:1.45rem !important; line-height:1; }

h1,h2,h3,h4,h5 { font-family:'Libre Baskerville', Georgia, serif; color:var(--ink); letter-spacing:-.028em; }
h1 { font-size:clamp(2.7rem, 6vw, 5.3rem); line-height:1.04; }
.section-title { font-size:clamp(1.8rem, 3vw, 3rem); line-height:1.15; }
.eyebrow { text-transform:uppercase; letter-spacing:.2em; font-size:.76rem; font-weight:700; color:var(--teal-dark); }
.lead-copy { font-size:clamp(1.05rem, 1.3vw, 1.25rem); max-width:700px; }
.muted { color:var(--muted); }

.hero { position:relative; overflow:hidden; padding:4.8rem 0 3.4rem; background:linear-gradient(120deg, #fbf6ec 0%, #fffdf9 58%, #eef5f5 100%); border-bottom:1px solid rgba(10,47,87,.06); }
.hero:after { content:""; position:absolute; width:380px; height:380px; border-radius:50%; background:radial-gradient(circle, rgba(201,146,67,.18), rgba(201,146,67,0) 66%); right:-80px; top:-110px; }
.hero-art { position:relative; z-index:1; max-height:455px; width:100%; object-fit:contain; }
.hero .container-xl { position:relative; z-index:2; }
.hero-note { font-family:'Libre Baskerville', Georgia, serif; font-style:italic; color:var(--ink); }

.btn-brand { background:var(--teal); border-color:var(--teal); color:#fff; font-weight:700; padding:.82rem 1.25rem; border-radius:8px; }
.btn-brand:hover, .btn-brand:focus { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; }
.btn-outline-brand { color:var(--ink); border:1.5px solid #66849b; background:rgba(255,255,255,.55); font-weight:700; padding:.78rem 1.2rem; border-radius:8px; }
.btn-outline-brand:hover { background:var(--ink); border-color:var(--ink); color:#fff; }

.section-pad { padding:4.7rem 0; }
.section-soft { background:linear-gradient(180deg, #fffdf9, #f7f4ec); }
.section-blue { background:linear-gradient(180deg, #f4f8f8, #eef4f6); }

.path-card, .feature-card, .course-card, .resource-card, .book-card, .info-card {
  background:rgba(255,255,255,.86); border:1px solid rgba(10,47,87,.08); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden;
}
.path-card { padding:1.6rem; min-height:100%; background:linear-gradient(135deg, #fbf8f1, #eef6f5); }
.path-card.pro { background:linear-gradient(135deg, #f6fafb, #e8f0f5); }
.path-card .mini-art { width:84px; height:84px; object-fit:contain; }

.numbered-card { height:100%; padding:1.5rem; border:1px solid rgba(10,47,87,.08); border-radius:14px; background:#fff; box-shadow:0 10px 24px rgba(8,46,74,.04); }
.numbered-card .number { font-family:'Libre Baskerville', Georgia, serif; font-size:2.45rem; color:var(--teal); line-height:1; }
.numbered-card h3 { font-size:1.35rem; margin-top:.8rem; }
.numbered-card p { margin-bottom:0; color:var(--muted); }

.course-card, .resource-card, .book-card { height:100%; transition:transform .22s ease, box-shadow .22s ease; }
.course-card:hover, .resource-card:hover, .book-card:hover { transform:translateY(-4px); box-shadow:0 18px 45px rgba(8,46,74,.12); }
.card-art { width:100%; aspect-ratio: 4 / 2.5; object-fit:cover; background:#f1eee7; }
.card-body-pad { padding:1.3rem 1.35rem 1.45rem; }
.card-kicker { text-transform:uppercase; letter-spacing:.13em; font-size:.68rem; font-weight:700; color:var(--teal-dark); margin-bottom:.55rem; }
.course-card h3, .resource-card h3, .book-card h3 { font-size:1.28rem; }
.card-link { font-weight:700; text-decoration:none; display:inline-flex; align-items:center; gap:.35rem; }

.divider-heading { display:flex; gap:1rem; align-items:center; margin-bottom:1.5rem; }
.divider-heading:after { content:""; flex:1; height:1px; background:linear-gradient(90deg, rgba(13,126,120,.45), rgba(13,126,120,0)); }

.icon-circle { width:58px; height:58px; display:grid; place-items:center; border-radius:50%; background:var(--teal-soft); color:var(--teal-dark); font-size:1.55rem; margin-bottom:1rem; }

.course-hero { padding:3.4rem 0 2.8rem; background:linear-gradient(120deg, #fbf6ec, #fffdf9 55%, #edf5f5); }
.course-buybox { background:#fff; border:1px solid rgba(10,47,87,.1); border-radius:18px; box-shadow:var(--shadow); padding:1.5rem; position:sticky; top:105px; }
.course-buybox .price { font-family:'Libre Baskerville', Georgia, serif; color:var(--ink); font-size:1.7rem; }
.course-meta { list-style:none; padding:0; margin:1rem 0 0; }
.course-meta li { padding:.36rem 0; color:var(--text); }
.course-meta li:before { content:'✓'; color:var(--teal); font-weight:800; margin-right:.55rem; }
.breadcrumb-ts { font-size:.84rem; color:var(--muted); }
.breadcrumb-ts a { color:var(--teal-dark); text-decoration:none; }
.check-list { list-style:none; padding-left:0; }
.check-list li { position:relative; padding:.33rem 0 .33rem 1.7rem; }
.check-list li:before { content:'✓'; position:absolute; left:0; color:var(--teal); font-weight:800; }
.module-card { height:100%; background:#fff; border:1px solid var(--line); border-radius:14px; padding:1.2rem; }
.module-number { font-family:'Libre Baskerville', Georgia, serif; font-size:2rem; color:var(--teal); }
.module-card h3 { font-size:1.05rem; margin-top:.5rem; }

.about-quote { background:linear-gradient(145deg,#f2f8f7,#fff); border:1px solid rgba(10,47,87,.08); border-radius:22px; padding:2rem; }
.about-quote blockquote { font-family:'Libre Baskerville',Georgia,serif; font-size:1.35rem; line-height:1.55; color:var(--ink); }
.about-portrait { border-radius:22px; box-shadow:var(--shadow); width:100%; background:#edf3f3; }

.notice { border-left:4px solid var(--warm); background:var(--warm-soft); padding:1rem 1.2rem; border-radius:0 12px 12px 0; }

.newsletter-band { position:relative; overflow:hidden; background:linear-gradient(180deg,#f7f5ed,#e9f2f2); border-top:1px solid rgba(10,47,87,.08); }
.newsletter-band:before { content:""; position:absolute; inset:auto auto -70px -70px; width:380px; height:180px; opacity:.18; background:radial-gradient(ellipse,var(--teal),transparent 65%); }
.newsletter-form .form-control { border:1px solid #bdd0d7; }
.site-footer { background:var(--ink-deep); color:#d9e5ee; }
.site-footer a { color:#e8f0f5; text-decoration:none; display:block; margin:.35rem 0; }
.site-footer a:hover { color:#fff; text-decoration:underline; }
.ts-brand-footer { color:#fff; }
.ts-brand-footer .brand-type small { color:#d9e5ee; }
.footer-heading { color:#fff; font-size:1rem; font-family:'DM Sans',sans-serif; font-weight:700; letter-spacing:.02em; }
.footer-note { max-width:320px; color:#b8cbd7; }
.footer-rule { border-color:rgba(255,255,255,.18); margin:2rem 0 1.25rem; }

@media (max-width: 991.98px) {
  .ts-navbar .container-xl { min-height:68px; }
  .hero { padding-top:3.2rem; }
  .course-buybox { position:static; }
  .nav-icon-item { display:none; }
}
@media (max-width: 575.98px) {
  .brand-type strong { font-size:1.05rem; }
  .brand-type small { font-size:.62rem; }
  .brand-mark { transform:scale(.88); transform-origin:left center; margin-right:-4px; }
  .section-pad { padding:3.3rem 0; }
  h1 { font-size:2.65rem; }
}

/* =========================================================
   V2 ART-DIRECTION OVERRIDES — tuned to the approved mockups
   ========================================================= */
body { background:#fbf8f1; }
.ts-navbar { background:#fffdfa; box-shadow:none; }
.ts-navbar .container-xl { min-height:64px; }
.ts-brand { padding:0; margin-right:2rem; display:block; }
.brand-logo-image { display:block; width:235px; max-width:42vw; height:auto; object-fit:contain; }
.navbar-nav .nav-link { font-size:.83rem; font-weight:600; padding:.55rem .68rem !important; background:transparent !important; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color:var(--teal-dark); }

.hero, .interior-hero { padding:2.5rem 0 0; background:#faf6ed; border-bottom:0; }
.hero:after { display:none; }
.hero .container-xl, .interior-hero .container-xl { position:relative; z-index:1; }
.hero h1 { font-size:clamp(3rem,5.4vw,4.8rem); line-height:1.03; }
.hero-home h1 { max-width:650px; }
.eyebrow { font-size:.7rem; letter-spacing:.22em; }
.lead-copy { max-width:650px; line-height:1.42; }
.hero-image-column { align-self:stretch; display:flex; align-items:flex-end; }
.hero-art-cropped { width:100%; height:auto; max-height:none; object-fit:cover; object-position:center; mix-blend-mode:multiply; border-radius:0; }
.hero-home .hero-art-cropped { min-height:350px; }
.interior-hero .hero-art-cropped { min-height:305px; }

.pathway-section { padding:1.1rem 0 1.45rem; background:#fbf8f1; }
.path-card-template { display:flex; align-items:center; gap:1.7rem; padding:1rem 1.4rem; min-height:160px; border-radius:8px; box-shadow:none; border:1px solid rgba(10,47,87,.04); background:linear-gradient(90deg,#f9f7ef,#eef5f1); }
.path-card-template.pro { background:linear-gradient(90deg,#f7faf9,#eaf2f5); }
.path-leaf { width:120px; height:138px; object-fit:cover; mix-blend-mode:multiply; flex:0 0 120px; }
.path-card-template h2 { color:var(--ink); font-size:1.15rem; letter-spacing:-.01em; }
.path-card-template p { margin-bottom:.55rem; line-height:1.42; }

.four-ways-section { padding:0 0 1.45rem; background:#fbf8f1; }
.section-line-heading { display:flex; align-items:center; gap:1rem; margin:.45rem 0 1rem; color:var(--teal-dark); text-transform:uppercase; letter-spacing:.2em; font-size:.68rem; font-weight:700; }
.section-line-heading i { flex:1; height:1px; background:rgba(13,126,120,.38); }
.section-line-heading span:last-child { white-space:nowrap; }
.numbered-card-template { position:relative; padding:1rem 1.05rem 1.15rem; min-height:160px; border-radius:8px; box-shadow:none; background:#fffdfa; }
.number-row { display:flex; align-items:flex-start; gap:1rem; }
.numbered-card-template .number { font-size:2.45rem; color:var(--teal); line-height:1; min-width:48px; }
.numbered-card-template h3 { margin:0; font-size:1.1rem; line-height:1.12; }
.numbered-icon { width:38px; height:38px; object-fit:contain; margin:.75rem 0 .4rem; }
.numbered-card-template p { font-size:.88rem; line-height:1.32; }

.featured-section, .catalogue-section, .books-grid-section, .featured-resources-section, .start-here-section { padding:1.15rem 0 1.75rem; background:#fbf8f1; }
.section-title-line { display:flex; align-items:center; gap:1rem; margin-bottom:1rem; }
.section-title-line h2 { margin:0; font-size:1.7rem; }
.section-title-line span { flex:1; height:1px; background:rgba(10,47,87,.33); }
.section-title-line a { font-size:.82rem; text-decoration:none; font-weight:700; white-space:nowrap; }
.course-card-template, .mini-resource-card, .book-row-card, .start-card, .utility-card { box-shadow:none; border:1px solid rgba(10,47,87,.045); border-radius:8px; background:#fffdfa; }
.course-card-template:hover, .resource-card:hover, .book-card:hover { transform:none; box-shadow:none; }
.course-card-template .card-art { aspect-ratio: 1.48/1; object-fit:cover; background:#f3efe6; }
.course-card-template .card-body-pad { padding:.8rem .8rem 1rem; }
.course-card-template h3 { font-size:1.05rem; line-height:1.17; margin-bottom:.35rem; }
.course-card-template p { font-size:.86rem; line-height:1.38; min-height:2.4rem; }
.card-link { font-size:.84rem; }

.catalogue-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:2rem; border-top:1px solid rgba(10,47,87,.08); padding-top:.6rem; margin-bottom:1rem; }
.catalogue-heading h2 { font-size:1.65rem; margin:0; }
.catalogue-heading p { margin:.15rem 0 0; }
.catalogue-heading > span { text-transform:uppercase; letter-spacing:.2em; color:var(--teal-dark); font-size:.66rem; font-weight:700; margin-top:.5rem; }
.filter-pills { display:flex; flex-wrap:wrap; gap:.55rem; }
.filter-pills a { border:1px solid #b9cbd1; color:var(--ink); text-decoration:none; border-radius:999px; padding:.45rem 1.1rem; font-weight:700; font-size:.85rem; background:rgba(255,255,255,.7); }
.filter-pills a.active { background:var(--teal); color:#fff; border-color:var(--teal); }
.utility-card { display:flex; align-items:center; gap:1.15rem; padding:1rem 1.1rem; min-height:150px; }
.utility-card img { width:110px; height:110px; object-fit:cover; flex:0 0 110px; }
.utility-card p { margin-bottom:.75rem; line-height:1.35; }

.start-card { display:flex; align-items:center; gap:1.2rem; padding:.9rem; min-height:175px; }
.start-card > img { width:165px; height:165px; object-fit:cover; flex:0 0 165px; }
.mini-resource-card { height:100%; padding:.7rem; }
.mini-resource-card > img { width:100%; aspect-ratio:1.2/1; object-fit:cover; margin:.2rem 0 .55rem; }
.mini-resource-card h3 { font-size:.98rem; line-height:1.15; margin-bottom:.35rem; }
.mini-resource-card p { font-size:.8rem; line-height:1.33; min-height:4.2rem; }
.card-kicker { font-size:.61rem; }

.book-row-card { display:flex; gap:1rem; padding:.9rem; min-height:205px; align-items:flex-start; }
.book-row-card > img { width:122px; height:180px; object-fit:cover; flex:0 0 122px; }
.book-row-card h3 { font-size:1.12rem; margin-bottom:.45rem; }
.book-row-card p { font-size:.86rem; line-height:1.35; }
.book-status { color:#a56e28; font-size:.65rem; font-weight:700; text-transform:uppercase; letter-spacing:.11em; }

.about-subtitle { font-family:'Libre Baskerville',Georgia,serif; color:var(--ink); font-size:1.45rem; margin-top:-.35rem; }
.about-hero-art { max-height:315px; object-fit:cover; }
.founder-wrap { max-width:760px; }
.john-small-photo { width:155px; height:190px; border-radius:10px; object-fit:cover; flex:0 0 155px; border:1px solid rgba(10,47,87,.08); background:#f4f1e9; }
.founder-role { font-family:'Libre Baskerville',Georgia,serif; font-size:1.1rem; color:var(--ink); }
.about-quote-template { border-radius:10px; box-shadow:none; background:#f4f6f2; min-height:100%; }
.about-quote-template blockquote { font-size:1.15rem; line-height:1.45; }
.approach-section { padding:1.2rem 0 1.8rem; background:#f6f3eb; }
.value-card { text-align:center; background:#fffdfa; border:1px solid rgba(10,47,87,.045); border-radius:8px; padding:1.05rem .75rem; height:100%; }
.value-icon { color:var(--teal); font-size:2rem; line-height:1; margin-bottom:.4rem; }
.value-card h3 { font-size:1rem; margin-bottom:.25rem; }
.value-card p { font-size:.8rem; line-height:1.3; margin:0; }
.about-small-icon { width:48px; height:48px; object-fit:contain; margin-bottom:.45rem; }
.why-matters { display:flex; align-items:flex-start; gap:1.2rem; }
.why-matters img { width:135px; height:180px; object-fit:cover; border-radius:70px 70px 6px 6px; }

.course-hero-template { background:#faf6ed; padding:1.1rem 0 1.2rem; }
.course-hero-template h1 { font-size:clamp(3rem,5.2vw,4.6rem); }
.course-subhead { font-family:'Libre Baskerville',Georgia,serif; font-size:1.18rem; color:var(--ink); line-height:1.35; }
.course-hero-art { width:100%; min-height:300px; height:100%; max-height:330px; object-fit:cover; mix-blend-mode:multiply; }
.course-buybox-template { border-radius:8px; box-shadow:none; height:100%; position:static; }
.course-buybox-template .price { font-size:2rem; }
.benefit-strip { padding:.75rem 0; background:#fbf8f1; border-top:1px solid rgba(10,47,87,.12); border-bottom:1px solid rgba(10,47,87,.08); }
.benefit-item { display:flex; align-items:flex-start; gap:.8rem; }
.benefit-item > span { color:var(--teal); font-size:2rem; line-height:1; min-width:38px; }
.benefit-item strong { display:block; font-family:'Libre Baskerville',Georgia,serif; color:var(--ink); font-size:.93rem; }
.benefit-item small { display:block; color:var(--muted); line-height:1.25; }
.course-info-card { border-radius:8px; box-shadow:none; }
.modules-section { padding:1.25rem 0 1.8rem; background:#f7f4ec; }
.module-card-template { padding:.65rem; border-radius:8px; }
.module-card-template .module-number { font-size:1.55rem; }
.module-card-template img { width:100%; height:75px; object-fit:cover; margin:.25rem 0 .55rem; }
.module-card-template h3 { font-size:.92rem; line-height:1.15; }
.module-card-template p { font-size:.76rem; line-height:1.3; }

.newsletter-band { min-height:155px; background:#f6f3eb url('../img/mockup/mountain-band.jpg') left bottom/cover no-repeat; border:0; }
.newsletter-band:before { display:none; }
.newsletter-content { position:relative; z-index:1; }
.newsletter-band .section-title { font-size:1.65rem; }
.newsletter-band p { font-size:.84rem; }
.site-footer { background:#07304f; }
.footer-brand { color:#fff; display:inline-flex; align-items:center; gap:.65rem; text-decoration:none; }
.footer-nav { display:flex; justify-content:center; flex-wrap:wrap; gap:1.25rem; }
.footer-nav a { display:inline; margin:0; font-size:.82rem; }
.footer-slogan { font-family:'Libre Baskerville',Georgia,serif; font-style:italic; color:#dce7ee; font-size:.82rem; }
.footer-legal { padding-top:.8rem; border-top:1px solid rgba(255,255,255,.15); display:flex; justify-content:space-between; gap:1rem; font-size:.72rem; color:#adc0cd; }
.footer-legal a { display:inline; color:#d9e5ee; }

@media (max-width: 991.98px) {
  .brand-logo-image { width:205px; max-width:65vw; }
  .hero, .interior-hero { padding-top:2rem; }
  .hero-image-column { margin-top:0; }
  .hero-art-cropped, .hero-home .hero-art-cropped, .interior-hero .hero-art-cropped { min-height:0; max-height:330px; object-fit:cover; }
  .section-line-heading span:last-child, .catalogue-heading > span { display:none; }
  .catalogue-heading { display:block; }
  .john-small-photo { width:130px; height:160px; flex-basis:130px; }
  .module-card-template img { height:115px; }
}
@media (max-width: 767.98px) {
  .path-card-template, .start-card, .book-row-card, .utility-card, .founder-wrap, .why-matters { flex-direction:column; align-items:flex-start; }
  .path-leaf { width:90px; height:110px; flex-basis:90px; }
  .start-card > img { width:100%; height:180px; flex-basis:auto; }
  .book-row-card > img { width:110px; height:165px; }
  .john-small-photo { width:120px; height:148px; flex-basis:auto; }
  .why-matters img { width:120px; height:150px; }
  .footer-nav { justify-content:flex-start; }
  .footer-legal { flex-direction:column; }
}
.john-profile-page-photo { width:190px; height:235px; object-fit:cover; border-radius:10px; border:1px solid rgba(10,47,87,.08); background:#f2eee5; }

/* =========================================================
   V3 LAYOUT / ALIGNMENT AUDIT FIXES
   Removes raster stretching, duplicate-text backgrounds and
   standardises alignment across all templates.
   ========================================================= */

/* Never stretch editorial artwork. The V2 min-height rules could alter
   the intrinsic aspect ratio and make hero images look skewed. */
.hero-image-column {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art-cropped,
.hero-home .hero-art-cropped,
.interior-hero .hero-art-cropped {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 355px;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: normal;
  margin: 0 auto;
}
.hero-home .hero-image-column { padding-top: .25rem; padding-bottom: .25rem; }
.hero-home .hero-art-cropped { max-width: 560px; }
.interior-hero .hero-art-cropped { max-width: 520px; }

/* About hero uses a deliberately smaller clean crop so it does not dominate. */
.about-hero .hero-image-column { justify-content: center; }
.about-hero-art {
  width: auto !important;
  max-width: 315px !important;
  max-height: 315px !important;
  object-fit: contain !important;
}

/* Course hero artwork: preserve proportions on every course page. */
.course-hero-art {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 330px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  margin: 0 auto;
}

/* Clean newsletter band. V2 used a full screenshot crop containing baked-in
   headline, field and button, which produced blurred/duplicated text. */
.newsletter-band {
  min-height: 155px;
  background: #f6f3eb;
  border-top: 1px solid rgba(10,47,87,.08);
  isolation: isolate;
}
.newsletter-band::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  width: min(38vw, 420px);
  height: 100%;
  opacity: .9;
  background: url('../img/mockup/newsletter-mountains.jpg') left bottom / contain no-repeat;
  pointer-events: none;
}
.newsletter-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -65px;
  bottom: -115px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,126,120,.11) 0 32%, rgba(13,126,120,0) 66%);
  pointer-events: none;
}
.newsletter-content { position: relative; z-index: 1; }
.newsletter-form { max-width: 620px; margin-left: auto; }
.newsletter-form .input-group { flex-wrap: nowrap; }
.newsletter-form .form-control,
.newsletter-form .btn { min-height: 50px; }

/* Keep small editorial/card imagery neatly contained without distortion. */
.path-leaf,
.numbered-icon,
.about-small-icon { object-fit: contain; }
.utility-card img,
.start-card > img,
.book-row-card > img,
.module-card-template img,
.why-matters img { object-position: center; }

/* Real portrait: modest size, centred crop, no enlargement beyond source need. */
.john-small-photo,
.john-profile-page-photo {
  object-fit: cover;
  object-position: 50% 30%;
  background: #eee9df;
}
.john-small-photo { width: 140px; height: 170px; flex: 0 0 140px; }
.john-profile-page-photo { width: 170px; height: 210px; }

/* More predictable vertical rhythm / alignment. */
.hero .row,
.interior-hero .row,
.course-hero-template .row { min-width: 0; }
.path-card-template,
.numbered-card-template,
.course-card-template,
.utility-card,
.start-card,
.book-row-card,
.value-card,
.info-card { min-width: 0; }
.course-card-template .card-art { display:block; }
.section-line-heading i,
.section-title-line span { min-width: 24px; }

/* Avoid headings forcing horizontal overflow on narrow screens. */
h1, h2, h3, h4, h5, p, a { overflow-wrap: break-word; }

@media (max-width: 991.98px) {
  .hero-art-cropped,
  .hero-home .hero-art-cropped,
  .interior-hero .hero-art-cropped { max-height: 315px; }
  .hero-image-column { padding-top: .5rem; }
  .newsletter-form { margin-left: 0; }
  .newsletter-band::before { width: 46vw; opacity: .45; }
}

@media (max-width: 767.98px) {
  .hero, .interior-hero { padding-top: 1.75rem; }
  .hero-home .hero-art-cropped,
  .interior-hero .hero-art-cropped { max-width: 430px; }
  .about-hero-art { max-width: 240px !important; max-height: 240px !important; }
  .newsletter-band::before { width: 65vw; opacity: .28; }
  .newsletter-form .input-group { flex-wrap: wrap; gap: .6rem; }
  .newsletter-form .form-control,
  .newsletter-form .btn { width: 100%; border-radius: 8px !important; }
  .john-small-photo { width: 118px; height: 144px; }
  .john-profile-page-photo { width: 145px; height: 178px; }
}
/* Final newsletter legibility tuning after visual audit. */
.newsletter-band::before { height: 72%; opacity: .42; }

/* =========================================================
   V4 VISUAL-FIDELITY FIXES
   Aligns the live templates more closely with the approved
   visual mockups and removes the remaining layout artefacts.
   ========================================================= */

/* HOME HERO — treat the right-hand illustration as one edge-to-edge panel,
   matching the approved mock-up instead of a floating image. */
.hero-home {
  padding: 0;
  background: #faf6ed;
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: stretch;
  min-height: 355px;
}
.home-hero-copy {
  padding: 2.55rem 2rem 2.45rem 0;
  align-self: center;
  min-width: 0;
}
.home-hero-image {
  align-self: stretch;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}
.hero-home .home-hero-image .hero-art-cropped {
  width: 100%;
  max-width: none;
  max-height: none;
  height: 100%;
  min-height: 355px;
  object-fit: cover;
  object-position: center center;
  margin: 0;
}

/* ABOUT HERO — recreate the approved split composition while keeping John's
   real photograph deliberately small and secondary to the site identity. */
.about-hero {
  padding: 0;
  background: #faf6ed;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: stretch;
  min-height: 330px;
}
.about-hero-copy {
  padding: 2.45rem 2rem 2.35rem 0;
  align-self: center;
  min-width: 0;
}
.about-hero-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 22%, rgba(201,146,67,.22) 0 11%, transparent 11.5%),
    radial-gradient(circle at 30% 45%, rgba(13,126,120,.08) 0 25%, transparent 25.5%),
    #faf6ed;
}
.about-hero-leaves {
  position: absolute;
  left: 3%;
  bottom: -5%;
  width: 245px;
  height: auto;
  mix-blend-mode: multiply;
  opacity: .96;
}
.about-hero-landscape {
  position: absolute;
  right: -1%;
  bottom: -2%;
  width: 175px;
  height: auto;
  mix-blend-mode: multiply;
  opacity: .88;
}
.about-hero-photo {
  position: absolute;
  right: 112px;
  bottom: 18px;
  width: 142px;
  height: 174px;
  object-fit: cover;
  object-position: 50% 27%;
  border: 5px solid rgba(255,253,248,.96);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(6,39,68,.15);
  z-index: 2;
}
.about-hero-motto {
  position: absolute;
  top: 45px;
  right: 12px;
  z-index: 3;
  margin: 0;
  max-width: 130px;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  transform: rotate(-3deg);
}
.about-hero-sun { display: none; }

/* Founder quote mirrors the leaf-led editorial block in the approved About mock-up. */
.about-founder { padding-top: 1.55rem; padding-bottom: 1.55rem; }
.founder-wrap { max-width: 100%; }
.about-quote-template {
  position: relative;
  overflow: hidden;
  padding: 1.8rem 1.8rem;
  background: #f3f6f2;
  min-height: 100%;
}
.about-quote-template::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -25px;
  width: 205px;
  height: 255px;
  background: url('../img/mockup/about-leaves-clean.jpg') center bottom / contain no-repeat;
  opacity: .92;
  pointer-events: none;
}
.about-quote-copy {
  position: relative;
  z-index: 1;
  max-width: 63%;
}

/* COURSE CATALOGUE — isolate professional heading from card artwork so no
   image can visually bleed beneath the heading copy. */
.catalogue-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
#for-therapists {
  background: #f7f4ec;
  border-top: 1px solid rgba(10,47,87,.08);
  padding-top: 1.45rem !important;
}
.catalogue-heading {
  position: relative;
  z-index: 3;
  background: inherit;
}
.catalogue-heading h2,
.catalogue-heading p,
.catalogue-heading > span {
  position: relative;
  z-index: 4;
  background: transparent;
  text-shadow: none;
}
.catalogue-section > .container-xl > .row {
  position: relative;
  z-index: 1;
}

/* PRE-FOOTER / CTA — use a genuinely visible mountain-and-tree image on every
   page. The previous negative z-index placed the image behind the section's
   own background, making it effectively disappear. */
.newsletter-band,
.pre-footer-band {
  position: relative;
  min-height: 158px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(90deg, #eef2ef 0%, #f7f3eb 48%, #f7f3eb 100%);
  border-top: 1px solid rgba(10,47,87,.06);
}
.newsletter-band::before,
.pre-footer-band::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;
  width: min(51vw, 650px);
  height: 100%;
  opacity: .96;
  background: url('../img/mockup/newsletter-mountains.jpg') left bottom / cover no-repeat;
  pointer-events: none;
}
.newsletter-band::after,
.pre-footer-band::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 28%;
  right: 0;
  bottom: 0;
  height: 64%;
  background:
    linear-gradient(180deg, rgba(247,243,235,0), rgba(247,243,235,.42)),
    radial-gradient(ellipse at 18% 100%, rgba(85,133,147,.16) 0 22%, transparent 23%),
    radial-gradient(ellipse at 38% 100%, rgba(85,133,147,.11) 0 19%, transparent 20%);
  pointer-events: none;
}
.newsletter-content {
  position: relative;
  z-index: 2;
}
.newsletter-band .section-title,
.pre-footer-band .section-title {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
}
.newsletter-band p,
.pre-footer-band p {
  font-size: .9rem;
  max-width: 610px;
}
.pre-footer-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .8rem;
}

/* FOOTER — remove the malformed CSS leaf mark entirely. */
.footer-brand-text-only {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.footer-brand-text-only .brand-type strong {
  color: #fff;
  font-size: 1.18rem;
}
.footer-brand-text-only .brand-type small {
  color: #c7d7e2;
  font-size: .67rem;
}
.site-footer .brand-mark,
.site-footer .brand-mark-light { display: none !important; }

/* Desktop fidelity: the approved designs use a wide, calm composition. */
@media (min-width: 1200px) {
  .hero-home .container-xl,
  .about-hero .container-xl { max-width: 1180px; }
}

@media (max-width: 991.98px) {
  .home-hero-grid,
  .about-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .home-hero-copy,
  .about-hero-copy {
    padding: 2rem 0 1.5rem;
  }
  .hero-home .home-hero-image .hero-art-cropped {
    width: min(100%, 680px);
    height: auto;
    min-height: 0;
    margin: 0 auto;
    object-fit: contain;
  }
  .about-hero-visual {
    min-height: 285px;
    width: min(100%, 680px);
    margin: 0 auto;
  }
  .about-hero-photo { right: 130px; }
  .pre-footer-actions { justify-content: flex-start; }
  .newsletter-band::before,
  .pre-footer-band::before { width: 62vw; opacity: .9; }
}

@media (max-width: 767.98px) {
  .home-hero-copy,
  .about-hero-copy { padding-top: 1.65rem; }
  .about-hero-visual { min-height: 255px; }
  .about-hero-leaves { width: 190px; }
  .about-hero-landscape { width: 135px; }
  .about-hero-photo {
    width: 112px;
    height: 138px;
    right: 92px;
    bottom: 14px;
  }
  .about-hero-motto {
    top: 30px;
    right: 4px;
    font-size: .85rem;
    max-width: 104px;
  }
  .about-quote-copy { max-width: 100%; padding-right: 0; }
  .about-quote-template::after { opacity: .16; right: -28px; }
  .newsletter-band,
  .pre-footer-band { min-height: 190px; }
  .newsletter-band::before,
  .pre-footer-band::before {
    width: 100%;
    height: 58%;
    opacity: .58;
    background-size: cover;
  }
  .newsletter-band::after,
  .pre-footer-band::after { display: none; }
}

/* V4.1 final visual tuning after side-by-side comparison with the approved boards. */
@media (min-width: 992px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .home-hero-copy { padding-right: 1.25rem; }
  .hero-home .btn-lg { font-size: 1rem; padding: .78rem 1.05rem; }

  /* The design boards show these families in a single four/five-card row at desktop widths. */
  .four-ways-section .col-md-6.col-xl-3,
  .featured-section .col-md-6.col-xl-3,
  .catalogue-section .col-md-6.col-xl-3 { flex: 0 0 auto; width: 25%; }
  .approach-section .row > .col-md-6.col-xl { flex: 1 0 0%; width: auto; }
}

/* Use a clean, text-free mountain strip extracted from the approved home design. */
.newsletter-band,
.pre-footer-band {
  background: #f7f3eb url('../img/mockup/newsletter-mountains-wide.jpg') left bottom / auto 100% no-repeat;
}
.newsletter-band::before,
.newsletter-band::after,
.pre-footer-band::before,
.pre-footer-band::after { display: none !important; }
@media (min-width: 992px) {
  .newsletter-content {
    padding-left: clamp(205px, 23vw, 270px) !important;
  }
}
@media (max-width: 991.98px) {
  .newsletter-content { padding-left: 1.5rem !important; }
  .newsletter-band,
  .pre-footer-band {
    background-size: auto 58%;
    background-position: left bottom;
    padding-bottom: 4.5rem;
  }
}
@media (max-width: 575.98px) {
  .newsletter-band,
  .pre-footer-band {
    background-size: auto 42%;
    padding-bottom: 4rem;
  }
}

/* V4.2 homepage alignment and overflow polish. */
body { overflow-x: hidden; }
@media (min-width: 992px) {
  .home-hero-grid { grid-template-columns: 1fr 1fr; align-items: center; min-height: 0; }
  .home-hero-copy { padding: 1.7rem 1.2rem 1.7rem 0; }
  .hero-home h1 { font-size: clamp(3rem, 4.6vw, 4.25rem); }
  .hero-home .home-hero-image { align-items: center; background: #faf6ed; }
  .hero-home .home-hero-image .hero-art-cropped {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }
}
