/* City guide pages (city.blade.php, cities.blade.php). v3 "Orbit". Uses tokens and components from epal.css. */
.cy-page section[id] { scroll-margin-top: calc(var(--header-h) + 56px); }

/* ---------- Hero ---------- */
.cy-hero {
    margin-top: calc(-1 * var(--header-h));
    padding: calc(var(--header-h) + clamp(12px, 2.4vh, 28px)) 0 clamp(20px, 4vh, 44px);
    min-height: min(100svh, 760px); display: flex; flex-direction: column; justify-content: flex-end;
}
.cy-hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--ink); overflow: hidden; }
.cy-hero__bg picture, .cy-hero__bg img, .cy-hero__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cy-hero__bg img { transform: scale(1.04); animation: cy-kb 24s ease-in-out infinite alternate; }
.cy-hero__vid { opacity: 0; transition: opacity 1.2s var(--ease-out); }
.cy-hero__vid.is-on { opacity: 1; }
.cy-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 6, 26, .88) 0%, rgba(2, 6, 26, .5) 60%, rgba(2, 6, 26, .2) 100%), linear-gradient(0deg, rgba(2, 6, 26, .85) 0%, transparent 50%); }
@keyframes cy-kb { to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.cy-hero__in { position: relative; display: grid; gap: clamp(10px, 2.5vh, 24px); }
.cy-hero .ep-crumbs { color: var(--muted-on-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.cy-hero .ep-crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.cy-hero .ep-crumbs a:hover { color: #fff; }
.cy-hero__row { display: grid; gap: 22px; align-items: end; }
.cy-hero__copy { display: grid; gap: clamp(10px, 1.6vh, 16px); justify-items: start; max-width: 700px; }
.cy-hero__title { font-size: var(--fs-display); line-height: 1.02; text-wrap: balance; color: #fff; }
.cy-hero .ep-lead { max-width: 56ch; }
@media (min-width: 960px) { .cy-hero__row { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }

.cy-pass { display: grid; gap: 12px; padding: 18px 20px; border-radius: var(--radius-lg); }
.cy-pass__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cy-pass__top img { width: 36px; height: auto; border-radius: 3px; }
.cy-pass__top small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.cy-pass__city { font: 600 clamp(1.5rem, 1rem + 1.6vw, 2.1rem)/1 var(--display); letter-spacing: -.02em; color: #fff; }
.cy-pass__facts { display: grid; gap: 10px; margin: 0; }
.cy-pass__facts > div { display: flex; flex-direction: column-reverse; padding-top: 10px; border-top: 1px solid var(--line-on-ink); }
.cy-pass__facts dd { margin: 0; font: 600 1.3rem/1.15 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.cy-pass__facts dt { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-ink); }
.cy-pass__cost { font-size: 1.05rem !important; }
@media (max-width: 959px) { .cy-pass { display: none; } }

/* ---------- Sticky chapter nav ---------- */
.cy-chap { position: sticky; top: var(--header-h); z-index: 30; background: rgba(5, 12, 34, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line-on-ink); }
.cy-chap ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.cy-chap ul::-webkit-scrollbar { display: none; }
.cy-chap a { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; white-space: nowrap; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-on-ink); transition: color .25s; }
.cy-chap a i { font-style: normal; color: var(--cyan); opacity: .7; }
.cy-chap a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.cy-chap a:hover, .cy-chap a.is-on { color: #fff; }
.cy-chap a.is-on::after { transform: scaleX(1); }

/* ---------- University cards ---------- */
.ep-cy-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--sec-gap); }
.ep-cy-card a { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: transform .4s var(--ease-out), box-shadow .4s; }
.ep-cy-card a:hover, .ep-cy-card a:focus-visible { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--brand), var(--shadow-2); }
.ep-cy-card__img { position: relative; aspect-ratio: 16 / 9; background: var(--paper-2); overflow: hidden; }
.ep-cy-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 12, 34, .45), transparent 55%); pointer-events: none; }
.ep-cy-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.ep-cy-card a:hover .ep-cy-card__img img { transform: scale(1.07); }
.ep-cy-pin { position: absolute; z-index: 1; left: 16px; bottom: 12px; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--grad-brand); transform: rotate(-45deg); box-shadow: 0 0 0 3px #fff, var(--glow-brand); animation: ep-cy-pin 2.4s var(--ease-out) infinite; animation-delay: calc(var(--i) * 180ms); }
.ep-cy-pin::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
@keyframes ep-cy-pin { 0%, 70%, 100% { translate: 0 0; } 80% { translate: 0 -6px; } 90% { translate: 0 0; } }
.ep-cy-card__body { padding: var(--card-pad); display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ep-cy-card__logo { height: 32px; width: auto; max-width: 120px; object-fit: contain; object-position: left; margin-bottom: 6px; }
.ep-cy-card__body strong { font: 600 var(--fs-h3)/1.2 var(--display); }
.ep-cy-card__body small { color: var(--muted); }
.ep-cy-card__cost { color: var(--text) !important; font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.ep-cy-card__go { margin-top: auto; padding-top: 10px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: var(--brand-deep); font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.ep-cy-card__go svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.ep-cy-card a:hover .ep-cy-card__go svg { transform: translateX(4px); }
@media (min-width: 1100px) {
    .ep-cy-cards { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); max-width: calc(var(--cols, 4) * 380px); }
    .ep-cy-card.is-lead { grid-column: span var(--lead, 1); }
    .ep-cy-card.is-lead .ep-cy-card__img { aspect-ratio: 33 / 9; }
}
.ep-cy-card__img img.is-t1 { object-position: 20% 40%; filter: saturate(1.15) hue-rotate(-10deg); }
.ep-cy-card__img img.is-t2 { object-position: 80% 60%; filter: sepia(.25) saturate(1.1); }

/* ---------- Neighbourhood + photo walk ---------- */
.ep-cy-life__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: var(--sec-gap); align-items: center; }
.ep-cy-walk__hint { margin-top: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.ep-cy-walk { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px 2px 18px; cursor: grab; scrollbar-width: thin; overscroll-behavior-x: contain; }
.ep-cy-walk.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.ep-cy-walk:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.ep-cy-walk figure { flex: 0 0 clamp(220px, 28vw, 340px); margin: 0; scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: inset 0 0 0 1px var(--glass-line); }
.ep-cy-walk figure:nth-child(even) { transform: translateY(14px); }
.ep-cy-walk img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .8s var(--ease-out); }
.ep-cy-walk figure:hover img { transform: scale(1.06); }
.ep-cy-walk figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; font: 500 12px var(--mono); letter-spacing: .04em; background: linear-gradient(transparent, rgba(2, 6, 26, .9)); }

/* ---------- Cost explorer ---------- */
.ep-cy-x { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px 32px; border-radius: var(--radius-lg); padding: clamp(16px, 2.4vw, 32px); box-shadow: var(--shadow-3); }
.ep-cy-x > :not(.nx-aurora) { position: relative; }
.ep-cy-x__head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: baseline; }
.ep-cy-x__head .ep-h2 { margin: 0; }
.ep-cy-x__head p { margin: 0; color: var(--muted-on-ink); flex: 1 1 320px; font-size: .92rem; }
.ep-cy-x__choices { display: flex; flex-direction: column; gap: 10px; }
.ep-cy-x__f { border: 0; margin: 0; padding: 0; min-width: 0; }
.ep-cy-x__f legend { margin-bottom: 6px; padding: 0; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.ep-cy-x__f legend small { color: var(--muted-on-ink); margin-left: 4px; font-size: 12px; }
.ep-cy-x__chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ep-cy-x__chips label { position: relative; }
.ep-cy-x__chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ep-cy-x__chips span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 6px 8px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-on-ink); font-size: .86rem; font-weight: 600; line-height: 1.15; transition: background .25s, box-shadow .25s; }
.ep-cy-x__chips input:hover + span { background: rgba(255, 255, 255, .1); }
.ep-cy-x__chips input:checked + span { background: var(--grad-brand); box-shadow: var(--glow-brand); color: #fff; }
.ep-cy-x__chips input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.ep-cy-x__cur { display: flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.ep-cy-x__cur select { min-height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line-on-ink); padding: 0 12px; background: var(--ink-2); color: #fff; font: 600 16px var(--sans); }
.ep-cy-basket { display: grid; grid-template-columns: 120px 1fr; gap: 10px 18px; align-content: start; border-radius: var(--radius); padding: 18px; }
.ep-cy-basket__bag { position: relative; grid-row: span 2; height: 150px; margin-top: 30px; border-radius: 10px 10px 26px 26px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); display: flex; flex-direction: column-reverse; overflow: visible; padding: 3px; }
.ep-cy-basket__handle { position: absolute; left: 0; right: 0; top: -34px; width: 100%; color: rgba(255, 255, 255, .7); }
.ep-cy-basket__fill { display: block; height: var(--h, 10%); transition: height .6s var(--ease-out); }
.ep-cy-basket__fill:first-child { border-radius: 0 0 22px 22px; }
.ep-cy-basket__fill[data-part="housing"], .ep-cy-dot--housing { background: var(--brand); }
.ep-cy-basket__fill[data-part="food"], .ep-cy-dot--food { background: var(--warm); }
.ep-cy-basket__fill[data-part="transport"], .ep-cy-dot--transport { background: var(--cyan); }
.ep-cy-basket__lines { margin: 0; display: grid; gap: 6px; }
.ep-cy-basket__lines div { display: flex; justify-content: space-between; gap: 8px; font-size: .88rem; border-bottom: 1px dashed var(--line-on-ink); padding-bottom: 4px; }
.ep-cy-basket__lines dd { margin: 0; font: 500 12.5px var(--mono); text-align: right; }
.ep-cy-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.ep-cy-basket__total { margin: 0; display: flex; flex-direction: column; }
.ep-cy-basket__total small { color: var(--cyan); font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.ep-cy-basket__total strong { font: 600 clamp(1.25rem, 1rem + 1vw, 1.7rem)/1.1 var(--display); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ep-cy-x.is-bump .ep-cy-basket__total strong { animation: ep-cy-bump .4s var(--ease-out); }
@keyframes ep-cy-bump { 40% { transform: scale(1.05); } }
.ep-cy-basket__note { grid-column: 1 / -1; margin: 0; font-size: .78rem; color: var(--muted-on-ink); line-height: 1.4; }

/* ---------- Collage ---------- */
.ep-cy-mosaic { margin-top: var(--sec-gap); display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 16vw, 200px); gap: 12px; }
.ep-cy-mosaic a { position: relative; border-radius: var(--radius); overflow: hidden; display: block; color: #fff; }
.ep-cy-mosaic a:first-child, .ep-cy-mosaic__big { grid-column: span 2; grid-row: span 2; }
.ep-cy-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.ep-cy-mosaic a:hover img { transform: scale(1.06); }
.ep-cy-mosaic span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 8px; font: 500 12px var(--mono); letter-spacing: .03em; background: linear-gradient(transparent, rgba(2, 6, 26, .85)); }

/* ---------- CTA ---------- */
.ep-cy-cta__box { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(24px, 4vw, 56px); box-shadow: var(--shadow-3); }
.ep-cy-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; z-index: 0; }
.ep-cy-cta__box .nx-aurora { z-index: 1; }
.ep-cy-cta__copy { position: relative; z-index: 2; max-width: 620px; }
.ep-cy-cta__copy p { color: rgba(255, 255, 255, .86); margin-block: 10px 18px; }
.ep-cy-cta__others { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: rgba(255, 255, 255, .86); }
.ep-cy-cta__others a { color: #fff; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.ep-cy-cta__others a:hover { color: var(--cyan); }

/* ---------- Index grid ---------- */
.ep-cy-index { padding-top: calc(var(--header-h) + var(--sec-pad) * .4); }
.ep-cy-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(170px, 26vh, 260px); gap: 14px; }
.ep-cy-tile:first-child { grid-row: span 2; }
.ep-cy-tile a { position: relative; display: block; height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px var(--glass-line); transition: transform .5s var(--ease-out), box-shadow .5s; }
.ep-cy-tile a:hover, .ep-cy-tile a:focus-visible { transform: translateY(-4px); box-shadow: var(--glow-brand); }
.ep-cy-tile a > img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.ep-cy-tile a:hover > img, .ep-cy-tile a:focus-visible > img { transform: scale(1.07); }
.ep-cy-tile__stamp { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--glass-line); color: #fff; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; border-radius: var(--radius-pill); }
.ep-cy-tile__stamp img { width: 20px; height: auto; border-radius: 2px; }
.ep-cy-tile__copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; background: linear-gradient(transparent, rgba(2, 6, 26, .9)); display: flex; flex-direction: column; }
.ep-cy-tile__copy strong { font: 600 clamp(1.3rem, 1rem + 1.2vw, 2rem)/1.05 var(--display); }
.ep-cy-tile__copy small { color: var(--cyan); font: 500 12px var(--mono); letter-spacing: .06em; }
.ep-cy-tile__go { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--glass-bg); box-shadow: inset 0 0 0 1px var(--glass-line); opacity: 0; transform: translate(-6px, 6px); transition: opacity .35s, transform .45s var(--ease-out); }
.ep-cy-tile__go svg { width: 18px; height: 18px; }
.ep-cy-tile a:hover .ep-cy-tile__go, .ep-cy-tile a:focus-visible .ep-cy-tile__go { opacity: 1; transform: none; }

/* ---------- Short laptop screens ---------- */
@media (max-height: 760px) and (min-width: 960px) {
    .cy-hero { min-height: 0; }
    .cy-hero__title { font-size: clamp(30px, min(4.2vw, 6.4vh), 54px); }
    .cy-hero .ep-lead { font-size: 15.5px; line-height: 1.5; }
}
@media (max-height: 700px) and (min-width: 901px) {
    .ep-cy-x { gap: 10px 24px; padding: 16px 22px; }
    .ep-cy-x__choices { gap: 6px; }
    .ep-cy-x__f legend { margin-bottom: 3px; }
    .ep-cy-basket { padding: 14px; gap: 6px 14px; }
    .ep-cy-basket__bag { height: 120px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
    .ep-cy-life__grid, .ep-cy-x { grid-template-columns: minmax(0, 1fr); }
    .ep-cy-grid { grid-template-columns: repeat(2, 1fr); }
    .ep-cy-mosaic { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .ep-cy-x { padding: 14px; gap: 10px; }
    .ep-cy-x__head p { flex-basis: 100%; font-size: .85rem; }
    .ep-cy-x__chips span { font-size: .875rem; padding: 4px 6px; }
    .ep-cy-x__choices { gap: 6px; }
    .ep-cy-basket { grid-template-columns: 70px 1fr; padding: 12px; gap: 6px 12px; }
    .ep-cy-basket__bag { height: 90px; margin-top: 22px; }
    .ep-cy-basket__handle { top: -22px; }
    .ep-cy-grid { grid-template-columns: 1fr; grid-auto-rows: 190px; }
    .ep-cy-tile:first-child { grid-row: auto; }
    /* 30+ universities: a photo-left row instead of a 400px-tall card each */
    .ep-cy-cards { gap: 10px; }
    .ep-cy-card a { display: grid; grid-template-columns: 108px minmax(0, 1fr); }
    .ep-cy-card__img { aspect-ratio: auto; min-height: 112px; }
    .ep-cy-card__img img { position: absolute; inset: 0; }
    .ep-cy-pin { left: 10px; bottom: 10px; width: 18px; height: 18px; }
    .ep-cy-pin::after { inset: 5px; }
    .ep-cy-card__body { padding: 10px 12px; gap: 2px; }
    .ep-cy-card__logo { height: 24px; max-width: 96px; margin-bottom: 2px; }
    .ep-cy-card__body strong { font-size: 1.05rem; }
    .ep-cy-card__go { min-height: 0; padding-top: 4px; }
}
@media (max-width: 959px) {
    .ep-cy-card__body small { font-size: .875rem; }
    .ep-cy-basket__lines div { font-size: .9375rem; }
    .ep-cy-basket__note { font-size: .8125rem; }
    .ep-cy-cta__others a { min-width: 44px; justify-content: center; padding-inline: 4px; }
}
@media (hover: none) {
    .ep-cy-card a:hover, .ep-cy-tile a:hover { transform: none; }
    .ep-cy-card a:hover .ep-cy-card__img img, .ep-cy-mosaic a:hover img, .ep-cy-tile a:hover > img, .ep-cy-walk figure:hover img { transform: none; }
    .ep-cy-tile__go { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .cy-hero__bg img { animation: none; transform: none; }
    .cy-hero__vid { display: none; }
    .ep-cy-pin, .ep-cy-x.is-bump .ep-cy-basket__total strong { animation: none; }
    .ep-cy-card a, .ep-cy-card__img img, .ep-cy-mosaic img, .ep-cy-tile a, .ep-cy-tile a > img, .ep-cy-basket__fill, .cy-chap a::after, .ep-cy-walk img { transition: none; }
}
html.ep-lite .cy-hero__bg img, html.ep-lite .ep-cy-pin { animation: none; }
html.ep-lite .cy-hero__vid { display: none; }

/* ═════════ v4 restructure: city guides (cz-*) — huge titles, stat tiles, accordions, little copy ═════════ */
.cz-page { --dz-h2: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); }
.dz-head { display: grid; gap: 6px; margin-bottom: clamp(18px, 3vw, 34px); }
.dz-head .ep-h2 { font-size: var(--dz-h2); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.dz-acc { display: block; }
.dz-acc > summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 4px; cursor: pointer; list-style: none; font: 600 var(--fs-h3)/1.2 var(--display); -webkit-tap-highlight-color: transparent; }
.dz-acc > summary::-webkit-details-marker { display: none; }
.dz-acc > summary > span:not([class]) { flex: 1; }
.dz-acc > summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 8px; }
.dz-chev { flex: none; margin-left: auto; transition: transform .3s var(--ease-out); color: var(--cyan); }
.dz-acc[open] > summary .dz-chev { transform: rotate(180deg); }
.dz-acc > p { margin: 0 4px 12px; font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); max-width: 62ch; }
.dz-acc--on-dark > summary { color: #fff; font-size: 1rem; }
.dz-acc--on-dark > p { color: #dfe7fb; }

/* Hero */
.cy-hero .cz-hero__title { font-size: clamp(2.5rem, 1.2rem + 6.4vw, 4.75rem); line-height: .98; letter-spacing: -.03em; max-width: 18ch; }
.cz-hero__copy { gap: clamp(10px, 2vh, 18px); }
.cz-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.cz-facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; min-width: 0; padding: 12px 16px; border-radius: var(--radius-sm); }
.cz-facts dd { margin: 0; font: 600 clamp(1.15rem, .9rem + 1.2vw, 1.9rem)/1.1 var(--display); letter-spacing: -.01em; color: #fff; font-variant-numeric: tabular-nums; }
.cz-facts dt { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-ink); }
.cz-facts__flag { flex-direction: row !important; align-items: center; gap: 10px !important; }
.cz-facts__flag img { width: 34px; height: auto; border-radius: 3px; }
.cz-facts__flag dt { color: #fff; }
@media (min-width: 960px) and (max-height: 760px) { .cy-hero .cz-hero__title { font-size: clamp(2.4rem, min(5.2vw, 10vh), 4rem); } }

/* Universities: photo cards, name + city + living cost only */
.cz-page .ep-cy-card__go { font-size: 0; gap: 0; }
.cz-page .ep-cy-card__go svg { font-size: 16px; }

/* Area */
.cz-life__copy { display: grid; gap: 12px; align-content: start; }
.cz-life__copy .ep-h2 { font-size: var(--dz-h2); line-height: 1.04; letter-spacing: -.02em; }
.cz-life__more { border-radius: var(--radius-sm); background: var(--glass-bg); box-shadow: inset 0 0 0 1px var(--glass-line); padding: 0 14px; }
.cz-life__more > summary { min-height: 48px; }

/* Budget */
.ep-cy-x__head .ep-h2 { font-size: var(--dz-h2); line-height: 1.04; letter-spacing: -.02em; }
.ep-cy-cta__copy .ep-h2 { font-size: var(--dz-h2); line-height: 1.04; letter-spacing: -.02em; }
.ep-cy-cta__copy .ep-row { margin-top: 14px; }
.ep-cy-collage .ep-h2 { font-size: var(--dz-h2); line-height: 1.04; letter-spacing: -.02em; }

/* Index */
.cz-idx-title { font-size: clamp(2.5rem, 1.2rem + 6.4vw, 4.75rem); line-height: .98; letter-spacing: -.03em; }
.cz-page .ep-cy-tile__copy strong { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); letter-spacing: -.02em; }
@media (min-width: 960px) and (max-height: 760px) { .cz-idx-title { font-size: clamp(2.4rem, min(5.2vw, 10vh), 4rem); } }
@media (prefers-reduced-motion: reduce) { .dz-chev { transition: none; } }
.cz-page li[hidden] { display: none; } .cz-more { margin-top: 18px; }

/* ═════════ v4 white pass: city guides ═════════ */
.cy-hero { isolation: isolate; }
.cy-hero__bg img { animation: none; transform: none; }
.cy-hero__shade { background: linear-gradient(90deg, rgba(11, 18, 32, .78) 0%, rgba(11, 18, 32, .4) 60%, rgba(11, 18, 32, .15) 100%), linear-gradient(0deg, rgba(11, 18, 32, .6) 0%, transparent 45%); }
.cy-hero .ep-crumbs, .cy-hero .ep-crumbs a { color: rgba(255, 255, 255, .78); }
.cy-hero .ep-crumbs a:hover { color: #fff; }
.cy-hero .ep-eyebrow { color: #fff; opacity: .85; }
.cy-hero .cy-hero__title, .cy-hero .cz-hero__title { color: #fff; line-height: 1.05; letter-spacing: -.035em; }
.cy-hero .cy-hero__title em { color: #fff; }
.cy-hero .ep-btn--ghost { --bg: #fff; --fg: var(--text); }
.cz-facts > div { background: #fff; box-shadow: var(--shadow-1); border-radius: 12px; padding: 16px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.cz-facts dd { color: var(--ink); letter-spacing: -.02em; }
.cz-facts dt { font: 500 13px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.cz-facts__flag dt { color: var(--ink); font-weight: 600; font-size: 16px; }

/* Chapter nav: white bar */
.cy-chap { background: rgba(255, 255, 255, .96); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line); }
.cy-chap a { font: 500 14px var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); transition: color .2s; }
.cy-chap a i { font: 500 12px var(--sans); color: var(--g-400); opacity: 1; font-variant-numeric: tabular-nums; }
.cy-chap a::after { background: var(--brand); transition: transform .25s var(--ease-out); }
.cy-chap a:hover, .cy-chap a.is-on { color: var(--ink); }
.cy-chap a:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 8px; }

/* Shared accordion on white */
.dz-chev { color: var(--brand-deep); }
.dz-acc > summary { font-family: var(--sans); letter-spacing: -.01em; }
.dz-acc > summary:hover { color: var(--brand-deep); }
.dz-acc > summary:focus-visible { outline-color: var(--brand); }
.dz-acc--on-dark > summary { color: var(--text); }
.dz-acc--on-dark > p { color: var(--muted); }
.dz-head .ep-h2, .cz-life__copy .ep-h2, .ep-cy-x__head .ep-h2, .ep-cy-collage .ep-h2 { letter-spacing: -.035em; line-height: 1.08; }

/* Universities */
.ep-cy-unis { background: #fff; }
.ep-cy-card a { box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.ep-cy-card a:hover, .ep-cy-card a:focus-visible { transform: none; box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-2); }
.ep-cy-card a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ep-cy-card__img::after { display: none; }
.ep-cy-card__img img { transition: none; }
.ep-cy-card a:hover .ep-cy-card__img img { transform: none; }
.ep-cy-card__img img.is-t1, .ep-cy-card__img img.is-t2 { filter: none; }
.ep-cy-pin { background: var(--brand); box-shadow: 0 0 0 3px #fff; animation: none; }
.ep-cy-card__body strong { font-family: var(--sans); letter-spacing: -.02em; }
.ep-cy-card__cost { font-family: var(--sans); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ep-cy-card__go { font: 600 14px var(--sans); letter-spacing: 0; text-transform: none; }

/* Area: grey band */
.ep-cy-life { background: var(--paper-2); color: var(--text); }
.cz-life__more { background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; }
.ep-cy-walk__hint { font: 500 14px var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.ep-cy-walk:focus-visible { outline-color: var(--brand); }
.ep-cy-walk figure { box-shadow: 0 0 0 1px var(--line); border-radius: 16px; }
.ep-cy-walk figure:nth-child(even) { transform: none; }
.ep-cy-walk img, .ep-cy-walk figure:hover img { transition: none; transform: none; }
.ep-cy-walk figcaption, .ep-cy-mosaic span { font: 500 13px var(--sans); letter-spacing: 0; color: #fff; background: linear-gradient(transparent, rgba(11, 18, 32, .7)); }

/* Cost explorer: white card */
.ep-cy-cost { background: #fff; }
.ep-cy-x { background: #fff; color: var(--text); box-shadow: 0 0 0 1px var(--line); border-radius: 16px; }
.ep-cy-x__head p { color: var(--muted); }
.ep-cy-x__f legend { font: 600 14px var(--sans); letter-spacing: 0; text-transform: none; color: var(--text); }
.ep-cy-x__f legend small { color: var(--muted); font-variant-numeric: tabular-nums; }
.ep-cy-x__chips span { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 500; transition: background .2s, color .2s, box-shadow .2s; }
.ep-cy-x__chips input:hover + span { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--g-400); }
.ep-cy-x__chips input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.ep-cy-x__chips input:focus-visible + span { outline: 2px solid var(--brand); }
.ep-cy-x__cur { font: 600 14px var(--sans); letter-spacing: 0; text-transform: none; color: var(--text); }
.ep-cy-x__cur select { background: #fff; color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; min-height: 48px; }
.ep-cy-x__cur select:hover { border-color: var(--g-400); }
.ep-cy-x__cur select:focus-visible { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100, #dbe6ff); }
.ep-cy-basket { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.ep-cy-basket__bag { background: #fff; box-shadow: inset 0 0 0 2px var(--g-300, #c3ccd9); }
.ep-cy-basket__handle { color: var(--g-300, #c3ccd9); }
.ep-cy-basket__fill[data-part="transport"], .ep-cy-dot--transport { background: var(--g-400, #8a96a8); }
.ep-cy-basket__lines div { border-bottom: 1px solid var(--line); }
.ep-cy-basket__lines dd { font: 600 13px var(--sans); font-variant-numeric: tabular-nums; }
.ep-cy-basket__total small { color: var(--muted); font: 500 13px var(--sans); text-transform: none; letter-spacing: 0; }
.ep-cy-basket__total strong { background: none; -webkit-text-fill-color: var(--ink); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ep-cy-x.is-bump .ep-cy-basket__total strong { animation: none; }
.ep-cy-basket__note { color: var(--muted); }

/* Collage */
.ep-cy-collage { background: var(--paper-2); }
.ep-cy-mosaic img, .ep-cy-mosaic a:hover img { transition: none; transform: none; }
.ep-cy-mosaic a { box-shadow: 0 0 0 1px var(--line); border-radius: 16px; }
.ep-cy-mosaic a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* CTA: one flat dark card */
.ep-cy-cta { background: #fff; }
.ep-cy-cta__box { background: var(--ink); color: #fff; box-shadow: none; border-radius: 16px; }
.ep-cy-cta__bg { display: none; }
.ep-cy-cta__copy .ep-h2 { color: #fff; letter-spacing: -.035em; }
.ep-cy-cta__copy .ep-h2 em { color: var(--sky); background: none; -webkit-text-fill-color: currentColor; }
.ep-cy-cta__copy .ep-btn { --bg: #fff; --fg: var(--text); }
.ep-cy-cta__copy .ep-btn:hover { --bg: var(--g-100); }
.ep-cy-cta__others a:hover { color: var(--sky); }

/* Index */
.ep-cy-index { background: #fff; color: var(--text); }
.cz-idx-title { color: var(--ink); letter-spacing: -.035em; line-height: 1.05; }
.ep-cy-tile a { box-shadow: 0 0 0 1px var(--line); border-radius: 16px; transition: box-shadow .2s; }
.ep-cy-tile a:hover, .ep-cy-tile a:focus-visible { transform: none; box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-3); }
.ep-cy-tile a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ep-cy-tile a > img, .ep-cy-tile a:hover > img, .ep-cy-tile a:focus-visible > img { transition: none; transform: none; }
.ep-cy-tile__stamp { font: 500 13px var(--sans); letter-spacing: 0; text-transform: none; background: #fff; color: var(--text); box-shadow: var(--shadow-1); backdrop-filter: none; -webkit-backdrop-filter: none; }
.ep-cy-tile__copy { background: linear-gradient(transparent, rgba(11, 18, 32, .72)); }
.ep-cy-tile__copy strong { letter-spacing: -.03em; color: #fff; }
.ep-cy-tile__copy small { color: rgba(255, 255, 255, .85); font: 500 14px var(--sans); letter-spacing: 0; }
.ep-cy-tile__go { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); backdrop-filter: none; -webkit-backdrop-filter: none; }
.ep-cy-cta__box.ep-container { width: calc(100% - 2 * var(--gutter)); max-width: var(--max, 1240px); margin-inline: auto; padding-inline: clamp(24px, 4vw, 56px); }
/* Light CTA card: the shared CTA band below is the one dark block */
.ep-cy-cta__box { background: var(--paper-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.ep-cy-cta__copy .ep-h2 { color: var(--ink); }
.ep-cy-cta__copy .ep-h2 em { color: var(--brand); }
.ep-cy-cta__copy p, .ep-cy-cta__others { color: var(--muted); }
.ep-cy-cta__others a { color: var(--text); }
.ep-cy-cta__others a:hover { color: var(--brand-deep); }
.ep-cy-cta__copy .ep-btn { --bg: var(--brand); --fg: #fff; }
.ep-cy-cta__copy .ep-btn:hover { --bg: var(--brand-deep); }
.ep-cy-cta { background: #fff; }

/* ═════════ v5 Passport Colours: cities + city ═════════ */
.cy-hero__shade { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 55%, #0b1220) 0%, rgba(11, 18, 32, .3) 58%, rgba(11, 18, 32, 0) 100%), linear-gradient(0deg, rgba(11, 18, 32, .5) 0%, transparent 40%); }
.cy-hero__title, .cz-idx-title, .ep-cy-x .ep-h2, .ep-cy-cta__copy .ep-h2, .cy-page .dz-head .ep-h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.04em; }
.cy-hero__title em { color: var(--sun); background: none; }
.cy-hero .ep-eyebrow { color: var(--sun); }
.cy-hero .ep-eyebrow::before { background: var(--sun); }
.cz-facts > div, .cz-facts > .nx-glass { background: #fff; color: var(--ink); border-radius: var(--radius); border-top: 4px solid var(--c); box-shadow: 0 0 0 1px #fff, var(--shadow-2); transition: transform .26s var(--ease), box-shadow .26s var(--ease); }
.cz-facts > div:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #fff, var(--shadow-3); }
.cz-facts dd { font-family: var(--display); font-weight: 800; color: var(--ink); }
.cz-facts dt { color: var(--muted); }
.cy-chap a.is-on, .cy-chap a.is-on i { color: var(--c); }
.cy-chap a::after { background: var(--sun); height: 3px; border-radius: 3px; }
/* University cards */
.ep-cy-card a { border-radius: var(--radius); transition: transform .26s var(--ease), box-shadow .26s var(--ease); }
.ep-cy-card a:hover { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--c), var(--shadow-3); }
.ep-cy-card__img { border-radius: var(--radius) var(--radius) 0 0; }
.ep-cy-card__img img { transition: transform .7s var(--ease); }
.ep-cy-card a:hover .ep-cy-card__img img { transform: scale(1.06); }
.ep-cy-card__go { color: var(--c); }
.ep-cy-card__go svg { transition: transform .2s var(--ease); }
.ep-cy-card a:hover .ep-cy-card__go svg { transform: translateX(4px); }
.ep-cy-pin { box-shadow: 0 0 0 4px #fff; background: var(--c); }
/* Life walk + cost bands */
.ep-cy-life, .ep-cy-cost { background-color: var(--c-tint); }
.ep-cy-walk figure { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 4px; box-shadow: 0 0 0 5px #fff, var(--shadow-2); transition: transform .4s var(--spring); }
.ep-cy-walk figure:nth-child(odd) { transform: rotate(-1.2deg); }
.ep-cy-walk figure:nth-child(even) { transform: rotate(1.2deg) translateY(8px); }
.ep-cy-walk figure:hover { transform: rotate(0) translateY(-6px); }
.ep-cy-x { border-radius: var(--radius-lg); box-shadow: var(--shadow-3); }
.ep-cy-x__chips input:checked + span { background: var(--sun); color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.ep-cy-basket { background: var(--c); color: var(--c-on); box-shadow: none; border-radius: var(--radius-lg); }
.ep-cy-basket__bag { background: color-mix(in srgb, var(--c-on) 14%, transparent); box-shadow: inset 0 0 0 2px var(--c-on); }
.ep-cy-basket__handle { color: var(--c-on); }
.ep-cy-basket__fill[data-part="housing"], .ep-cy-dot--housing { background: var(--sun); }
.ep-cy-basket__fill[data-part="food"], .ep-cy-dot--food { background: #fff; }
.ep-cy-basket__fill[data-part="transport"], .ep-cy-dot--transport { background: color-mix(in srgb, var(--c-on) 55%, var(--c)); }
.ep-cy-basket dd, .ep-cy-basket dt, .ep-cy-basket__total small, .ep-cy-basket__note { color: var(--c-on); }
.ep-cy-basket__total strong { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; color: var(--c-on); }
.ep-cy-collage { background: #fff; }
.ep-cy-mosaic a { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 4px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ep-cy-mosaic a:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 0 0 3px var(--sun), var(--shadow-3); }
.ep-cy-mosaic a img { transition: transform .7s var(--ease); }
.ep-cy-mosaic a:hover img { transform: scale(1.05); }
/* CTA: country colour field */
.ep-cy-cta__box { background: var(--c); color: var(--c-on); box-shadow: none; border-radius: var(--radius-lg); overflow: hidden; }
.ep-cy-cta__box::after { content: ""; position: absolute; right: -4%; bottom: -30%; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 3px dashed color-mix(in srgb, var(--c-on) 40%, transparent); pointer-events: none; }
.ep-cy-cta__bg { display: block; opacity: .22; mix-blend-mode: luminosity; }
.ep-cy-cta__copy .ep-h2 { color: var(--c-on); }
.ep-cy-cta__copy .ep-h2 em { color: var(--sun); }
.ep-cy-cta__copy p, .ep-cy-cta__others, .ep-cy-cta__others a { color: var(--c-on); }
.ep-cy-cta__others a { text-decoration: underline; text-underline-offset: 3px; }
.ep-cy-cta__copy .ep-btn { --bg: var(--sun); --fg: var(--ink); }
.ep-cy-cta__copy .ep-btn:hover { --bg: #fff; }
/* Index */
.ep-cy-index { padding-block: clamp(40px, 6vw, 80px); }
.cz-idx-title em { color: var(--brand); }
.ep-cy-tile a { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 4px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ep-cy-tile:nth-child(odd) a { transform: rotate(-.8deg); }
.ep-cy-tile:nth-child(even) a { transform: rotate(.8deg); }
.ep-cy-tile a:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 0 0 3px var(--c), var(--shadow-3); }
.ep-cy-tile a > img { transition: transform .8s var(--ease); }
.ep-cy-tile a:hover > img { transform: scale(1.06); }
.ep-cy-tile__stamp { background: var(--c); color: var(--c-on); font-weight: 700; transform: rotate(-3deg); }
.ep-cy-tile__copy { background: linear-gradient(transparent, color-mix(in srgb, var(--c) 70%, #0b1220)); }
.ep-cy-tile__copy strong { font-family: var(--display); font-weight: 800; }
.ep-cy-tile__go { opacity: 1; transform: none; background: var(--sun); transition: transform .3s var(--spring); }
.ep-cy-tile a:hover .ep-cy-tile__go { transform: rotate(45deg) scale(1.1); }
@media (prefers-reduced-motion: reduce) { .ep-cy-tile a, .ep-cy-walk figure { transform: none !important; } }
