/* =========================================================================
   Travellerio
   The site is an airport. The board announces what is leaving, the cards are
   boarding passes, the type is the one you read at a gate at 6am.
   ========================================================================= */

:root {
	/* Ink and paper. Cool, not cream — this is terminal lighting, not linen. */
	--ink:        #0B1220;
	--ink-soft:   #1C2740;
	--paper:      #EEF1F6;
	--card:       #FFFFFF;
	--rule:       #D6DEEA;
	--muted:      #5E6A82;

	/* Ticket blue does the acting: price, buttons, focus. */
	--ticket:     #1B4DFF;
	--ticket-ink: #0E35C4;

	/* Two signals, used sparingly and never together on one card. */
	--mint:       #00875A;
	--flare:      #E0402A;

	--display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
	--body:    'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

	--step--1: clamp(.78rem, .76rem + .1vw, .84rem);
	--step-0:  clamp(1rem, .97rem + .15vw, 1.06rem);
	--step-1:  clamp(1.2rem, 1.13rem + .35vw, 1.4rem);
	--step-2:  clamp(1.5rem, 1.35rem + .75vw, 2rem);
	--step-3:  clamp(2rem, 1.7rem + 1.5vw, 3.1rem);
	--step-4:  clamp(2.6rem, 2rem + 3vw, 4.4rem);

	--gutter: clamp(1rem, 4vw, 2.5rem);
	--radius: 14px;
	--shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 8px 24px -12px rgba(11, 18, 32, .18);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: var(--step-0);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ticket); text-decoration-thickness: 1px; text-underline-offset: 2px; }

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	margin: 0;
}

:focus-visible {
	outline: 2px solid var(--ticket);
	outline-offset: 3px;
	border-radius: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: #fff;
	padding: .75rem 1rem;
	z-index: 100;
}
.skip-link:focus { left: 0; }

.wrap {
	width: min(1180px, 100%);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* =========================================================== departure board
   The one animated element on the site. It exists because the content is
   genuinely time-critical — not for atmosphere. */

.board {
	background: var(--ink);
	color: #E7ECF6;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0 var(--gutter);
	overflow: hidden;
	font-family: var(--mono);
	font-size: .78rem;
	height: 38px;
}

.board__label {
	flex: none;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #FFC24A;
	padding-right: 1rem;
	border-right: 1px solid rgba(255, 255, 255, .16);
}

.board__track { flex: 1; overflow: hidden; }

.board__list {
	display: flex;
	gap: 2.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	width: max-content;
	animation: board-scroll 42s linear infinite;
}
.board:hover .board__list { animation-play-state: paused; }

.board__row a {
	display: flex;
	gap: .75rem;
	align-items: baseline;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}
.board__row a:hover .board__route { color: #FFC24A; }

.board__route { letter-spacing: .08em; font-weight: 600; }
.board__price { color: #9FB0CC; }
.board__time { color: #FFC24A; font-variant-numeric: tabular-nums; }

@keyframes board-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* ==================================================================== header */

.masthead {
	background: var(--paper);
	border-bottom: 1px solid var(--rule);
	position: sticky;
	top: 0;
	z-index: 40;
	backdrop-filter: saturate(180%) blur(8px);
}

.masthead__inner {
	width: min(1180px, 100%);
	margin-inline: auto;
	padding: .85rem var(--gutter);
	display: flex;
	align-items: center;
	gap: 1rem;
}

.masthead__brand { margin-right: auto; }

.brand {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	text-decoration: none;
	color: var(--ink);
}

.brand__mark {
	font-family: var(--mono);
	font-weight: 700;
	font-size: .82rem;
	letter-spacing: .14em;
	background: var(--ink);
	color: #fff;
	padding: .4rem .5rem;
	border-radius: 5px;
}

.brand__name {
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -.03em;
}

.masthead__nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.nav {
	display: flex;
	gap: 1.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav a {
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
	font-size: .95rem;
}
.nav a:hover { color: var(--ticket); }

.masthead__cta {
	background: var(--ink);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: .9rem;
	padding: .5rem .95rem;
	border-radius: 8px;
}
.masthead__cta:hover { background: var(--ticket); color: #fff; }

.masthead__toggle {
	display: none;
	background: none;
	border: 1px solid var(--rule);
	border-radius: 8px;
	padding: .55rem .6rem;
	cursor: pointer;
}
.masthead__toggle-bars,
.masthead__toggle-bars::before,
.masthead__toggle-bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--ink);
	content: '';
}
.masthead__toggle-bars { position: relative; }
.masthead__toggle-bars::before { position: absolute; top: -6px; }
.masthead__toggle-bars::after  { position: absolute; top: 6px; }

/* ====================================================================== hero */

.hero { padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) 1.5rem; }

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	font-family: var(--mono);
	font-size: .74rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 1.2rem;
}
.hero__eyebrow strong { color: var(--ink); }

.hero__dot {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--mint);
	box-shadow: 0 0 0 3px rgba(0, 135, 90, .18);
}

.hero__title {
	font-size: var(--step-4);
	max-width: 16ch;
	margin: 0 0 1rem;
}

.hero__lede {
	max-width: 58ch;
	color: var(--ink-soft);
	font-size: var(--step-1);
	line-height: 1.45;
	margin: 0;
}

/* ================================================== the boarding pass (card)
   Two panels split by a perforation: journey on the left, price and action on
   the stub. The notches are cut with radial gradients so they scale. */

.deal-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	margin-bottom: 2rem;
}

.pass {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 168px;
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	position: relative;
	transition: transform .18s ease, box-shadow .18s ease;
}
.pass:hover {
	transform: translateY(-2px);
	box-shadow: 0 2px 4px rgba(11, 18, 32, .06), 0 18px 40px -18px rgba(11, 18, 32, .3);
}
.pass.is-expired { opacity: .55; }

.pass__main { padding: 1.15rem 1.25rem; min-width: 0; }

.pass__meta {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 .6rem;
}

.pass__type {
	font-family: var(--mono);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}

.pass__flag {
	font-family: var(--mono);
	font-size: .64rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--flare);
	border: 1px solid currentColor;
	border-radius: 4px;
	padding: .12rem .35rem;
}

.pass__route { margin: 0 0 .2rem; }
.pass__route a { color: inherit; text-decoration: none; }
.pass__route a:hover .pass__iata { color: var(--ticket); }

.pass__iata {
	font-family: var(--mono);
	font-weight: 700;
	font-size: var(--step-2);
	letter-spacing: .04em;
}

.pass__arrow { color: var(--muted); margin: 0 .25rem; font-size: var(--step-1); }

.pass__place {
	font-family: var(--display);
	font-size: var(--step-1);
}

.pass__city {
	margin: 0 0 .55rem;
	font-size: .85rem;
	color: var(--muted);
}

.pass__hook {
	margin: 0 0 .8rem;
	font-size: .92rem;
	line-height: 1.5;
	color: var(--ink-soft);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pass__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 1.1rem;
	margin: 0;
}
.pass__facts div { min-width: 0; }
.pass__facts dt {
	font-family: var(--mono);
	font-size: .62rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: .15rem;
}
.pass__facts dd {
	margin: 0;
	font-size: .82rem;
	font-weight: 500;
}

/* --- the stub ---------------------------------------------------------- */

.pass__stub {
	position: relative;
	padding: 1.15rem 1rem;
	background: #F7F9FC;
	border-left: 2px dashed var(--rule);
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	gap: .25rem;
}

/* Punched holes at the perforation. */
.pass__stub::before,
.pass__stub::after {
	content: '';
	position: absolute;
	left: -9px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--paper);
	border: 1px solid var(--rule);
}
.pass__stub::before { top: -9px; }
.pass__stub::after  { bottom: -9px; }

.pass__save {
	margin: 0;
	font-family: var(--mono);
	font-weight: 700;
	font-size: 1rem;
	color: var(--mint);
	letter-spacing: .02em;
}
.pass__save span { font-size: .78em; }

.pass__price {
	margin: 0;
	font-family: var(--display);
	font-weight: 800;
	font-size: var(--step-2);
	letter-spacing: -.03em;
	line-height: 1;
}

.pass__ref {
	margin: 0 0 .6rem;
	font-size: .74rem;
	color: var(--muted);
}
.pass__ref s { text-decoration-thickness: 1px; }

.pass__cta {
	display: block;
	background: var(--ticket);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: .88rem;
	padding: .6rem .5rem;
	border-radius: 9px;
	transition: background .15s ease;
}
.pass__cta:hover { background: var(--ticket-ink); color: #fff; }

.pass__clock { margin: .55rem 0 0; }
.pass__clock-label {
	display: block;
	font-family: var(--mono);
	font-size: .6rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
}
.pass__clock-value {
	font-family: var(--mono);
	font-size: .84rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.pass__clock-value.is-urgent { color: var(--flare); }
.pass__clock-value.is-expired { color: var(--muted); }

.pass__verified {
	margin: .4rem 0 0;
	font-size: .68rem;
	color: var(--muted);
}

/* Urgency reads on the stub edge only — no red card, no shouting.
   One signal per card: when the clock is the alarm, the discount goes quiet,
   otherwise the eye gets two competing claims on the same 168 pixels. */
.pass--urgent .pass__stub { background: #FFF6F4; }
.pass--urgent { border-color: #F3C9C0; }
.pass--urgent .pass__save { color: var(--ink-soft); }

.pass--error-fare .pass__stub { background: #FFFBEB; }
.pass--error-fare .pass__save { color: var(--ink-soft); }

.pass--featured {
	grid-template-columns: minmax(0, 1fr) 230px;
}
.pass--featured .pass__price { font-size: var(--step-3); }
.pass--featured .pass__iata { font-size: var(--step-3); }
.pass--featured .pass__hook { font-size: var(--step-0); -webkit-line-clamp: 4; }

/* ================================================================== filters */

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding: 1rem 0 1.5rem;
	border-bottom: 1px solid var(--rule);
	margin-bottom: 1.75rem;
}

.filters__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem;
}
.filters__group--sort { margin-left: auto; }

.filters__label {
	font-family: var(--mono);
	font-size: .66rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
	margin-right: .35rem;
}

.chip {
	font-family: var(--mono);
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .04em;
	background: var(--card);
	border: 1px solid var(--rule);
	color: var(--ink);
	padding: .35rem .7rem;
	border-radius: 999px;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed='true'] {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}

/* ================================================================ sections */

.section-title {
	font-size: var(--step-2);
	margin: 0 0 .4rem;
}

.section-lede {
	color: var(--muted);
	max-width: 55ch;
	margin: 0 0 1.5rem;
}

.featured, .deals, .journal, .related { padding-block: clamp(2rem, 5vw, 3.5rem); }
.featured { padding-bottom: 0; }

.deals__head { margin-bottom: .5rem; }

.deals__more { text-align: center; margin: 1rem 0 0; }

.button-quiet {
	display: inline-block;
	border: 1px solid var(--ink);
	border-radius: 10px;
	padding: .65rem 1.4rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--ink);
}
.button-quiet:hover { background: var(--ink); color: #fff; }

.empty {
	grid-column: 1 / -1;
	color: var(--muted);
	padding: 2rem 0;
}

/* ================================================================== alerts */

.alerts {
	background: var(--ink);
	color: #E7ECF6;
	padding-block: clamp(2.5rem, 6vw, 4rem);
	margin-top: 2rem;
}

.alerts__inner { max-width: 720px; }

/* Restyle the plugin's form for the dark band. */
.alerts .trvio-alert {
	background: transparent;
	border: 0;
	padding: 0;
}
.alerts .trvio-alert__title {
	font-family: var(--display);
	font-size: var(--step-2);
	color: #fff;
	letter-spacing: -.02em;
}
.alerts .trvio-alert__text { color: #A9B7D0; font-size: var(--step-0); }
.alerts .trvio-alert__airports legend { color: #8C9BB8; font-family: var(--mono); }
.alerts .trvio-chip span {
	background: rgba(255, 255, 255, .06);
	border-color: rgba(255, 255, 255, .2);
	color: #E7ECF6;
	font-family: var(--mono);
}
.alerts .trvio-chip input:checked + span {
	background: #fff;
	color: var(--ink);
	border-color: #fff;
}
.alerts .trvio-alert__row input {
	background: rgba(255, 255, 255, .06);
	border-color: rgba(255, 255, 255, .2);
	color: #fff;
}
.alerts .trvio-alert__row input::placeholder { color: #7E8CA8; }
.alerts .trvio-alert__row button { background: var(--ticket); }
.alerts .trvio-alert__row button:hover { background: #3D66FF; }
.alerts .trvio-alert__legal { color: #7E8CA8; }
.alerts .trvio-alert__status.is-ok { color: #45D6A3; }

/* ================================================================= journal */

.journal__grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.note {
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	overflow: hidden;
}

.note__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.note__body { padding: 1.1rem 1.2rem 1.3rem; }

.note__meta {
	font-family: var(--mono);
	font-size: .68rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
	display: flex;
	gap: .5rem;
	margin: 0 0 .5rem;
}

.note__title { font-size: var(--step-1); margin: 0 0 .5rem; }
.note__title a { color: inherit; text-decoration: none; }
.note__title a:hover { color: var(--ticket); }

.note__excerpt { margin: 0; color: var(--ink-soft); font-size: .92rem; }

.note--wide {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
}
.note--wide .note__media img { height: 100%; aspect-ratio: auto; }

/* ================================================== single deal & articles */

.page-head { padding-block: clamp(2rem, 5vw, 3rem) 1rem; }
.page-head__eyebrow,
.deal-single__eyebrow,
.article__meta {
	font-family: var(--mono);
	font-size: .7rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 .8rem;
	display: flex;
	gap: .6rem;
	align-items: center;
}
.page-head__title { font-size: var(--step-3); max-width: 22ch; }
.page-head__desc { color: var(--muted); max-width: 60ch; }

.deal-single__head { padding-block: clamp(2rem, 5vw, 3rem) 1.5rem; }
.deal-single__title { font-size: var(--step-3); max-width: 20ch; margin-bottom: .6rem; }

.deal-single__route {
	display: flex;
	align-items: baseline;
	gap: .5rem;
	flex-wrap: wrap;
	margin: 0 0 .8rem;
}
.deal-single__city { color: var(--muted); font-size: .9rem; }

.deal-single__expired {
	color: var(--flare);
	border: 1px solid currentColor;
	border-radius: 4px;
	padding: .1rem .4rem;
}

.deal-single__hook {
	font-size: var(--step-1);
	max-width: 55ch;
	color: var(--ink-soft);
	margin: 0;
}

.deal-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 2.5rem;
	align-items: start;
	padding-bottom: 3rem;
}

.deal-single__media { margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; }

/* The rail is a full ticket — the card idea, held still. */
.ticket {
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.4rem;
	position: sticky;
	top: 84px;
	text-align: center;
}

.ticket__save {
	margin: 0 0 .2rem;
	font-family: var(--mono);
	font-weight: 700;
	color: var(--mint);
}
.ticket__price {
	margin: 0;
	font-family: var(--display);
	font-weight: 800;
	font-size: var(--step-3);
	line-height: 1;
	letter-spacing: -.03em;
}
.ticket__ref { margin: .3rem 0 1.2rem; font-size: .78rem; color: var(--muted); }

.ticket__facts {
	margin: 0 0 1.2rem;
	text-align: left;
	border-top: 1px solid var(--rule);
}
.ticket__facts div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .6rem 0;
	border-bottom: 1px solid var(--rule);
}
.ticket__facts dt {
	font-family: var(--mono);
	font-size: .66rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}
.ticket__facts dd { margin: 0; font-size: .86rem; font-weight: 600; text-align: right; }
.ticket__clock { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ticket__clock.is-urgent { color: var(--flare); }

.ticket__cta {
	display: block;
	background: var(--ticket);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	padding: .8rem 1rem;
	border-radius: 10px;
}
.ticket__cta:hover { background: var(--ticket-ink); color: #fff; }

.ticket__gone { color: var(--muted); font-size: .88rem; margin: 0; }
.ticket__verified { margin: .8rem 0 0; font-size: .72rem; color: var(--muted); }

.tips {
	margin-top: 2rem;
	border-left: 3px solid var(--ticket);
	padding: .2rem 0 .2rem 1.25rem;
}
.tips__title { font-size: var(--step-1); margin: 0 0 .7rem; }
.tips__list { margin: 0; padding-left: 1.1rem; }
.tips__list li { margin-bottom: .5rem; }

.article__head { padding-block: clamp(2.5rem, 6vw, 4rem) 1rem; max-width: 760px; }
.article__title { font-size: var(--step-3); }
.article__lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 55ch; }
.article__media { margin: 0 auto 2rem; border-radius: var(--radius); overflow: hidden; }
.article__body { max-width: 760px; padding-bottom: 3rem; }

.prose { font-size: 1.06rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--step-2); margin-top: 2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6em; }
.prose img { border-radius: 10px; }
.prose blockquote {
	margin-inline: 0;
	padding-left: 1.2rem;
	border-left: 3px solid var(--rule);
	color: var(--ink-soft);
	font-style: italic;
}
.prose code {
	font-family: var(--mono);
	font-size: .9em;
	background: #E4E9F2;
	padding: .1em .35em;
	border-radius: 4px;
}

.trvio-disclosure {
	background: #E4E9F2;
	border-left: 3px solid var(--muted);
	border-radius: 0 8px 8px 0;
}

/* ================================================================== stream */

.stream { padding-block: 2rem 3rem; }
.stream__list { display: grid; gap: 1.25rem; }

/* ============================================================== pagination */

.pagination { padding: 1rem 0 3rem; }
.nav-links { display: flex; gap: .4rem; flex-wrap: wrap; }
.page-numbers {
	font-family: var(--mono);
	font-size: .85rem;
	padding: .45rem .8rem;
	border: 1px solid var(--rule);
	border-radius: 8px;
	text-decoration: none;
	color: var(--ink);
	background: var(--card);
}
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ================================================================ 404, misc */

.page-404 { padding-block: clamp(3rem, 8vw, 6rem); max-width: 46ch; }
.page-404__text { color: var(--ink-soft); }

.notice-setup { padding-block: 4rem; max-width: 55ch; }

.searchform { display: flex; gap: .5rem; max-width: 420px; }
.searchform input {
	flex: 1;
	padding: .6rem .8rem;
	border: 1px solid var(--rule);
	border-radius: 9px;
	font: inherit;
}
.searchform button {
	padding: .6rem 1.1rem;
	border: 0;
	border-radius: 9px;
	background: var(--ink);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.widget { margin-bottom: 2rem; }
.widget__title { font-size: var(--step-1); margin-bottom: .6rem; }

/* ================================================================== footer */

.colophon {
	background: var(--ink);
	color: #A9B7D0;
	padding-block: 2.5rem;
	font-size: .9rem;
}

.colophon__inner { display: grid; gap: 1.25rem; }

.colophon__brand { display: flex; align-items: center; gap: .8rem; }
.colophon .brand__mark { background: rgba(255, 255, 255, .1); }
.colophon__tagline { margin: 0; }

.nav--footer { flex-wrap: wrap; }
.nav--footer a { color: #E7ECF6; font-size: .9rem; }
.nav--footer a:hover { color: #fff; }

.colophon__legal { margin: 0; font-size: .8rem; color: #7E8CA8; max-width: 70ch; }

/* ============================================================== responsive */

@media (max-width: 900px) {
	.deal-single__layout { grid-template-columns: 1fr; }
	.ticket { position: static; }
	.pass--featured { grid-template-columns: minmax(0, 1fr) 168px; }
}

@media (max-width: 720px) {
	.masthead__toggle { display: block; }

	.masthead__nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--card);
		border-bottom: 1px solid var(--rule);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: .5rem var(--gutter) 1rem;
	}
	.masthead__nav.is-open { display: flex; }
	.nav { flex-direction: column; gap: 0; }
	.nav li { border-bottom: 1px solid var(--rule); }
	.nav a { display: block; padding: .8rem 0; }
	.masthead__cta { margin-top: .8rem; text-align: center; }

	.deal-grid { grid-template-columns: 1fr; }

	/* On a phone the pass folds: the stub becomes the bottom half of the
	   ticket, which is how you hold a real one anyway. */
	.pass,
	.pass--featured { grid-template-columns: 1fr; }
	.pass__stub {
		border-left: 0;
		border-top: 2px dashed var(--rule);
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		text-align: left;
		gap: .5rem 1rem;
	}
	.pass__stub::before { top: -9px; left: -9px; }
	.pass__stub::after  { top: -9px; bottom: auto; left: auto; right: -9px; }
	.pass__cta { flex: 1 1 100%; text-align: center; }
	.pass__ref { margin-bottom: 0; }
	.pass__clock { margin-top: 0; }

	.note--wide { grid-template-columns: 1fr; }
	.filters__group--sort { margin-left: 0; }
	.board__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.board__list { animation: none; width: auto; overflow-x: auto; }
	.pass:hover { transform: none; }
}
