/*
 * Corrowden School: shared layer (every page). Base type, the nav and phone sheet, the notched
 * ticket button, sub-page heads, the visit-day calendar and booking panel, forms and the footer.
 * Values come from assets/tokens.css only. Namespace .cw-*.
 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--s-nav-h) + var(--s-space-4)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0; background: var(--s-bg); color: var(--s-text);
    font: var(--s-weight-regular) var(--s-size-body)/var(--s-leading-body) var(--s-font-body);
    font-kerning: normal; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: var(--s-rule-w) solid var(--s-focus); outline-offset: var(--s-space-1); }
.cw-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cw-skip {
    position: absolute; left: var(--s-space-4); top: var(--s-space-4); z-index: 60; padding: var(--s-space-3) var(--s-space-4);
    background: var(--s-oxide); color: var(--s-on-oxide); transform: translateY(-160%); transition: transform var(--s-dur-fast) var(--s-ease);
}
.cw-skip:focus { transform: none; }

/* ---- Shared type ---------------------------------------------------------------------- */
.cw-wrap { width: 100%; max-width: var(--s-max); margin-inline: auto; padding-inline: var(--s-gutter); }
.cw-micro { font-size: var(--s-size-micro); letter-spacing: var(--s-track-micro); text-transform: uppercase; font-weight: var(--s-weight-medium); }
.cw-kicker {
    display: flex; align-items: center; gap: var(--s-space-3); margin-bottom: var(--s-space-4);
    font-size: var(--s-size-micro); letter-spacing: var(--s-track-micro); text-transform: uppercase;
    font-weight: var(--s-weight-bold); color: var(--s-verdigris-deep);
}
.cw-kicker::before { content: ""; width: var(--s-space-6); height: var(--s-rule-w); background: currentColor; }
.cw-kicker--on-oxide { color: var(--s-verdigris-light); }
.cw-h2 {
    font: var(--s-weight-medium) var(--s-size-h2)/var(--s-leading-display) var(--s-font-display);
    letter-spacing: var(--s-track-display); text-wrap: balance;
}
.cw-lede { margin-top: var(--s-space-5); max-width: var(--s-measure-narrow); font-size: var(--s-size-lede); line-height: var(--s-leading-snug); color: var(--s-muted); }
.cw-link {
    display: inline-flex; align-items: center; min-height: var(--s-touch); gap: var(--s-space-2);
    color: var(--s-verdigris-deep); font-weight: var(--s-weight-bold); text-decoration: none;
    background: linear-gradient(currentColor, currentColor) left calc(100% - var(--s-space-2)) / 100% var(--s-hairline) no-repeat;
    transition: background-size var(--s-dur) var(--s-ease), color var(--s-dur-fast) var(--s-ease);
}
.cw-link::after { content: ""; width: var(--s-space-3); height: var(--s-space-3); border-top: var(--s-rule-w) solid; border-right: var(--s-rule-w) solid; transform: rotate(45deg) scale(0.7); transition: transform var(--s-dur) var(--s-ease); }
.cw-link:hover::after { transform: translateX(var(--s-space-1)) rotate(45deg) scale(0.7); }
.cw-link--on-oxide { color: var(--s-verdigris-light); }

/* ---- The notched ticket (the primary button): a rectangle with inverse-radius notches on
        both short edges, a perforation, and a stub holding a ruled arrow. The notched shape is
        a masked ::before, so the focus outline is never clipped. ---------------------------- */
.cw-ticket {
    position: relative; isolation: isolate; display: inline-flex; align-items: stretch; min-height: calc(var(--s-touch) + var(--s-space-2));
    color: var(--s-accent-ink); text-decoration: none; border: 0; padding: 0; background: none; cursor: pointer;
    font: var(--s-weight-bold) var(--s-size-body)/var(--s-leading-solid) var(--s-font-body); letter-spacing: var(--s-track-button);
    filter: drop-shadow(0 var(--s-hairline) 0 var(--s-verdigris-dark));
    transition: transform var(--s-dur-fast) var(--s-ease);
}
.cw-ticket::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: var(--s-verdigris);
    -webkit-mask: radial-gradient(circle var(--s-notch) at left center, transparent 96%, black) left / 51% 100% no-repeat,
                  radial-gradient(circle var(--s-notch) at right center, transparent 96%, black) right / 51% 100% no-repeat;
            mask: radial-gradient(circle var(--s-notch) at left center, transparent 96%, black) left / 51% 100% no-repeat,
                  radial-gradient(circle var(--s-notch) at right center, transparent 96%, black) right / 51% 100% no-repeat;
    transition: background-color var(--s-dur-fast) var(--s-ease);
}
.cw-ticket:hover { transform: translateY(var(--s-lift)); }
.cw-ticket:hover::before { background: var(--s-verdigris-light); }
.cw-ticket:active { transform: none; }
.cw-ticket__label { display: inline-flex; align-items: center; padding: 0 var(--s-space-5) 0 calc(var(--s-notch) + var(--s-space-4)); white-space: nowrap; }
.cw-ticket__stub {
    display: inline-flex; align-items: center; justify-content: center; width: var(--s-ticket-stub); padding-right: var(--s-notch);
    background: linear-gradient(var(--s-ink), var(--s-ink)) left center / var(--s-hairline) 60% no-repeat;
    -webkit-mask: linear-gradient(black 50%, transparent 0) left top / var(--s-hairline) var(--s-space-2) repeat-y, linear-gradient(black, black) var(--s-hairline) 0 / 100% 100% no-repeat;
}
.cw-arrow { width: var(--s-space-5); height: var(--s-space-3); fill: none; stroke: currentColor; stroke-width: var(--s-rule-w); transition: transform var(--s-dur) var(--s-ease); }
.cw-ticket:hover .cw-arrow { transform: translateX(var(--s-space-1)); }
.cw-ticket:focus-visible { outline-offset: var(--s-space-1); }
.cw-ticket--wide { width: 100%; justify-content: space-between; }
.cw-ticket__short { display: none; }

/* ---- Nav --------------------------------------------------------------------------------- */
.cw-nav {
    position: sticky; top: 0; z-index: 40; height: var(--s-nav-h);
    display: flex; align-items: center; gap: var(--s-space-6); padding-inline: var(--s-gutter);
    background: var(--s-oxide); color: var(--s-on-oxide); border-bottom: var(--s-hairline) solid var(--s-rule-on-oxide);
    transition: box-shadow var(--s-dur) var(--s-ease);
}
.cw-nav.is-scrolled { box-shadow: 0 var(--s-space-2) var(--s-space-6) calc(var(--s-space-4) * -1) var(--s-shadow); }
.cw-mark {
    display: inline-flex; align-items: center; gap: var(--s-space-3); min-height: var(--s-touch); margin-right: auto;
    text-decoration: none; color: inherit;
}
.cw-glyph { width: var(--s-space-6); height: var(--s-space-6); fill: var(--s-verdigris); stroke: none; flex: none; }
.cw-glyph__finial, .cw-glyph__rib { fill: none; stroke: var(--s-oxide); stroke-width: 1.4; }
.cw-glyph__finial { stroke: var(--s-verdigris); }
.cw-mark__name { font: var(--s-weight-medium) var(--s-size-mark-nav)/var(--s-leading-solid) var(--s-font-display); letter-spacing: var(--s-track-display); }
.cw-mark__place { padding-left: var(--s-space-3); border-left: var(--s-hairline) solid var(--s-rule-on-oxide); color: var(--s-on-oxide-muted); font-size: var(--s-size-micro); letter-spacing: var(--s-track-micro); text-transform: uppercase; }
.cw-nav__links ul { display: flex; gap: var(--s-space-2); }
.cw-nav__links a {
    display: inline-flex; align-items: center; min-height: var(--s-touch); padding: 0 var(--s-space-3);
    text-decoration: none; color: var(--s-on-oxide-muted); font-weight: var(--s-weight-medium);
    background: linear-gradient(var(--s-verdigris), var(--s-verdigris)) center calc(100% - var(--s-space-2)) / 0% var(--s-rule-w) no-repeat;
    transition: color var(--s-dur-fast) var(--s-ease), background-size var(--s-dur) var(--s-ease);
}
.cw-nav__links a:hover, .cw-nav__links a[aria-current="page"] { color: var(--s-on-oxide); background-size: calc(100% - var(--s-space-5)) var(--s-rule-w); }
.cw-nav :focus-visible { outline-color: var(--s-focus-on-oxide); }
.cw-nav__menu {
    display: none; align-items: center; gap: var(--s-space-2); min-height: var(--s-touch); min-width: var(--s-touch); padding: 0 var(--s-space-2);
    border: 0; background: none; color: var(--s-on-oxide); font-weight: var(--s-weight-medium); cursor: pointer;
}
.cw-nav__menu-lines { width: var(--s-space-5); height: var(--s-space-3); border-block: var(--s-rule-w) solid; position: relative; }
.cw-nav__menu-lines::after { content: ""; position: absolute; inset: 0; margin: auto; height: var(--s-rule-w); background: currentColor; }

/* ---- Phone sheet ------------------------------------------------------------------------- */
.cw-sheet {
    width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: var(--s-space-4) var(--s-gutter) var(--s-space-7);
    border: 0; background: var(--s-oxide); color: var(--s-on-oxide); overflow-y: auto;
}
.cw-sheet::backdrop { background: var(--s-scrim); }
.cw-sheet[open] { animation: cw-sheet-in var(--s-dur) var(--s-ease); }
@keyframes cw-sheet-in { from { opacity: 0; transform: translateY(var(--s-space-4)); } to { opacity: 1; transform: none; } }
.cw-sheet__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-space-6); }
.cw-sheet__close { min-height: var(--s-touch); min-width: var(--s-touch); padding: 0 var(--s-space-3); border: var(--s-hairline) solid var(--s-rule-on-oxide); background: none; cursor: pointer; }
.cw-sheet__pages a {
    display: flex; align-items: center; min-height: calc(var(--s-touch) + var(--s-space-3)); border-bottom: var(--s-hairline) solid var(--s-rule-on-oxide);
    text-decoration: none; font: var(--s-weight-medium) var(--s-size-h3)/var(--s-leading-head) var(--s-font-display);
}
.cw-sheet__pages a[aria-current="page"] { color: var(--s-verdigris-light); }
.cw-sheet__label { margin: var(--s-space-6) 0 var(--s-space-2); color: var(--s-on-oxide-muted); font-size: var(--s-size-micro); letter-spacing: var(--s-track-micro); text-transform: uppercase; }
.cw-sheet__sections { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-space-4); margin-bottom: var(--s-space-6); }
.cw-sheet__sections a { display: flex; align-items: center; min-height: var(--s-touch); color: var(--s-on-oxide-muted); text-decoration: none; }
.cw-sheet :focus-visible { outline-color: var(--s-focus-on-oxide); }

/* ---- Reveal (JS adds .is-in; reduced motion and no JS show everything) ------------------ */
.cw-js [data-cw-reveal] { opacity: 0; transform: translateY(var(--s-space-5)); transition: opacity var(--s-dur-fade) var(--s-ease), transform var(--s-dur-fade) var(--s-ease); }
.cw-js [data-cw-reveal].is-in { opacity: 1; transform: none; }

/* ---- Sub-page head: an oxide plate with the title, a photograph strip beneath -------------- */
/* ---- Sub-page heads: the oxide plate beside an exhibit native to the page ---------------- */
.cw-pagehead { background: var(--s-oxide); color: var(--s-on-oxide); overflow: hidden; }
.cw-pagehead :focus-visible { outline-color: var(--s-focus-on-oxide); }
.cw-pagehead__inner {
    display: grid; grid-template-columns: minmax(0, var(--s-head-text)) minmax(0, var(--s-head-art)); gap: var(--s-space-8);
    align-items: end; min-height: var(--s-head-min); padding-block: var(--s-space-8) var(--s-space-7);
}
.cw-pagehead--visit .cw-pagehead__inner { grid-template-columns: minmax(0, var(--s-head-text-narrow)) minmax(0, var(--s-head-art-wide)); align-items: start; }
.cw-pagehead__title { font: var(--s-weight-medium) var(--s-size-page-title)/var(--s-leading-display) var(--s-font-display); letter-spacing: var(--s-track-mark); text-wrap: balance; }
.cw-pagehead--visit .cw-pagehead__title { font-size: var(--s-size-h2); }
/* Visit days opens on chalk, not the oxide plate: the calendar is the page, so the head is paper
   with ink type, and only the booking panel stays dark (varies the four page heads). */
.cw-pagehead--visit { background: var(--s-paper); color: var(--s-ink); }
.cw-pagehead--visit :focus-visible { outline-color: var(--s-focus); }
.cw-pagehead--visit .cw-book__form :focus-visible { outline-color: var(--s-focus-on-oxide); }
.cw-pagehead--visit .cw-pagehead__lede, .cw-pagehead--visit .cw-crumb { color: var(--s-muted); }
.cw-pagehead--visit .cw-crumb a:hover { color: var(--s-ink); }
.cw-pagehead--visit + .cw-pagenav { border-top: var(--s-hairline) solid var(--s-rule); }
.cw-pagehead__lede { margin-top: var(--s-space-5); max-width: var(--s-measure-narrow); color: var(--s-on-oxide-muted); font-size: var(--s-size-lede); line-height: var(--s-leading-snug); }
.cw-crumb { display: flex; gap: var(--s-space-3); margin-bottom: var(--s-space-5); font-size: var(--s-size-micro); letter-spacing: var(--s-track-micro); text-transform: uppercase; color: var(--s-on-oxide-muted); }
.cw-crumb li + li::before { content: "/"; margin-right: var(--s-space-3); color: var(--s-verdigris); }
.cw-crumb a { text-decoration: none; display: inline-flex; min-height: var(--s-touch); align-items: center; }
.cw-crumb a:hover { color: var(--s-on-oxide); }
.cw-pagenav { position: sticky; top: var(--s-nav-h); z-index: 30; background: var(--s-paper); border-bottom: var(--s-hairline) solid var(--s-rule); }
.cw-pagenav ul { display: flex; gap: var(--s-space-2); overflow-x: auto; scrollbar-width: none; }
.cw-pagenav a { display: inline-flex; align-items: center; min-height: calc(var(--s-touch) + var(--s-space-2)); padding: 0 var(--s-space-3); white-space: nowrap; color: var(--s-muted); text-decoration: none; font-weight: var(--s-weight-medium); }
.cw-pagenav a:hover, .cw-pagenav a.is-current { color: var(--s-ink); box-shadow: inset 0 calc(var(--s-rule-w) * -1) 0 var(--s-verdigris); }
/* the first section under the sticky row starts closer: no empty band beneath the tabs */
.cw-pagenav + section { padding-top: var(--s-space-8); }

/* ---- The visit-day calendar ----------------------------------------------------------- */
.cw-cal { background: var(--s-paper); border: var(--s-hairline) solid var(--s-rule-strong); padding: var(--s-space-5); box-shadow: var(--s-shadow-card); }
.cw-cal__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-space-4); }
.cw-cal__title { font: var(--s-weight-medium) var(--s-size-h3)/var(--s-leading-head) var(--s-font-display); }
.cw-cal__step {
    display: grid; place-items: center; width: var(--s-touch); height: var(--s-touch); border: var(--s-hairline) solid var(--s-rule-strong); background: none; cursor: pointer;
    transition: background-color var(--s-dur-fast) var(--s-ease);
}
.cw-cal__step svg { width: var(--s-space-3); height: var(--s-space-3); fill: none; stroke: currentColor; stroke-width: var(--s-rule-w); }
.cw-cal__step:hover:not(:disabled) { background: var(--s-paper-2); }
.cw-cal__step:disabled { opacity: 0.35; cursor: default; }
.cw-js .cw-cal__step { visibility: visible; }
.cw-cal__step { visibility: hidden; }
.cw-cal__grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cw-cal__grid + .cw-cal__grid { margin-top: var(--s-space-6); }
.cw-js .cw-cal__grid { display: none; margin-top: 0; }
.cw-js .cw-cal__grid.is-current { display: table; animation: cw-fade var(--s-dur) var(--s-ease); }
@keyframes cw-fade { from { opacity: 0; } to { opacity: 1; } }
.cw-cal__caption { padding-bottom: var(--s-space-3); text-align: left; font: var(--s-weight-medium) var(--s-size-h3)/var(--s-leading-head) var(--s-font-display); }
.cw-js .cw-cal__caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cw-cal__grid th { padding-bottom: var(--s-space-2); font-size: var(--s-size-micro); letter-spacing: var(--s-track-micro); text-transform: uppercase; font-weight: var(--s-weight-medium); color: var(--s-muted); }
.cw-cal__grid abbr { text-decoration: none; }
.cw-cal__grid td { height: calc(var(--s-cal-cell) + var(--s-space-2)); padding: var(--s-hairline); text-align: center; border-top: var(--s-hairline) solid var(--s-rule); }
.cw-cal__num { display: grid; place-items: center; height: var(--s-cal-cell); font: var(--s-weight-regular) var(--s-size-cal-day)/var(--s-leading-solid) var(--s-font-display); color: var(--s-muted); font-variant-numeric: lining-nums tabular-nums; }
.cw-cal__num--past { background: repeating-linear-gradient(135deg, transparent 0 var(--s-space-1), var(--s-rule) var(--s-space-1) var(--s-space-2)); text-decoration: line-through; text-decoration-color: var(--s-muted); }
.is-today .cw-cal__num, .is-today .cw-cal__day { box-shadow: inset 0 0 0 var(--s-hairline) var(--s-ink); }
.cw-cal__day {
    position: relative; display: grid; place-items: center; width: 100%; height: var(--s-cal-cell); min-width: var(--s-touch); padding: 0;
    border: 0; cursor: pointer; font: var(--s-weight-bold) var(--s-size-cal-day)/var(--s-leading-solid) var(--s-font-display); font-variant-numeric: lining-nums tabular-nums;
    background: var(--s-verdigris-pale); color: var(--s-ink);
    transition: background-color var(--s-dur-fast) var(--s-ease), transform var(--s-dur-pop) var(--s-ease);
}
.cw-cal__day::after { content: ""; position: absolute; left: 50%; bottom: var(--s-space-1); width: var(--s-space-2); height: var(--s-space-2); margin-left: calc(var(--s-space-1) * -1); border-radius: 50%; background: var(--s-verdigris-deep); }
.cw-cal__day--sixth::after { border-radius: 0; transform: rotate(45deg); }
.cw-cal__day--boarding::after { width: var(--s-space-3); height: var(--s-rule-w); margin-left: calc(var(--s-space-2) * -0.75); border-radius: 0; }
.cw-cal__day:hover { background: var(--s-verdigris-light); }
.cw-cal__day[aria-pressed="true"] { background: var(--s-verdigris); }
.cw-cal__day[aria-pressed="true"]::after { background: var(--s-ink); }
.cw-cal__day.is-popped { animation: cw-pop var(--s-dur-pop) var(--s-ease); }
@keyframes cw-pop { 0% { transform: scale(1); } 45% { transform: scale(var(--s-pop)); } 100% { transform: scale(1); } }
.cw-cal__legend { display: flex; flex-wrap: wrap; gap: var(--s-space-2) var(--s-space-5); margin-top: var(--s-space-5); padding-top: var(--s-space-4); border-top: var(--s-hairline) solid var(--s-rule); font-size: var(--s-size-small); }
.cw-cal__key { display: inline-flex; align-items: center; gap: var(--s-space-2); }
.cw-cal__key-time { color: var(--s-muted); }
.cw-cal__swatch { width: var(--s-space-2); height: var(--s-space-2); border-radius: 50%; background: var(--s-verdigris-deep); }
.cw-cal__key--sixth .cw-cal__swatch { border-radius: 0; transform: rotate(45deg); }
.cw-cal__key--boarding .cw-cal__swatch { width: var(--s-space-3); height: var(--s-rule-w); border-radius: 0; }

/* ---- The booking panel ------------------------------------------------------------------ */
.cw-book { position: relative; }
.cw-book__form { display: grid; gap: var(--s-space-4); padding: var(--s-space-6) var(--s-space-5); background: var(--s-oxide); color: var(--s-on-oxide); }
.cw-book__date, .cw-book__event, .cw-book__detail { transition: opacity var(--s-dur) var(--s-ease); }
.cw-book__hint { display: flex; align-items: center; gap: var(--s-space-2); padding-top: var(--s-space-3); border-top: var(--s-hairline) solid var(--s-rule-on-oxide); color: var(--s-verdigris-light); font-size: var(--s-size-small); }
.cw-book__hint svg { flex: none; width: var(--s-space-4); height: var(--s-space-4); fill: none; stroke: currentColor; stroke-width: var(--s-rule-w); }
@media (max-width: 959px) { .cw-book__hint svg { transform: rotate(90deg); } }
.cw-book__kicker { color: var(--s-verdigris-light); font-size: var(--s-size-micro); letter-spacing: var(--s-track-micro); text-transform: uppercase; font-weight: var(--s-weight-bold); }
.cw-book__date { font: var(--s-weight-medium) var(--s-size-h2-small)/var(--s-leading-head) var(--s-font-display); }
.cw-book__date:empty, .cw-book__event:empty, .cw-book__detail:empty { display: none; }
.cw-book__event { font-weight: var(--s-weight-bold); }
.cw-book__detail { color: var(--s-on-oxide-muted); }
.cw-js .cw-field--date { display: none; }
.cw-field { display: grid; gap: var(--s-space-1); }
.cw-field label { font-size: var(--s-size-small); font-weight: var(--s-weight-medium); }
.cw-field input, .cw-field select {
    min-height: calc(var(--s-touch) + var(--s-space-1)); width: 100%; padding: 0 var(--s-space-3);
    border: 0; border-bottom: var(--s-rule-w) solid var(--s-on-oxide-muted); background: var(--s-oxide-2); color: var(--s-on-oxide); border-radius: 0;
}
.cw-field input:focus-visible, .cw-field select:focus-visible { outline-color: var(--s-focus-on-oxide); border-bottom-color: var(--s-verdigris-light); }
.cw-field [aria-invalid="true"] { border-bottom-color: var(--s-copper-light); }
.cw-field__error { color: var(--s-copper-light); font-size: var(--s-size-small); }
.cw-book__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-space-3) var(--s-space-5); margin-top: var(--s-space-2); }
.cw-book__form :focus-visible { outline-color: var(--s-focus-on-oxide); }
.cw-book__status:empty { display: none; }
.cw-book__status { padding: var(--s-space-3) var(--s-space-4); border-left: var(--s-rule-w) solid var(--s-verdigris); background: var(--s-oxide-2); }

/* ---- Footer: the estuary at evening ------------------------------------------------------ */
.cw-foot { padding-block: var(--s-space-8) var(--s-space-6); background: var(--s-oxide); color: var(--s-on-oxide-muted); border-top: var(--s-space-1) solid var(--s-verdigris); }
.cw-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 0.8fr 1.4fr; gap: var(--s-space-7); }
.cw-foot h2 { margin-bottom: var(--s-space-3); color: var(--s-on-oxide); }
.cw-foot__mark { display: flex; align-items: center; gap: var(--s-space-3); color: var(--s-on-oxide); font: var(--s-weight-medium) var(--s-size-h3)/var(--s-leading-head) var(--s-font-display); }
.cw-foot__mark .cw-glyph { width: var(--s-space-7); height: var(--s-space-7); }
.cw-foot__line { margin-top: var(--s-space-4); max-width: var(--s-measure-narrow); }
.cw-foot__founded { margin-top: var(--s-space-4); color: var(--s-verdigris-light); }
.cw-foot address { display: grid; font-style: normal; margin-bottom: var(--s-space-2); }
.cw-foot a { display: inline-flex; align-items: center; min-height: var(--s-touch); text-decoration: none; color: var(--s-on-oxide); }
.cw-foot a:hover { color: var(--s-verdigris-light); }
.cw-foot :focus-visible { outline-color: var(--s-focus-on-oxide); }
.cw-foot__credits ul { display: flex; flex-wrap: wrap; column-gap: var(--s-space-4); }
.cw-foot__credits a { min-height: var(--s-touch); font-size: var(--s-size-small); color: var(--s-on-oxide-muted); text-decoration: underline; text-underline-offset: var(--s-space-1); }
.cw-foot__credits p { font-size: var(--s-size-small); }
.cw-foot__concept { grid-column: 1 / -1; padding-top: var(--s-space-5); border-top: var(--s-hairline) solid var(--s-rule-on-oxide); font-size: var(--s-size-small); }

/* ---- Layouts ------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .cw-mark__place { display: none; }
    .cw-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 959px) {
    .cw-nav__links { display: none; }
    .cw-nav__menu { display: inline-flex; }
    .cw-nav { gap: var(--s-space-3); }
    .cw-pagehead__inner, .cw-pagehead--visit .cw-pagehead__inner { grid-template-columns: 1fr; gap: var(--s-space-6); min-height: 0; padding-block: var(--s-space-6) var(--s-space-7); }
}
@media (max-width: 719px) {
    .cw-nav { height: var(--s-nav-h-phone); }
    html { scroll-padding-top: calc(var(--s-nav-h-phone) + var(--s-space-4)); }
    .cw-pagenav { top: var(--s-nav-h-phone); }
    .cw-ticket--nav .cw-ticket__long { display: none; }
    .cw-ticket--nav .cw-ticket__short { display: inline; }
    .cw-ticket--nav .cw-ticket__label { padding-right: var(--s-space-3); }
    .cw-ticket--nav .cw-ticket__stub { width: calc(var(--s-ticket-stub) - var(--s-space-3)); }
    .cw-nav__menu > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .cw-glyph { width: var(--s-space-5); height: var(--s-space-5); }
    .cw-cal { padding: var(--s-space-4) var(--s-space-3); }
    .cw-cal__day, .cw-cal__num { height: var(--s-touch); }
    .cw-cal__day { min-width: 0; }
    .cw-foot__grid { grid-template-columns: 1fr 1fr; gap: var(--s-space-5) var(--s-space-4); }
    .cw-foot__brand, .cw-foot__credits, .cw-foot__concept { grid-column: 1 / -1; }
    .cw-foot__pages ul { display: grid; }
    .cw-foot__pages a, .cw-foot__desk a { min-height: var(--s-touch); font-size: var(--s-size-small); }
    .cw-foot__desk { font-size: var(--s-size-small); }
    .cw-foot__credits a { font-size: var(--s-size-micro); }
    .cw-foot { padding-top: var(--s-space-7); }
}
@media (max-width: 380px) {
    .cw-mark__name { font-size: var(--s-size-body); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .cw-js [data-cw-reveal] { opacity: 1; transform: none; }
}
