/* GENERATED FILE — DO NOT EDIT.
   Source: shared/design-system/base.css
   Regenerate: node shared/design-system/sync.mjs
   Edits here are overwritten and will silently desync the other targets. */

/* ============================================================
   Focus Media Services — BASE
   ------------------------------------------------------------
   Reset, typography, layout scaffolding, the pill button system and
   the small shared primitives (.card-surface, .link-more, .chip ...).

   Canonical source — edit here, then run:
       node shared/design-system/sync.mjs
   Never edit the generated copies in each target's ds folder.
   ============================================================ */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    font-family: var(--font-sans);
    font-size: 15.3px;
    font-weight: 400;
    line-height: 2;
    color: #000;
    scroll-behavior: smooth;
}
@media (min-width: 960px) {
    html { font-size: 18px; }
}

body { margin: 0; background: var(--surface-page); }

img { max-width: 100%; height: auto; border: 0; }

a { color: inherit; cursor: pointer; text-decoration: none; }

p { margin: 0 0 20px; }

/* anchored sections stop below the fixed nav */
section[id] { scroll-margin-top: 110px; }

/* visible keyboard focus everywhere */
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--emphasis);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: fixed;
    top: 12px; left: 12px;
    z-index: 2000;
    padding: 10px 20px;
    background: #fff;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--pill);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5 {
    margin: 0 0 20px;
    font-family: var(--font-sans);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--heading);
}
h1, .h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.15; }
h2, .h2 { font-size: 36px; line-height: 1.3; }
h3, .h3 { font-size: 27.9px; line-height: 1.4; }
h4, .h4 { font-size: 25.2px; line-height: 1.4; }
h5, .h5 { font-size: 21.6px; line-height: 1.4; }
@media (min-width: 960px) {
    h2, .h2 { font-size: 42.3px; }
    h3, .h3 { font-size: 36px; }
}
h2.h3 { font-size: 27.9px; line-height: 1.4; }
h3.h4 { font-size: 21.6px; line-height: 1.4; }
@media (min-width: 960px) {
    h2.h3 { font-size: 36px; }
    h3.h4 { font-size: 25.2px; }
}

.alt {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 400;
}

.text-emphasis { color: var(--emphasis); }
.text-primary  { color: var(--primary); }
.text-white    { color: #fff; }
.text-center   { text-align: center; }

/* ---------- Backgrounds / layout ---------- */
.bg-primary   { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-muted     { background-color: var(--muted); }
.bg-light     { background-color: var(--light); }
.bg-white     { background-color: var(--surface-card); }
.bg-cool      { background-color: var(--cool-grey); --hairline: #d6dde6; }

/* On light sections (any light surface), the dark-band text colors step down:
   light-blue emphasis → brand blue, white → navy, white paragraphs → slate. */
.bg-light .text-emphasis, .bg-cool .text-emphasis, .bg-muted .text-emphasis, .bg-white .text-emphasis { color: var(--secondary); }
.bg-light .text-white, .bg-cool .text-white, .bg-muted .text-white, .bg-white .text-white { color: var(--primary); }
.bg-light p.text-white, .bg-cool p.text-white, .bg-muted p.text-white, .bg-white p.text-white { color: var(--body-text); }

/* …but cards keep their dark-background palette wherever they sit */
.card .text-white { color: #fff; }
.card .text-emphasis { color: var(--emphasis); }

.section { padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 960px) {
    .section { padding-top: 70px; padding-bottom: 70px; }
}

.container,
.container-large,
.container-small {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.container       { max-width: 1200px; }
.container-large { max-width: 1400px; }
.container-small { max-width: 900px; }
@media (min-width: 640px) {
    .container, .container-large, .container-small { padding-left: 30px; padding-right: 30px; }
}
@media (min-width: 960px) {
    .container, .container-large, .container-small { padding-left: 40px; padding-right: 40px; }
}
.container-large .container-small { padding-left: 0; padding-right: 0; }

/* Visually hidden but still read aloud. A general accessibility primitive --
   it lived in waitlist.css, which is not where anyone would look for it. */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons (pill system) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 30px;
    border: none;
    border-radius: var(--pill);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 14.4px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .075em;
    text-transform: uppercase;
    text-align: center;
    transition: background-color .25s ease-in-out, color .25s ease-in-out,
                border-color .25s ease-in-out, transform .25s ease-in-out,
                box-shadow .25s ease-in-out;
}
.btn:focus-visible { border-radius: var(--pill); }

.btn--primary {
    background: var(--green);
    color: var(--ink-on-green);
}
.btn--primary:hover {
    background: #86d532;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

/* An arrow used inside a run of text — "Learn → Do → Apply". Same Lucide shape
   as the link arrows, sized in ems so it tracks whatever type it sits in, and
   painted with currentColor so it follows the heading's colour. aria-hidden at
   the use site: "Learn Do Apply" reads better than "Learn right arrow Do". */
.arrow-inline {
    display: inline-block;
    width: .62em;
    height: .62em;
    margin: 0 .22em;
    vertical-align: -.01em;
    background-color: currentColor;
    -webkit-mask: var(--icon-arrow-right) center / contain no-repeat;
    mask: var(--icon-arrow-right) center / contain no-repeat;
}

.btn--ghost {
    border: 2px solid rgba(255, 255, 255, .65);
    color: #fff;
}
.btn--ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn--navy {
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn--navy:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn--sm {
    min-height: 40px;
    padding: 6px 22px;
    font-size: 12.6px;
}

/* ---------- Shared components ---------- */

/* Card surface: white rounded card that lifts on hover */
.card-surface {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease-in-out, box-shadow .3s ease-in-out;
}
.card-surface:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Tinted media: a photo washed with a product color.
   Usage: class="tint tint--book" + background-image inline. */
.tint {
    position: relative;
    background-size: cover;
    background-position: center;
}
.tint::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--tint, var(--c-course));
    opacity: var(--tint-opacity, .55);
}
.tint--course   { --tint: var(--c-course); }
.tint--book     { --tint: var(--c-book); }
.tint--library  { --tint: var(--c-library); }
.tint--video    { --tint: var(--c-video); }
.tint--virtual  { --tint: var(--c-virtual); }
.tint--oncam    { --tint: var(--c-oncam); }
.tint--speaking { --tint: var(--c-speaking); }
.tint--consult  { --tint: var(--c-consult); }

/* Arrow link: the arrow stays hidden until the link — or the card
   (<a>) wrapping it — is hovered or keyboard-focused. */
.link-more {
    font-weight: 600;
    color: var(--secondary);
}
.link-more::after {
    content: "\00a0\2192";
    display: inline-block;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s ease-in-out, transform .2s ease-in-out;
}
.link-more:hover { text-decoration: underline; }
.link-more:hover::after,
.link-more:focus-visible::after,
a:hover .link-more::after,
a:focus-visible .link-more::after {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .link-more::after { transition: none; }
}

/* Back link: mirror of .link-more — the arrow slides in from the left
   on hover/focus. Used for "← All Thoughts"-style breadcrumbs. */
.link-back {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--secondary);
}
.link-back::before {
    content: "\2190\00a0";
    display: inline-block;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity .2s ease-in-out, transform .2s ease-in-out;
}
.link-back:hover { text-decoration: underline; }
.link-back:hover::before,
.link-back:focus-visible::before {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .link-back::before { transition: none; }
}

/* Dashed placeholder note for empty/demo states. Lives here (not
   sections.css) because /thoughts renders it for an empty listing and the
   (frontend) target does not ship the sections partial. */
.note-dashed {
    max-width: 720px;
    margin: 30px auto 0;
    padding: 12px 24px;
    border: 1.5px dashed #cbbf9f;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .6);
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-soft);
    text-align: center;
}
