:root {
    --wr-paper: #f3eee6;
    --wr-paper-light: #fffdf8;
    --wr-ink: #183f40;
    --wr-rose: #b83f58;
    --wr-rose-dark: #9a3048;
    --wr-muted: #6d615a;
    --wr-copy: #183f40;
    --wr-rule: rgba(24, 63, 64, 0.2);
    --wr-rule-strong: rgba(24, 63, 64, 0.38);
    --wr-radius-sm: 0.375rem;
    --wr-radius-md: 0.75rem;
}

.wr-intro-story,
.wr-home-section {
    color: var(--wr-copy);
    background: var(--wr-paper);
}

.wr-intro-story {
    --wr-story-nav-offset: var(--wr-nav-shell-height, 4.5rem);
    --wr-route-progress: 0;
    --wr-action-opacity: 0;
    --wr-cue-opacity: 1;
    --wr-stamp-progress: 0;
    position: relative;
    min-height: 220vh;
    min-height: 220svh;
    isolation: isolate;
}

.wr-story-sticky {
    position: sticky;
    top: var(--wr-story-nav-offset);
    display: flex;
    height: calc(100vh - var(--wr-story-nav-offset));
    height: calc(100svh - var(--wr-story-nav-offset));
    min-height: 39rem;
    align-items: center;
    overflow: hidden;
    overflow: clip;
    background: var(--wr-paper);
}

.wr-story-sticky > .container {
    width: 100%;
}

.wr-story-layout {
    position: relative;
    display: grid;
    width: min(100%, 78rem);
    margin-inline: auto;
    grid-template-columns: minmax(22rem, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
        "copy ticket"
        "route route"
        "action cue";
    gap: clamp(0.8rem, 1.6vh, 1.15rem) clamp(1.5rem, 3.5vw, 3.5rem);
    align-items: center;
}

.wr-story-ticket {
    grid-area: ticket;
    min-width: 0;
}

.wr-story-copy {
    grid-area: copy;
    max-width: 30rem;
}

.wr-kicker,
.wr-editorial-heading > p,
.wr-lookup-heading > p {
    margin: 0 0 0.85rem;
    color: var(--wr-rose-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.wr-kicker {
    padding-top: 0.75rem;
    border-top: 2px solid var(--wr-rose);
}

.wr-story-copy h1 {
    margin: 0 0 1rem;
    color: var(--wr-ink);
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: clamp(2.5rem, 4.2vw, 3.75rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.045em;
}

.wr-story-copy > p:last-child {
    max-width: 30rem;
    margin: 0;
    color: var(--wr-muted);
    font-size: 1rem;
    line-height: 1.72;
}

.wr-story-route {
    --wr-route-progress: inherit;
    position: relative;
    display: grid;
    grid-area: route;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    padding: 1.1rem 0 0;
    border-top: 1px solid var(--wr-rule);
    list-style: none;
}

.wr-story-route::before,
.wr-story-route::after {
    position: absolute;
    top: 2.83rem;
    right: calc(16.666% - 0.42rem);
    left: calc(16.666% + 0.42rem);
    height: 2px;
    content: "";
}

.wr-story-route::before {
    background: rgba(24, 63, 64, 0.22);
}

.wr-story-route::after {
    background: var(--wr-rose);
    transform: scaleX(var(--wr-route-progress));
    transform-origin: left center;
}

.wr-story-stop {
    --wr-stop-progress: 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    padding-inline: clamp(0.25rem, 1.5vw, 1rem);
    text-align: center;
    opacity: calc(0.65 + var(--wr-stop-progress) * 0.35);
    transform: translate3d(0, var(--wr-stop-y, 0.5rem), 0);
}

.wr-story-node {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border: 2px solid var(--wr-rose);
    border-radius: 50%;
    color: var(--wr-ink);
    background: var(--wr-paper);
    font: 700 0.75rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.wr-story-stop small,
.wr-story-stop strong {
    display: block;
}

.wr-story-stop small {
    margin-bottom: 0.1rem;
    color: var(--wr-rose-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.wr-story-stop strong {
    color: var(--wr-ink);
    font-size: 0.9rem;
    font-weight: 700;
}

.wr-story-action {
    grid-area: action;
    justify-self: start;
    opacity: var(--wr-action-opacity);
    pointer-events: none;
    transform: translate3d(0, var(--wr-action-y, 0.45rem), 0);
}

.wr-story-action.is-available {
    pointer-events: auto;
}

.wr-primary-action {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding-inline: 1.25rem;
    border-radius: var(--wr-radius-sm);
}

.wr-primary-action .wr-arrow-icon {
    width: 1.15rem;
    height: 1.15rem;
}

.wr-story-cue {
    display: flex;
    grid-area: cue;
    align-items: center;
    justify-self: end;
    gap: 0.65rem;
    margin: 0;
    color: var(--wr-muted);
    font-size: 0.78rem;
    font-weight: 700;
    opacity: var(--wr-cue-opacity);
}

.wr-story-cue > span {
    position: relative;
    display: block;
    width: 1.75rem;
    height: 1px;
    background: var(--wr-rule-strong);
}

.wr-story-cue > span::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--wr-rose);
    content: "";
    transform: translateY(-50%);
}

.wr-arrival-stamp {
    position: relative;
    z-index: 8;
    display: grid;
    width: 5.75rem;
    height: 5.75rem;
    grid-area: ticket;
    align-self: end;
    justify-self: end;
    place-content: center;
    gap: 0.08rem;
    margin: 0 0.7rem 0.85rem 0;
    padding: 0.65rem 0.42rem;
    border: 0.16rem solid currentColor;
    border-radius: 50%;
    color: rgba(154, 48, 72, 0.9);
    background: rgba(255, 253, 248, 0.72);
    box-shadow:
        inset 0 0 0 0.18rem rgba(154, 48, 72, 0.15),
        0 0 0 1px rgba(154, 48, 72, 0.16);
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    opacity: var(--wr-stamp-progress);
    pointer-events: none;
    transform:
        translate3d(0, calc((1 - var(--wr-stamp-progress)) * -0.65rem), 0)
        rotate(-9deg)
        scale(var(--wr-stamp-scale, 1.18));
    transform-origin: 52% 52%;
    mix-blend-mode: multiply;
}

.wr-arrival-stamp::before {
    position: absolute;
    inset: 0.34rem;
    border: 1px solid currentColor;
    border-radius: inherit;
    content: "";
    opacity: 0.76;
}

.wr-arrival-stamp::after {
    position: absolute;
    inset: 0.14rem;
    border-radius: inherit;
    background:
        linear-gradient(104deg, transparent 0 18%, rgba(255, 253, 248, 0.42) 19% 20%, transparent 21% 62%, rgba(255, 253, 248, 0.34) 63% 65%, transparent 66%),
        linear-gradient(8deg, transparent 0 37%, rgba(255, 253, 248, 0.28) 38% 39%, transparent 40%);
    content: "";
    opacity: 0.7;
}

.wr-arrival-stamp > * {
    position: relative;
    z-index: 1;
    display: block;
}

.wr-arrival-stamp > span,
.wr-arrival-stamp > small {
    font-size: 0.58rem;
    letter-spacing: 0.13em;
}

.wr-arrival-stamp > strong {
    margin-block: 0.14rem;
    padding-block: 0.19rem 0.16rem;
    border-block: 1px solid currentColor;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
}

.wr-story-progress {
    position: absolute;
    top: 0.75rem;
    right: -1.2rem;
    bottom: 0.75rem;
    width: 1px;
    overflow: visible;
    background: rgba(24, 63, 64, 0.16);
}

.wr-story-progress > span {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: var(--wr-rose);
    transform: scaleY(var(--wr-route-progress));
    transform-origin: top;
}

.wr-story-static .wr-story-cue {
    display: none;
}

.wr-intro-story.wr-story-static {
    min-height: auto;
}

.wr-story-static .wr-story-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: auto;
    padding-block: 2.5rem;
    overflow: visible;
}

.wr-home-section {
    position: relative;
    padding-block: clamp(4.5rem, 8vw, 7rem);
    border-top: 1px solid var(--wr-rule);
}

.wr-home-section h2 {
    color: var(--wr-ink);
    font-family: var(--wr-font-body);
    font-weight: 700;
}

.wr-brand-story > .container {
    display: grid;
    grid-template-columns: minmax(17rem, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2.5rem, 8vw, 8rem);
    align-items: start;
}

.wr-brand-story__lead > p {
    display: inline-block;
    min-width: 7rem;
    margin: 0 0 0.85rem;
    padding-top: 0.55rem;
    border-top: 2px solid var(--wr-rose);
    color: var(--wr-rose-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.wr-brand-story__lead h2 {
    max-width: 36rem;
    margin: 0;
    font-size: clamp(1.9rem, 3.5vw, 3.2rem);
    line-height: 1.34;
    letter-spacing: -0.035em;
}

.wr-brand-story__copy > p {
    margin: 0;
    color: var(--wr-muted);
    font-size: 1rem;
    line-height: 2;
}

.wr-brand-story__gift {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 0.35rem 1.25rem;
    margin-top: 2rem;
    padding-block: 1.25rem;
    border-block: 1px solid var(--wr-rule-strong);
}

.wr-brand-story__gift > span {
    grid-row: 1 / span 2;
    color: var(--wr-rose-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.wr-brand-story__gift > strong {
    color: var(--wr-ink);
    font-size: 0.95rem;
    line-height: 1.6;
}

.wr-brand-story__gift > small {
    color: var(--wr-muted);
    font-size: 0.78rem;
    line-height: 1.65;
}

.wr-editorial-heading {
    max-width: 42rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.wr-editorial-heading > p,
.wr-lookup-heading > p {
    display: inline-block;
    min-width: 7rem;
    padding-top: 0.55rem;
    border-top: 2px solid var(--wr-rose);
}

.wr-editorial-heading h2,
.wr-lookup-heading h2 {
    margin: 0;
    color: var(--wr-ink);
    font-family: var(--wr-font-body);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.wr-editorial-heading--split {
    display: flex;
    max-width: none;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.wr-editorial-heading--split > div {
    max-width: 42rem;
}

.wr-inline-link-group {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1.25rem;
}

.wr-inline-link {
    display: inline-flex;
    min-height: 2.75rem;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.5rem;
    padding-inline: 0.1rem;
    border-bottom: 1px solid var(--wr-rule-strong);
    color: var(--wr-ink);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        border-color var(--wr-motion-micro) ease,
        color var(--wr-motion-micro) ease;
}

.wr-inline-link:hover {
    border-color: var(--wr-rose);
    color: var(--wr-rose-dark);
}

.wr-fact-ledger {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    border-block: 1px solid var(--wr-rule-strong);
}

.wr-fact-ledger > div {
    min-width: 0;
    padding: 1.35rem clamp(0.8rem, 2vw, 1.5rem);
    border-right: 1px solid var(--wr-rule);
}

.wr-fact-ledger > div:first-child {
    padding-left: 0;
}

.wr-fact-ledger > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.wr-fact-ledger dt {
    margin-bottom: 0.75rem;
    color: var(--wr-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.wr-fact-ledger dd,
.wr-fact-ledger dd a,
.wr-fact-ledger dd strong,
.wr-fact-ledger dd span {
    display: block;
}

.wr-fact-ledger dd {
    margin: 0;
}

.wr-fact-ledger dd a {
    min-height: 44px;
    color: inherit;
    text-decoration: none;
}

.wr-fact-ledger dd strong {
    overflow: hidden;
    color: var(--wr-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wr-fact-ledger dd span {
    margin-top: 0.15rem;
    color: var(--wr-muted);
    font-size: 0.78rem;
}

.wr-lookup-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--wr-rule-strong);
    border-radius: var(--wr-radius-md);
    background: var(--wr-paper-light);
}

.wr-lookup-heading > span {
    display: block;
    max-width: 32rem;
    margin-top: 1rem;
    color: var(--wr-muted);
    font-size: 0.95rem;
}

.wr-lookup-heading h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.wr-lookup-form > label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--wr-ink);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.wr-lookup-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid var(--wr-rule-strong);
    border-radius: var(--wr-radius-sm);
    background: #fff;
}

.wr-lookup-control:focus-within {
    border-color: var(--wr-rose-dark);
    box-shadow: 0 0 0 3px rgba(154, 48, 72, 0.17);
}

.wr-lookup-control input {
    min-width: 0;
    min-height: 3.25rem;
    padding: 0.8rem 0.95rem;
    border: 0;
    outline: 0;
    color: var(--wr-ink);
    background: transparent;
    font: 700 0.95rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.wr-lookup-control button {
    min-width: 7rem;
    min-height: 3.25rem;
    padding-inline: 1rem;
    border: 0;
    color: #fff;
    background: var(--wr-ink);
    font-size: 0.85rem;
    font-weight: 700;
}

.wr-lookup-control button:hover {
    background: var(--wr-rose-dark);
}

.wr-lookup-form > p {
    margin: 0.6rem 0 0;
    color: var(--wr-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.wr-lookup-form code {
    color: var(--wr-ink);
    font-size: inherit;
}

.wr-lookup-form .wr-lookup-error {
    display: none;
    color: var(--wr-rose-dark);
    font-weight: 700;
}

.wr-lookup-form .wr-lookup-error.is-visible {
    display: block;
}

.wr-lookup-form.has-error .wr-lookup-control {
    border-color: var(--wr-rose-dark);
}

.wr-school-ledger {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--wr-rule-strong);
    list-style: none;
}

.wr-school-ledger li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 4.25rem;
    border-bottom: 1px solid var(--wr-rule);
}

.wr-school-ledger li > span {
    color: var(--wr-rose-dark);
    font: 700 0.75rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.wr-school-ledger li > strong {
    min-width: 0;
    color: var(--wr-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.wr-school-ledger li > small {
    overflow: hidden;
    max-width: min(10rem, 38vw);
    color: var(--wr-muted);
    font-size: 0.78rem;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wr-news-ledger {
    border-top: 1px solid var(--wr-rule-strong);
}

.wr-news-ledger article {
    position: relative;
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr) 2.75rem;
    gap: clamp(1rem, 4vw, 3.5rem);
    align-items: start;
    padding-block: 1.6rem;
    border-bottom: 1px solid var(--wr-rule);
}

.wr-news-date time,
.wr-news-date span {
    display: block;
}

.wr-news-date time {
    color: var(--wr-ink);
    font: 700 0.78rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.wr-news-date span {
    margin-top: 0.3rem;
    color: var(--wr-muted);
    font-size: 0.75rem;
}

.wr-news-copy h3 {
    margin: 0 0 0.4rem;
    font-family: var(--wr-font-body);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
}

.wr-news-copy h3 a {
    color: var(--wr-ink);
    text-decoration: none;
}

.wr-news-copy h3 a::after {
    position: absolute;
    inset: 0;
    content: "";
}

.wr-news-copy p {
    margin: 0;
    color: var(--wr-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.wr-news-open {
    position: relative;
    z-index: 2;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid var(--wr-rule);
    border-radius: 50%;
    color: var(--wr-ink);
    text-decoration: none;
}

.wr-news-ledger article:hover .wr-news-open {
    border-color: var(--wr-rose);
    color: var(--wr-rose-dark);
}

.wr-ledger-empty {
    margin: 0;
    padding-block: 2rem;
    border-bottom: 1px solid var(--wr-rule);
    color: var(--wr-muted);
}

.wr-faq-layout {
    display: grid;
    grid-template-columns: minmax(17rem, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
}

.wr-faq-layout > .wr-editorial-heading {
    position: sticky;
    top: 7rem;
}

.wr-faq-layout .wr-inline-link {
    margin-top: 1.4rem;
}

@media (max-width: 991.98px) {
    .wr-story-sticky {
        min-height: 0;
    }

    .wr-story-layout {
        width: min(100%, 42rem);
        grid-template-columns: 1fr;
        grid-template-areas:
            "ticket"
            "copy"
            "route"
            "action"
            "cue";
        gap: clamp(0.55rem, 1.5vh, 0.9rem);
    }

    .wr-story-copy {
        text-align: center;
    }

    .wr-kicker {
        display: inline-block;
        margin-bottom: 0.55rem;
        padding-top: 0.4rem;
    }

    .wr-story-copy h1 {
        margin-bottom: 0.65rem;
        font-size: clamp(2rem, 6vw, 3.25rem);
        line-height: 1.16;
    }

    .wr-story-copy > p:last-child {
        margin-inline: auto;
        line-height: 1.7;
    }

    .wr-story-route {
        padding-top: 0.7rem;
    }

    .wr-story-route::before,
    .wr-story-route::after {
        top: 2.43rem;
    }

    .wr-story-stop {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        text-align: center;
    }

    .wr-story-node {
        width: 2.35rem;
        height: 2.35rem;
    }

    .wr-story-stop strong {
        font-size: 0.8rem;
    }

    .wr-story-action,
    .wr-story-cue {
        justify-self: center;
    }

    .wr-arrival-stamp {
        margin: 0 0 2.5rem;
    }

    .wr-story-progress {
        display: none;
    }

    .wr-fact-ledger {
        grid-template-columns: repeat(2, 1fr);
    }

    .wr-fact-ledger > div:nth-child(2) {
        border-right: 0;
    }

    .wr-fact-ledger > div:nth-child(n + 3) {
        border-top: 1px solid var(--wr-rule);
    }

    .wr-fact-ledger > div:nth-child(3) {
        padding-left: 0;
    }

    .wr-lookup-panel {
        grid-template-columns: 1fr;
    }

    .wr-faq-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .wr-brand-story > .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wr-faq-layout > .wr-editorial-heading {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .wr-story-sticky > .container {
        padding-inline: 0.75rem;
    }

    .wr-story-layout {
        gap: clamp(0.35rem, 1.1vh, 0.65rem);
    }

    .wr-story-ticket .wr-handoff-caption {
        text-align: center;
    }

    .wr-story-ticket .wr-handoff-status {
        text-align: center;
    }

    .wr-story-copy h1 {
        font-size: clamp(1.88rem, 8.7vw, 2.45rem);
    }

    .wr-story-copy > p:last-child {
        font-size: 0.88rem;
        line-height: 1.62;
    }

    .wr-kicker {
        font-size: 0.75rem;
    }

    .wr-story-route {
        padding-top: 0.55rem;
    }

    .wr-story-route::before,
    .wr-story-route::after {
        top: 2.1rem;
        right: calc(16.666% - 0.32rem);
        left: calc(16.666% + 0.32rem);
    }

    .wr-story-node {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }

    .wr-story-stop small {
        font-size: 0.75rem;
    }

    .wr-story-stop strong {
        font-size: 0.75rem;
        line-height: 1.35;
    }

    .wr-story-cue {
        font-size: 0.75rem;
    }

    .wr-arrival-stamp {
        margin-bottom: 2.15rem;
        font-size: 0.75rem;
    }

    .wr-home-section {
        padding-block: 4rem;
    }

    .wr-brand-story__gift {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .wr-brand-story__gift > span {
        grid-row: auto;
    }

    .wr-editorial-heading--split {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .wr-inline-link-group {
        justify-content: flex-start;
    }

    .wr-fact-ledger {
        grid-template-columns: 1fr;
    }

    .wr-fact-ledger > div,
    .wr-fact-ledger > div:first-child,
    .wr-fact-ledger > div:nth-child(3),
    .wr-fact-ledger > div:last-child {
        padding: 1rem 0;
        border-top: 1px solid var(--wr-rule);
        border-right: 0;
    }

    .wr-fact-ledger > div:first-child {
        border-top: 0;
    }

    .wr-fact-ledger dd {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 1rem;
    }

    .wr-fact-ledger dd a {
        display: flex;
        width: 100%;
        align-items: baseline;
        justify-content: space-between;
        gap: 1rem;
    }

    .wr-fact-ledger dd span {
        margin-top: 0;
        text-align: right;
    }

    .wr-lookup-panel {
        gap: 1.75rem;
        padding: 1.5rem 1rem;
    }

    .wr-lookup-control {
        grid-template-columns: 1fr;
    }

    .wr-lookup-control button {
        width: 100%;
    }

    .wr-school-ledger li {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.75rem;
    }

    .wr-school-ledger li > small {
        display: block;
    }

    .wr-news-ledger article {
        grid-template-columns: minmax(0, 1fr) 2.75rem;
        gap: 1rem;
    }

    .wr-news-date,
    .wr-news-copy {
        grid-column: 1;
    }

    .wr-news-copy {
        grid-row: 2;
    }

    .wr-news-open {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }

}

@media (max-width: 575.98px) and (max-height: 699.98px) and (orientation: portrait) {
    .wr-intro-story {
        min-height: 165vh;
        min-height: 165svh;
    }

    .wr-story-sticky {
        position: sticky;
        top: var(--wr-story-nav-offset);
        height: calc(100svh - var(--wr-story-nav-offset));
        min-height: 0;
        padding-block: 0.35rem;
        overflow: hidden;
        overflow: clip;
    }

    .wr-story-layout {
        gap: 0.24rem;
    }

    .wr-story-ticket .wr-handoff-caption {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .wr-story-ticket .wr-handoff-ticket-pair,
    .wr-story-ticket .wr-handoff-stub,
    .wr-story-ticket .wr-handoff-main-ticket {
        min-height: 9.7rem;
        height: 9.7rem;
    }

    .wr-story-ticket .wr-handoff-main-ticket {
        padding-block: 0.58rem;
    }

    .wr-story-ticket .wr-handoff-ticket-head {
        padding-bottom: 0.35rem;
    }

    .wr-story-ticket .wr-handoff-destination {
        padding-block: 0.38rem;
    }

    .wr-story-ticket .wr-handoff-details {
        display: none;
    }

    .wr-story-ticket .wr-handoff-status {
        min-height: 1.55rem;
        margin-top: 0.2rem !important;
        font-size: 0.75rem;
        line-height: 1.35;
    }

    .wr-story-copy h1 {
        margin-bottom: 0.25rem;
        font-size: clamp(1.65rem, 8vw, 2rem);
        line-height: 1.1;
    }

    .wr-story-copy > p:last-child {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .wr-kicker {
        margin-bottom: 0.25rem;
        padding-top: 0.25rem;
        font-size: 0.75rem;
    }

    .wr-story-route {
        padding-top: 0.25rem;
    }

    .wr-story-route::before,
    .wr-story-route::after {
        top: 1.63rem;
    }

    .wr-story-node {
        width: 1.6rem;
        height: 1.6rem;
        font-size: 0.75rem;
    }

    .wr-story-stop {
        gap: 0.15rem;
    }

    .wr-story-stop small,
    .wr-story-stop strong,
    .wr-story-cue,
    .wr-arrival-stamp {
        font-size: 0.75rem;
    }

    .wr-primary-action {
        min-height: 2.75rem;
    }

    .wr-arrival-stamp {
        margin-bottom: 1.65rem;
    }
}

@media (max-height: 699.98px) and (min-width: 576px) and (max-width: 991.98px), (max-width: 900px) and (orientation: landscape) {
    .wr-intro-story {
        min-height: auto;
    }

    .wr-story-sticky {
        position: relative;
        top: auto;
        height: auto;
        min-height: auto;
        padding-block: 2.5rem;
        overflow: visible;
    }

    .wr-story-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "ticket"
            "copy"
            "route"
            "action"
            "cue";
    }

    .wr-story-copy {
        text-align: center;
    }

    .wr-story-copy > p:last-child {
        margin-inline: auto;
    }

    .wr-story-action,
    .wr-story-cue {
        justify-self: center;
    }

    .wr-arrival-stamp {
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 1200px) and (min-height: 900px) and (prefers-reduced-motion: no-preference) {
    .wr-intro-story:not(.wr-story-static) .wr-story-sticky {
        align-items: flex-start;
        padding-block-start: clamp(3rem, 6vh, 5rem);
        padding-block-start: clamp(3rem, 6svh, 5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wr-intro-story {
        min-height: auto;
    }

    .wr-story-sticky {
        position: relative;
        top: auto;
        height: auto;
        min-height: auto;
        padding-block: 2.5rem;
        overflow: visible;
    }

    .wr-story-stop,
    .wr-story-action,
    .wr-arrival-stamp {
        opacity: 1 !important;
        transform: none !important;
    }

    .wr-story-action {
        pointer-events: auto;
    }

    .wr-story-route::after,
    .wr-story-progress > span {
        transform: scale(1) !important;
    }

    .wr-story-cue {
        display: none;
    }
}

/* Mobile is the primary homepage composition, not a scaled desktop layout. */
@media (max-width: 575.98px) {
    .wr-intro-story {
        min-height: 178svh;
    }

    .wr-story-sticky {
        padding-block: 0.65rem;
    }

    .wr-story-sticky > .container {
        padding-inline:
            max(0.9rem, env(safe-area-inset-left))
            max(0.9rem, env(safe-area-inset-right));
    }

    .wr-story-layout {
        width: 100%;
        grid-template-areas:
            "copy"
            "action"
            "ticket"
            "route";
        gap: clamp(0.45rem, 1.25svh, 0.75rem);
    }

    .wr-story-copy {
        text-align: left;
    }

    .wr-story-copy h1 {
        max-width: 10em;
        margin-bottom: 0.55rem;
        font-size: clamp(2rem, 9.6vw, 2.5rem);
        line-height: 1.13;
        letter-spacing: -0.04em;
    }

    .wr-story-copy > p:last-child {
        margin: 0;
        color: var(--wr-muted);
        font-size: 1rem;
        line-height: 1.58;
    }

    .wr-story-action {
        width: 100%;
        justify-self: stretch;
        opacity: 1 !important;
        pointer-events: auto;
        transform: none !important;
    }

    .wr-primary-action {
        width: 100%;
        min-height: 3rem;
        justify-content: space-between;
        padding-inline: 1rem;
        font-size: 1rem;
    }

    .wr-story-cue,
    .wr-story-progress {
        display: none;
    }

    .wr-story-route {
        padding-top: 0.45rem;
    }

    .wr-story-route::before,
    .wr-story-route::after {
        top: 1.92rem;
    }

    .wr-story-node {
        width: 1.85rem;
        height: 1.85rem;
        font-size: 0.75rem;
    }

    .wr-story-stop {
        gap: 0.35rem;
        padding-inline: 0.2rem;
    }

    .wr-story-stop strong {
        font-size: 0.875rem;
        line-height: 1.35;
    }

    .wr-arrival-stamp {
        width: 4.85rem;
        height: 4.85rem;
        margin: 0 0.4rem 0.3rem 0;
        padding-inline: 0.34rem;
    }

    .wr-arrival-stamp > span,
    .wr-arrival-stamp > small {
        font-size: 0.5rem;
    }

    .wr-arrival-stamp > strong {
        font-size: 0.88rem;
    }

    .wr-home-section {
        padding-block: 3rem;
    }

    .wr-home-section h2,
    .wr-editorial-heading h2,
    .wr-lookup-heading h2 {
        font-size: clamp(1.55rem, 7.5vw, 1.9rem);
        line-height: 1.3;
        letter-spacing: -0.02em;
    }

    .wr-editorial-heading {
        margin-bottom: 1.5rem;
    }

    .wr-fact-ledger {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wr-fact-ledger > div,
    .wr-fact-ledger > div:first-child,
    .wr-fact-ledger > div:nth-child(3),
    .wr-fact-ledger > div:last-child {
        min-height: 7rem;
        padding: 1rem;
        border-top: 0;
        border-right: 1px solid var(--wr-rule);
    }

    .wr-fact-ledger > div:nth-child(even) {
        border-right: 0;
    }

    .wr-fact-ledger > div:nth-child(n + 3) {
        border-top: 1px solid var(--wr-rule);
    }

    .wr-fact-ledger dt {
        margin-bottom: 0.55rem;
        font-size: 0.875rem;
        letter-spacing: 0;
    }

    .wr-fact-ledger dd,
    .wr-fact-ledger dd a {
        display: block;
    }

    .wr-fact-ledger dd strong {
        overflow: visible;
        font-size: 1rem;
        line-height: 1.45;
        text-overflow: clip;
        white-space: normal;
    }

    .wr-fact-ledger dd span {
        margin-top: 0.25rem;
        font-size: 0.875rem;
        line-height: 1.45;
        text-align: left;
    }

    .wr-lookup-panel {
        gap: 1.25rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .wr-lookup-heading > span {
        margin-top: 0.5rem;
        font-size: 1rem;
        line-height: 1.65;
    }

    .wr-lookup-form > label {
        font-size: 0.875rem;
        letter-spacing: 0;
    }

    .wr-lookup-control {
        grid-template-columns: minmax(0, 1fr) 5.5rem;
    }

    .wr-lookup-control input,
    .wr-lookup-control button {
        min-height: 3.25rem;
    }

    .wr-lookup-control input {
        padding-inline: 0.75rem;
        font-size: 0.875rem;
    }

    .wr-lookup-control button {
        min-width: 0;
        width: auto;
        padding-inline: 0.75rem;
        font-size: 0.9375rem;
    }

    .wr-lookup-form > p {
        font-size: 0.875rem;
        line-height: 1.55;
    }

    .wr-school-ledger li {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 3.75rem;
        gap: 0.75rem;
    }

    .wr-school-ledger li > small {
        display: block;
        font-size: 0.875rem;
    }

    .wr-news-ledger article {
        grid-template-columns: minmax(0, 1fr) 2.75rem;
        padding-block: 1.25rem;
    }

    .wr-news-copy h3 {
        margin: 0;
        font-size: 1.0625rem;
    }

    .wr-news-date span,
    .wr-news-date time {
        font-size: 0.875rem;
    }

}

@media (max-width: 575.98px) and (max-height: 699.98px) and (orientation: portrait) {
    .wr-intro-story {
        min-height: 172svh;
    }

    .wr-story-sticky {
        padding-block: 0.3rem;
    }

    .wr-story-layout {
        gap: 0.35rem;
    }

    .wr-story-copy h1 {
        margin-bottom: 0.25rem;
        font-size: 1.75rem;
        line-height: 1.1;
    }

    .wr-story-copy > p:last-child {
        font-size: 1rem;
        line-height: 1.42;
    }

    .wr-story-route {
        padding-top: 0.25rem;
    }

    .wr-story-stop strong {
        font-size: 0.875rem;
    }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
    .wr-story-sticky {
        padding-block: 0.75rem;
    }

    .wr-story-sticky > .container {
        max-width: none;
        padding-inline:
            max(1rem, env(safe-area-inset-left))
            max(1rem, env(safe-area-inset-right));
    }

    .wr-story-layout {
        width: 100%;
        grid-template-columns: minmax(15rem, 0.8fr) minmax(19rem, 1.2fr);
        grid-template-areas:
            "copy ticket"
            "action ticket"
            "route route";
        gap: 0.55rem 1.5rem;
    }

    .wr-story-copy {
        align-self: end;
        text-align: left;
    }

    .wr-story-copy h1 {
        max-width: 10em;
        margin-bottom: 0.35rem;
        font-size: clamp(1.75rem, 4.2vw, 2.25rem);
        line-height: 1.08;
    }

    .wr-story-copy > p:last-child {
        margin: 0;
        font-size: 0.875rem;
        line-height: 1.45;
    }

    .wr-story-action {
        justify-self: start;
    }

    .wr-primary-action {
        min-height: 2.75rem;
        font-size: 0.9375rem;
    }

    .wr-story-cue,
    .wr-story-progress {
        display: none;
    }

    .wr-story-ticket .wr-handoff-ticket-pair,
    .wr-story-ticket .wr-handoff-stub,
    .wr-story-ticket .wr-handoff-main-ticket {
        min-height: 10.25rem;
        height: 10.25rem;
    }

    .wr-story-ticket .wr-handoff-main-ticket {
        padding: 0.75rem;
    }

    .wr-story-ticket .wr-handoff-details {
        display: none;
    }

    .wr-story-route {
        padding-top: 0.35rem;
    }

    .wr-story-route::before,
    .wr-story-route::after {
        top: 1.83rem;
    }

    .wr-story-node {
        width: 1.75rem;
        height: 1.75rem;
    }

    .wr-story-stop {
        gap: 0.25rem;
    }

    .wr-story-stop strong {
        font-size: 0.875rem;
    }

    .wr-arrival-stamp {
        width: 4.5rem;
        height: 4.5rem;
        margin: 0 0.25rem 0.25rem 0;
    }
}

/* Short desktop windows need a compact desktop composition, not the stacked
   landscape fallback used by tablets and phones. */
@media (min-width: 992px) and (max-height: 699.98px) {
    .wr-story-sticky {
        padding-block: 1rem;
    }

    .wr-story-sticky > .container {
        padding-inline: clamp(1rem, 3vw, 2.5rem);
    }

    .wr-story-layout {
        width: min(100%, 72rem);
        grid-template-columns: minmax(20rem, 0.82fr) minmax(30rem, 1.18fr);
        grid-template-areas:
            "copy ticket"
            "action ticket"
            "route route";
        gap: 0.55rem clamp(1.5rem, 3vw, 2.5rem);
    }

    .wr-story-copy {
        align-self: end;
        max-width: 28rem;
        text-align: left;
    }

    .wr-story-copy h1 {
        max-width: 9em;
        margin-bottom: 0.55rem;
        font-size: clamp(2.35rem, 4.6vw, 3.35rem);
        line-height: 1.08;
    }

    .wr-story-copy > p:last-child {
        max-width: 28rem;
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .wr-story-ticket {
        align-self: center;
    }

    .wr-story-action {
        align-self: start;
        justify-self: start;
    }

    .wr-story-cue,
    .wr-story-progress {
        display: none;
    }

    .wr-story-route {
        padding-top: 0.45rem;
    }

    .wr-story-route::before,
    .wr-story-route::after {
        top: 2.15rem;
    }

    .wr-story-node {
        width: 2.2rem;
        height: 2.2rem;
    }

    .wr-arrival-stamp {
        width: 4.75rem;
        height: 4.75rem;
        margin: 0 0.35rem 0.35rem 0;
    }
}
