/* ==========================================================
   Hollywood & Literature — 2026 redesign
   Base look: "Quiet Film" (cream + ink, calm type)
   Second look: "Y2K Notebook" (.look-english) for English-class products
   Loaded last in default.hbs so it overrides screen.css.
   ========================================================== */

:root {
    --hl-cream: #F7F2EC;
    --hl-paper: #ffffff;
    --hl-ink: #141414;
    --hl-ink-2: #3a3632;
    --hl-muted: #4a4540;
    --hl-line: #d8d0c6;
    --hl-line-soft: #e9e1d7;
    --hl-aqua: #A2F3F4;
    --hl-pink: #F4C6F8;
    --hl-magenta: #B0249F;
    --hl-plum: #7a1d86;
    --hl-lime: #D6FE63;
    --hl-dark-card: #2a2724;

    --hl-font-display: 'Space Grotesk', system-ui, sans-serif;
    --hl-font-body: 'Hanken Grotesk', system-ui, sans-serif;
    --hl-font-mono: 'IBM Plex Mono', ui-monospace, monospace;
    --hl-font-pixel: 'VT323', ui-monospace, monospace;

    --hl-max: 1200px;
    --hl-gutter: 32px;

    /* Re-point the Source theme variables */
    --background-color: var(--hl-cream);
    --color-white: #ffffff;
    --color-primary-text: var(--hl-ink);
    --color-secondary-text: var(--hl-ink-2);
    --color-border: rgb(20 20 20 / 0.12);
    --color-dark-border: rgb(20 20 20 / 0.6);
    --font-sans: var(--hl-font-body);
    --font-body: var(--hl-font-body);
    --font-ui: var(--hl-font-body);
    --font-title: var(--hl-font-display);
    --font-subtitle: var(--hl-font-display);
    --font-heading: var(--hl-font-display);
    --font-h4: var(--hl-font-display);
    --font-h5: var(--hl-font-mono);
    --font-h6: var(--hl-font-mono);
    --font-serif: var(--hl-font-display);
    --font-serif-alt: var(--hl-font-display);
    --font-mono: var(--hl-font-mono);
    --font-special: var(--hl-font-display);
    --font-blockquote: var(--hl-font-display);
}


/* Beat Ghost's injected brand fonts and the old hard-coded fonts */
html:root {
    --gh-font-heading: var(--hl-font-display);
    --gh-font-body: var(--hl-font-body);
}
.gh-navigation .nav li a,
.gh-footer,
.gh-sidebar-post-title,
.post-navigation a,
.filter-heading,
.kg-product-card.kg-card .kg-product-card-title,
.kg-viewing-card-title,
.audience-card-heading,
.lead-magnet-subtitle { font-family: var(--hl-font-body) !important; }
.gh-content h2, .gh-content h3, .gh-article-title, .gh-archive h1 { font-family: var(--hl-font-display) !important; }

html, body {
    background: var(--hl-cream) !important;
    color: var(--hl-ink);
}
body {
    font-family: var(--hl-font-body);
}
a { color: var(--hl-ink); }
a:hover { color: var(--hl-plum); }
::selection { background: var(--hl-aqua); color: var(--hl-ink); }

.hl-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.hl-wrap {
    max-width: var(--hl-max);
    margin: 0 auto;
    padding: 0 var(--hl-gutter);
    box-sizing: border-box;
}

/* ---------- Shared bits ---------- */
.hl-eyebrow {
    margin: 0;
    font-family: var(--hl-font-mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hl-muted);
}
.hl-h1 {
    margin: 0;
    font-family: var(--hl-font-display);
    font-weight: 700;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--hl-ink);
}
.hl-h2 {
    margin: 0;
    font-family: var(--hl-font-display);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.02em;
    color: var(--hl-ink);
}
.hl-lede {
    margin: 0;
    font-size: 19px;
    line-height: 1.5;
    color: var(--hl-ink-2);
}
.hl-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid var(--hl-ink);
    padding-bottom: 12px;
    margin-bottom: 20px;
}
.hl-section-head a { font-weight: 700; font-size: 15px; }

.hl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1px solid var(--hl-ink);
    background: var(--hl-ink);
    color: var(--hl-cream) !important;
    font-family: var(--hl-font-body);
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.hl-btn:hover { background: #000; color: #fff !important; }
.hl-btn--ghost { background: transparent; color: var(--hl-ink) !important; }
.hl-btn--ghost:hover { background: var(--hl-ink); color: var(--hl-cream) !important; }
.hl-btn--light { background: var(--hl-cream); color: var(--hl-ink) !important; border-color: var(--hl-cream); }
.hl-btn--light:hover { background: #fff; color: var(--hl-ink) !important; }

.hl-chip {
    display: inline-flex;
    align-items: center;
    font-family: var(--hl-font-mono);
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid var(--hl-ink);
    border-radius: 999px;
    background: transparent;
    color: var(--hl-ink);
}

.hl-badge {
    display: inline-block;
    font-family: var(--hl-font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    background: var(--hl-ink);
    color: var(--hl-cream);
    white-space: nowrap;
}
.hl-badge--english {
    font-family: var(--hl-font-pixel);
    font-size: 18px;
    letter-spacing: 0;
    text-transform: none;
    background: var(--hl-lime);
    color: var(--hl-ink);
    border: 1px solid var(--hl-ink);
    padding: 0 8px;
}

.hl-placeholder {
    background: var(--hl-line-soft);
    display: block;
    border-radius: 4px;
}

/* ---------- Navigation ---------- */
.gh-navigation {
    background: var(--hl-cream) !important;
    color: var(--hl-ink) !important;
    border-bottom: 1px solid var(--hl-ink);
}
.gh-navigation-logo,
.gh-navigation-logo.is-title {
    font-family: var(--hl-font-display) !important;
    font-weight: 700;
    font-size: 22px !important;
    letter-spacing: -0.02em;
    color: var(--hl-ink) !important;
}
.gh-navigation-menu .nav a,
.gh-navigation-members a {
    font-family: var(--hl-font-body);
    font-size: 15px;
    color: var(--hl-ink) !important;
}
.gh-navigation-menu .nav-current a { text-decoration: underline; text-underline-offset: 6px; font-weight: 700; }
.gh-navigation .gh-button {
    background: transparent !important;
    color: var(--hl-ink) !important;
    border: 1px solid var(--hl-ink);
    border-radius: 999px;
    font-weight: 600;
}
.gh-navigation .gh-button:hover { background: var(--hl-ink) !important; color: var(--hl-cream) !important; }
.gh-navigation .gh-icon-button,
.gh-navigation svg { color: var(--hl-ink); }

/* ---------- Footer ---------- */
.gh-footer {
    background: var(--hl-cream) !important;
    color: var(--hl-muted) !important;
    border-top: 1px solid var(--hl-ink);
}
.gh-footer a, .gh-footer-logo { color: var(--hl-ink) !important; }
.gh-footer-logo { font-family: var(--hl-font-display) !important; font-weight: 700; }
.gh-footer-signup-header { font-family: var(--hl-font-display) !important; color: var(--hl-ink) !important; }
.gh-form { border-radius: 999px; border: 1px solid var(--hl-ink); background: #fff; }
.gh-form .gh-button { background: var(--hl-ink) !important; color: var(--hl-cream) !important; border-radius: 999px; }

/* ---------- Away message (teacher card) ---------- */
.hl-away {
    border: 1px solid var(--hl-ink);
    border-radius: 8px;
    background: var(--hl-paper);
    overflow: hidden;
}
.hl-away__bar {
    border-bottom: 1px solid var(--hl-ink);
    padding: 4px 12px;
    font-family: var(--hl-font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hl-muted);
}
.hl-away__body {
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.hl-away__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--hl-aqua);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hl-font-display);
    font-weight: 700;
    font-size: 20px;
    overflow: hidden;
}
.hl-away__icon img { width: 100%; height: 100%; object-fit: cover; }
.hl-away__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hl-away__name { margin: 0; font-weight: 700; font-size: 16px; color: var(--hl-ink); }
.hl-away__bio { margin: 0; font-size: 14px; line-height: 1.5; color: var(--hl-ink-2); }
.hl-away__status { margin: 0; font-size: 14px; line-height: 1.5; color: var(--hl-plum); font-style: italic; }
.hl-away .hl-signup { margin-top: 8px; }

/* Y2K version */
.look-english .hl-away,
.hl-away.is-y2k { border-width: 2px; }
.look-english .hl-away__bar,
.hl-away.is-y2k .hl-away__bar {
    background: var(--hl-ink);
    color: var(--hl-cream);
    font-family: var(--hl-font-pixel);
    font-size: 19px;
    letter-spacing: 0;
    text-transform: none;
    border-bottom-width: 2px;
}
.look-english .hl-away__icon,
.hl-away.is-y2k .hl-away__icon {
    border-radius: 6px;
    border: 2px solid var(--hl-ink);
    font-family: var(--hl-font-pixel);
    font-weight: 400;
    font-size: 28px;
}

/* ---------- Email signup (Ghost members form) ---------- */
.hl-signup {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hl-signup input[type="email"] {
    flex: 1 1 200px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--hl-ink);
    border-radius: 999px;
    font-family: var(--hl-font-body);
    font-size: 16px;
    background: #fff;
    color: var(--hl-ink);
}
.hl-signup button {
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--hl-ink);
    color: var(--hl-cream);
    font-family: var(--hl-font-body);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}
.hl-signup .hl-signup__msg { flex-basis: 100%; margin: 0; font-size: 14px; display: none; }
.hl-signup.success .hl-signup__msg--ok { display: block; }
.hl-signup.error .hl-signup__msg--err { display: block; color: #a11; }
.hl-signup.loading button { opacity: .6; }

/* ==========================================================
   PRODUCT PAGE
   ========================================================== */
.hl-product { padding: 32px 0 88px; }
.hl-product .hl-wrap { display: flex; flex-direction: column; gap: 56px; }
.hl-product__hero {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
}
.hl-product__media { flex: 1 1 540px; min-width: 0; }
.hl-product__buy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.hl-window { background: var(--hl-ink); padding: 24px 0; border-radius: 4px; }
.hl-window__bar { display: none; }
.hl-window__screen { margin: 0 24px; }
.hl-window__screen img { display: block; width: 100%; height: auto; }
.hl-window__screen .hl-placeholder { aspect-ratio: 16 / 9; background: var(--hl-dark-card); }

.hl-product__title {
    margin: 0;
    font-family: var(--hl-font-display);
    font-weight: 700;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.hl-product__excerpt { margin: 0; font-size: 18px; line-height: 1.5; color: var(--hl-ink-2); }

.hl-facts {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--hl-ink);
}
.hl-facts > div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--hl-line); }
.hl-facts dt {
    font-family: var(--hl-font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hl-muted);
}
.hl-facts dd { margin: 4px 0 0; font-size: 16px; color: var(--hl-ink); }

.hl-pricebox { display: flex; flex-direction: column; gap: 12px; }
.hl-price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.hl-price { font-family: var(--hl-font-display); font-weight: 700; font-size: 34px; }
.hl-price-note { font-size: 14px; color: var(--hl-muted); }
.hl-cta { display: flex; flex-direction: column; gap: 10px; }
.hl-cta .hl-btn { width: 100%; }
.hl-cta__more { margin: 0; font-size: 14px; color: var(--hl-ink-2); }
.hl-cta__more a { text-decoration: underline; }

.hl-product__body {
    max-width: 760px;
}
.hl-product__body.gh-content > * + * { margin-top: 1.1em; }
.gh-content { font-family: var(--hl-font-body); color: var(--hl-ink); }
.gh-content h2, .gh-content h3, .gh-content h4 {
    font-family: var(--hl-font-display) !important;
    letter-spacing: -0.02em;
    color: var(--hl-ink);
}
.gh-content a { color: var(--hl-plum); }
.gh-content blockquote { font-family: var(--hl-font-display); border-color: var(--hl-ink); }

.hl-upsell {
    background: var(--hl-ink);
    color: var(--hl-cream);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}
.hl-upsell__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.hl-upsell__eyebrow { margin: 0; font-family: var(--hl-font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-aqua); }
.hl-upsell__title { margin: 0; font-family: var(--hl-font-display); font-size: 26px; line-height: 1.25; color: var(--hl-cream); }

/* Y2K product look */
.look-english .hl-window {
    background: #fff;
    padding: 0;
    border: 2px solid var(--hl-ink);
    border-radius: 10px;
    box-shadow: 6px 6px 0 var(--hl-ink);
    overflow: hidden;
}
.look-english .hl-window__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--hl-aqua);
    border-bottom: 2px solid var(--hl-ink);
    padding: 6px 12px;
    font-family: var(--hl-font-pixel);
    font-size: 20px;
}
.hl-window__dots { display: flex; gap: 6px; }
.hl-window__dots span { width: 14px; height: 14px; border: 2px solid var(--hl-ink); border-radius: 50%; background: var(--hl-cream); }
.hl-window__dots span + span { background: #E68AF0; }
.look-english .hl-window__screen { margin: 0; padding: 20px; }
.look-english .hl-window__screen .hl-placeholder { background: var(--hl-cream); }
.look-english .hl-product__title .hl-hl { background: var(--hl-pink); padding: 0 6px; }
.look-english .hl-facts { border-top-width: 2px; }
.look-english .hl-facts > div { border-bottom-style: dashed; border-color: #b9b0a6; }
.look-english .hl-facts dt { font-family: var(--hl-font-pixel); font-size: 18px; letter-spacing: 0; text-transform: none; }
.look-english .hl-cta .hl-btn {
    background: var(--hl-lime);
    color: var(--hl-ink) !important;
    border: 2px solid var(--hl-ink);
    box-shadow: 4px 4px 0 var(--hl-ink);
}
.look-english .hl-cta .hl-btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--hl-ink); }
.look-english .hl-upsell {
    background: var(--hl-lime);
    color: var(--hl-ink);
    border: 2px solid var(--hl-ink);
    box-shadow: 6px 6px 0 var(--hl-ink);
}
.look-english .hl-upsell__eyebrow { color: var(--hl-ink); font-family: var(--hl-font-pixel); font-size: 22px; letter-spacing: 0; text-transform: none; }
.look-english .hl-upsell__title { color: var(--hl-ink); }
.look-english .hl-upsell .hl-btn--light { background: var(--hl-ink); color: var(--hl-cream) !important; border-color: var(--hl-ink); }

/* ==========================================================
   CARDS (products + posts)
   ========================================================== */
.hl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.hl-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }

.hl-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--hl-ink); }
.hl-card:hover { color: var(--hl-ink); }
.hl-card:hover .hl-card__title { text-decoration: underline; text-underline-offset: 4px; }
.hl-card__image {
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--hl-line-soft);
    border-radius: 4px;
    overflow: hidden;
}
.hl-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-card__meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-family: var(--hl-font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hl-muted); }
.hl-card__title { margin: 0; font-family: var(--hl-font-body); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--hl-ink); }
.hl-card__excerpt { margin: 0; font-size: 15px; line-height: 1.5; color: var(--hl-ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hl-card__lock { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--hl-plum); }

.hl-card.look-english .hl-card__image {
    border: 2px solid var(--hl-ink);
    border-radius: 8px;
    box-shadow: 4px 4px 0 var(--hl-ink);
    background: var(--hl-pink);
}

/* Old Source cards (tag pages etc.) pick up the new type */
.gh-card-title { font-family: var(--hl-font-body) !important; font-weight: 600; color: var(--hl-ink) !important; }
.gh-card-tag { font-family: var(--hl-font-mono) !important; color: var(--hl-muted) !important; }
.gh-card-excerpt { color: var(--hl-ink-2) !important; }
.gh-card-meta { color: var(--hl-muted) !important; }

/* ==========================================================
   HOMEPAGE
   ========================================================== */
.hl-home { padding: 56px 0 88px; }
.hl-home .hl-wrap { display: flex; flex-direction: column; gap: 88px; }
.hl-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hl-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hl-hero__title {
    margin: 0;
    font-family: var(--hl-font-display);
    font-weight: 700;
    font-size: clamp(44px, 6.5vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.04em;
}
.hl-hero__title mark { background: var(--hl-aqua); color: inherit; padding: 0 8px; }
.hl-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hl-hero__collage { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.hl-hero__collage > * { aspect-ratio: 1 / 1; border: 1px solid var(--hl-line); background: #fff; overflow: hidden; display: block; }
.hl-hero__collage > *:nth-child(2) { transform: translateY(-24px); background: var(--hl-ink); border-color: var(--hl-ink); }
.hl-hero__collage img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hl-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hl-door { text-decoration: none; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.hl-door__bar { padding: 8px 14px; }
.hl-door__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.hl-door__title { font-family: var(--hl-font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; }
.hl-door__text { font-size: 17px; line-height: 1.5; }
.hl-door__go { font-weight: 700; font-size: 16px; margin-top: 6px; }
.hl-door--english { background: #fff; border: 2px solid var(--hl-ink); box-shadow: 6px 6px 0 var(--hl-ink); color: var(--hl-ink); }
.hl-door--english .hl-door__bar { background: var(--hl-lime); border-bottom: 2px solid var(--hl-ink); font-family: var(--hl-font-pixel); font-size: 20px; }
.hl-door--english .hl-door__text { color: var(--hl-ink-2); }
.hl-door--film { background: var(--hl-ink); color: var(--hl-cream); }
.hl-door--film .hl-door__bar { border-bottom: 1px solid var(--hl-muted); font-family: var(--hl-font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-aqua); }
.hl-door--film .hl-door__title { color: var(--hl-cream); }
.hl-door--film .hl-door__text { color: #d9d2c9; }
.hl-door--film .hl-door__go { color: var(--hl-aqua); }
.hl-door:hover { transform: translate(-1px, -1px); }

.hl-guides { background: #fff; border: 1px solid var(--hl-line); border-radius: 16px; padding: 36px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.hl-guides__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hl-guides__list { flex: 1 1 420px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.hl-guides__list li { border-bottom: 1px solid #e3dbd1; }
.hl-guides__list li:last-child { border-bottom: 0; }
.hl-guides__list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; font-size: 16px; }

.hl-meet { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.hl-meet > * { flex: 1 1 420px; min-width: 0; }
.hl-meet .hl-away__icon { flex-basis: 72px; width: 72px; height: 72px; font-size: 40px; }
.hl-meet .hl-away__name { font-family: var(--hl-font-display); font-size: 24px; }
.hl-meet .hl-away__bio { font-size: 16px; }
.hl-freebie { background: var(--hl-aqua); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.hl-freebie h2 { margin: 0; font-family: var(--hl-font-display); font-size: 28px; letter-spacing: -0.02em; }
.hl-freebie p { margin: 0; font-size: 16px; line-height: 1.5; }

.hl-membership { background: var(--hl-ink); color: var(--hl-cream); border-radius: 16px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.hl-membership__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.hl-membership__title { margin: 0; font-family: var(--hl-font-display); font-size: 30px; line-height: 1.2; color: var(--hl-cream); }
.hl-membership p { margin: 0; color: #d9d2c9; }

/* ==========================================================
   BLOG
   ========================================================== */
.hl-blog { padding: 48px 0 88px; }
.hl-blog .hl-wrap { display: flex; flex-direction: column; gap: 48px; }
.hl-blog__intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.hl-featured { text-decoration: none; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; border-top: 1px solid var(--hl-ink); border-bottom: 1px solid var(--hl-ink); padding: 32px 0; color: var(--hl-ink); }
.hl-featured__image { flex: 0 1 460px; min-width: 0; aspect-ratio: 1 / 1; background: var(--hl-dark-card); border-radius: 4px; overflow: hidden; }
.hl-featured__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-featured__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hl-featured__tag { align-self: flex-start; font-family: var(--hl-font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--hl-aqua); padding: 4px 10px; }
.hl-featured__title { font-family: var(--hl-font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.08; letter-spacing: -0.03em; }
.hl-featured__excerpt { font-size: 17px; line-height: 1.5; color: var(--hl-ink-2); }
.hl-meta { font-family: var(--hl-font-mono); font-size: 13px; color: var(--hl-muted); }

.hl-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.hl-filter {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--hl-ink);
    background: transparent;
    color: var(--hl-ink);
    font-family: var(--hl-font-body);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}
.hl-filter:hover { background: #fff; color: var(--hl-ink); }
.hl-filter.is-active, .hl-filter[aria-pressed="true"] { background: var(--hl-ink); color: var(--hl-cream); }

.hl-pagination { display: flex; justify-content: center; gap: 12px; }
.hl-pagination .pagination { display: flex; gap: 16px; align-items: center; font-family: var(--hl-font-mono); }
.hl-pagination .pagination a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border: 1px solid var(--hl-ink); border-radius: 999px; text-decoration: none; font-family: var(--hl-font-body); font-weight: 700; }

/* Single post */
.hl-post { padding: 56px 0 24px; }
.hl-article { max-width: 720px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 22px; box-sizing: border-box; }
.hl-article__tag { align-self: flex-start; text-decoration: none; font-family: var(--hl-font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--hl-aqua); padding: 4px 10px; color: var(--hl-ink); }
.hl-article__title { margin: 0; font-family: var(--hl-font-display); font-weight: 700; font-size: clamp(34px, 5vw, 50px); line-height: 1.04; letter-spacing: -0.035em; }
.hl-article__excerpt { margin: 0; font-size: 21px; line-height: 1.45; color: var(--hl-ink-2); }
.hl-article__meta { margin: 0; border-bottom: 1px solid var(--hl-ink); padding-bottom: 20px; }
.hl-article .gh-content { font-size: 19px; line-height: 1.7; }
.hl-article .gh-content > * + * { margin-top: 1.1em; }
.hl-article .gh-article-image img { border-radius: 4px; }
.hl-article .gh-comments { margin-top: 32px; }

.hl-teach {
    border: 2px solid var(--hl-ink);
    border-radius: 10px;
    box-shadow: 5px 5px 0 var(--hl-ink);
    background: #fff;
    overflow: hidden;
}
.hl-teach__bar { background: var(--hl-lime); border-bottom: 2px solid var(--hl-ink); padding: 5px 14px; font-family: var(--hl-font-pixel); font-size: 19px; }
.hl-teach__body { padding: 20px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hl-teach__thumb { flex: 0 0 96px; width: 96px; aspect-ratio: 1 / 1; background: var(--hl-pink); border: 1px solid var(--hl-ink); overflow: hidden; }
.hl-teach__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-teach__text { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hl-teach__title { margin: 0; font-weight: 700; font-size: 18px; }
.hl-teach__excerpt { margin: 0; font-size: 15px; line-height: 1.5; color: var(--hl-ink-2); }
.hl-teach .hl-btn { background: var(--hl-lime); color: var(--hl-ink) !important; border: 2px solid var(--hl-ink); box-shadow: 3px 3px 0 var(--hl-ink); min-height: 46px; font-size: 16px; }
.hl-teach.look-film { border-width: 1px; box-shadow: none; }
.hl-teach.look-film .hl-teach__bar { background: var(--hl-ink); color: var(--hl-cream); border-bottom-width: 1px; font-family: var(--hl-font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; }
.hl-teach.look-film .hl-teach__thumb { background: var(--hl-dark-card); }
.hl-teach.look-film .hl-btn { background: var(--hl-ink); color: var(--hl-cream) !important; border-width: 1px; box-shadow: none; }

.hl-keep { padding: 24px 0 88px; }

/* ==========================================================
   BROWSE + VIEWING GUIDES
   ========================================================== */
.hl-browse { padding: 48px 0 88px; }
.hl-browse .hl-wrap { display: flex; flex-direction: column; gap: 32px; }
.hl-browse__controls { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--hl-ink); padding-top: 20px; }
.hl-browse__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hl-browse__label { font-family: var(--hl-font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--hl-muted); min-width: 92px; }
.hl-browse select,
.hl-browse input[type="search"] {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--hl-ink);
    border-radius: 999px;
    background: #fff;
    font-family: var(--hl-font-body);
    font-size: 15px;
    color: var(--hl-ink);
}
.hl-browse input[type="search"] { flex: 1 1 260px; }
.hl-browse__count { font-family: var(--hl-font-mono); font-size: 13px; color: var(--hl-muted); margin: 0; }
.hl-browse__empty { display: none; font-size: 17px; }
.hl-browse__empty.is-visible { display: block; }
.hl-card[hidden] { display: none !important; }

.hl-guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.hl-guide-list li { border-bottom: 1px solid var(--hl-line); }
.hl-guide-list li[hidden] { display: none; }
.hl-guide-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; text-decoration: none; }
.hl-guide-list__title { font-size: 17px; font-weight: 600; }
.hl-guide-key { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-size: 15px; color: var(--hl-ink-2); }
.hl-guide-key span { display: inline-flex; gap: 8px; align-items: center; }

/* Old hero sections still used by other pages */
.hero-section { background: var(--hl-cream) !important; color: var(--hl-ink) !important; border-bottom: 1px solid var(--hl-ink); }
.hero-section h1 { font-family: var(--hl-font-display) !important; letter-spacing: -0.03em; }


/* ==========================================================
   COURSES
   ========================================================== */
.hl-course { padding: 40px 0 88px; }
.hl-course__grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.hl-course__side { flex: 1 1 280px; max-width: 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.hl-course__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; max-width: 780px; }
.hl-course__title { margin: 0; font-family: var(--hl-font-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.05; letter-spacing: -0.03em; }
.hl-course__body { font-size: 18px; line-height: 1.7; }
.hl-course__body > * + * { margin-top: 1.1em; }

.hl-course__box { border: 1px solid var(--hl-ink); border-radius: 10px; background: #fff; overflow: hidden; }
.hl-course__boxhead { margin: 0; padding: 8px 14px; border-bottom: 1px solid var(--hl-ink); font-family: var(--hl-font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-muted); }
.hl-course__lessons, .hl-course__sections { list-style: none; margin: 0; padding: 6px 0; counter-reset: lesson; }
.hl-course__lessons li, .hl-course__sections li { border-bottom: 1px solid var(--hl-line-soft); }
.hl-course__lessons li:last-child, .hl-course__sections li:last-child { border-bottom: 0; }
.hl-course__lessons a, .hl-course__sections a { display: block; padding: 10px 14px; font-size: 15px; line-height: 1.4; text-decoration: none; color: var(--hl-ink); }
.hl-course__lessons a:hover, .hl-course__sections a:hover { background: var(--hl-cream); }
.hl-course__lessons a.active { background: var(--hl-ink); color: var(--hl-cream); font-weight: 600; }
.hl-course__box--quiet { border-color: var(--hl-line); }
.hl-course__box--quiet .hl-course__boxhead { border-color: var(--hl-line); }

.hl-course__nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid var(--hl-ink); padding-top: 24px; }
.hl-course__nav .hl-btn { font-size: 15px; min-height: 46px; max-width: 100%; white-space: normal; text-align: left; }

/* Members-only gate inside lessons and posts */
.gh-post-upgrade-cta, .gh-post-upgrade-cta-content {
    background: var(--hl-ink) !important;
    color: var(--hl-cream) !important;
    border-radius: 12px !important;
}
.gh-post-upgrade-cta h2 { font-family: var(--hl-font-display) !important; color: var(--hl-cream) !important; }
.gh-post-upgrade-cta a.gh-btn, .gh-post-upgrade-cta .gh-btn { background: var(--hl-cream) !important; color: var(--hl-ink) !important; border-radius: 999px !important; }
.gh-post-upgrade-cta p, .gh-post-upgrade-cta a { color: var(--hl-cream) !important; }

/* Y2K course look */
.look-english .hl-course__box { border-width: 2px; box-shadow: 5px 5px 0 var(--hl-ink); }
.look-english .hl-course__box .hl-course__boxhead { background: var(--hl-pink); border-bottom-width: 2px; color: var(--hl-ink); font-family: var(--hl-font-pixel); font-size: 20px; letter-spacing: 0; text-transform: none; }
.look-english .hl-course__box--quiet { box-shadow: none; border-width: 1px; border-color: var(--hl-ink); }
.look-english .hl-course__box--quiet .hl-course__boxhead { background: var(--hl-cream); border-bottom-width: 1px; }
.look-english .hl-course__lessons a { border-left: 0; }
.look-english .hl-course__lessons a.active { background: var(--hl-lime); color: var(--hl-ink); }
.look-english .hl-course__nav .hl-btn:not(.hl-btn--ghost) { background: var(--hl-lime); color: var(--hl-ink) !important; border: 2px solid var(--hl-ink); box-shadow: 4px 4px 0 var(--hl-ink); }
.look-english .gh-post-upgrade-cta, .look-english .gh-post-upgrade-cta-content { background: var(--hl-lime) !important; color: var(--hl-ink) !important; border: 2px solid var(--hl-ink); box-shadow: 6px 6px 0 var(--hl-ink); }
.look-english .gh-post-upgrade-cta h2, .look-english .gh-post-upgrade-cta p, .look-english .gh-post-upgrade-cta a { color: var(--hl-ink) !important; }
.look-english .gh-post-upgrade-cta .gh-btn { background: var(--hl-ink) !important; color: var(--hl-cream) !important; }

@media (max-width: 900px) {
    .hl-course__side { position: static; max-width: none; flex-basis: 100%; order: 2; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 900px) {
    :root { --hl-gutter: 20px; }
    .hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hl-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hl-doors { grid-template-columns: 1fr; }
    .hl-guide-list { grid-template-columns: 1fr; }
    .hl-home .hl-wrap { gap: 64px; }
}
@media (max-width: 560px) {
    :root { --hl-gutter: 16px; }
    .hl-grid, .hl-grid--4 { grid-template-columns: 1fr; }
    .hl-facts { grid-template-columns: 1fr; }
    .hl-guides, .hl-membership, .hl-upsell { padding: 24px; }
    .hl-product__hero, .hl-hero { gap: 28px; }
}

/* Square artwork (Gumroad/TpT thumbnails) */
.hl-product__media { flex: 0 1 520px; }
.hl-window__screen img { aspect-ratio: 1 / 1; object-fit: cover; }
.hl-window__screen .hl-placeholder { aspect-ratio: 1 / 1; }
.hl-course__media .hl-window__screen img { aspect-ratio: auto; object-fit: contain; }
.hl-article .gh-article-image { max-width: 520px; margin-left: auto; margin-right: auto; }
.hl-article .gh-article-image img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
@media (max-width: 1100px) { .hl-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Product pages: members box (replaces the old "Join the Planning Room" image) ---------- */
.hl-product figure:has(img[src*="Join-the-planning-room"]),
.hl-product figure:has(img[src*="membership-banner"]) { display: none !important; }
.hl-product .gh-post-upgrade-cta { margin: 8px 0 0; }
.hl-product .gh-post-upgrade-cta-content {
    background: var(--hl-ink) !important;
    color: var(--hl-cream) !important;
    border-radius: 16px !important;
    padding: 32px !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px;
}
.hl-product .gh-post-upgrade-cta-content h2 {
    margin: 0 !important;
    font-family: var(--hl-font-display) !important;
    font-size: 26px !important;
    line-height: 1.25 !important;
    color: var(--hl-cream) !important;
}
.hl-product .gh-post-upgrade-cta-content .hl-members-eyebrow { margin: 0; font-family: var(--hl-font-mono) !important; font-size: 13px !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-aqua); }
.hl-product .gh-post-upgrade-cta-content .hl-members-note { margin: 0; font-size: 16px !important; font-size: 16px; line-height: 1.5; color: #d9d2c9; }
.hl-product .gh-post-upgrade-cta-content .gh-btn {
    background: var(--hl-cream) !important;
    color: var(--hl-ink) !important;
    border-radius: 999px !important;
    padding: 12px 24px !important;
    font-family: var(--hl-font-body) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    margin: 4px 0 0 !important;
}
.hl-product .gh-post-upgrade-cta-content p,
.hl-product .gh-post-upgrade-cta-content small,
.hl-product .gh-post-upgrade-cta-content a:not(.gh-btn) { color: #d9d2c9 !important; font-family: var(--hl-font-body) !important; font-size: 15px !important; }
.look-english.hl-product .gh-post-upgrade-cta { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.look-english.hl-product .gh-post-upgrade-cta-content {
    background: var(--hl-pink) !important;
    color: var(--hl-ink) !important;
    border: 2px solid var(--hl-ink);
    box-shadow: 6px 6px 0 var(--hl-ink);
}
.look-english.hl-product .gh-post-upgrade-cta-content h2,
.look-english.hl-product .hl-members-note,
.look-english.hl-product .gh-post-upgrade-cta-content p,
.look-english.hl-product .gh-post-upgrade-cta-content small,
.look-english.hl-product .gh-post-upgrade-cta-content a:not(.gh-btn) { color: var(--hl-ink) !important; }
.look-english.hl-product .gh-post-upgrade-cta-content .hl-members-eyebrow { color: var(--hl-ink) !important; font-family: var(--hl-font-pixel) !important; font-size: 22px !important; letter-spacing: 0; text-transform: none; }
.look-english.hl-product .gh-post-upgrade-cta-content .gh-btn { background: var(--hl-ink) !important; color: var(--hl-cream) !important; }

/* Film look: keep the unit upsell light so it doesn't stack two black boxes under the members box */
.look-film .hl-upsell { background: #fff; color: var(--hl-ink); border: 1px solid var(--hl-ink); }
.look-film .hl-upsell__eyebrow { color: var(--hl-plum); }
.look-film .hl-upsell__title { color: var(--hl-ink); }
.look-film .hl-upsell .hl-btn--light { background: var(--hl-ink); color: var(--hl-cream) !important; border-color: var(--hl-ink); }

/* ==========================================================
   MEMBERSHIPS PAGE (custom-memberships.hbs)
   ========================================================== */
.hl-members { padding: 48px 0 88px; }
.hl-members .hl-wrap { display: flex; flex-direction: column; gap: 40px; }
.hl-members__current { margin: 0; padding: 14px 18px; background: var(--hl-aqua); border-radius: 10px; font-size: 16px; }
.hl-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.hl-tier { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 14px; background: #fff; border: 1px solid var(--hl-line); }
.hl-tier__label { margin: 0; font-family: var(--hl-font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-muted); }
.hl-tier__name { margin: 0; font-family: var(--hl-font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; }
.hl-tier__price { margin: 0; font-family: var(--hl-font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.02em; }
.hl-tier__price span { font-size: 17px; font-weight: 500; color: var(--hl-muted); letter-spacing: 0; }
.hl-tier__price--closed { font-size: 18px; padding: 6px 14px; align-self: flex-start; border-radius: 999px; background: var(--hl-line-soft); color: var(--hl-ink-2); }
.hl-tier__desc { margin: 0; font-size: 16px; line-height: 1.5; color: var(--hl-ink-2); }
.hl-tier__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; flex-grow: 1; }
.hl-tier__list li { padding-left: 24px; position: relative; line-height: 1.45; }
.hl-tier__list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--hl-ink); border-bottom: 2px solid var(--hl-ink); transform: rotate(-45deg); }
.hl-tier__note { margin: 0; font-size: 15px; color: var(--hl-ink-2); }
.hl-tier .hl-btn { margin-top: auto; }
.hl-tier .hl-signup { margin-top: auto; }

/* Planning Room card = English class (Y2K) */
.hl-tier--planning { border: 2px solid var(--hl-ink); box-shadow: 6px 6px 0 var(--hl-ink); padding: 0; overflow: hidden; gap: 0; }
.hl-tier--planning > * { margin-left: 28px !important; margin-right: 28px !important; }
.hl-tier--planning > * + * { margin-top: 14px !important; }
.hl-tier--planning .hl-tier__label { margin: 0 !important; padding: 6px 28px; background: var(--hl-lime); border-bottom: 2px solid var(--hl-ink); font-family: var(--hl-font-pixel); font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--hl-ink); }
.hl-tier--planning .hl-tier__name { margin-top: 22px !important; }
.hl-tier--planning .hl-btn { margin-bottom: 28px !important; background: var(--hl-lime); color: var(--hl-ink) !important; border: 2px solid var(--hl-ink); box-shadow: 4px 4px 0 var(--hl-ink); }
.hl-tier--planning .hl-tier__list li::before { border-color: var(--hl-plum); }

/* Film Studies card = Quiet Film */
.hl-tier--film { background: var(--hl-ink); color: var(--hl-cream); border-color: var(--hl-ink); }
.hl-tier--film .hl-tier__label { color: var(--hl-aqua); }
.hl-tier--film .hl-tier__name { color: var(--hl-cream); }
.hl-tier--film .hl-tier__desc, .hl-tier--film .hl-tier__note { color: #d9d2c9; }
.hl-tier--film .hl-tier__price--closed { background: #2a2724; color: var(--hl-cream); }
.hl-tier--film .hl-signup input[type="email"] { border-color: var(--hl-cream); }
.hl-tier--film .hl-signup button { background: var(--hl-cream); color: var(--hl-ink); }
.hl-tier--film .hl-signup__msg { color: var(--hl-cream); }

.hl-faq__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hl-faq h3 { margin: 0 0 8px; font-family: var(--hl-font-display); font-size: 19px; }
.hl-faq p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--hl-ink-2); }

@media (max-width: 900px) {
    .hl-tiers, .hl-faq__grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   PLANNING ROOM SALES PAGE (custom-planning-room.hbs)
   ========================================================== */
.hl-sales { padding: 48px 0 88px; }
.hl-sales .hl-wrap { display: flex; flex-direction: column; gap: 56px; }
.hl-sales__hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hl-sales__intro { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hl-sales__title { margin: 0; font-family: var(--hl-font-display); font-weight: 700; font-size: clamp(44px, 6vw, 68px); line-height: 0.98; letter-spacing: -0.04em; }
.hl-sales__media { flex: 0 1 440px; min-width: 0; }
.hl-sales__media .hl-window__screen img { aspect-ratio: 1 / 1; object-fit: cover; }
.hl-sales__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.hl-sales__body { flex: 999 1 560px; min-width: 0; max-width: 720px; font-size: 19px; line-height: 1.7; }
.hl-sales__body > * + * { margin-top: 1.1em; }
.hl-sales__body h2 { font-size: 34px !important; line-height: 1.1; margin-top: 2em !important; padding-top: 24px; border-top: 2px solid var(--hl-ink); }
.hl-sales__body h2:first-child { margin-top: 0 !important; border-top: 0; padding-top: 0; }
.hl-sales__body h3 { font-size: 22px !important; margin-top: 1.6em !important; }
.hl-sales__body h3 mark, .hl-sales__body h2 mark { background: var(--hl-pink); color: inherit; padding: 0 6px; }
.hl-sales__body ul { padding-left: 1.2em; }
.hl-sales__body li + li { margin-top: 0.3em; }
.hl-sales__body blockquote { border-left: 0; background: var(--hl-aqua); padding: 20px 24px; border-radius: 10px; font-family: var(--hl-font-display); font-size: 22px; font-style: normal; }
.hl-sales__body .kg-callout-card { border: 2px solid var(--hl-ink); border-radius: 10px; background: #fff !important; box-shadow: 4px 4px 0 var(--hl-ink); }
.hl-sales__body .kg-header-card, .hl-sales__body .kg-cta-card { border-radius: 12px; background: var(--hl-ink) !important; color: var(--hl-cream) !important; }
.hl-sales__body .kg-header-card *, .hl-sales__body .kg-cta-card * { color: var(--hl-cream) !important; font-family: var(--hl-font-display) !important; }
.hl-sales__body .kg-btn, .hl-sales__body .kg-cta-button { background: var(--hl-lime) !important; color: var(--hl-ink) !important; border: 2px solid var(--hl-ink) !important; border-radius: 999px !important; font-family: var(--hl-font-body) !important; font-weight: 700 !important; }
.hl-sales__body .kg-button-card { justify-content: flex-start; }
.hl-sales__body .kg-toggle-card { border: 1px solid var(--hl-ink); border-radius: 10px; background: #fff; }

.hl-sales__side { flex: 1 1 300px; max-width: 360px; min-width: 0; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 12px; }
.hl-joinbox { border: 2px solid var(--hl-ink); border-radius: 12px; background: #fff; box-shadow: 6px 6px 0 var(--hl-ink); overflow: hidden; }
.hl-joinbox__bar { margin: 0; padding: 6px 16px; background: var(--hl-lime); border-bottom: 2px solid var(--hl-ink); font-family: var(--hl-font-pixel); font-size: 20px; }
.hl-joinbox__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.hl-joinbox__price { margin: 0; font-family: var(--hl-font-display); font-weight: 700; font-size: 38px; letter-spacing: -0.02em; }
.hl-joinbox__price span { font-size: 16px; font-weight: 500; color: var(--hl-muted); letter-spacing: 0; }
.hl-joinbox .hl-btn { width: 100%; background: var(--hl-lime); color: var(--hl-ink) !important; border: 2px solid var(--hl-ink); box-shadow: 4px 4px 0 var(--hl-ink); }
.hl-joinbox .hl-tier__list { flex-grow: 0; }
.hl-joinbox__note { margin: 0; font-size: 14px; color: var(--hl-ink-2); }
.hl-joinbox__note a { text-decoration: underline; }
.hl-joinbox__compare { margin: 0; font-size: 15px; font-weight: 700; }

@media (max-width: 900px) {
    .hl-sales__side { position: static; max-width: none; order: -1; }
}

/* ==========================================================
   FOOTER (partials/components/footer.hbs)
   ========================================================== */
.hl-footer { background: var(--hl-cream); border-top: 1px solid var(--hl-ink); padding: 56px 0 40px; }
.hl-footer__inner { display: flex; flex-direction: column; gap: 40px; }
.hl-footer__signup { background: var(--hl-aqua); border-radius: 16px; padding: 32px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.hl-footer__signup-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.hl-footer__signup-title { margin: 0; font-family: var(--hl-font-display); font-weight: 700; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -0.02em; color: var(--hl-ink); }
.hl-footer__signup-sub { margin: 0; font-size: 16px; line-height: 1.5; color: var(--hl-ink-2); }
.hl-footer__signup-form { flex: 1 1 340px; min-width: 0; }
.hl-footer__bar { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; border-top: 1px solid var(--hl-line); padding-top: 24px; }
.hl-footer__logo { font-family: var(--hl-font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; color: var(--hl-ink); }
.hl-footer__logo span { color: var(--hl-magenta); }
.hl-footer__menu .nav { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.hl-footer__menu .nav a { font-size: 15px; color: var(--hl-ink); text-decoration: none; }
.hl-footer__menu .nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hl-footer__note { margin: 0; font-family: var(--hl-font-mono); font-size: 12px; color: var(--hl-muted); }

/* Blog images are rectangles: blog cards, featured post and post headers keep their wide shape.
   (Product cards stay square.) */
.hl-card--post .hl-card__image { aspect-ratio: 16 / 9; }
.hl-card--post .hl-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hl-featured__image { flex: 1 1 520px !important; aspect-ratio: 16 / 9 !important; }
.hl-article .gh-article-image { max-width: none !important; }
.hl-article .gh-article-image img { aspect-ratio: auto !important; object-fit: contain !important; height: auto !important; }

/* Blog images come in many shapes (square to extra-wide). Show the whole image, never crop:
   a 16:10 "screen" with dark letterbox bars, like a film frame. */
.hl-card--post .hl-card__image,
.hl-featured__image { aspect-ratio: 16 / 10 !important; background: var(--hl-ink) !important; display: flex; align-items: center; justify-content: center; }
.hl-card--post .hl-card__image img,
.hl-featured__image img { width: 100% !important; height: 100% !important; object-fit: contain !important; }

/* ==========================================================
   TOPIC PAGES (tag.hbs)
   ========================================================== */
.hl-topic { padding: 48px 0 88px; }
.hl-topic .hl-wrap { display: flex; flex-direction: column; gap: 56px; }
.hl-topic__head { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; border-bottom: 1px solid var(--hl-ink); padding-bottom: 32px; }
.hl-topic__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hl-topic__text .hl-eyebrow a { color: inherit; }
.hl-topic__image { flex: 0 1 320px; min-width: 0; aspect-ratio: 16 / 10; background: var(--hl-ink); border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hl-topic__image img { width: 100%; height: 100%; object-fit: contain; }

/* Homepage TikTok row */
.hl-tiktok__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.hl-tiktok__grid .tiktok-embed { margin: 0 !important; min-width: 0 !important; max-width: 100% !important; border-radius: 12px; overflow: hidden; }
@media (max-width: 900px) { .hl-tiktok__grid { grid-template-columns: 1fr; justify-items: center; } }
