/* Marketing page rhythm and Trade Floor polish. */
.page-section {
    padding-block: clamp(38px, 5vw, 60px) 0;
    margin-bottom: clamp(24px, 3vw, 42px);
}
.section-intro { margin-bottom: clamp(22px, 3vw, 34px); }
.showcase-row { margin-bottom: clamp(34px, 4vw, 52px); }
.showcase-row:last-child { margin-bottom: 0; }
.pricing-teaser { margin-block: 4px 24px; }
.journal-preview { padding-top: clamp(40px, 5vw, 62px); }
.page-hero { padding-top: clamp(42px, 6vw, 68px); padding-bottom: 22px; }
.story-list { gap: 18px; padding-bottom: 52px; }
.story-wide { padding: 14px; }
.story-wide-media, .feature-story-media { display: block; overflow: hidden; border-radius: var(--radius-surface); }
.story-wide-media img, .feature-story-media img { width: 100%; transition: transform .65s ease; }
.story-wide:hover img, .feature-story:hover img { transform: none; }
.story-grid .story { padding: 14px; }
.story-grid .story p:last-child, .story-wide p:last-child { margin-bottom: 0; }
.feature-story { align-items: center; }
.feature-story-media img { height: 390px; object-fit: cover; }
.essay { padding-top: clamp(32px, 5vw, 52px); }
.essay h1 { max-width: 18ch; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.02em; }
.essay > .lede { max-width: 52rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.essay-cover { width: 100%; max-height: 460px; height: auto; aspect-ratio: 16 / 9; margin: 20px 0 32px; }
.essay-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .8fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.essay-body { max-width: 100%; line-height: 1.72; }
.essay-body h2 { margin-top: 1.7em; font-size: clamp(1.3rem, 2vw, 1.55rem); }
.essay-body p { margin-bottom: 1.15em; }
.essay-sidebar { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-surface); background: var(--surface); box-shadow: var(--shadow); }
.essay-sidebar h2 { font-size: 1.25rem; }
.essay-sidebar p:not(.eyebrow) { color: var(--muted); }
.essay + .journal-preview { padding-top: 24px; }
.section-kicker { margin-bottom: 18px; font-size: .78rem; }
.story, .story-wide, .audience-card, .step-card, .faq-item, .button-solid, .button-quiet, .text-link {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease, color .25s ease;
}
.story:hover, .story-wide:hover, .audience-card:hover, .step-card:hover {
    transform: none;
    border-color: color-mix(in srgb, var(--mint) 35%, var(--line));
    box-shadow: none;
}
.button-solid:hover, .button-quiet:hover { transform: none; }
.text-link:hover { color: var(--green); }
.faq-item[open] { border-color: color-mix(in srgb, var(--mint) 40%, var(--line)); box-shadow: none; }
.faq-item[open] p { animation: answer-enter .25s ease-out; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.reveal.reveal-pending { transform: translateY(18px); }
.reveal.is-in { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.75,.25,1); }
.story-grid .reveal:nth-child(2), .audience-grid .audience-card:nth-child(2) { transition-delay: .07s; }
.story-grid .reveal:nth-child(3), .audience-grid .audience-card:nth-child(3) { transition-delay: .14s; }
.audience-grid .audience-card:nth-child(4) { transition-delay: .21s; }
.workspace-hero .hero-copy { animation: hero-enter .7s ease-out both; }
.workspace-hero .product-preview { animation: hero-enter .85s .12s ease-out both; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes answer-enter { from { opacity: .3; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (min-width: 981px) {
    .steps-list, .security-section .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .feature-story-media img { height: 280px; }
    .essay-layout { grid-template-columns: 1fr; }
    .essay-sidebar { position: static; }
}
@media (max-width: 600px) {
    .page-section { padding-top: 36px; margin-bottom: 26px; }
    .story-wide { gap: 14px; }
    .story-wide img { height: 200px; }
    .story-grid .story { padding: 12px; }
    .essay-cover { margin-bottom: 24px; }
    .essay-sidebar { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .workspace-hero .hero-copy, .workspace-hero .product-preview, .faq-item[open] p { animation: none; }
    .story:hover, .story-wide:hover, .audience-card:hover, .step-card:hover, .button-solid:hover, .button-quiet:hover { transform: none; }
    .story-wide:hover img, .feature-story:hover img { transform: none; }
}

/* Subtle industrial hatch on the paper wash. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .035;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(16, 24, 32, .55) 3px, rgba(16, 24, 32, .55) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 7px, rgba(16, 24, 32, .28) 7px, rgba(16, 24, 32, .28) 8px);
}
html[data-theme="dark"] body::before { opacity: .05; }

/* Image-led heroes share one contrast-safe layout across the public pages. */
.hero.workspace-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 650px;
    background: #0A241C;
}
.hero.workspace-hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: none;
}
/* Home hero photo stays locked — no breathe/scale while preview tabs change. */
.hero.workspace-hero::before {
    --hero-image: url('../images/marketing/hero-home-v2.jpg');
    animation: none;
    will-change: auto;
}
.hero.workspace-hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(10, 36, 28, .94) 0%, rgba(10, 36, 28, .8) 48%, rgba(10, 36, 28, .43) 100%);
    pointer-events: none;
}
.hero.workspace-hero::after {
    background: linear-gradient(90deg, rgba(10, 36, 28, .93) 0%, rgba(10, 36, 28, .8) 49%, rgba(10, 36, 28, .58) 100%);
}
.workspace-hero .hero-inner { position: relative; z-index: 2; }
.hero-preview-wrap { min-width: 0; width: 100%; }

.page-hero {
    --hero-image: url('../images/marketing/hero-counter.jpg');
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: clamp(360px, 38vw, 520px);
    margin: 0;
    padding: 0;
    background: #0A241C;
    color: #F2F4F6;
}
.page-hero--features { --hero-image: url('../images/marketing/hero-features.jpg'); }
.page-hero--pricing { --hero-image: url('../images/marketing/hero-pricing.jpg'); }
.page-hero--faq { --hero-image: url('../images/marketing/hero-faq.jpg'); }
.page-hero--about { --hero-image: url('../images/marketing/hero-counter.jpg'); }
.page-hero--contact { --hero-image: url('../images/marketing/shutter-street.jpg'); }
.page-hero--journal { --hero-image: url('../images/marketing/journal-branches.jpg'); }
.page-hero--signup { --hero-image: url('../images/marketing/hero-home-v2.jpg'); }
.page-hero--legal { --hero-image: url('../images/marketing/hero-counter.jpg'); min-height: 280px; }
.page-hero--animated .page-hero-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    width: var(--measure);
    margin-inline: auto;
    padding-block: clamp(48px, 6vw, 80px);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}
.page-hero:not(.page-hero--animated) .page-hero-content {
    width: var(--measure);
    margin-inline: auto;
    padding-block: clamp(48px, 6vw, 80px);
}
.page-hero-content > * { max-width: 38rem; }
.page-hero--features .page-hero-content > * { animation: hero-slide-end .7s cubic-bezier(.2,.75,.2,1) both; }
.page-hero--pricing .page-hero-content > * { animation: hero-rise-soft .75s ease-out both; }
.page-hero--about .page-hero-content > * { animation: hero-fade-wide .85s ease-out both; }
.page-hero--contact .page-hero-content > * { animation: hero-rise-soft .65s ease-out both; }
.page-hero--faq .page-hero-content > * { animation: hero-fade-wide .7s ease-out both; }
.page-hero--journal .page-hero-content > * { animation: hero-slide-end .8s cubic-bezier(.2,.75,.2,1) both; }
.page-hero--signup .page-hero-content > * { animation: hero-rise-soft .7s ease-out both; }
.page-hero--legal .page-hero-content > * { animation: hero-fade-wide .55s ease-out both; }
.page-hero-content > :nth-child(2) { animation-delay: .07s; }
.page-hero-content > :nth-child(3) { animation-delay: .14s; }
.page-hero-content > :nth-child(4) { animation-delay: .21s; }
.page-hero-content > :nth-child(5) { animation-delay: .28s; }
.page-hero--features::before { animation: hero-ken-settle 1.1s ease-out both; transform-origin: 70% 40%; }
.page-hero--pricing::before { animation: hero-ken-settle 1.2s ease-out both; transform-origin: 50% 60%; }
.page-hero--about::before { animation: hero-ken-settle 1.35s ease-out both; transform-origin: 30% 50%; }
.page-hero--contact::before { animation: hero-ken-settle 1.15s ease-out both; transform-origin: 80% 45%; }
.page-hero--faq::before { animation: hero-ken-settle 1.05s ease-out both; transform-origin: 45% 30%; }
.page-hero--journal::before { animation: hero-ken-settle 1.25s ease-out both; transform-origin: 55% 35%; }
.page-hero--signup::before { animation: hero-ken-settle 1.1s ease-out both; transform-origin: 60% 40%; }
.page-hero--legal::before { animation: none; }
.page-hero .eyebrow { color: #1F8A65; margin-bottom: 16px; }
.page-hero h1 {
    color: #fff;
    font-family: var(--font-display, 'Bricolage Grotesque', sans-serif);
    font-size: clamp(2.35rem, 4.2vw, 3.5rem);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -.02em;
    text-wrap: balance;
    margin-bottom: 18px;
}
.page-hero .lede { color: #E3E9EF; font-size: clamp(1.02rem, 1.45vw, 1.2rem); line-height: 1.65; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-hero .button-mint { background: #1F8A65; color: #FFFFFF; }
.page-hero .button-mint:hover { background: #4EBE8F; color: #0A1A15; }
.page-hero .button-on-photo { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .5); }
.page-hero .button-on-photo:hover { background: rgba(255, 255, 255, .14); }
.page-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    color: #D5DEE6;
    font-size: .87rem;
}
.page-hero-points li::before { content: '✓'; color: #1F8A65; margin-inline-end: 8px; }
.page-hero-stage { min-width: 0; justify-self: end; width: 100%; max-width: 420px; }
.page-hero-stage .hero-stage { animation: hero-stage-settle .8s cubic-bezier(.2,.75,.2,1) .18s both; }
.page-hero--features .page-hero-stage .hero-stage { animation-name: hero-stage-slide; }
.page-hero--pricing .page-hero-stage .hero-stage { animation-name: hero-stage-rise; }
.page-hero--about .page-hero-stage .hero-stage { animation-name: hero-stage-fade; }
.page-hero--contact .page-hero-stage .hero-stage { animation-name: hero-stage-rise; }
.page-hero--faq .page-hero-stage .hero-stage { animation-name: hero-stage-fade; }
.page-hero--journal .page-hero-stage .hero-stage { animation-name: hero-stage-slide; }
@keyframes hero-stage-settle {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to { opacity: 1; transform: none; }
}
@keyframes hero-stage-slide {
    from { opacity: 0; transform: translateX(22px); }
    to { opacity: 1; transform: none; }
}
@keyframes hero-stage-rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}
@keyframes hero-stage-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
html[dir="rtl"] .page-hero--features .page-hero-stage .hero-stage,
html[dir="rtl"] .page-hero--journal .page-hero-stage .hero-stage {
    animation-name: hero-stage-slide-rtl;
}
@keyframes hero-stage-slide-rtl {
    from { opacity: 0; transform: translateX(-22px); }
    to { opacity: 1; transform: none; }
}
.page-hero--legal .page-hero-content { padding-block: 54px; }
.page-hero--legal h1 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.page-hero--legal .lede { max-width: 58rem; }
.page-hero + .pricing { padding-top: clamp(42px, 5vw, 68px); }
.page-hero + .page-section { scroll-margin-top: 90px; }
.page-hero + .story-list { padding-top: 34px; scroll-margin-top: 90px; }
.page-hero + .signup { padding-top: clamp(36px, 5vw, 62px); scroll-margin-top: 90px; }
#pricing, #pos { scroll-margin-top: 90px; }
html[dir="rtl"] .page-hero::after,
html[dir="rtl"] .hero.workspace-hero::after {
    background: linear-gradient(270deg, rgba(10, 36, 28, .95) 0%, rgba(10, 36, 28, .82) 49%, rgba(10, 36, 28, .55) 100%);
}
.essay { width: 100%; margin: 0; padding: 0; }
.essay-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: end;
    min-height: clamp(420px, 42vw, 600px);
    color: #fff;
    background: #0A241C;
}
.essay-hero-image {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: hero-ken-settle 1.3s ease-out both;
    transform-origin: 40% 35%;
}
.essay-hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 36, 28, .94), rgba(10, 36, 28, .72) 55%, rgba(10, 36, 28, .35));
}
.essay-hero-content {
    position: relative;
    z-index: 2;
    width: var(--measure);
    margin-inline: auto;
    padding-block: 96px 54px;
}
.essay-hero-content > * { max-width: min(760px, 72%); animation: hero-enter .72s ease-out both; }
.essay-hero-content > :nth-child(2) { animation-delay: .09s; }
.essay-hero-content > :nth-child(3) { animation-delay: .18s; }
.essay-hero h1 { color: #fff; max-width: 17ch; }
.essay-hero .lede { color: #E3E9EF; font-size: clamp(1.04rem, 1.5vw, 1.22rem); line-height: 1.65; }
.essay-hero .meta, .essay-hero .meta a { color: #1F8A65; }
.essay-layout { width: var(--measure); margin-inline: auto; padding-block: clamp(32px, 5vw, 58px); }
html[dir="rtl"] .essay-hero::after { background: linear-gradient(270deg, rgba(10, 36, 28, .95), rgba(10, 36, 28, .76) 55%, rgba(10, 36, 28, .4)); }
@keyframes hero-ken-settle {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
}
@keyframes hero-slide-end {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: none; }
}
@keyframes hero-rise-soft {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
@keyframes hero-fade-wide {
    from { opacity: 0; filter: blur(2px); }
    to { opacity: 1; filter: none; }
}
html[dir="rtl"] .page-hero--features .page-hero-content > *,
html[dir="rtl"] .page-hero--journal .page-hero-content > * {
    animation-name: hero-slide-start;
}
@keyframes hero-slide-start {
    from { opacity: 0; transform: translateX(-18px); }
    to { opacity: 1; transform: none; }
}

/* Stable product preview: tab changes never reflow the hero background. */
.preview-panels {
    position: relative;
    min-height: var(--preview-panel-height, 460px);
}
.product-preview .preview-pane {
    position: absolute;
    inset: 0;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
    animation: none;
}
.product-preview .preview-pane[hidden] {
    display: block !important;
}
.product-preview .preview-pane.is-active,
.product-preview .preview-pane:not([hidden]) {
    position: absolute;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
@media (max-width: 980px) {
    .hero.workspace-hero { min-height: 0; }
    .page-hero--animated .page-hero-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .page-hero-stage { max-width: 480px; justify-self: start; }
    .page-hero-content > * { max-width: min(680px, 100%); }
    .essay-hero-content > * { max-width: 88%; }
}
@media (max-width: 600px) {
    .page-hero { min-height: 0; }
    .page-hero--animated .page-hero-shell,
    .page-hero:not(.page-hero--animated) .page-hero-content { padding-block: 56px 62px; }
    .page-hero-content > * { max-width: 100%; }
    .page-hero h1 { font-size: clamp(2.1rem, 8.6vw, 2.85rem); }
    .page-hero-actions { flex-direction: column; align-items: stretch; }
    .page-hero-points { gap: 6px 14px; }
    .page-hero--legal .page-hero-content { padding-block: 44px; }
    .essay-hero { min-height: 0; }
    .essay-hero-content { padding-block: 72px 48px; }
    .essay-hero-content > * { max-width: 100%; }
    .essay-hero::after,
    html[dir="rtl"] .essay-hero::after { background: rgba(10, 36, 28, .8); }
    .hero.workspace-hero::after,
    .page-hero::after { background: rgba(10, 36, 28, .82); }
    html[dir="rtl"] .page-hero::after,
    html[dir="rtl"] .hero.workspace-hero::after { background: rgba(10, 36, 28, .82); }
}
@media (prefers-reduced-motion: reduce) {
    .hero.workspace-hero::before,
    .page-hero::before,
    .essay-hero-image { animation: none !important; transform: none; will-change: auto; }
    .page-hero-content > *,
    .essay-hero-content > *,
    .page-hero-stage .hero-stage { animation: none !important; opacity: 1; transform: none; filter: none; }
}

/* Closing call to action: use the full card and keep both actions together. */
.final-cta {
    padding: 0;
    overflow: hidden;
    margin-block: 54px 48px;
    box-shadow: none;
}
.final-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
    min-height: 420px;
}
.final-cta-copy {
    align-self: center;
    padding: clamp(32px, 5vw, 62px);
}
.final-cta h2 {
    max-width: 18ch;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.final-cta .lede { max-width: 34rem; line-height: 1.65; }
.final-cta .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 26px 0 0;
}
.final-cta .cta-actions a { min-width: 136px; }
.final-cta-visual {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    margin: 0;
    background: #1A2229;
}
.final-cta-visual img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: 74% center;
    transition: transform 1.1s ease;
}
.final-cta-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(10, 36, 28, .78) 100%);
    pointer-events: none;
}
.final-cta-visual figcaption {
    position: absolute;
    z-index: 1;
    inset-inline: 26px;
    bottom: 24px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.final-cta.reveal-pending .final-cta-visual img { transform: scale(1.07); }
.final-cta.is-in .final-cta-visual img { transform: scale(1); }
@media (max-width: 860px) {
    .final-cta-inner { grid-template-columns: 1fr; }
    .final-cta-visual, .final-cta-visual img { min-height: 250px; max-height: 300px; }
}
@media (max-width: 600px) {
    .final-cta { padding: 0; margin-block: 38px; }
    .final-cta-copy { padding: 32px 24px 36px; }
    .final-cta h2 { font-size: clamp(2.05rem, 9vw, 2.8rem); }
    .final-cta-visual, .final-cta-visual img { min-height: 220px; max-height: 240px; }
}
@media (max-width: 420px) {
    .final-cta .cta-actions { align-items: stretch; }
    .final-cta .cta-actions a { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .final-cta.reveal-pending .final-cta-visual img,
    .final-cta.is-in .final-cta-visual img { transform: none; transition: none; }
}

/* —— Animated hero stage: live shop desk —— */
.hero-stage {
    --hs-ink: #F2F4F6;
    --hs-muted: #A8B2BC;
    --hs-line: #2A4F44;
    --hs-accent: #1F8A65;
    --hs-green: #0F3D32;
    --hs-panel: #12352C;
    position: relative;
    border: 1px solid var(--hs-line);
    border-radius: var(--radius-frame, 6px);
    background:
        radial-gradient(ellipse at 90% 0%, rgba(31, 138, 101, .18), transparent 42%),
        var(--hs-panel);
    color: var(--hs-ink);
    padding: 16px 16px 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}
.hero-stage-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hs-muted);
}
.hero-stage-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hs-accent);
    box-shadow: 0 0 0 0 rgba(31, 138, 101, .55);
    animation: hs-led 1.6s ease-in-out infinite;
}
.hero-stage-body { display: grid; gap: 12px; }
.hero-stage-receipt {
    border: 1px solid var(--hs-line);
    border-radius: var(--radius-surface, 4px);
    background: rgba(10, 36, 28, .55);
    padding: 12px;
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: .72rem;
    line-height: 1.55;
}
.hero-stage-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    color: var(--hs-muted);
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    opacity: 0;
    animation: hs-type .55s ease-out both;
}
.hero-stage-line:nth-child(1) { animation-delay: .15s; }
.hero-stage-line:nth-child(2) { animation-delay: .28s; }
.hero-stage-line:nth-child(3) { animation-delay: .41s; }
.hero-stage-line:nth-child(4) { animation-delay: .54s; }
.hero-stage-line strong { color: var(--hs-ink); font-weight: 600; }
.hero-stage-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--hs-line);
    font-size: .9rem;
    font-weight: 700;
}
.hero-stage-total b {
    color: var(--hs-accent);
    font-variant-numeric: tabular-nums;
}
.hero-stage-meters { display: grid; gap: 8px; }
.hero-stage-meter {
    display: grid;
    grid-template-columns: 72px 1fr 42px;
    align-items: center;
    gap: 8px;
    font-size: .68rem;
    color: var(--hs-muted);
}
.hero-stage-bar {
    height: 6px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}
.hero-stage-bar > i {
    display: block;
    height: 100%;
    width: var(--w, 60%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--hs-green), var(--hs-accent));
    transform-origin: left center;
    transform: scaleX(0);
    animation: hs-fill .9s cubic-bezier(.2,.75,.2,1) .45s both;
}
.hero-stage-meter:nth-child(2) .hero-stage-bar > i { animation-delay: .6s; }
.hero-stage-meter:nth-child(3) .hero-stage-bar > i { animation-delay: .75s; }

/* Scene-specific stage compositions */
.hero-stage--pricing { background: linear-gradient(160deg, #0F3D32 0%, #12352C 55%, #0A241C 100%); }
.hero-stage-plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-stage-plans li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 12px;
    border: 1px solid var(--hs-line);
    border-radius: var(--radius-surface, 4px);
    background: rgba(10, 36, 28, .45);
    opacity: 0;
    animation: hs-type .55s ease-out both;
}
.hero-stage-plans li:nth-child(1) { animation-delay: .12s; }
.hero-stage-plans li:nth-child(2) { animation-delay: .24s; }
.hero-stage-plans li:nth-child(3) { animation-delay: .36s; }
.hero-stage-plans li.is-featured { border-color: rgba(31, 138, 101, .7); box-shadow: inset 0 0 0 1px rgba(31, 138, 101, .25); }
.hero-stage-plans span { color: var(--hs-muted); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; }
.hero-stage-plans strong { font-size: .95rem; justify-self: end; }
.hero-stage-plans i {
    grid-column: 1 / -1;
    display: block;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    position: relative;
    overflow: hidden;
}
.hero-stage-plans i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w, 40%);
    background: linear-gradient(90deg, var(--hs-green), var(--hs-accent));
    transform-origin: left center;
    transform: scaleX(0);
    animation: hs-fill .85s cubic-bezier(.2,.75,.2,1) .5s both;
}

.hero-stage-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-stage-timeline li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    opacity: 0;
    animation: hs-type .55s ease-out both;
}
.hero-stage-timeline li:nth-child(1) { animation-delay: .1s; }
.hero-stage-timeline li:nth-child(2) { animation-delay: .22s; }
.hero-stage-timeline li:nth-child(3) { animation-delay: .34s; }
.hero-stage-timeline span {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid var(--hs-line);
    color: var(--hs-accent);
    font-size: .68rem;
    font-weight: 700;
}
.hero-stage-timeline strong { display: block; font-size: .84rem; margin-bottom: 2px; }
.hero-stage-timeline p { margin: 0; color: var(--hs-muted); font-size: .68rem; }

.hero-stage-channel {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--hs-line);
    border-radius: var(--radius-surface, 4px);
    background: rgba(10, 36, 28, .4);
    opacity: 0;
    animation: hs-type .5s ease-out both;
}
.hero-stage-channel:nth-child(1) { animation-delay: .1s; }
.hero-stage-channel:nth-child(2) { animation-delay: .2s; }
.hero-stage-channel:nth-child(3) { animation-delay: .3s; }
.hero-stage-channel span { color: var(--hs-muted); font-size: .7rem; }
.hero-stage-channel strong { font-size: .82rem; }

.hero-stage-q {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--hs-line);
    border-radius: var(--radius-surface, 4px);
    opacity: 0;
    animation: hs-type .5s ease-out both;
}
.hero-stage-q:nth-child(1) { animation-delay: .1s; }
.hero-stage-q:nth-child(2) { animation-delay: .2s; }
.hero-stage-q:nth-child(3) { animation-delay: .3s; }
.hero-stage-q.is-open { background: rgba(31, 138, 101, .12); border-color: rgba(31, 138, 101, .45); }
.hero-stage-q > span {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(31, 138, 101, .18);
    color: var(--hs-accent);
    font-size: .65rem;
    font-weight: 700;
}
.hero-stage-q p { margin: 0; font-size: .74rem; line-height: 1.45; color: var(--hs-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hero-stage-article {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-inline-start: 3px solid var(--hs-line);
    background: rgba(10, 36, 28, .35);
    opacity: 0;
    animation: hs-type .55s ease-out both;
}
.hero-stage-article:nth-child(1) { animation-delay: .12s; }
.hero-stage-article:nth-child(2) { animation-delay: .24s; }
.hero-stage-article:nth-child(3) { animation-delay: .36s; }
.hero-stage-article.is-lead { border-inline-start-color: var(--hs-accent); background: rgba(31, 138, 101, .12); }
.hero-stage-article span { color: var(--hs-muted); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }
.hero-stage-article strong { font-size: .82rem; line-height: 1.35; }

.hero-stage-modules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.hero-stage-modules span {
    padding: 10px;
    border: 1px solid var(--hs-line);
    border-radius: var(--radius-control, 3px);
    background: rgba(10, 36, 28, .4);
    font-size: .72rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    animation: hs-type .45s ease-out both;
}
.hero-stage-modules span:nth-child(1) { animation-delay: .08s; }
.hero-stage-modules span:nth-child(2) { animation-delay: .16s; }
.hero-stage-modules span:nth-child(3) { animation-delay: .24s; }
.hero-stage-modules span:nth-child(4) { animation-delay: .32s; }

.hero-stage-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-stage-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--hs-line);
    border-radius: var(--radius-surface, 4px);
    font-size: .8rem;
    opacity: 0;
    animation: hs-type .5s ease-out both;
}
.hero-stage-steps li:nth-child(1) { animation-delay: .1s; }
.hero-stage-steps li:nth-child(2) { animation-delay: .22s; }
.hero-stage-steps li:nth-child(3) { animation-delay: .34s; }
.hero-stage-steps li.is-done { color: var(--hs-accent); }
.hero-stage-steps li.is-active { border-color: rgba(31, 138, 101, .65); background: rgba(31, 138, 101, .12); }
.hero-stage-steps span {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    font-size: .7rem;
    font-weight: 700;
}
.hero-stage-note {
    margin: 4px 0 0;
    color: var(--hs-muted);
    font-size: .68rem;
    line-height: 1.5;
}
.hero-stage-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
    font-size: .66rem;
    color: var(--hs-muted);
}
.hero-stage-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: var(--radius-tag, 2px);
    background: rgba(31, 138, 101, .16);
    color: var(--hs-accent);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hero-stage--compact { padding: 10px 12px; }
.hero-stage--compact .hero-stage-meters { display: none; }
.hero-status-ribbon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px 12px;
    border: 1px solid rgba(31, 138, 101, .4);
    border-radius: var(--radius-control, 3px);
    background: rgba(10, 36, 28, .72);
    color: #E3E9EF;
    font-size: .72rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}
.hero-status-ribbon .hero-stage-led { flex-shrink: 0; }
.hero-status-ribbon b { color: #1F8A65; font-variant-numeric: tabular-nums; }

@keyframes hs-led {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(31, 138, 101, .35); }
    50% { opacity: .65; box-shadow: 0 0 0 5px rgba(31, 138, 101, 0); }
}
@keyframes hs-type {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}
@keyframes hs-fill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-stage-led,
    .hero-stage-line,
    .hero-stage-bar > i,
    .hero-stage-plans li,
    .hero-stage-plans i::after,
    .hero-stage-timeline li,
    .hero-stage-channel,
    .hero-stage-q,
    .hero-stage-article,
    .hero-stage-modules span,
    .hero-stage-steps li { animation: none !important; }
    .hero-stage-line,
    .hero-stage-plans li,
    .hero-stage-timeline li,
    .hero-stage-channel,
    .hero-stage-q,
    .hero-stage-article,
    .hero-stage-modules span,
    .hero-stage-steps li { opacity: 1; transform: none; }
    .hero-stage-bar > i,
    .hero-stage-plans i::after { transform: scaleX(1); }
}

/* Day-in-the-shop narrative strip */
.day-strip {
    width: var(--measure);
    margin: 0 auto;
}
.day-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 28px);
    list-style: none;
    margin: 0;
    padding: 0;
}
.day-moment {
    display: grid;
    gap: 14px;
    min-width: 0;
}
.day-moment-media {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-surface, 4px);
    aspect-ratio: 4 / 3;
    background: var(--surface-muted);
}
.day-moment-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.day-moment h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}
.day-moment p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}
.about-principles,
.about-build-grid,
.about-timeline,
.contact-guide {
    width: var(--measure);
    margin-inline: auto;
}
.about-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 28px);
}
.about-principle h3 { margin-bottom: 10px; }
.about-principle p { color: var(--muted); margin: 0; line-height: 1.7; }
.about-build-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px);
}
.about-build-grid ul {
    margin: 12px 0 0;
    padding-inline-start: 1.1em;
    color: var(--muted);
    line-height: 1.7;
}
.about-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
    border-inline-start: 2px solid var(--line);
    padding-inline-start: 22px;
}
.about-timeline li { position: relative; }
.about-timeline li::before {
    content: "";
    position: absolute;
    inset-inline-start: calc(-22px - 5px);
    top: .45em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mint);
    border: 2px solid var(--paper);
}
.about-timeline h3 { margin-bottom: 6px; font-size: 1.05rem; }
.about-timeline p { margin: 0; color: var(--muted); line-height: 1.65; }
.contact-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.contact-card h2 { font-size: 1rem; margin-bottom: 8px; }
.contact-guide {
    display: grid;
    gap: 28px;
}
.contact-guide-block h2 { margin-bottom: 10px; }
.contact-guide-block p,
.contact-guide-block li { color: var(--muted); line-height: 1.7; }
.contact-guide-block ul { margin: 8px 0 0; padding-inline-start: 1.1em; }
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 8px;
}
@media (max-width: 900px) {
    .day-strip-grid,
    .about-principles { grid-template-columns: 1fr; }
    .about-build-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .day-moment-media { aspect-ratio: 16 / 10; }
}
