/* HealPreneur Magazine — editorial magazine design (own layout; family = 4 languages, gold rule, footer links) */
:root {
  --ink: #121212; --ink-2: #4a4a4a; --paper: #ffffff; --cream: #f6f2ec; --rule: #e3ddd4;
  --coral: #c8363c; --coral-2: #e8565b; --teal: #11706e; --gold: #C5A059; --gold-ink: #8a6a2c;
  --serif: "Bodoni Moda", "Noto Naskh Arabic", Georgia, serif;
  --sans: "Archivo", "IBM Plex Sans Arabic", "Segoe UI", Arial, sans-serif;
  --display: var(--serif); --text: var(--sans); --ui: var(--sans);
  --navy: #121212; --ivory: #fff; --error: #b3261e;
  --ease: cubic-bezier(.2,.7,.2,1);
}
html[lang="ar"] { --serif: "Noto Naskh Arabic", Georgia, serif; --sans: "IBM Plex Sans Arabic", "Segoe UI", Arial, sans-serif; }
body { background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--ink); }
em { font-style: italic; }

/* ---------- Wordmark (from the magazine masthead: light "Heal" + heavy "Preneur") ---------- */
.hp-mark { font-family: "Archivo", "Segoe UI", Arial, sans-serif; letter-spacing: -0.045em; line-height: .9; white-space: nowrap; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.hp-mark span { font-weight: 300; }
.hp-mark b { font-weight: 800; }

/* ---------- Top strip + header ---------- */
.hp-top { background: var(--ink); color: #fff; font: 500 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.hp-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.hp-top-tag b { color: var(--coral-2); font-weight: 600; }
.langsw { display: flex; gap: 6px; }
.langsw a, .langsw button { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 6px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: 600 .7rem/1 var(--sans); letter-spacing: .08em; text-decoration: none; cursor: pointer; }
.langsw a.on, .langsw button.on, .langsw a[aria-current] { background: #fff; color: var(--ink); border-color: #fff; }
.langsw a:hover { border-color: #fff; }

.hp-header { background: var(--paper); border-bottom: 1px solid var(--ink); position: sticky; top: 0; z-index: 50; }
.hp-header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px 0 12px; }
.hp-date { font: 500 .78rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.hp-brand { text-decoration: none; text-align: center; color: var(--ink); grid-column: 2; }
.hp-brand .hp-mark { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.hp-brand small { display: block; font: 600 .66rem/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; margin-top: 6px; color: var(--coral); padding-inline-start: .5em; }
.hp-head-cta { justify-self: end; }
.hp-nav { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 10px; }
.hp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 34px; }
.hp-nav a { font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 8px 0; display: inline-block; border-bottom: 2px solid transparent; }
.hp-nav a:hover, .hp-nav a[aria-current] { border-bottom-color: var(--coral); }
.hp-nav .hp-btn { display: none; }
.nav-toggle { display: none; }

/* ---------- Buttons & links ---------- */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s; }
.hp-btn:hover { background: var(--coral); border-color: var(--coral); }
.hp-btn-coral { background: var(--coral); border-color: var(--coral); }
.hp-btn-coral:hover { background: var(--ink); border-color: var(--ink); }
.hp-btn-line { background: transparent; color: var(--ink); }
.hp-btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hp-btn-sm { min-height: 40px; padding: 0 16px; font-size: .72rem; }
.hp-link { font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--coral); padding-bottom: 4px; }
.hp-link:hover { color: var(--coral); }
html[dir="rtl"] .hp-btn [aria-hidden], html[dir="rtl"] .hp-link [aria-hidden] { display: inline-block; transform: scaleX(-1); }
.hp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }

/* ---------- Type helpers ---------- */
.hp-kicker { font: 700 .74rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--coral); margin: 0 0 14px; }
.hp-kicker.light { color: var(--coral-2); }
.hp-sec { padding: clamp(56px, 8vw, 104px) 0; }
.hp-cream { background: var(--cream); }
.hp-dark { background: var(--ink); color: #fff; }
.hp-dark h2, .hp-dark h3 { color: #fff; }
.hp-sechead { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 32px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 36px; }
.hp-dark .hp-sechead { border-color: rgba(255,255,255,.4); }
.hp-sechead h2 { font: 500 clamp(2rem, 4vw, 3.1rem)/1.05 var(--serif); margin: 0; letter-spacing: -.01em; }
.hp-sechead h2 em { color: var(--coral); }
.hp-dark .hp-sechead h2 em { color: var(--coral-2); }
.hp-sechead p { margin: 8px 0 0; color: var(--ink-2); max-width: 60ch; }
.hp-dark .hp-sechead p { color: rgba(255,255,255,.75); }
.hp-sechead .hp-no { font: 300 clamp(2.6rem, 5vw, 4rem)/1 var(--sans); color: var(--gold); }

/* ---------- Home hero: cover story ---------- */
.hp-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); background: var(--paper); overflow: hidden; }
.hp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hp-hero h1 { font: 500 clamp(2.7rem, 6vw, 5.2rem)/.98 var(--serif); margin: 0 0 22px; letter-spacing: -.02em; }
.hp-hero h1 em { color: var(--coral); }
.hp-lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 54ch; margin: 0; }
.hp-hero-facts { list-style: none; margin: 34px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 14px 30px; }
.hp-hero-facts b { display: block; font: 500 1.45rem/1 var(--serif); margin-bottom: 4px; }
.hp-hero-facts span { font: 600 .68rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.hp-stack { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; justify-self: center; width: 100%; }
.hp-stack img { position: absolute; width: 58%; box-shadow: 0 30px 60px -25px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.15); background: #fff; transition: transform .6s var(--ease); }
.hp-stack img:nth-child(1) { left: 0; top: 10%; transform: rotate(-7deg); }
.hp-stack img:nth-child(2) { right: 0; top: 6%; transform: rotate(6deg); }
.hp-stack img:nth-child(3) { left: 21%; top: 0; z-index: 2; transform: rotate(-1deg); width: 60%; }
.hp-stack:hover img:nth-child(1) { transform: rotate(-10deg) translateX(-10px); }
.hp-stack:hover img:nth-child(2) { transform: rotate(9deg) translateX(10px); }
.hp-stamp { position: absolute; z-index: 3; right: 2%; bottom: 4%; width: 132px; height: 132px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; text-align: center; font: 700 .7rem/1.25 var(--sans); letter-spacing: .12em; text-transform: uppercase; transform: rotate(-10deg); box-shadow: 0 10px 30px -10px rgba(200,54,60,.7); }
.hp-stamp b { display: block; font: 500 1.9rem/1 var(--serif); letter-spacing: 0; text-transform: none; }

/* ---------- Cover grid (archive) ---------- */
.hp-covers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.hp-cover { display: flex; flex-direction: column; }
.hp-cover-img { display: block; position: relative; aspect-ratio: 3 / 4; background: var(--cream); overflow: hidden; box-shadow: 0 18px 40px -24px rgba(0,0,0,.45); }
.hp-cover-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.hp-cover-img:hover img { transform: scale(1.03); }
.hp-cover .hp-tag { position: absolute; left: 10px; bottom: 10px; z-index: 1; background: var(--ink); color: #fff; font: 700 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 8px; }
.hp-cover h3 { font: 500 1.35rem/1.15 var(--serif); margin: 16px 0 4px; }
.hp-cover p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.hp-cover .hp-meta { font: 600 .7rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-top: 8px; }
.hp-cover-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.hp-dark .hp-cover p { color: rgba(255,255,255,.72); }
.hp-dark .hp-cover .hp-meta { color: var(--gold); }

/* home strip of covers (scrolls on phones) */
.hp-strip { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; }
.hp-strip li { scroll-snap-align: start; }
.hp-strip a { text-decoration: none; display: block; }
.hp-strip img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; width: 100%; box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); transition: transform .35s var(--ease); }
.hp-strip a:hover img { transform: translateY(-6px); }
.hp-strip span { display: block; margin-top: 10px; font: 600 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Editorial split / founder ---------- */
.hp-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hp-split.rev { grid-template-columns: 1.1fr .9fr; }
.hp-portrait { position: relative; }
.hp-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.hp-portrait::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: -1; }
html[dir="rtl"] .hp-portrait::after { inset: 18px 18px -18px -18px; }
.hp-split h2 { font: 500 clamp(2rem, 3.6vw, 2.9rem)/1.08 var(--serif); margin: 0 0 18px; }
.hp-split h2 em { color: var(--coral); }
.hp-quote { font: italic 400 clamp(1.25rem, 2vw, 1.6rem)/1.45 var(--serif); margin: 0 0 18px; padding-inline-start: 22px; border-inline-start: 3px solid var(--coral); }
.hp-sign { font: 600 .78rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.hp-facts { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.hp-facts li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.hp-facts b { font: 600 .72rem/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }

/* "Inside the magazine" columns */
.hp-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.hp-cols li { padding: 22px 22px 6px 0; border-inline-end: 1px solid var(--rule); }
.hp-cols li + li { padding-inline-start: 22px; }
.hp-cols li:last-child { border-inline-end: 0; }
.hp-cols .n { font: 300 2.4rem/1 var(--sans); color: var(--coral); }
.hp-cols h3 { font: 500 1.35rem/1.2 var(--serif); margin: 10px 0 8px; }
.hp-cols p { margin: 0 0 14px; color: var(--ink-2); font-size: .98rem; }
.hp-dark .hp-cols { border-color: rgba(255,255,255,.5); }
.hp-dark .hp-cols li { border-color: rgba(255,255,255,.15); }
.hp-dark .hp-cols p { color: rgba(255,255,255,.75); }

/* ---------- Bookshelf ---------- */
.hp-shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 44px 30px; }
.hp-book { display: flex; flex-direction: column; text-align: center; }
.hp-book-img { display: grid; place-items: end center; height: 290px; padding-bottom: 16px; background: linear-gradient(180deg, transparent 0 82%, var(--cream) 82%); border-bottom: 6px solid #d9cfc0; }
.hp-book-img img { max-height: 260px; width: auto; box-shadow: 6px 10px 22px -10px rgba(0,0,0,.55); transition: transform .35s var(--ease); }
.hp-book:hover .hp-book-img img { transform: translateY(-6px) rotate(-1deg); }
.hp-book h3 { font: 500 1.15rem/1.25 var(--serif); margin: 16px 0 4px; }
.hp-book p { margin: 0 0 12px; color: var(--ink-2); font-size: .92rem; }
.hp-book .hp-btn { margin-top: auto; align-self: center; }
.hp-home-shelf { grid-template-columns: repeat(4, 1fr); }

/* ---------- Relaunch / signup ---------- */
.hp-signup { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hp-signup h2 { font: 500 clamp(2.1rem, 4vw, 3.3rem)/1.04 var(--serif); margin: 0 0 16px; }
.hp-signup h2 em { color: var(--coral-2); }
.hp-signup p { color: rgba(255,255,255,.8); }
.hp-form { background: #fff; color: var(--ink); padding: clamp(24px, 3.5vw, 40px); border-top: 6px solid var(--coral); }
.hp-form h3, .hp-dark .hp-form h3 { font: 500 1.6rem/1.15 var(--serif); margin: 0 0 6px; color: var(--ink); }
.hp-form .form-helper { margin: 0 0 18px; color: var(--ink-2); font-size: .98rem; }
.hp-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 0; }
.hp-form .full { grid-column: 1 / -1; }
.hp-form .field label { display: block; font: 600 .7rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; color: var(--ink); }
.hp-form .field input, .hp-form .field select, .hp-form .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #b9b2a7; border-radius: 0; }
.hp-form .field textarea { min-height: 120px; resize: vertical; }
.hp-form .field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23121212' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
html[dir="rtl"] .hp-form .field select { background-position: left 12px center; padding-right: 12px; padding-left: 32px; }
.hp-form .field input:focus, .hp-form .field select:focus, .hp-form .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.hp-form .field [aria-invalid="true"] { border-color: var(--error); }
.hp-form .check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.hp-form .check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.hp-form .hp-btn { width: 100%; }
.form-status { font-size: .95rem; min-height: 1.2em; }
.form-status.is-error { color: var(--error); }
.form-status.is-ok { color: var(--teal); font-weight: 600; }
.hp-form .form-notice { font-size: .85rem; color: var(--ink-2); margin: 0; }

/* ---------- Page head ---------- */
.hp-pagehead { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--ink); background: var(--cream); }
.hp-pagehead h1 { font: 500 clamp(2.6rem, 6vw, 4.8rem)/1 var(--serif); margin: 0 0 16px; letter-spacing: -.02em; max-width: 18ch; }
.hp-pagehead h1 em { color: var(--coral); }
.hp-pagehead p { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 60ch; margin: 0; }

/* ---------- Contact ---------- */
.hp-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.hp-contact .hp-form { border: 1px solid var(--rule); border-top: 6px solid var(--coral); }
.hp-info { list-style: none; margin: 18px 0 0; padding: 0; }
.hp-info li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.hp-info b { display: block; font: 600 .7rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.hp-info a { text-decoration: none; border-bottom: 1px solid var(--coral); }

/* ---------- Prose (privacy) ---------- */
.hp-prose { max-width: 760px; }
.hp-prose h2 { font: 500 1.6rem/1.2 var(--serif); margin: 34px 0 8px; }
.hp-draft { display: inline-block; background: #fff4d6; border: 1px solid #e7cf8f; padding: 6px 12px; font-size: .9rem; }
.hp-note { font-size: .92rem; color: var(--ink-2); }

/* ---------- Footer (back cover) ---------- */
.hp-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 64px 0 28px; border-top: 4px solid var(--gold); }
.hp-footer a { color: #fff; text-decoration: none; }
.hp-footer a:hover { color: var(--coral-2); }
.hp-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.hp-footer .hp-mark { font-size: 2.4rem; color: #fff; }
.hp-footer-brand p { margin: 14px 0 0; max-width: 34ch; }
.hp-footer h3 { font: 600 .72rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 6px 0 14px; }
.hp-footer ul { list-style: none; margin: 0; padding: 0; }
.hp-footer li { margin: 0 0 10px; }
.hp-footer small { color: rgba(255,255,255,.55); }
.hp-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: .88rem; }
.hp-disclaimer { font-size: .82rem; color: rgba(255,255,255,.55); margin: 14px 0 0; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .hp-stack img { transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hp-covers { grid-template-columns: repeat(3, 1fr); }
  .hp-cols { grid-template-columns: 1fr 1fr; }
  .hp-cols li:nth-child(2) { border-inline-end: 0; }
  .hp-cols li:nth-child(3) { padding-inline-start: 0; }
  .hp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hp-top-tag { font-size: .62rem; letter-spacing: .1em; }
  .hp-header-in { grid-template-columns: 1fr auto; padding: 12px 0; }
  .hp-date, .hp-head-cta { display: none; }
  .hp-brand { grid-column: 1; text-align: start; }
  .hp-brand .hp-mark { font-size: 2rem; }
  .hp-brand small { letter-spacing: .38em; padding: 0; }
  .nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--ink); background: transparent; cursor: pointer; grid-column: 2; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { background: var(--ink); }
  .hp-nav { display: none; border: 0; padding: 0 0 16px; }
  .hp-nav.is-open { display: block; }
  .hp-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .hp-nav li { border-bottom: 1px solid var(--rule); }
  .hp-nav a { display: block; padding: 14px 0; border: 0; }
  .hp-nav .hp-btn { display: flex; margin-top: 16px; color: #fff; padding: 0 22px; }
  .hp-hero { background: var(--paper); }
  .hp-hero-grid, .hp-split, .hp-split.rev, .hp-signup, .hp-contact { grid-template-columns: 1fr; }
  .hp-stack { max-width: 360px; margin-top: 8px; }
  .hp-stamp { width: 104px; height: 104px; font-size: .6rem; }
  .hp-stamp b { font-size: 1.5rem; }
  .hp-covers { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .hp-cover h3 { font-size: 1.12rem; }
  .hp-home-shelf { grid-template-columns: 1fr 1fr; }
  .hp-sechead { grid-template-columns: 1fr; }
  .hp-portrait { max-width: 420px; }
  .hp-portrait::after { inset: 12px -12px -12px 12px; }
  .hp-contact-side { order: 2; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hp-top .wrap { flex-wrap: wrap; justify-content: center; padding: 6px 0; }
  .hp-cols { grid-template-columns: 1fr; }
  .hp-cols li, .hp-cols li + li { padding-inline: 0; border-inline-end: 0; border-bottom: 1px solid var(--rule); }
  .hp-form .form-grid { grid-template-columns: 1fr; }
  .hp-shelf { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .hp-book-img { height: 230px; }
  .hp-book-img img { max-height: 200px; }
  .hp-facts li { grid-template-columns: 1fr; gap: 2px; }
  .hp-footer-grid { grid-template-columns: 1fr; }
  .hp-strip { grid-auto-columns: 62%; }
}

/* language buttons on the black top strip (override the shared base styles) */
.hp-top .langsw a, .hp-top .langsw button { color: #fff !important; border-color: rgba(255,255,255,.4) !important; background: transparent !important; border-radius: 0 !important; }
.hp-top .langsw a.on, .hp-top .langsw button.on, .hp-top .langsw a[aria-current], .hp-top .langsw a:hover { background: #fff !important; color: var(--ink) !important; border-color: #fff !important; }

/* Digital edition reader */
.hp-reader-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.hp-reader-bar label { font: 600 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.hp-reader-bar select { min-height: 44px; padding: 8px 36px 8px 12px; font: 400 1rem var(--sans); border: 1px solid #b9b2a7; background: #fff; }
.hp-reader { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 82vh; background: var(--cream); border: 1px solid var(--rule); box-shadow: 0 24px 50px -30px rgba(0,0,0,.5); }
.hp-reader iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .hp-reader { aspect-ratio: 3 / 4; } }
.hp-nav ul { gap: 4px 26px; }

/* ---------- Magazine funnel mode (visitors from the HealPreneur magazine QR codes) ----------
   Set by a small script in <head> on funnel pages only. One goal: the form. No menu, no footer links. */
html.is-funnel .m-nav, html.is-funnel .hp-nav, html.is-funnel .nav-toggle, html.is-funnel .hp-head-cta,
html.is-funnel .ff-main, html.is-funnel .ff-fam { display: none !important; }
html.is-funnel .ff { padding-top: 28px; }
html.is-funnel .m-bar-link, html.is-funnel .hp-endorse-a, html.is-funnel .fam-bar-a, html.is-funnel .m-bar-endorse a { pointer-events: none; }
html.is-funnel .ff-full { margin: 0 0 14px; text-align: center; font-weight: 600; }
html.is-funnel .ff-full a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
