/* =========================================================
   Stories — stories.php ("Real counters. Real numbers.")
   All classes use the st- prefix. Font files are shared from assets/fonts.
   ========================================================= */

@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../../fonts/bricolage-grotesque.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../../fonts/inter.woff2') format('woff2');
}
@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/caveat.woff2') format('woff2');
}

:root {
    --st-ink: #191B1A;
    --st-ink-2: #2E3331;
    --st-white: #FFFFFF;
    --st-muted: #55605A;
    --st-on-dark: #C9D1CC;
    --st-sky: #A8DDF7;
    --st-sky-soft: #EAF6FD;
    --st-sky-ink: #17506F;
    --st-yellow: #FFE27A;
    --st-orange: #F29A45;
    --st-line: #E3E6E2;
    --st-mist: #F1F2F0;
    --st-bubble: #E2E5E1;
    --st-dash: #9AA19C;

    --st-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
    --st-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --st-hand: 'Caveat', 'Comic Sans MS', cursive;

    --st-max: 1200px;
    --st-gutter: 24px;
}

/* ---------- Base (zero-specificity resets so components always win) ---------- */
.st-body *, .st-body *::before, .st-body *::after { box-sizing: border-box; }
.st-body {
    margin: 0;
    font-family: var(--st-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--st-ink);
    background: var(--st-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
:where(.st-body) :where(h1, h2, h3, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
:where(.st-body) :where(ul, ol) { list-style: none; }
:where(.st-body) :where(img, svg) { display: block; max-width: 100%; }
:where(.st-body) :where(a) { color: inherit; text-decoration: none; }
:where(.st-body) :where(button, input) { font: inherit; color: inherit; }

.st-i { width: 1em; height: 1em; flex-shrink: 0; }
.st-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.st-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.st-wrap {
    width: 100%;
    max-width: calc(var(--st-max) + var(--st-gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--st-gutter);
}

.st-display {
    font-family: var(--st-display);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ---------- Buttons ---------- */
.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    font-family: var(--st-sans);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.st-btn .st-i { width: 18px; height: 18px; }
.st-btn--dark { background: var(--st-ink); color: var(--st-white); }
.st-btn--dark:hover { background: #000; }
.st-btn--head { height: 48px; padding: 0 23px; font-size: 17px; margin-top: 2px; }
.st-btn--lg { height: 53px; padding: 0 26px; font-size: 16px; }
.st-btn:focus-visible, .st-textlink:focus-visible, .st-thumb:focus-visible, .st-phone__play:focus-visible,
.st-menu a:focus-visible, .st-brand:focus-visible, .st-burger:focus-visible {
    outline: 3px solid var(--st-sky-ink);
    outline-offset: 3px;
}

/* =========================================================
   Header (same look as the home page and blog headers)
   ========================================================= */
.st-header { position: relative; z-index: 20; background: var(--st-white); }
.st-header .st-wrap { max-width: calc(1232px + var(--st-gutter) * 2); }
.st-header__inner { display: flex; align-items: center; gap: 32px; height: 90px; }
.st-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-left: 8px;
    margin-top: 2px;
    font-size: 27.8px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.st-brand__mark { width: 14px; height: 18px; margin-top: 2px; }
.st-menu { margin-left: clamp(24px, 12vw, 175px); margin-right: auto; padding-top: 4px; }
.st-menu ul { display: flex; gap: 28px; }
.st-menu a { position: relative; display: inline-block; font-size: 16px; font-weight: 500; line-height: 24px; }
.st-menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.st-burger {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    background: #F4F8FB;
    cursor: pointer;
}
.st-burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--st-ink); }
.st-burger span:first-child { top: 17px; }
.st-burger span:last-child { top: 25px; }

/* =========================================================
   Intro
   ========================================================= */
.st-section { padding: 64px 0 100px; }
.st-intro { text-align: center; }
.st-kicker {
    display: inline-flex;
    align-items: center;
    height: 31px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--st-sky-soft);
    color: var(--st-sky-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.st-intro__title { margin-top: 18px; font-size: 68px; line-height: 72px; letter-spacing: -0.023em; }
.st-swoosh { position: relative; display: inline-block; white-space: nowrap; }
.st-swoosh__line {
    position: absolute;
    left: -2%;
    bottom: -13px;
    width: 103%;
    height: 14px;
    color: var(--st-sky);
}
.st-intro__lead { max-width: 580px; margin: 26px auto 0; font-size: 18px; line-height: 27px; color: var(--st-muted); }

/* =========================================================
   Featured story
   ========================================================= */
.st-story {
    display: grid;
    grid-template-columns: minmax(0, 563fr) minmax(0, 582fr);
    gap: 55px;
    align-items: center;
    margin-top: 53px;
}
.st-story__copy { transition: opacity .25s ease; }
.st-story.is-swapping .st-story__copy,
.st-story.is-swapping .st-phone > svg,
.st-story.is-swapping .st-side svg { opacity: 0; }

.st-story__tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.st-tag {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.st-tag--ink { background: var(--st-ink); color: var(--st-white); }
.st-tag--plain { padding: 0 2px; font-size: 15px; font-weight: 600; }
.st-tag--yellow { height: 24px; padding: 0 9px; background: var(--st-yellow); font-size: 12px; }

.st-quote { margin-top: 20px; }
.st-quote p { font-size: 38px; line-height: 42.5px; letter-spacing: -0.02em; }

.st-author { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.st-avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--st-av, var(--st-orange));
    font-size: 16px;
    font-weight: 800;
}
.st-author__name { font-size: 15px; font-weight: 600; line-height: 21px; }
.st-author__meta { font-size: 13.5px; line-height: 19px; color: var(--st-muted); }

.st-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 22px; }
.st-stat { padding: 15px 14px 14px; border: 1px solid var(--st-line); border-radius: 16px; background: var(--st-white); }
.st-stat__label { margin-top: 9px; font-size: 13.5px; line-height: 18px; color: var(--st-muted); }
.st-story__note { margin-top: 26px; font-size: 13px; line-height: 18px; color: var(--st-muted); }

/* Flip-clock figures: each digit sits on its own tile */
.st-fig { font-family: var(--st-display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -0.02em; }
.st-fig__show { display: flex; align-items: center; gap: 3px; }
.st-flip {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: .68em;
    height: 1em;
    border-radius: 4px;
    background: var(--st-ink);
    color: var(--st-sky);
    letter-spacing: 0;
}
.st-flip::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    margin-top: -.5px;
    background: rgba(255, 255, 255, .2);
}
.st-fig__unit { white-space: pre; margin-left: 1px; }

/* ---------- The phone and its scene ----------
   Drawn at 582 x 679. --u is one design pixel, so the whole picture scales with its column. */
.st-art { container-type: inline-size; width: 100%; }
.st-stage {
    --u: calc(100cqw / 582);
    position: relative;
    aspect-ratio: 582 / 679;
    overflow: hidden;
    border-radius: calc(var(--u) * 40);
    background: var(--st-sky);
    isolation: isolate;
}
.st-glow {
    position: absolute;
    left: calc(var(--u) * -9);
    top: calc(var(--u) * 30);
    width: calc(var(--u) * 600);
    height: calc(var(--u) * 600);
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
}

.st-side {
    position: absolute;
    top: calc(var(--u) * 118);
    width: calc(var(--u) * 262);
    height: calc(var(--u) * 470);
    overflow: hidden;
    border-radius: calc(var(--u) * 30);
    border: calc(var(--u) * 4) solid rgba(255, 255, 255, .45);
    background: var(--st-sky);
}
.st-side svg { width: 100%; height: 100%; max-width: none; transition: opacity .25s ease; }
.st-side::after { content: ""; position: absolute; inset: 0; background: rgba(168, 221, 247, .33); }
.st-side--left { left: calc(var(--u) * 2); height: calc(var(--u) * 484); transform: rotate(-8deg); }
.st-side--right { right: calc(var(--u) * 2); transform: rotate(8deg); }

.st-phone {
    position: absolute;
    left: calc(var(--u) * 125.5);
    top: calc(var(--u) * 46);
    width: calc(var(--u) * 331);
    height: calc(var(--u) * 587);
    overflow: hidden;
    border: calc(var(--u) * 4) solid #F3F3F3;
    border-radius: calc(var(--u) * 38);
    background: #3A2416;
    box-shadow: 0 calc(var(--u) * 36) calc(var(--u) * 56) calc(var(--u) * -8) rgba(31, 78, 104, .38);
}
.st-phone > svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transition: opacity .25s ease; }

.st-phone__bars {
    position: absolute;
    top: calc(var(--u) * 15);
    left: calc(var(--u) * 14);
    right: calc(var(--u) * 14);
    display: flex;
    gap: calc(var(--u) * 5);
}
.st-phone__bars i { flex: 1; height: calc(var(--u) * 3); border-radius: 2px; background: rgba(255, 255, 255, .35); }
.st-phone__bars i.is-on { background: var(--st-white); }

.st-phone__head {
    position: absolute;
    top: calc(var(--u) * 33);
    left: calc(var(--u) * 14);
    display: flex;
    align-items: center;
    gap: calc(var(--u) * 7);
    color: var(--st-white);
    font-size: calc(var(--u) * 13.5);
    line-height: 1;
    white-space: nowrap;
}
.st-phone__head b { font-weight: 700; letter-spacing: -0.01em; }
.st-phone__badge {
    display: grid;
    place-items: center;
    width: calc(var(--u) * 27);
    height: calc(var(--u) * 26);
    border-radius: calc(var(--u) * 7);
    background: var(--st-av, var(--st-orange));
    color: var(--st-ink);
    font-size: calc(var(--u) * 11);
    font-weight: 800;
}
.st-phone__sample {
    display: inline-flex;
    align-items: center;
    height: calc(var(--u) * 22);
    padding: 0 calc(var(--u) * 9);
    border-radius: 999px;
    background: var(--st-yellow);
    color: var(--st-ink);
    font-size: calc(var(--u) * 11.5);
    font-weight: 700;
}

.st-phone__play {
    position: absolute;
    left: calc(var(--u) * 239);
    top: calc(var(--u) * 301);
    display: grid;
    place-items: center;
    width: calc(var(--u) * 68);
    height: calc(var(--u) * 68);
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--st-white);
    color: var(--st-ink);
    box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 22) rgba(0, 0, 0, .28);
    cursor: pointer;
    transition: transform .2s ease;
}
.st-phone__play:hover { transform: scale(1.06); }
.st-phone__play .st-i { width: calc(var(--u) * 24); height: calc(var(--u) * 24); }
.st-phone__play .st-i--play { margin-left: calc(var(--u) * 3); }
.st-phone__play .st-i--pause,
.st-phone__play.is-playing .st-i--play { display: none; }
.st-phone__play.is-playing .st-i--pause { display: block; }

.st-phone__caption {
    position: absolute;
    left: 50%;
    top: calc(var(--u) * 489);
    display: block;
    max-width: calc(100% - var(--u) * 24);
    height: calc(var(--u) * 35);
    line-height: calc(var(--u) * 35);
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 calc(var(--u) * 10);
    border-radius: calc(var(--u) * 8);
    background: rgba(28, 24, 19, .92);
    color: var(--st-white);
    font-family: var(--st-display);
    font-size: calc(var(--u) * 19);
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transform: translateX(-50%);
}

.st-phone__ctrl {
    position: absolute;
    left: calc(var(--u) * 14);
    right: calc(var(--u) * 14);
    top: calc(var(--u) * 535);
    display: flex;
    align-items: center;
    gap: calc(var(--u) * 9);
    height: calc(var(--u) * 31);
    padding: 0 calc(var(--u) * 9) 0 calc(var(--u) * 12);
    border-radius: calc(var(--u) * 10);
    background: rgba(40, 34, 27, .95);
    color: var(--st-white);
    font-size: calc(var(--u) * 11.5);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.st-phone__track { position: relative; flex: 1; height: calc(var(--u) * 3); overflow: hidden; border-radius: 2px; background: #6C6863; }
.st-phone__track i { position: absolute; left: 0; top: 0; bottom: 0; width: 26.7%; background: var(--st-orange); transition: width .9s linear; }
.st-phone__cc {
    padding: calc(var(--u) * 2) calc(var(--u) * 3);
    border: max(1px, calc(var(--u) * 1.5)) solid var(--st-white);
    border-radius: calc(var(--u) * 4);
    font-size: calc(var(--u) * 10);
}

.st-bubble {
    position: absolute;
    padding: calc(var(--u) * 8) calc(var(--u) * 12);
    border-radius: calc(var(--u) * 12);
    background: var(--st-white);
    color: var(--st-ink);
    font-size: calc(var(--u) * 13.5);
    line-height: 1.45;
    white-space: nowrap;
    box-shadow: 0 calc(var(--u) * 6) calc(var(--u) * 16) rgba(25, 27, 26, .16);
    transform: rotate(-2.5deg);
}
.st-bubble--1 { left: calc(var(--u) * 13); top: calc(var(--u) * 384); }
.st-bubble--2 { left: calc(var(--u) * 42); top: calc(var(--u) * 428); background: var(--st-ink); color: var(--st-white); font-weight: 600; }
.st-bubble--3 { left: calc(var(--u) * 15); top: calc(var(--u) * 473); width: calc(var(--u) * 215); padding-right: calc(var(--u) * 58); white-space: normal; }

.st-sticky {
    position: absolute;
    left: calc(var(--u) * 418);
    top: calc(var(--u) * 131);
    width: calc(var(--u) * 154);
    padding: calc(var(--u) * 12) calc(var(--u) * 12) calc(var(--u) * 15) calc(var(--u) * 14);
    background: var(--st-yellow);
    color: var(--st-ink);
    font-family: var(--st-hand);
    font-size: calc(var(--u) * 24);
    font-weight: 600;
    line-height: 1.1;
    box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) rgba(25, 27, 26, .16);
    transform: rotate(5deg);
}

/* =========================================================
   More stories
   ========================================================= */
.st-more { margin-top: 52px; }
.st-label {
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--st-muted);
}
.st-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; margin-top: 18px; }
.st-thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: var(--st-white);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(25, 27, 26, .08), 0 1px 2px rgba(25, 27, 26, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}
.st-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: inherit;
    pointer-events: none;
}
.st-thumb.is-active::after { border-color: var(--st-ink); }
.st-thumb:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(25, 27, 26, .12); }
.st-thumb__pic { position: relative; display: block; aspect-ratio: 228 / 169; overflow: hidden; }
.st-thumb__pic > svg { width: 100%; height: 100%; max-width: none; }
.st-thumb__play {
    position: absolute;
    left: 12px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--st-white);
    color: var(--st-ink);
}
.st-thumb__play .st-i { width: 16px; height: 16px; margin-left: 2px; }
.st-thumb__time {
    position: absolute;
    right: 10px;
    bottom: 11px;
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(25, 27, 26, .85);
    color: var(--st-white);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 17px;
}
.st-thumb__body { display: block; padding: 12px 16px 15px; }
.st-thumb__title {
    display: block;
    font-family: var(--st-display);
    font-size: 19px;
    font-weight: 800;
    line-height: 23px;
    letter-spacing: -0.01em;
}
.st-thumb__shop { display: block; margin-top: 1px; font-size: 13.5px; line-height: 19px; color: var(--st-muted); }

/* =========================================================
   Across every shop
   ========================================================= */
.st-band {
    margin-top: 69px;
    padding: 50px 40px 42px;
    border-radius: 32px;
    background: var(--st-ink);
    color: var(--st-white);
}
.st-band__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; }
.st-band__title { font-size: 30px; line-height: 36px; letter-spacing: -0.02em; }
.st-band__note { font-size: 13px; line-height: 18px; color: var(--st-on-dark); }
.st-band__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: calc(100% + 28px); margin-top: 30px; }
.st-band__label { margin-top: 14px; font-size: 15px; line-height: 21px; color: var(--st-on-dark); }
.st-fig--lg { font-size: 50px; }
.st-fig--lg .st-fig__show { gap: 4px; }
.st-fig--lg .st-flip { width: .64em; height: 1.12em; border-radius: 6px; background: var(--st-ink-2); }
.st-fig--lg .st-fig__unit { margin-left: 2px; }

/* =========================================================
   Alert vs thread
   ========================================================= */
.st-compare {
    display: grid;
    grid-template-columns: minmax(0, 510fr) minmax(0, 651fr);
    gap: 39px;
    align-items: center;
    margin-top: 50px;
}
.st-compare__copy { padding-bottom: 6px; }
.st-compare__title { font-size: 41px; line-height: 46px; letter-spacing: 0.005em; }
.st-compare__lead { max-width: 490px; margin-top: 18px; font-size: 17px; line-height: 25px; color: var(--st-muted); }
.st-compare__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 20px; margin-top: 22px; }
.st-textlink {
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}
.st-textlink:hover { text-decoration-thickness: 2.5px; }

.st-panels { display: grid; grid-template-columns: minmax(0, 318fr) minmax(0, 319fr); gap: 14px; }
.st-panel {
    display: flex;
    flex-direction: column;
    min-height: 312px;
    padding: 21px 20px 19px;
    border-radius: 26px;
}
.st-panel--alert { background: var(--st-mist); }
.st-panel--thread { background: var(--st-sky); }
.st-panel__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: .082em;
    text-transform: uppercase;
    color: var(--st-muted);
}
.st-panel--thread .st-panel__label { color: var(--st-ink); }
.st-panel__label .st-i--hook { width: 10px; height: 13px; margin-left: 4px; transform: translateY(-2px); }
.st-msgs { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 11px; padding-bottom: 10px; }
.st-panel--alert .st-msgs { margin-top: 13px; }
.st-msg {
    max-width: 262px;
    padding: 10px 14px;
    border-radius: 18px 18px 18px 6px;   /* chat tail: incoming bubbles sit on the left */
    background: var(--st-white);
    font-size: 15px;
    line-height: 22px;
}
.st-msg--grey { background: var(--st-bubble); }
.st-msg--ink { align-self: flex-end; max-width: none; border-radius: 18px 18px 4px 18px; line-height: 21px; background: var(--st-ink); color: var(--st-white); font-weight: 600; letter-spacing: -0.004em; }
.st-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    margin-top: auto;
    padding: 0 16px;
    border-radius: 23px;
    font-size: 15px;
    color: var(--st-muted);
}
.st-field--dashed { border: 1.5px dashed var(--st-dash); }
.st-field--white { background: var(--st-white); }
.st-field .st-i { width: 17px; height: 17px; color: var(--st-ink); }
.st-compare__note { margin-top: 14px; font-size: 12.5px; line-height: 18px; color: var(--st-muted); }

/* Footer: shared by every page — see assets/css/site-footer.css */

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
    .st-quote p { font-size: 34px; line-height: 38px; }
    .st-compare__title { font-size: 38px; line-height: 42px; }
    .st-msg { max-width: 92%; }
}

@media (max-width: 1080px) {
    .st-btn--head { display: none; }
    .st-burger { display: block; }

    /* Mobile menu: revealed by growing its grid row from 0fr to 1fr */
    .st-menu {
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        display: grid;
        grid-template-rows: 0fr;
        margin: 0;
        padding: 0;
        background: var(--st-white);
        border-bottom: 1px solid transparent;
        box-shadow: 0 24px 32px -24px rgba(25, 27, 26, 0);
        visibility: hidden;
        transition: grid-template-rows .34s cubic-bezier(.22, .8, .24, 1),
                    border-color .34s ease, box-shadow .34s ease, visibility 0s linear .34s;
    }
    .st-menu ul {
        flex-direction: column;
        gap: 4px;
        min-height: 0;
        overflow: hidden;
        padding: 0 var(--st-gutter);
        opacity: 0;
        transform: translateY(-8px);
        transition: transform .34s cubic-bezier(.22, .8, .24, 1), opacity .16s ease;
    }
    .st-menu li:first-child { margin-top: 12px; }
    .st-menu li:last-child { margin-bottom: 24px; }
    .st-menu a { padding: 10px 0; font-size: 18px; }
    .st-header.is-open .st-menu {
        grid-template-rows: 1fr;
        visibility: visible;
        border-bottom-color: var(--st-line);
        box-shadow: 0 24px 32px -24px rgba(25, 27, 26, .18);
        transition: grid-template-rows .34s cubic-bezier(.22, .8, .24, 1),
                    border-color .34s ease, box-shadow .34s ease, visibility 0s;
    }
    .st-header.is-open .st-menu ul { opacity: 1; transform: none; transition: transform .34s cubic-bezier(.22, .8, .24, 1), opacity .26s ease .06s; }
    .st-burger span { transition: transform .3s cubic-bezier(.22, .8, .24, 1); }
    .st-header.is-open .st-burger span:first-child { transform: translateY(4px) rotate(45deg); }
    .st-header.is-open .st-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

    .st-intro__title { font-size: 56px; line-height: 60px; }

    .st-story { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .st-story__copy { max-width: 620px; }
    .st-art { max-width: 582px; }
    .st-quote p { font-size: 36px; line-height: 40px; }

    .st-band { margin-top: 48px; }

    .st-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 32px 24px; }

    .st-compare { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .st-compare__copy { max-width: 620px; }
    .st-compare__demo { margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .st-menu, .st-menu ul, .st-burger span, .st-story__copy, .st-phone > svg, .st-side svg,
    .st-thumb, .st-phone__track i, .st-phone__play { transition: none !important; }
}

/* More stories as a playlist: every story stays in view, no sideways scrolling.
   Each row: thumbnail (with its length) | title and shop | play button.
   .st-thumb__pic steps out of the way (display: contents) so its parts sit in the row's grid. */
@media (max-width: 900px) {
    .st-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .st-thumb {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr) auto;
        grid-template-areas: "pic body play";
        align-items: center;
        column-gap: 14px;
        padding: 8px 14px 8px 8px;
    }
    .st-thumb:hover { transform: none; }
    .st-thumb__pic { display: contents; }
    .st-thumb__pic > svg {
        grid-area: pic;
        width: 120px;
        height: auto;
        aspect-ratio: 228 / 169;
        clip-path: inset(0 round 10px);
    }
    .st-thumb__time {
        grid-area: pic;
        position: relative;   /* above the clipped thumbnail */
        z-index: 1;
        right: auto;
        bottom: auto;
        align-self: end;
        justify-self: end;
        margin: 0 6px 6px 0;
        padding: 2px 6px;
        border-radius: 5px;
        font-size: 11.5px;
        line-height: 15px;
    }
    .st-thumb__body { grid-area: body; padding: 0; }
    .st-thumb__title { font-size: 18px; line-height: 22px; }
    .st-thumb__shop { margin-top: 2px; }
    .st-thumb__play {
        grid-area: play;
        position: static;
        width: 40px;
        height: 40px;
        background: var(--st-mist);
        transition: background-color .2s ease, color .2s ease;
    }
    .st-thumb__play .st-i { width: 14px; height: 14px; }
    .st-thumb:hover .st-thumb__play { background: var(--st-line); }
    .st-thumb.is-active .st-thumb__play { background: var(--st-ink); color: var(--st-white); }
}

@media (max-width: 760px) {
    :root { --st-gutter: 16px; }
    .st-header__inner { height: 72px; }
    .st-menu { top: 72px; }
    .st-brand { font-size: 24px; gap: 10px; }

    .st-section { padding: 40px 0 64px; }
    .st-kicker { height: 29px; font-size: 12px; }
    .st-intro__title { margin-top: 14px; font-size: 40px; line-height: 44px; text-wrap: balance; }
    .st-swoosh__line { bottom: -10px; height: 10px; }
    .st-intro__lead { margin-top: 22px; font-size: 16.5px; line-height: 25px; }

    .st-story { margin-top: 40px; gap: 36px; }
    .st-quote { margin-top: 16px; }
    .st-quote p { font-size: 28px; line-height: 32px; }
    .st-author { margin-top: 22px; }
    .st-stats { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .st-stat { display: flex; align-items: center; gap: 14px; padding: 14px; }
    .st-stat .st-fig { flex-shrink: 0; min-width: 92px; }
    .st-stat__label { margin-top: 0; }
    .st-story__note { margin-top: 18px; }

    .st-more { margin-top: 44px; }
    .st-thumbs { grid-template-columns: minmax(0, 1fr); gap: 10px; }

    .st-band { padding: 32px 22px 30px; border-radius: 24px; }
    .st-band__title { font-size: 26px; line-height: 30px; }
    .st-band__grid { gap: 26px 16px; margin-top: 26px; }
    .st-fig--lg { font-size: 36px; }
    .st-band__label { margin-top: 10px; font-size: 14px; line-height: 19px; }

    .st-compare { margin-top: 44px; }
    .st-compare__title { font-size: 32px; line-height: 35px; text-wrap: balance; }
    .st-compare__lead { font-size: 16px; line-height: 24px; }
    .st-panel { min-height: 0; border-radius: 24px; }
    .st-panel--alert .st-msgs { padding-bottom: 40px; }
}

@media (max-width: 560px) {
    .st-band__grid { grid-template-columns: minmax(0, 1fr); }
    .st-panels { grid-template-columns: minmax(0, 1fr); }
    .st-btn--lg { flex: 1 1 100%; }
}
