/*
 * Tevola design layer (October 2026): "The Job Ticket".
 * Scoped to .tv and .tv-* classes, so it is inert on markup that doesn't use them.
 * Depth comes from overlap only: no shadows, no gradients on surfaces.
 */

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("../fonts/tevola/archivo-latin-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Martian Mono";
	font-style: normal;
	font-weight: 300 700;
	font-stretch: 75% 112.5%;
	font-display: swap;
	src: url("../fonts/tevola/martian-mono-latin-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Page title band, demoted to <p> when the content has its own H1. */
p.wp-block-post-title.tv-band-title {
	margin: 0;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.04em;
}

/* ------------------------------------------------------------------ */
/* Tokens and base                                                     */
/* ------------------------------------------------------------------ */

.tv {
	--tv-ink: #16181b;
	--tv-ink-2: #2b2f34;
	--tv-stock: #f4f5f3;
	--tv-white: #ffffff;
	--tv-muted: #50565c;
	--tv-muted-dark: #b9bec4;
	--tv-blue: #0868b8;
	--tv-blue-ink: #06528f;
	--tv-red: #d81828;
	--tv-gutter: clamp(16px, 4vw, 64px);
	--tv-max: 1440px;
	--tv-space: clamp(72px, 9vw, 136px);
	--tv-display: "Archivo", "Arial Narrow", sans-serif;
	--tv-text: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--tv-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--tv-ease: cubic-bezier(0.16, 1, 0.3, 1);

	font-family: var(--tv-text);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--tv-ink);
	caret-color: var(--tv-blue);
	-webkit-font-smoothing: antialiased;
}

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

.tv [hidden] {
	display: none !important;
}

.tv ::selection {
	background: var(--tv-blue);
	color: var(--tv-white);
}

.tv :where(h1, h2, h3, h4) {
	font-family: var(--tv-display);
	font-stretch: 80%;
	font-weight: 750;
	letter-spacing: -0.015em;
	line-height: 1.04;
	text-wrap: balance;
	color: inherit;
	margin: 0;
}

.tv :where(h2) {
	font-size: clamp(2rem, 1.25rem + 2.6vw, 3.5rem);
	max-width: 20ch;
}

.tv :where(h3) {
	font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
	font-stretch: 85%;
	line-height: 1.1;
}

.tv :where(p) {
	margin: 0 0 1em;
	max-width: 68ch;
}

.tv :where(a) {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.tv :focus-visible {
	outline: 2px solid var(--tv-blue);
	outline-offset: 3px;
}

.tv :where(img) {
	display: block;
	max-width: 100%;
	height: auto;
}

.tv :where(figure) {
	margin: 0;
}

.tv-wrap {
	width: 100%;
	max-width: calc(var(--tv-max) + 2 * var(--tv-gutter));
	margin-inline: auto;
	padding-inline: var(--tv-gutter);
}

.tv-icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

.tv-label,
.tv :where(dt) {
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tv-muted);
	line-height: 1.4;
}

.tv :where(dl, dd) {
	margin: 0;
}

.tv-lede {
	font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
	line-height: 1.45;
	max-width: 52ch;
}

.tv-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 650;
	font-stretch: 90%;
	color: var(--tv-blue);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
	transition: color 160ms var(--tv-ease), text-underline-offset 160ms var(--tv-ease);
}

.tv-link:hover {
	color: var(--tv-blue-ink);
	text-underline-offset: 0.35em;
}

.tv-link .tv-icon {
	transition: transform 200ms var(--tv-ease);
}

.tv-link:hover .tv-icon {
	transform: translateX(3px);
}

.tv-links-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	margin-top: 2rem;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

/* Beat the theme's uppercase button styles without outranking the variants. */
.tv :where(.tv-btn) {
	text-transform: none;
	letter-spacing: 0;
}

/* The theme pins every button to wght 600 with font-variation-settings, which beats font-weight. */
.tv button,
.tv .tv-btn {
	font-variation-settings: normal;
}

.tv-btn {
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 52px;
	padding: 0 1.35rem;
	border: 1.5px solid var(--tv-ink);
	border-radius: 0;
	background: transparent;
	color: var(--tv-ink);
	font-family: var(--tv-display);
	font-stretch: 90%;
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 160ms var(--tv-ease), color 160ms var(--tv-ease), border-color 160ms var(--tv-ease);
}

.tv-btn--wa,
.tv-btn--primary {
	background: var(--tv-blue);
	border-color: var(--tv-blue);
	color: var(--tv-white);
}

.tv-btn--wa:hover,
.tv-btn--primary:hover {
	background: var(--tv-blue-ink);
	border-color: var(--tv-blue-ink);
	color: var(--tv-white);
}

.tv-btn--wa:focus-visible,
.tv-btn--primary:focus-visible {
	outline-color: var(--tv-ink);
}

.tv-btn--line:hover {
	background: var(--tv-ink);
	color: var(--tv-stock);
}

.tv-btn[disabled],
.tv-btn[aria-disabled="true"] {
	opacity: 0.45;
	cursor: not-allowed;
}

/* ------------------------------------------------------------------ */
/* Ticket                                                              */
/* ------------------------------------------------------------------ */

.tv-ticket {
	position: relative;
	background: var(--tv-stock);
	color: var(--tv-ink);
	padding: 28px clamp(20px, 3vw, 34px) 0;
	/* The punched hole goes all the way through the label. */
	-webkit-mask: radial-gradient(circle 9px at 30px 30px, transparent 8.5px, #000 9px);
	mask: radial-gradient(circle 9px at 30px 30px, transparent 8.5px, #000 9px);
}

.tv-punch {
	display: block;
	width: 18px;
	height: 18px;
	flex: none;
}

.tv-ticket__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--tv-ink);
}

.tv-ticket__title {
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tv-ink);
	margin-right: auto;
}

.tv-for {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.tv-for legend {
	float: left;
	margin-right: 4px;
	padding: 0;
}

.tv-for label {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid var(--tv-ink);
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 140ms var(--tv-ease), color 140ms var(--tv-ease);
}

.tv-for label + label {
	margin-left: -11px;
}

.tv-for input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.tv-for label:has(input:checked) {
	background: var(--tv-ink);
	color: var(--tv-stock);
}

.tv-for label:has(input:focus-visible) {
	outline: 2px solid var(--tv-blue);
	outline-offset: 2px;
}

.tv-ticket__h1 {
	font-size: clamp(1.9rem, 1.25rem + 1.45vw, 2.65rem);
	font-stretch: 74%;
	font-weight: 780;
	line-height: 1;
	letter-spacing: -0.015em;
	padding: 16px 0 18px;
}

.tv-rates {
	border-top: 1px solid var(--tv-ink);
}

.tv-rates__row {
	display: grid;
	grid-template-columns: 7.5rem 1fr;
	align-items: baseline;
	gap: 12px;
	padding: 7px 0 6px;
	border-bottom: 1px solid var(--tv-ink);
}

.tv-rates dd {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 12px;
}

.tv-price {
	font-family: var(--tv-display);
	font-stretch: 72%;
	font-weight: 800;
	font-size: clamp(2.2rem, 1.8rem + 1vw, 2.7rem);
	line-height: 0.95;
	letter-spacing: -0.02em;
	color: var(--tv-red);
	font-variant-numeric: tabular-nums lining-nums;
}

.tv-price--sm {
	font-size: 1.7rem;
	vertical-align: -0.12em;
	margin-right: 4px;
}

.tv-unit {
	font-size: 0.9rem;
	color: var(--tv-muted);
}

.tv-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 24px;
}

.tv-fields > div {
	padding: 10px 0;
	border-bottom: 1px solid rgba(22, 24, 27, 0.22);
}

.tv-fields dd {
	font-size: 0.9rem;
	line-height: 1.4;
	margin-top: 3px;
}

.tv-fields--tight {
	grid-template-columns: 1fr;
}

.tv-fields--tight > div {
	display: grid;
	grid-template-columns: 7.5rem 1fr;
	gap: 12px;
	align-items: baseline;
	padding: 9px 0;
}

.tv-fields--tight dd {
	margin-top: 0;
}

.tv-run {
	display: grid;
	grid-template-columns: auto auto 1fr;
	grid-template-areas: "label input out";
	align-items: center;
	gap: 6px 16px;
	margin-top: 14px;
	padding: 10px 14px;
	border: 1px dashed var(--tv-ink);
}

.tv-run .tv-label {
	grid-area: label;
}

.tv-run__input {
	grid-area: input;
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 0.9rem;
	color: var(--tv-muted);
}

.tv-run input {
	width: 4.6ch;
	padding: 0 0 2px;
	border: 0;
	border-bottom: 2px solid var(--tv-ink);
	border-radius: 0;
	background: transparent;
	color: var(--tv-ink);
	font-family: var(--tv-mono);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
	appearance: textfield;
}

.tv-run input::-webkit-outer-spin-button,
.tv-run input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.tv-run input:focus {
	outline: none;
	border-bottom-color: var(--tv-blue);
}

.tv-run__out {
	grid-area: out;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 2px 18px;
	font-size: 0.9rem;
	color: var(--tv-muted);
}

.tv-run__out b {
	display: block;
	font-family: var(--tv-display);
	font-stretch: 78%;
	font-size: 1.4rem;
	font-weight: 750;
	line-height: 1.1;
	color: var(--tv-ink);
	font-variant-numeric: tabular-nums lining-nums;
}

.tv-fine {
	margin: 12px 0 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--tv-muted);
}

.tv-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.tv-ticket--hero .tv-actions {
	margin-bottom: 8px;
}

.tv-actions .tv-btn {
	flex: 1 1 auto;
}

.tv-ticket__foot {
	margin: 24px calc(-1 * clamp(20px, 3vw, 34px)) 0;
	padding: 0 clamp(20px, 3vw, 34px) 14px;
	border-top: 1px solid var(--tv-ink);
}

.tv-ticket__foot p {
	margin: 8px 0 0;
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.625rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tv-muted);
}

.tv-barcode {
	--bar: var(--tv-ink);
	position: relative;
	overflow: hidden;
	height: 30px;
	margin-top: 14px;
	background: repeating-linear-gradient(90deg,
		var(--bar) 0 2px, transparent 2px 4px,
		var(--bar) 4px 5px, transparent 5px 8px,
		var(--bar) 8px 11px, transparent 11px 12px,
		var(--bar) 12px 13px, transparent 13px 16px,
		var(--bar) 16px 17px, transparent 17px 19px,
		var(--bar) 19px 22px, transparent 22px 25px);
	max-width: 260px;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.tv-hero {
	position: relative;
	display: grid;
	background: var(--tv-ink);
	z-index: 2;
}

.tv-hero > * {
	grid-area: 1 / 1;
}

.tv-hero__photo {
	/* Kept below the ticket height on purpose: the ticket sets the row, so it always overruns the photo. */
	min-height: 480px;
}

.tv-hero__photo {
	position: relative;
}

/* Out of flow, so the photo never sets the hero height: the ticket does. */
.tv-hero__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 34% 62%;
}

.tv-hero__wrap {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	padding-top: clamp(24px, 4vh, 44px);
	padding-right: var(--tv-gutter);
}

.tv-ticket--hero {
	width: min(620px, 100%);
	margin-bottom: -112px;
	animation: tv-feed 720ms steps(9, end) both;
}

.tv-hero__rating {
	position: absolute;
	left: var(--tv-gutter);
	bottom: 56px;
	z-index: 1;
}

.tv-tape {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: var(--tv-blue);
	color: var(--tv-white);
	font-family: var(--tv-display);
	font-stretch: 88%;
	font-size: 1rem;
	font-weight: 550;
	text-decoration: none;
	transform: rotate(-2deg);
	transition: transform 220ms var(--tv-ease);
}

.tv-tape strong {
	font-weight: 800;
}

a.tv-tape:hover {
	transform: rotate(0deg);
}

@keyframes tv-feed {
	from {
		clip-path: inset(0 0 100% 0);
		transform: translateY(-14px);
	}
	to {
		clip-path: inset(0 0 0 0);
		transform: none;
	}
}

/* ------------------------------------------------------------------ */
/* Shop floor                                                          */
/* ------------------------------------------------------------------ */

.tv-shop {
	background: var(--tv-ink);
	color: var(--tv-stock);
	padding-block: calc(112px + var(--tv-space)) var(--tv-space);
	overflow: hidden;
}

.tv-shop__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}

.tv-shop h2 {
	margin-bottom: 28px;
}

.tv-shop p {
	color: #d9dcdf;
}

.tv-shop .tv-link {
	color: var(--tv-white);
}

.tv-shop .tv-link:hover {
	color: #cfe3f5;
}

.tv-shop__photos {
	position: relative;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: auto 120px auto;
	margin-top: -40px;
}

.tv-pin {
	position: relative;
}

.tv-pin img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tv-pin::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	width: 84px;
	height: 24px;
	margin-left: -42px;
	background: var(--tv-blue);
	opacity: 0.92;
	transform: rotate(-3deg);
	z-index: 2;
}

.tv-pin--a .tv-tag {
	top: 22px;
	bottom: auto;
}

.tv-pin--a {
	grid-column: 1 / 11;
	grid-row: 1 / 3;
	aspect-ratio: 3 / 2;
	transform: rotate(-1.2deg);
}

.tv-pin--b {
	grid-column: 1 / 6;
	grid-row: 2 / 4;
	aspect-ratio: 4 / 5;
	margin-top: 40px;
	transform: rotate(1.6deg);
	z-index: 1;
}

.tv-pin--c {
	grid-column: 8 / 13;
	grid-row: 2 / 4;
	aspect-ratio: 2 / 3;
	margin-top: 90px;
	transform: rotate(-2deg);
	z-index: 1;
}

.tv-tag {
	position: absolute;
	left: -8px;
	bottom: 14px;
	z-index: 3;
	padding: 6px 10px;
	background: var(--tv-stock);
	color: var(--tv-ink);
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* ------------------------------------------------------------------ */
/* What we build                                                       */
/* ------------------------------------------------------------------ */

.tv-build {
	background: var(--tv-white);
	padding-block: var(--tv-space);
}

.tv-build h2 {
	margin-bottom: clamp(32px, 4vw, 56px);
}

.tv-build__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: minmax(0, auto);
	gap: 20px;
}

.tv-job {
	position: relative;
	display: block;
	color: var(--tv-ink);
	text-decoration: none;
	overflow: hidden;
}

.tv-job img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--tv-ease);
}

.tv-job:hover img {
	transform: scale(1.035);
}

.tv-job--k {
	grid-column: 1 / 8;
	grid-row: 1 / 4;
	min-height: 560px;
}

.tv-job--m {
	grid-column: 8 / 13;
	grid-row: 1;
	aspect-ratio: 5 / 4;
}

.tv-job--v {
	grid-column: 8 / 13;
	grid-row: 2;
}

.tv-job--c {
	grid-column: 8 / 13;
	grid-row: 3;
}

.tv-job__card {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 14px;
	row-gap: 4px;
	align-items: start;
	background: var(--tv-stock);
	padding: 18px 20px 20px;
}

.tv-job:not(.tv-job--text) .tv-job__card {
	position: absolute;
	left: 0;
	bottom: 0;
	max-width: min(440px, calc(100% - 24px));
}

.tv-job.tv-ticket {
	padding: 0;
}

.tv-job--text {
	background: var(--tv-stock);
	transition: background-color 160ms var(--tv-ease);
}

.tv-job--text .tv-job__card {
	padding: 52px 22px 18px;
	background: transparent;
}

.tv-barcode--sm {
	grid-column: 1 / -1;
	height: 20px;
	max-width: 180px;
	margin-top: 16px;
}

.tv-job--text:hover {
	background: #eceeeb;
}

.tv-code {
	grid-row: 1 / span 4;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: var(--tv-ink);
	color: var(--tv-stock);
	font-family: var(--tv-mono);
	font-weight: 700;
	font-size: 1.15rem;
}

.tv-job__name {
	font-family: var(--tv-display);
	font-stretch: 82%;
	font-weight: 750;
	font-size: 1.45rem;
	line-height: 1.05;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
	transition: text-decoration-color 160ms var(--tv-ease);
}

.tv-job:hover .tv-job__name {
	text-decoration-color: currentColor;
}

.tv-job__line {
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--tv-muted);
}

.tv-job__more {
	margin-top: 6px;
	font-weight: 650;
	font-stretch: 90%;
	color: var(--tv-blue);
}

.tv-job__quote {
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px solid rgba(22, 24, 27, 0.22);
	font-size: 0.875rem;
	font-style: italic;
	color: var(--tv-ink);
}

/* ------------------------------------------------------------------ */
/* Two doors                                                           */
/* ------------------------------------------------------------------ */

.tv-doors {
	background: var(--tv-white);
	padding-block: var(--tv-space);
	border-top: 1px solid var(--tv-ink);
}

.tv-doors h2 {
	margin-bottom: clamp(32px, 4vw, 56px);
}

.tv-doors__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 40px);
}

.tv-ticket--door {
	background: var(--tv-stock);
	padding-top: 56px;
	display: flex;
	flex-direction: column;
}

.tv-ticket--door h3 {
	font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem);
	font-stretch: 78%;
}

.tv-door__sub {
	margin: 6px 0 18px;
	color: var(--tv-muted);
}

.tv-ticket--door .tv-btn {
	margin-top: auto;
	align-self: flex-start;
}

.tv-ticket--door .tv-fields,
.tv-checks {
	margin-bottom: 26px;
}

.tv-checks {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	border-top: 1px solid var(--tv-ink);
}

.tv-checks li {
	position: relative;
	padding: 11px 0 11px 30px;
	border-bottom: 1px solid rgba(22, 24, 27, 0.22);
	font-size: 1rem;
}

.tv-checks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 15px;
	width: 14px;
	height: 14px;
	border: 1.5px solid var(--tv-ink);
}

.tv-checks li::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 16px;
	width: 6px;
	height: 10px;
	border: solid var(--tv-blue);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

/* ------------------------------------------------------------------ */
/* Weeks ruler                                                         */
/* ------------------------------------------------------------------ */

.tv-weeks {
	background: var(--tv-white);
	padding-block: var(--tv-space);
	border-top: 1px solid var(--tv-ink);
}

.tv-weeks h2 {
	margin-bottom: 16px;
}

.tv-ruler {
	list-style: none;
	margin: clamp(40px, 5vw, 64px) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	position: relative;
}

/* The tape: a ruled scale with a long tick every 60px and short ones every 12px. */
.tv-ruler::before {
	content: "";
	position: absolute;
	top: 28px;
	left: 0;
	right: 0;
	height: 22px;
	border-top: 2px solid var(--tv-ink);
	background:
		repeating-linear-gradient(90deg, var(--tv-ink) 0 1px, transparent 1px 60px) top left / 100% 22px no-repeat,
		repeating-linear-gradient(90deg, var(--tv-ink) 0 1px, transparent 1px 12px) top left / 100% 10px no-repeat;
}

.tv-ruler__step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 76px 20px 0 0;
}

/* Major tick where each step starts. */
.tv-ruler__step::before {
	content: "";
	position: absolute;
	top: 22px;
	left: 0;
	width: 2px;
	height: 34px;
	background: var(--tv-ink);
}

.tv-ruler__step--span {
	grid-column: span 2;
}

.tv-ruler__when,
.tv-ruler__band {
	position: absolute;
	top: 0;
	left: 0;
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 20px;
	color: var(--tv-ink);
	white-space: nowrap;
}

.tv-ruler__when {
	padding-left: 8px;
}

/* Order, build and install share one span on the scale: 4 of the 6 columns, from the order tick. */
.tv-ruler__band {
	width: 400%;
	padding: 0 10px;
	background: var(--tv-ink);
	color: var(--tv-stock);
}

.tv-ruler__what {
	font-family: var(--tv-display);
	font-stretch: 82%;
	font-size: 1.3rem;
	font-weight: 750;
	line-height: 1.1;
}

.tv-ruler__who {
	font-size: 0.925rem;
	line-height: 1.45;
	color: var(--tv-muted);
}

/* ------------------------------------------------------------------ */
/* Yardstick: the weeks read off a stick that slides past as you scroll */
/* ------------------------------------------------------------------ */

.tv-weeks__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 48px;
}

.tv-weeks__intro {
	max-width: 760px;
}

.tv .tv-weeks__intro .tv-lede {
	margin-bottom: 0;
}

/* The live reading only exists while the stick is being scrolled. */
.tv-weeks__read {
	display: none;
	min-width: 280px;
	margin: 0;
}

.tv-weeks.is-yard .tv-weeks__read {
	display: grid;
	gap: 4px;
}

.tv-weeks__read strong {
	font-family: var(--tv-display);
	font-stretch: 75%;
	font-size: clamp(2.6rem, 1.6rem + 3vw, 4.6rem);
	font-weight: 800;
	line-height: 0.95;
	font-variant-numeric: tabular-nums;
}

.tv-weeks__read span:last-child {
	font-family: var(--tv-display);
	font-stretch: 88%;
	font-size: 1.2rem;
	font-weight: 650;
}

.tv-yard {
	--u: 200px;
	--stick: 96px;
	--up: 158px;
	--down: 150px;
	--lead: 26px;
	position: relative;
	margin-block: clamp(28px, 4vh, 52px) 8px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: thin;
}

.tv-yard__track {
	position: relative;
	isolation: isolate;
	width: calc(var(--lead) * 2 + 12.6 * var(--u));
	height: calc(var(--up) + var(--stick) + var(--down));
	margin-inline: var(--tv-gutter);
}

/* The stick: label stock, ticks along the top edge, a long tick and a mark at each unit. */
.tv-yard__scale {
	position: absolute;
	top: var(--up);
	left: var(--lead);
	display: flex;
	height: var(--stick);
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--tv-stock);
	border: 2px solid var(--tv-ink);
}

.tv-yard__scale > li {
	position: relative;
	flex: 0 0 var(--u);
	margin: 0;
	background: repeating-linear-gradient(90deg, var(--tv-ink) 0 1px, transparent 1px calc(var(--u) / 7)) left top / 100% 12px no-repeat;
}

/* The stick runs a little past the last mark so +8 sits inside it. */
.tv-yard__scale > li:last-child {
	flex-basis: calc(var(--u) * 0.6);
}

.tv-yard__scale > li::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 2px;
	height: 40px;
	background: var(--tv-ink);
}

.tv-yard__scale > li:first-child::before {
	display: none;
}

.tv-yard__scale span {
	position: absolute;
	left: 12px;
	bottom: 18px;
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
}

.tv-yard__scale b {
	display: block;
	margin-top: 4px;
	font-family: var(--tv-display);
	font-stretch: 75%;
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 0.9;
}

/* The install window, 4 to 8 weeks after the order, is a solid band on the stick's lower edge. */
.tv-yard__scale > li.is-window {
	box-shadow: inset 0 -10px 0 var(--tv-ink);
}

.tv-yard__steps {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Each step is a flag on a pole planted at its mark, above or below the stick. */
.tv-yard__step {
	position: absolute;
	left: calc(var(--lead) + 2px + var(--at) * var(--u));
	width: min(330px, calc(var(--u) * 1.6));
	margin: 0;
	padding-left: 16px;
}

.tv-yard__step::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 2px;
	background: var(--tv-ink);
}

.tv-yard__step--up {
	bottom: calc(var(--down) + var(--stick));
	padding-bottom: 16px;
}

.tv-yard__step--up::before {
	transform-origin: center bottom;
}

.tv-yard__step--down {
	top: calc(var(--up) + var(--stick));
	padding-top: 16px;
}

.tv-yard__step--down::before {
	transform-origin: center top;
}

.tv .tv-yard__step h3 {
	margin: 0 0 6px;
	font-family: var(--tv-display);
	font-stretch: 82%;
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
	font-weight: 750;
	line-height: 1.1;
}

.tv .tv-yard__step p {
	margin: 0;
	font-size: 0.975rem;
	line-height: 1.45;
	color: var(--tv-muted);
}

.tv-yard__window {
	display: inline-block;
	margin: 0 0 10px;
	padding: 3px 8px;
	background: var(--tv-ink);
	color: var(--tv-stock);
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.tv-yard__fill,
.tv-yard__cursor {
	display: none;
}

/* ---- Scrolled mode: the section pins and the stick slides under a fixed cursor. ---- */

.tv-weeks.is-yard {
	height: calc(100vh + var(--yard-scroll, 2000px));
	height: calc(100svh + var(--yard-scroll, 2000px));
	padding-block: 0;
}

.tv-weeks.is-yard .tv-weeks__stage {
	position: sticky;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100vh;
	height: 100svh;
	padding-block: 104px 24px;
	overflow: hidden;
}

.tv-weeks.is-yard .tv-yard {
	overflow: hidden;
}

.tv-weeks.is-yard .tv-yard__track {
	margin-inline: 0;
	will-change: transform;
}

/* The measured length inverts. */
.tv-weeks.is-yard .tv-yard__fill {
	display: block;
	position: absolute;
	top: var(--up);
	left: var(--lead);
	width: var(--yard-x, 0px);
	height: var(--stick);
	background: #fff;
	mix-blend-mode: difference;
	pointer-events: none;
}

.tv-weeks.is-yard .tv-yard__cursor {
	display: block;
	position: absolute;
	top: calc(var(--up) - 16px);
	left: 0;
	width: 3px;
	height: calc(var(--stick) + 32px);
	margin-left: -1px;
	background: var(--tv-red);
	z-index: 2;
	pointer-events: none;
	will-change: transform;
}

.tv-yard__cursor::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 50%;
	border: 8px solid transparent;
	border-top: 11px solid var(--tv-red);
	border-bottom-width: 0;
	transform: translateX(-50%);
}

/* The tag only shows where the big reading is not on screen. */
.tv-yard__cursor > span {
	display: none;
}

/* Steps print in when the cursor reaches their mark. */
.tv-weeks.is-yard .tv-yard__step > * {
	clip-path: inset(0 100% 0 0);
}

.tv-weeks.is-yard .tv-yard__step::before {
	transform: scaleY(0);
	transition: transform 220ms var(--tv-ease);
}

.tv-weeks.is-yard .tv-yard__step.is-on::before {
	transform: scaleY(1);
}

.tv-weeks.is-yard .tv-yard__step.is-on > * {
	animation: tv-type 460ms steps(16, end) both;
	animation-delay: calc(120ms + var(--i, 0) * 110ms);
}

@media (prefers-reduced-motion: no-preference) {
	.tv-weeks__read strong.is-new {
		animation: tv-type 260ms steps(8, end) both;
	}
}

@media (max-height: 760px) {
	.tv-yard {
		--up: 140px;
		--down: 132px;
		--stick: 88px;
	}

	.tv-weeks.is-yard .tv-weeks__stage {
		padding-top: 92px;
	}
}

@media (max-width: 900px) {
	.tv-yard {
		--u: 150px;
		--stick: 80px;
		--up: 156px;
		--down: 146px;
		--lead: 18px;
		margin-block: 16px 0;
	}

	.tv-weeks.is-yard .tv-weeks__read {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 2px 12px;
		min-width: 0;
	}

	.tv-weeks__read .tv-label {
		display: none;
	}

	.tv-weeks__read strong {
		font-size: 2.1rem;
	}

	.tv-weeks__read span:last-child {
		font-size: 1rem;
	}

	.tv-weeks.is-yard .tv-weeks__stage {
		padding-block: 96px 72px;
	}

	.tv-yard__step {
		width: min(250px, calc(var(--u) * 1.7));
	}

	.tv .tv-yard__step p {
		font-size: 0.925rem;
	}

}

@media (max-width: 900px) and (max-height: 760px) {
	.tv .tv-weeks__intro .tv-lede {
		display: none;
	}
}

/* ------------------------------------------------------------------ */
/* Reviews                                                             */
/* ------------------------------------------------------------------ */

.tv-reviews {
	background: var(--tv-ink);
	color: var(--tv-stock);
	padding-block: var(--tv-space);
}

.tv-reviews__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 40px;
	margin-bottom: clamp(36px, 5vw, 64px);
}

.tv-rating {
	margin: 0;
	font-size: 1.05rem;
	color: #d9dcdf;
}

.tv-rating strong {
	font-family: var(--tv-display);
	font-stretch: 75%;
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--tv-white);
	vertical-align: -0.12em;
	margin-right: 4px;
}

.tv-reviews .tv-link {
	color: var(--tv-white);
}

.tv-slips {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	align-items: start;
}

.tv-slip {
	position: relative;
	background: var(--tv-white);
	color: var(--tv-ink);
	padding: 26px 22px 22px;
	transform: rotate(-0.8deg);
}

.tv-slip:nth-child(2n) {
	transform: rotate(1deg);
	margin-top: 28px;
}

.tv-slip:nth-child(3) {
	margin-top: 10px;
}

/* Star row: one masked strip, so the fill can stop part way through a star. */
.tv-stars {
	--star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24'%3E%3Cpath d='M11.5 1.8a.55.55 0 0 1 1 0l2.9 5.9 6.5.9a.55.55 0 0 1 .3.95l-4.7 4.6 1.1 6.5a.55.55 0 0 1-.8.6L12 18.2l-5.8 3.05a.55.55 0 0 1-.8-.6l1.1-6.5L1.8 9.55a.55.55 0 0 1 .3-.95l6.5-.9z'/%3E%3C/svg%3E");
	--of: 100%;
	display: block;
	width: calc(5 * 19px);
	height: 16px;
	margin: 0 0 14px;
	background: linear-gradient(90deg, currentColor var(--of), rgb(128 128 128 / 0.35) var(--of));
	-webkit-mask: var(--star) left center / 19px 16px repeat-x;
	mask: var(--star) left center / 19px 16px repeat-x;
}

.tv-slip .tv-stars {
	color: var(--tv-ink);
}

.tv-rating .tv-stars {
	--of: 93%;
	width: calc(5 * 24px);
	height: 20px;
	margin: 0 0 10px;
	color: var(--tv-white);
	-webkit-mask-size: 24px 20px;
	mask-size: 24px 20px;
}

.tv-slip blockquote {
	margin: 0;
}

.tv-slip blockquote p {
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 0 16px;
}

.tv-slip figcaption {
	padding-top: 10px;
	border-top: 1px dashed var(--tv-ink);
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tv-muted);
}

.tv-stamp {
	position: absolute;
	top: -12px;
	right: 14px;
	padding: 4px 9px;
	border: 2px solid var(--tv-red);
	border-radius: 3px;
	background: var(--tv-white);
	color: var(--tv-red);
	font-family: var(--tv-mono);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transform: rotate(-7deg);
}

/* ------------------------------------------------------------------ */
/* Showrooms                                                           */
/* ------------------------------------------------------------------ */

.tv-rooms {
	background: var(--tv-white);
	padding-block: var(--tv-space);
}

.tv-rooms h2 {
	margin-bottom: clamp(32px, 4vw, 56px);
	max-width: 28ch;
}

.tv-rooms__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 40px);
}

.tv-ship {
	display: flex;
	flex-direction: column;
	padding-top: 58px;
}

.tv-ship__photo {
	position: relative;
	margin-bottom: 24px;
}

.tv-ship__photo::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	width: 96px;
	height: 26px;
	margin-left: -48px;
	background: var(--tv-blue);
	opacity: 0.92;
	transform: rotate(-2.5deg);
	z-index: 1;
}

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

.tv-ship h3 {
	margin-bottom: 14px;
}

.tv-ship .tv-fields {
	border-top: 1px solid var(--tv-ink);
	margin-bottom: 18px;
}

.tv-ship .tv-link {
	margin-top: auto;
	align-self: flex-start;
}

/* ------------------------------------------------------------------ */
/* Areas                                                               */
/* ------------------------------------------------------------------ */

.tv-areas {
	background: var(--tv-blue);
	color: var(--tv-white);
	padding-block: clamp(64px, 7vw, 104px);
}

.tv-areas__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: start;
}

.tv-areas p {
	font-size: 1.15rem;
	color: var(--tv-white);
}

.tv-areas .tv-link {
	color: var(--tv-white);
}

.tv-chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	padding: 0;
}

.tv-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 14px;
	background: var(--tv-stock);
	color: var(--tv-ink);
	font-weight: 600;
	font-stretch: 90%;
	text-decoration: none;
	transition: background-color 140ms var(--tv-ease), color 140ms var(--tv-ease);
}

.tv-chips a:hover {
	background: var(--tv-ink);
	color: var(--tv-white);
}

.tv-areas :focus-visible {
	outline-color: var(--tv-white);
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */

.tv-faq {
	background: var(--tv-white);
	padding-block: var(--tv-space);
}

.tv-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: start;
}

.tv-faq h2 {
	position: sticky;
	top: 112px;
}

.tv-faq__list {
	border-top: 2px solid var(--tv-ink);
}

.tv-faq details {
	border-bottom: 1px solid var(--tv-ink);
}

.tv-faq summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 20px 48px 20px 0;
	font-family: var(--tv-display);
	font-stretch: 86%;
	font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
	font-weight: 680;
	line-height: 1.25;
}

.tv-faq summary::-webkit-details-marker {
	display: none;
}

.tv-faq summary::before,
.tv-faq summary::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	width: 18px;
	height: 2px;
	background: var(--tv-ink);
	transition: transform 220ms var(--tv-ease);
}

.tv-faq summary::after {
	transform: rotate(90deg);
}

.tv-faq details[open] summary::after {
	transform: rotate(0deg);
}

.tv-faq details p {
	padding: 0 0 22px;
	margin: 0;
	color: #30353a;
}

.tv-faq details a {
	color: var(--tv-blue);
}

/* ------------------------------------------------------------------ */
/* Guides (shortcode)                                                  */
/* ------------------------------------------------------------------ */

.tv-guides {
	background: var(--tv-stock);
	border-top: 1px solid var(--tv-ink);
	padding-block: var(--tv-space);
}

.tv-guides__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 32px;
	margin-bottom: clamp(32px, 4vw, 52px);
}

.tv-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.5vw, 32px);
}

.tv-card {
	display: flex;
	flex-direction: column;
	background: var(--tv-white);
	border: 1px solid var(--tv-ink);
	color: var(--tv-ink);
	text-decoration: none;
}

.tv-card__img {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-bottom: 1px solid var(--tv-ink);
}

.tv-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--tv-ease);
}

.tv-card:hover .tv-card__img img {
	transform: scale(1.035);
}

.tv-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px 24px;
	flex: 1;
}

.tv-card__title {
	font-family: var(--tv-display);
	font-stretch: 82%;
	font-size: 1.4rem;
	font-weight: 750;
	line-height: 1.1;
	text-wrap: balance;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
	transition: text-decoration-color 160ms var(--tv-ease);
}

.tv-card:hover .tv-card__title {
	text-decoration-color: currentColor;
}

.tv-card__excerpt {
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--tv-muted);
	margin: 0;
}

.tv-card__meta {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px dashed rgba(22, 24, 27, 0.4);
}

/* ------------------------------------------------------------------ */
/* Quote form (shortcode)                                              */
/* ------------------------------------------------------------------ */

.tv-quote {
	background: var(--tv-ink);
	color: var(--tv-stock);
	padding-block: var(--tv-space);
	scroll-margin-top: 24px;
}

.tv-quote__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}

.tv-quote__intro p {
	color: #d9dcdf;
}

.tv-quote__intro h2 {
	margin-bottom: 22px;
}

.tv-quote__direct {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 28px;
}

.tv-quote__direct a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--tv-white);
	font-family: var(--tv-display);
	font-stretch: 85%;
	font-size: 1.35rem;
	font-weight: 700;
	text-decoration: none;
}

.tv-quote__direct a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.tv-ticket--form {
	padding-bottom: 0;
}

.tv-steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	margin: 0 0 22px;
	padding: 0 0 0 30px;
}

.tv-steps li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tv-muted);
}

.tv-steps li::before {
	content: "";
	height: 8px;
	background: rgba(22, 24, 27, 0.14);
}

.tv-steps li.is-done::before,
.tv-steps li.is-current::before {
	background: var(--tv-blue);
}

.tv-steps li.is-current {
	color: var(--tv-ink);
}

.tv-step {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.tv-step > legend {
	font-family: var(--tv-display);
	font-stretch: 80%;
	font-size: 1.9rem;
	font-weight: 750;
	line-height: 1.05;
	padding: 18px 0 14px;
	width: 100%;
	border-top: 1px solid var(--tv-ink);
}

.tv-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 18px;
}

.tv-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}

.tv-field--full {
	grid-column: 1 / -1;
}

.tv-field input,
.tv-field select,
.tv-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid var(--tv-ink);
	border-radius: 0;
	background: var(--tv-white);
	color: var(--tv-ink);
	font: inherit;
	font-size: 1rem;
}

.tv-field textarea {
	min-height: 96px;
	resize: vertical;
}

.tv-field input:focus,
.tv-field select:focus,
.tv-field textarea:focus {
	outline: 2px solid var(--tv-blue);
	outline-offset: 0;
	border-color: var(--tv-blue);
}

.tv-field [aria-invalid="true"] {
	border-color: var(--tv-red);
	outline-color: var(--tv-red);
}

.tv-error {
	font-size: 0.85rem;
	color: #b0101e;
	margin: 0;
}

.tv-choice {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border: 0;
	padding: 0;
	margin: 0 0 14px;
}

.tv-choice legend {
	margin-bottom: 6px;
}

.tv-choice label {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--tv-ink);
	background: var(--tv-white);
	font-size: 0.95rem;
	font-weight: 550;
	cursor: pointer;
	transition: background-color 140ms var(--tv-ease), color 140ms var(--tv-ease);
}

.tv-choice input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.tv-choice label:has(input:checked) {
	background: var(--tv-ink);
	color: var(--tv-white);
}

.tv-choice label:has(input:focus-visible) {
	outline: 2px solid var(--tv-blue);
	outline-offset: 2px;
}

.tv-form__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	margin-top: 8px;
}

.tv-form__privacy {
	margin: 10px 0 0;
}

.tv-form__done {
	padding: 8px 0 4px;
}

.tv-form__done h3 {
	margin-bottom: 10px;
}

.tv-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Instagram: a tear-off strip of photo receipts                       */
/* ------------------------------------------------------------------ */

.tv-gram {
	background: var(--tv-stock);
	padding-block: var(--tv-space);
	border-top: 1px solid var(--tv-ink);
}

.tv-gram__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
	margin-bottom: clamp(36px, 4.5vw, 60px);
}

.tv-gram__head h2 {
	margin-bottom: 12px;
}

.tv-gram__head .tv-lede {
	margin: 0;
}

.tv-gram__paper {
	position: relative;
	background: var(--tv-white);
	filter: drop-shadow(0 14px 22px rgb(22 24 27 / 0.1));
}

/* Torn receipt edges, top and bottom. */
.tv-gram__paper::before,
.tv-gram__paper::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 8px;
	background:
		linear-gradient(-45deg, transparent 5.5px, var(--tv-white) 0) 0 0 / 11px 8px repeat-x,
		linear-gradient(45deg, transparent 5.5px, var(--tv-white) 0) 0 0 / 11px 8px repeat-x;
}

.tv-gram__paper::before {
	top: -8px;
	transform: scaleY(-1);
}

.tv-gram__paper::after {
	bottom: -8px;
}

.tv-gram__roll {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.tv-gram__frame {
	min-width: 0;
	margin: 0;
}

/* Perforations between the receipts. */
.tv-gram__frame + .tv-gram__frame {
	border-left: 2px dashed rgb(22 24 27 / 0.3);
}

.tv-gram__frame:nth-child(4n+1) {
	border-left: 0;
}

.tv-gram__frame:nth-child(n+5) {
	border-top: 2px dashed rgb(22 24 27 / 0.3);
}

.tv .tv-gram__link {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	padding: clamp(14px, 1.6vw, 22px);
	color: var(--tv-ink);
	text-decoration: none;
}

.tv .tv-gram__link:focus-visible {
	outline: 2px solid var(--tv-blue);
	outline-offset: -6px;
}

.tv-gram__meta,
.tv-gram__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tv-muted);
}

.tv-gram__photo {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--tv-stock);
}

.tv-gram__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--tv-ease);
}

.tv-gram__link:hover .tv-gram__photo img {
	transform: scale(1.03);
}

.tv-gram__cap {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	font-size: 0.95rem;
	line-height: 1.45;
}

.tv-gram__foot {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px dashed var(--tv-ink);
}

.tv-gram__foot .tv-barcode {
	flex: 0 1 96px;
	height: 18px;
	margin: 0;
}

.tv-gram__foot > span:last-child {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tv-gram__foot .tv-icon {
	width: 14px;
	height: 14px;
	transition: transform 160ms var(--tv-ease);
}

.tv-gram__link:hover .tv-gram__foot .tv-icon {
	transform: translate(2px, -2px);
}

/* Text for screen readers only. */
.tv-vh {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 900px) {
	.tv-gram__roll {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(232px, 70vw);
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: thin;
	}

	.tv-gram__frame {
		scroll-snap-align: start;
	}

	.tv-gram__frame:nth-child(n) {
		border-top: 0;
		border-left: 2px dashed rgb(22 24 27 / 0.3);
	}

	.tv-gram__frame:first-child {
		border-left: 0;
	}
}

/* ------------------------------------------------------------------ */
/* Inner pages: page hero                                              */
/* ------------------------------------------------------------------ */

.tv-phero {
	background: var(--tv-ink);
	color: var(--tv-stock);
	padding-block: clamp(22px, 3vw, 40px) clamp(56px, 7vw, 104px);
	overflow: hidden;
}

.tv-phero .tv-crumbs {
	margin-bottom: clamp(20px, 3vw, 36px);
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #9ea5ad;
}

.tv-phero .tv-crumbs a {
	color: var(--tv-stock);
}

.tv-phero__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	align-items: center;
}

.tv-ticket--page {
	position: relative;
	z-index: 2;
	grid-column: 1;
	grid-row: 1;
	margin-right: clamp(-96px, -6vw, -40px);
}

.tv .tv-ticket--page .tv-ticket__h1 {
	font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.4rem);
	max-width: 18ch;
}

.tv-ticket__no {
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 3px 8px;
	border: 1.5px solid var(--tv-ink);
}

.tv .tv-phero__sub {
	margin: 0 0 18px;
	font-size: 1.05rem;
	line-height: 1.55;
	max-width: 62ch;
	color: #2b2f33;
}

.tv-ticket--page .tv-fields {
	border-top: 1px solid var(--tv-ink);
}

.tv-ticket--page .tv-actions {
	margin-top: 18px;
}

.tv-phero__photo {
	grid-column: 2;
	grid-row: 1;
	aspect-ratio: 4 / 5;
	max-height: 640px;
	width: 100%;
	transform: rotate(1.4deg);
}

.tv-phero__photo .tv-tag {
	left: auto;
	right: -8px;
}

/* Tickets read as paper against either ground: stock on white, white on stock. */
.tv-sec--stock .tv-ticket {
	background: var(--tv-white);
}

/* Two graphite sections in a row (contact) need a seam. */
.tv-phero + .tv-quote {
	border-top: 1px solid rgb(255 255 255 / 0.16);
}

/* ------------------------------------------------------------------ */
/* Inner pages: sections                                               */
/* ------------------------------------------------------------------ */

.tv-sec {
	background: var(--tv-white);
	padding-block: clamp(56px, 7vw, 108px);
	border-top: 1px solid var(--tv-ink);
}

.tv-sec--stock {
	background: var(--tv-stock);
}

.tv-sec__head {
	max-width: 860px;
	margin-bottom: clamp(28px, 4vw, 52px);
}

.tv-sec__head h2 {
	margin-bottom: 14px;
}

.tv .tv-sec__head .tv-lede {
	margin: 0;
}

.tv-sec__split {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: start;
}

.tv-sec__split > h2,
.tv-sec__head--side {
	position: sticky;
	top: 112px;
}

.tv-sec__head--side {
	margin: 0;
}

.tv-sec__head--side p {
	margin-top: 14px;
	color: var(--tv-muted);
}

.tv-sec__split--aside .tv-sec__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.tv-sec__split--label {
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.tv-sec__split--label h2 {
	margin-bottom: 22px;
}

.tv-sec .tv-prose {
	max-width: 70ch;
}

/* ------------------------------------------------------------------ */
/* Spec sheet: numbered callouts on a real kitchen                     */
/* ------------------------------------------------------------------ */

.tv-spec__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

.tv-spec__photo {
	position: sticky;
	top: 112px;
}

.tv-spec__photo img {
	width: 100%;
	height: auto;
}

.tv .tv-spec__pin {
	position: absolute;
	left: var(--x);
	top: var(--y);
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	border: 2px solid var(--tv-white);
	border-radius: 50%;
	background: var(--tv-ink);
	color: var(--tv-white);
	font-family: var(--tv-mono);
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 2px 0 rgb(22 24 27 / 0.35);
	transition: background-color 140ms var(--tv-ease), transform 140ms var(--tv-ease);
}

.tv .tv-spec__pin:hover,
.tv .tv-spec__pin:focus-visible {
	background: var(--tv-blue);
	transform: scale(1.12);
}

.tv-spec__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tv-spec__item {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 14px;
	padding: 16px 10px 16px 0;
	border-bottom: 1px solid rgb(22 24 27 / 0.22);
	scroll-margin-top: 120px;
	transition: background-color 160ms var(--tv-ease);
}

.tv-spec__n {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 1.5px solid var(--tv-ink);
	border-radius: 50%;
	font-family: var(--tv-mono);
	font-size: 0.75rem;
	font-weight: 700;
}

.tv .tv-spec__item h3 {
	margin: 2px 0 6px;
	font-size: 1.2rem;
}

.tv .tv-spec__item p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #30353a;
}

/* Pin and row light up together, whichever one the visitor points at. */
.tv-spec__item:target,
.tv-spec__grid:has(.tv-spec__pin[data-n="1"]:is(:hover, :focus-visible)) .tv-spec__item[data-n="1"],
.tv-spec__grid:has(.tv-spec__pin[data-n="2"]:is(:hover, :focus-visible)) .tv-spec__item[data-n="2"],
.tv-spec__grid:has(.tv-spec__pin[data-n="3"]:is(:hover, :focus-visible)) .tv-spec__item[data-n="3"],
.tv-spec__grid:has(.tv-spec__pin[data-n="4"]:is(:hover, :focus-visible)) .tv-spec__item[data-n="4"],
.tv-spec__grid:has(.tv-spec__pin[data-n="5"]:is(:hover, :focus-visible)) .tv-spec__item[data-n="5"],
.tv-spec__grid:has(.tv-spec__pin[data-n="6"]:is(:hover, :focus-visible)) .tv-spec__item[data-n="6"] {
	background: var(--tv-stock);
}

.tv-spec__item:target .tv-spec__n,
.tv-spec__grid:has(.tv-spec__pin[data-n="1"]:is(:hover, :focus-visible)) .tv-spec__item[data-n="1"] .tv-spec__n,
.tv-spec__grid:has(.tv-spec__pin[data-n="2"]:is(:hover, :focus-visible)) .tv-spec__item[data-n="2"] .tv-spec__n,
.tv-spec__grid:has(.tv-spec__pin[data-n="3"]:is(:hover, :focus-visible)) .tv-spec__item[data-n="3"] .tv-spec__n,
.tv-spec__grid:has(.tv-spec__pin[data-n="4"]:is(:hover, :focus-visible)) .tv-spec__item[data-n="4"] .tv-spec__n,
.tv-spec__grid:has(.tv-spec__pin[data-n="5"]:is(:hover, :focus-visible)) .tv-spec__item[data-n="5"] .tv-spec__n,
.tv-spec__grid:has(.tv-spec__pin[data-n="6"]:is(:hover, :focus-visible)) .tv-spec__item[data-n="6"] .tv-spec__n {
	background: var(--tv-blue);
	border-color: var(--tv-blue);
	color: var(--tv-white);
}

.tv-spec__grid:has(.tv-spec__item[data-n="1"]:hover) .tv-spec__pin[data-n="1"],
.tv-spec__grid:has(.tv-spec__item[data-n="2"]:hover) .tv-spec__pin[data-n="2"],
.tv-spec__grid:has(.tv-spec__item[data-n="3"]:hover) .tv-spec__pin[data-n="3"],
.tv-spec__grid:has(.tv-spec__item[data-n="4"]:hover) .tv-spec__pin[data-n="4"],
.tv-spec__grid:has(.tv-spec__item[data-n="5"]:hover) .tv-spec__pin[data-n="5"],
.tv-spec__grid:has(.tv-spec__item[data-n="6"]:hover) .tv-spec__pin[data-n="6"] {
	background: var(--tv-blue);
	transform: scale(1.12);
}

/* ------------------------------------------------------------------ */
/* Swatch tags and the estimate ticket                                 */
/* ------------------------------------------------------------------ */

.tv-swatch__grid {
	display: grid;
	grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

/* Door sample tags hang from a rail. */
.tv-swatch__rail {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	padding-top: 30px;
	margin-bottom: 26px;
}

.tv-swatch__rail::before {
	content: "";
	position: absolute;
	top: 6px;
	left: -6px;
	right: -6px;
	height: 6px;
	border-radius: 3px;
	background: var(--tv-ink);
}

.tv .tv-swatch__tag {
	position: relative;
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: 4px 16px;
	align-items: center;
	padding: 26px 18px 18px;
	border: 1.5px solid var(--tv-ink);
	border-radius: 0;
	background: var(--tv-white);
	color: var(--tv-ink);
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transform-origin: 50% -24px;
	transition: transform 220ms var(--tv-ease), box-shadow 220ms var(--tv-ease);
}

/* The hole and the string up to the rail. */
.tv-swatch__tag::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 50%;
	width: 10px;
	height: 10px;
	margin-left: -5px;
	border: 1.5px solid var(--tv-ink);
	border-radius: 50%;
	background: var(--tv-stock);
}

.tv-swatch__tag::after {
	content: "";
	position: absolute;
	top: -24px;
	left: 50%;
	width: 1.5px;
	height: 34px;
	background: var(--tv-ink);
}

.tv .tv-swatch__tag[aria-selected="true"] {
	box-shadow: 6px 6px 0 var(--tv-ink);
	transform: rotate(-1.5deg);
}

.tv .tv-swatch__tag:hover {
	transform: rotate(1deg);
}

.tv .tv-swatch__tag[aria-selected="true"]:hover {
	transform: rotate(-1.5deg);
}

.tv-swatch__chip {
	grid-row: 1 / 3;
	width: 76px;
	height: 76px;
	border: 1px solid rgb(22 24 27 / 0.3);
}

/* Thermofoil: a smooth wrapped face with a soft sheen. */
.tv-swatch__chip--thermofoil {
	background: linear-gradient(135deg, #ffffff 0%, #eef0ef 40%, #ffffff 52%, #e3e6e5 100%);
}

/* Painted: a flat, deep colour. */
.tv-swatch__chip--painted {
	background: #8fa898;
	box-shadow: inset 0 0 0 6px rgb(255 255 255 / 0.12);
}

.tv-swatch__name {
	font-family: var(--tv-display);
	font-stretch: 80%;
	font-size: 1.5rem;
	font-weight: 780;
	line-height: 1;
}

.tv-swatch__rate {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
}

.tv-swatch__panel h3 {
	margin-bottom: 10px;
}

.tv-swatch__panel-rate {
	margin-left: 10px;
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tv-red);
	white-space: nowrap;
}

.tv-swatch__panel + .tv-swatch__panel {
	margin-top: 28px;
}

.tv-swatch[data-ready] .tv-swatch__panel + .tv-swatch__panel {
	margin-top: 0;
}

.tv .tv-swatch__best {
	margin: 14px 0 0;
}

.tv-ticket--calc .tv-run {
	margin-top: 14px;
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"label label"
		"input out";
}

.tv-ticket--calc .tv-btn {
	width: 100%;
	margin-top: 14px;
}

.tv-ticket--calc .tv-fine {
	margin-top: 12px;
}

/* ------------------------------------------------------------------ */
/* Scope sheet                                                         */
/* ------------------------------------------------------------------ */

.tv-scope__sheet {
	max-width: 1100px;
}

.tv-scope__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(24px, 4vw, 56px);
	padding-top: 22px;
}

.tv-scope__col--yours {
	padding-left: clamp(24px, 4vw, 56px);
	border-left: 2px dashed rgb(22 24 27 / 0.35);
	margin-left: calc(-1 * clamp(24px, 4vw, 56px) / 2);
}

.tv .tv-scope__col h3 {
	margin-bottom: 12px;
}

.tv-crosses {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	border-top: 1px solid var(--tv-ink);
}

.tv-crosses li {
	position: relative;
	padding: 11px 0 11px 30px;
	border-bottom: 1px solid rgb(22 24 27 / 0.22);
}

.tv-crosses li::before,
.tv-crosses li::after {
	content: "";
	position: absolute;
	left: 3px;
	top: 21px;
	width: 14px;
	height: 2px;
	background: var(--tv-ink);
	transform: rotate(45deg);
}

.tv-crosses li::after {
	transform: rotate(-45deg);
}

.tv-scope__note {
	margin: 4px calc(-1 * clamp(20px, 3vw, 34px)) 0;
	padding: 18px clamp(20px, 3vw, 34px);
	background: var(--tv-stock);
	border-top: 1px solid var(--tv-ink);
	font-size: 1rem;
}

.tv-sec .tv-scope__note {
	max-width: none;
	font-size: 1rem;
}

.tv-scope__note.tv-prose > p:first-child {
	font-size: inherit;
	line-height: 1.6;
	color: inherit;
}

/* ------------------------------------------------------------------ */
/* Step cards                                                          */
/* ------------------------------------------------------------------ */

.tv-steplist {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 2px solid var(--tv-ink);
}

.tv-stepcard {
	position: relative;
	display: grid;
	grid-template-columns: minmax(150px, 2fr) minmax(0, 9fr);
	gap: clamp(16px, 3vw, 40px);
	padding: 26px 0;
	border-bottom: 1px solid var(--tv-ink);
}

.tv-stepcard__when {
	display: grid;
	gap: 6px;
	align-content: start;
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.tv-stepcard__n {
	font-family: var(--tv-display);
	font-stretch: 72%;
	font-size: 2.6rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 0.9;
}

.tv .tv-stepcard h3 {
	margin-bottom: 8px;
}

.tv-fields--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tv-fields--three dd {
	font-size: 0.95rem;
}

/* ------------------------------------------------------------------ */
/* Checklist                                                           */
/* ------------------------------------------------------------------ */

.tv-checklist__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tv-checklist__list li {
	border-bottom: 1px solid rgb(22 24 27 / 0.22);
}

.tv-checklist__list label {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 13px 0;
	cursor: pointer;
}

.tv-checklist__list input {
	appearance: none;
	-webkit-appearance: none;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	border: 1.5px solid var(--tv-ink);
	background: var(--tv-white);
	cursor: pointer;
}

.tv-checklist__list input::after {
	content: "";
	width: 6px;
	height: 11px;
	margin-top: -3px;
	border: solid var(--tv-white);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg) scale(0);
	transition: transform 140ms var(--tv-ease);
}

.tv-checklist__list input:checked {
	background: var(--tv-ink);
}

.tv-checklist__list input:checked::after {
	transform: rotate(45deg) scale(1);
}

.tv-checklist__list input:checked + span {
	color: var(--tv-muted);
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

/* ------------------------------------------------------------------ */
/* Text tickets (cards)                                                */
/* ------------------------------------------------------------------ */

.tv-tcards__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.tv-tcards__grid:has(> :nth-child(4):last-child) {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
	.tv-tcards__grid,
	.tv-tcards__grid:has(> :nth-child(4):last-child) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.tv-tcards__grid,
	.tv-tcards__grid:has(> :nth-child(4):last-child) {
		grid-template-columns: 1fr;
	}
}

.tv .tv-tcard {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 26px;
	padding-bottom: 18px;
	background: var(--tv-white);
	color: var(--tv-ink);
	text-decoration: none;
	transition: transform 200ms var(--tv-ease);
}

.tv-sec--stock .tv-tcard {
	background: var(--tv-white);
}

.tv-sec:not(.tv-sec--stock) .tv-tcard {
	background: var(--tv-stock);
}

.tv-tcard .tv-code {
	width: 38px;
	height: 38px;
	margin-left: auto;
	font-size: 0.8125rem;
}

.tv .tv-tcard h3 {
	margin-top: -30px;
	max-width: calc(100% - 50px);
}

.tv .tv-tcard p {
	margin: 0;
	font-size: 0.975rem;
	line-height: 1.5;
	color: #30353a;
}

.tv-tcard__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 6px;
	color: var(--tv-blue);
	font-weight: 650;
}

.tv-tcard .tv-barcode {
	margin-top: 4px;
	max-width: 140px;
	height: 16px;
}

a.tv-tcard:hover {
	transform: translateY(-3px);
}

a.tv-tcard:hover .tv-tcard__more .tv-icon {
	transform: translateX(3px);
}

/* ------------------------------------------------------------------ */
/* Route map (service areas)                                           */
/* ------------------------------------------------------------------ */

.tv-map__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

.tv-map__board {
	position: sticky;
	top: 112px;
	aspect-ratio: 10 / 6;
	background: var(--tv-white);
	border: 2px solid var(--tv-ink);
	overflow: hidden;
}

.tv-map__svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.tv-map__lake {
	fill: #e3e7ea;
	stroke: var(--tv-ink);
	stroke-width: 1.5;
	vector-effect: non-scaling-stroke;
}

.tv-map__routes line {
	stroke: var(--tv-ink);
	stroke-width: 1.25;
	stroke-dasharray: 5 6;
	vector-effect: non-scaling-stroke;
	transition: stroke 160ms var(--tv-ease);
}

.tv-map__routes line.is-on {
	stroke: var(--tv-blue);
	stroke-width: 3;
	stroke-dasharray: none;
}

.tv-map__lakename {
	position: absolute;
	right: 6%;
	bottom: 8%;
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tv-muted);
}

.tv-map__shop,
.tv .tv-map__node {
	position: absolute;
	left: var(--x);
	top: var(--y);
	transform: translate(-50%, -50%);
}

.tv-map__shop {
	width: 20px;
	height: 20px;
	background: var(--tv-ink);
	border: 3px solid var(--tv-white);
	outline: 2px solid var(--tv-ink);
	z-index: 2;
}

.tv-map__shop span {
	position: absolute;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	padding: 3px 7px;
	background: var(--tv-ink);
	color: var(--tv-stock);
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	white-space: nowrap;
}

.tv .tv-map__node {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px 4px 6px;
	background: var(--tv-white);
	border: 1.5px solid var(--tv-ink);
	color: var(--tv-ink);
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	z-index: 1;
	transition: background-color 140ms var(--tv-ease), color 140ms var(--tv-ease);
}

.tv .tv-map__node::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.tv .tv-map__node:hover,
.tv .tv-map__node.is-on {
	background: var(--tv-ink);
	color: var(--tv-white);
	z-index: 3;
}

.tv .tv-map__node.is-on::before {
	background: var(--tv-blue);
	box-shadow: 0 0 0 2px var(--tv-white);
}

.tv-map__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 2px solid var(--tv-ink);
}

.tv-map__card {
	padding: 16px 14px 16px 0;
	border-bottom: 1px solid rgb(22 24 27 / 0.22);
	scroll-margin-top: 120px;
	transition: background-color 160ms var(--tv-ease), padding 160ms var(--tv-ease);
}

.tv-map__card:target,
.tv-map__card.is-on {
	padding-left: 14px;
	background: var(--tv-white);
	box-shadow: inset 4px 0 0 var(--tv-blue);
}

.tv .tv-map__card h3 {
	margin-bottom: 6px;
	font-size: 1.2rem;
}

.tv .tv-map__card p {
	margin: 0 0 6px;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #30353a;
}

.tv-map .tv-fine {
	margin-top: 14px;
}

/* ------------------------------------------------------------------ */
/* Route label (city pages)                                            */
/* ------------------------------------------------------------------ */

.tv-route {
	position: sticky;
	top: 112px;
}

.tv-route__ft {
	margin: 0 0 18px;
}

.tv-route__ft > div {
	padding: 12px 0;
	border-bottom: 1px solid rgb(22 24 27 / 0.22);
}

.tv-route__ft dd {
	margin: 4px 0 0;
	font-size: 0.95rem;
	line-height: 1.45;
}

.tv .tv-route__to {
	font-family: var(--tv-display);
	font-stretch: 72%;
	font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.01em;
}

.tv-route .tv-label {
	margin: 0 0 10px;
}

.tv-chips--plain li {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 11px;
	background: var(--tv-white);
	box-shadow: inset 0 0 0 1px rgb(22 24 27 / 0.28);
	font-size: 0.9rem;
	font-weight: 600;
	font-stretch: 90%;
}

/* ------------------------------------------------------------------ */
/* FAQ drawer                                                          */
/* ------------------------------------------------------------------ */

.tv-faqd__bar {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 62px);
	z-index: 5;
	display: grid;
	grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
	gap: 14px 28px;
	align-items: end;
	margin: 0 calc(-1 * var(--tv-gutter)) clamp(28px, 4vw, 48px);
	padding: 16px var(--tv-gutter);
	background: var(--tv-white);
	border-bottom: 1px solid var(--tv-ink);
}

.tv-faqd__search {
	display: grid;
	gap: 6px;
}

.tv-faqd__search input {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1.5px solid var(--tv-ink);
	border-radius: 0;
	background: var(--tv-white);
	font: inherit;
	font-size: 1rem;
	color: var(--tv-ink);
}

.tv-faqd__search input:focus {
	outline: 2px solid var(--tv-blue);
	outline-offset: 0;
	border-color: var(--tv-blue);
}

.tv-faqd__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.tv .tv-faqd__chip {
	min-height: 40px;
	padding: 0 12px;
	border: 1.5px solid var(--tv-ink);
	border-radius: 0;
	background: var(--tv-white);
	color: var(--tv-ink);
	font-family: var(--tv-display);
	font-stretch: 88%;
	font-size: 0.95rem;
	font-weight: 650;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.tv .tv-faqd__chip[aria-pressed="true"],
.tv .tv-faqd__chip:hover {
	background: var(--tv-ink);
	color: var(--tv-white);
}

.tv .tv-faqd__count {
	grid-column: 1 / -1;
	margin: 0;
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tv-muted);
}

.tv-faqd__group {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(20px, 5vw, 80px);
	align-items: start;
	padding-bottom: clamp(36px, 5vw, 64px);
	scroll-margin-top: 200px;
}

.tv-faqd__group h2 {
	position: sticky;
	top: 200px;
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
}

.tv-faqd mark {
	background: rgb(8 104 184 / 0.16);
	color: inherit;
}

/* "Keep going" link strip */
.tv-next {
	background: var(--tv-white);
	padding-block: clamp(40px, 5vw, 72px);
	border-top: 1px solid var(--tv-ink);
}

.tv .tv-next h2 {
	margin-bottom: 18px;
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
}

.tv-next__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 0 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--tv-ink);
}

.tv .tv-next__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 56px;
	border-bottom: 1px solid rgb(22 24 27 / 0.22);
	font-family: var(--tv-display);
	font-stretch: 86%;
	font-size: 1.1rem;
	font-weight: 680;
	text-decoration: none;
}

.tv .tv-next__list a:hover {
	color: var(--tv-blue);
}

.tv .tv-next__list a:hover .tv-icon {
	transform: translateX(3px);
}

.tv-next__list .tv-icon {
	flex: none;
	transition: transform 160ms var(--tv-ease);
}

/* ------------------------------------------------------------------ */
/* Gallery strip and sources                                           */
/* ------------------------------------------------------------------ */

.tv-gallery {
	background: var(--tv-ink);
	padding-block: clamp(56px, 7vw, 104px);
}

.tv-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 3vw, 40px);
	align-items: center;
}

.tv-gallery__grid .tv-pin {
	aspect-ratio: 4 / 5;
}

.tv-gallery__a {
	transform: rotate(-1.4deg);
}

.tv-gallery__b {
	transform: rotate(1.2deg) translateY(24px);
}

.tv-gallery__c {
	transform: rotate(-0.8deg);
}

.tv-sources {
	background: var(--tv-stock);
	padding-block: 28px;
	border-top: 1px solid var(--tv-ink);
}

.tv-sources ul {
	margin: 8px 0 0;
	padding-left: 1.2em;
}

.tv-sources a {
	color: var(--tv-blue);
}

/* ------------------------------------------------------------------ */
/* Inner pages: narrow screens                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 1100px) {
	.tv-spec__grid,
	.tv-swatch__grid,
	.tv-map__grid {
		grid-template-columns: 1fr;
	}

	.tv-spec__photo,
	.tv-map__board {
		position: relative;
		top: auto;
	}

	.tv-sec__split--aside .tv-sec__body {
		grid-template-columns: 1fr;
	}

	.tv-fields--three {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.tv-phero__grid {
		grid-template-columns: 1fr;
	}

	.tv-ticket--page {
		margin-right: 0;
	}

	.tv-phero__photo {
		grid-column: 1;
		grid-row: 2;
		aspect-ratio: 3 / 2;
		max-height: none;
		margin: -24px 18px 0 auto;
		width: 82%;
	}

	.tv-sec__split,
	.tv-sec__split--label {
		grid-template-columns: 1fr;
	}

	.tv-sec__split > h2,
	.tv-sec__head--side,
	.tv-route {
		position: static;
	}

	.tv-scope__cols {
		grid-template-columns: 1fr;
	}

	.tv-scope__col--yours {
		padding-left: 0;
		margin-left: 0;
		border-left: 0;
		padding-top: 12px;
		border-top: 2px dashed rgb(22 24 27 / 0.35);
	}

	.tv-stepcard {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.tv-stepcard__when {
		grid-template-columns: auto 1fr;
		align-items: baseline;
		gap: 12px;
	}

	.tv-faqd__bar {
		grid-template-columns: 1fr;
		position: static;
	}

	.tv-faqd__group {
		grid-template-columns: 1fr;
	}

	.tv-faqd__group h2 {
		position: static;
	}

	.tv-gallery__grid {
		grid-template-columns: repeat(3, minmax(220px, 1fr));
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 12px;
	}

	.tv-gallery__grid .tv-pin {
		scroll-snap-align: start;
	}

	.tv .tv-map__node {
		font-size: 0.5625rem;
		padding: 2px 5px 2px 4px;
		gap: 4px;
	}

	.tv .tv-map__node::before {
		width: 6px;
		height: 6px;
	}

	.tv-map__shop span {
		display: none;
	}
}

@media (max-width: 560px) {
	.tv .tv-swatch__tag {
		grid-template-columns: 1fr;
		justify-items: start;
		padding: 24px 12px 14px;
	}

	.tv-swatch__chip {
		grid-row: auto;
		width: 100%;
		height: 48px;
	}

	.tv-swatch__name {
		font-size: 1.25rem;
	}

	.tv .tv-faqd__chip {
		min-height: 36px;
		font-size: 0.875rem;
	}
}

/* ------------------------------------------------------------------ */
/* Shop: cut list, product spec sheet, my ticket                       */
/* ------------------------------------------------------------------ */

.tv-cut {
	background: var(--tv-stock);
	padding-block: clamp(32px, 4vw, 56px) clamp(56px, 7vw, 104px);
}

.tv-cut__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 48px;
	margin-bottom: 24px;
}

.tv .tv-cut__title {
	margin: 0 0 14px;
	font-size: clamp(2.4rem, 1.4rem + 3vw, 4.4rem);
	font-stretch: 74%;
	font-weight: 800;
	line-height: 0.98;
}

.tv .tv-cut__intro .tv-lede {
	margin: 0;
}

.tv .tv-cut__intro .tv-fine {
	max-width: 34ch;
	margin: 0;
}

.tv-cut__jump .tv-chips a {
	min-height: 38px;
	background: var(--tv-white);
	box-shadow: inset 0 0 0 1px rgb(22 24 27 / 0.28);
}

.tv-cut__sheet {
	background: var(--tv-white);
}

.tv-cut__group + .tv-cut__group {
	margin-top: 34px;
}

.tv-cut__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 26px 0 12px;
	border-bottom: 2px solid var(--tv-ink);
}

.tv .tv-cut__head h2 {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
	max-width: none;
}

.tv-cut__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tv-cut__row {
	display: grid;
	grid-template-columns: 34px 64px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid rgb(22 24 27 / 0.2);
	transition: background-color 160ms var(--tv-ease);
}

.tv-cut__row:hover {
	background: rgb(244 245 243 / 0.7);
}

.tv-cut__n {
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--tv-muted);
	text-align: right;
}

.tv-cut__thumb {
	display: block;
	width: 64px;
	height: 64px;
	background: var(--tv-white);
	border: 1px solid rgb(22 24 27 / 0.18);
}

.tv .tv-cut__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.tv .tv-cut__name {
	margin: 0 0 3px;
	font-size: 1.15rem;
	font-stretch: 86%;
}

.tv .tv-cut__name a {
	text-decoration: none;
}

.tv .tv-cut__name a:hover {
	text-decoration: underline;
}

.tv .tv-cut__codes {
	margin: 0;
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--tv-muted);
}

.tv-cut__pick {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 8px;
}

.tv-cut__field {
	display: grid;
	gap: 3px;
}

.tv-cut__field select {
	min-height: 42px;
	max-width: 240px;
	padding: 6px 30px 6px 10px;
	border: 1.5px solid var(--tv-ink);
	border-radius: 0;
	background: var(--tv-white);
	font: inherit;
	font-size: 0.9rem;
	color: var(--tv-ink);
}

.tv .tv-cut__add {
	min-height: 42px;
	padding: 0 14px;
	font-size: 0.95rem;
}

.tv .tv-cut__add.is-added {
	background: var(--tv-ink);
	border-color: var(--tv-ink);
	color: var(--tv-white);
}

/* Product spec sheet */
.tv-psheet {
	background: var(--tv-stock);
	padding-block: clamp(24px, 3vw, 40px) clamp(56px, 7vw, 104px);
}

.tv-psheet .tv-crumbs {
	margin-bottom: 24px;
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.tv-psheet__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

.tv-psheet__img {
	position: sticky;
	top: 112px;
	padding: clamp(16px, 3vw, 40px);
	background: var(--tv-white);
	border: 1px solid rgb(22 24 27 / 0.2);
}

.tv-psheet__img img {
	width: 100%;
	height: auto;
}

.tv-psheet__ticket {
	background: var(--tv-white);
}

.tv .tv-psheet__desc {
	margin: 0 0 18px;
	color: #30353a;
}

.tv-psheet__sizes {
	width: 100%;
	margin: 0 0 20px;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.tv-psheet__sizes caption {
	text-align: left;
	padding-bottom: 6px;
}

.tv-psheet__sizes th,
.tv-psheet__sizes td {
	padding: 9px 10px 9px 0;
	border-bottom: 1px solid rgb(22 24 27 / 0.2);
	text-align: left;
	font-size: 0.95rem;
}

.tv-psheet__sizes thead th {
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tv-muted);
	border-bottom: 1px solid var(--tv-ink);
}

.tv-psheet__sizes tbody th {
	font-family: var(--tv-mono);
	font-weight: 700;
}

.tv-psheet .tv-cut__pick {
	margin-bottom: 14px;
}

/* My ticket: a floating stub and its drawer */
.tv-myticket {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 70;
}

.tv .tv-myticket__open {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 8px 0 18px;
	border: 0;
	border-radius: 0;
	background: var(--tv-ink);
	color: var(--tv-white);
	font-family: var(--tv-display);
	font-stretch: 88%;
	font-size: 1rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	box-shadow: 4px 4px 0 rgb(22 24 27 / 0.25);
}

.tv-myticket__count {
	display: grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	padding: 0 6px;
	background: var(--tv-blue);
	font-family: var(--tv-mono);
	font-size: 0.875rem;
	font-weight: 700;
}

.tv-myticket__count.is-bump {
	animation: tv-stamp 380ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.tv-myticket__panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 10px);
	width: min(380px, calc(100vw - 32px));
	max-height: min(70vh, 560px);
	overflow-y: auto;
	background: var(--tv-white);
	box-shadow: 0 16px 40px rgb(22 24 27 / 0.25);
}

.tv .tv-myticket__close {
	margin-left: auto;
	width: 34px;
	height: 34px;
	border: 1.5px solid var(--tv-ink);
	border-radius: 0;
	background: transparent;
	color: var(--tv-ink);
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}

.tv .tv-myticket__empty {
	margin: 14px 0;
	color: var(--tv-muted);
}

.tv-myticket__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tv-myticket__list li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 11px 0;
	border-bottom: 1px solid rgb(22 24 27 / 0.2);
}

.tv-myticket__list strong {
	display: block;
	font-family: var(--tv-display);
	font-stretch: 86%;
	font-size: 1rem;
	line-height: 1.2;
}

.tv-myticket__list span {
	display: block;
	margin-top: 2px;
	font-size: 0.8125rem;
	color: var(--tv-muted);
}

.tv-myticket__qty {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid var(--tv-ink);
}

.tv .tv-myticket__qty button {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--tv-ink);
	font-family: var(--tv-mono);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}

.tv .tv-myticket__qty button:hover {
	background: var(--tv-stock);
}

.tv-myticket__qty output {
	min-width: 26px;
	text-align: center;
	font-family: var(--tv-mono);
	font-size: 0.875rem;
	font-weight: 700;
}

.tv-myticket__actions {
	display: grid;
	gap: 8px;
	margin-top: 16px;
}

.tv-myticket__actions .tv-btn[aria-disabled="true"] {
	opacity: 0.45;
	pointer-events: none;
}

.tv .tv-myticket__clear {
	justify-self: start;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--tv-muted);
	font: inherit;
	font-size: 0.875rem;
	text-transform: none;
	letter-spacing: 0;
	text-decoration: underline;
	cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
	.tv-myticket__panel:not([hidden]) {
		animation: tv-feed 240ms steps(6, end) both;
	}
}

@media (max-width: 900px) {
	.tv-cut__row {
		grid-template-columns: 52px minmax(0, 1fr);
		gap: 10px 14px;
	}

	.tv-cut__n {
		display: none;
	}

	.tv-cut__thumb {
		width: 52px;
		height: 52px;
	}

	.tv-cut__pick {
		grid-column: 1 / -1;
	}

	.tv-cut__field {
		flex: 1 1 140px;
	}

	.tv-cut__field select {
		max-width: none;
		width: 100%;
	}

	.tv .tv-cut__add {
		flex: 1 1 100%;
	}

	.tv-psheet__grid {
		grid-template-columns: 1fr;
	}

	.tv-psheet__img {
		position: static;
		max-width: 420px;
	}

	/* Sit above the mobile WhatsApp and Call bar. */
	.tv-myticket {
		bottom: calc(68px + env(safe-area-inset-bottom));
	}
}

/* ------------------------------------------------------------------ */
/* 404 and search                                                      */
/* ------------------------------------------------------------------ */

.tv-lost {
	background: var(--tv-ink);
	padding-block: clamp(48px, 8vw, 120px);
}

.tv-lost__ticket {
	max-width: 760px;
	margin-inline: auto;
}

.tv .tv-lost__ticket .tv-ticket__h1 {
	font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem);
}

.tv-lost__ticket .tv-chips a {
	min-height: 40px;
	background: var(--tv-white);
	box-shadow: inset 0 0 0 1px rgb(22 24 27 / 0.28);
}

.tv-find {
	display: grid;
	gap: 6px;
	margin: 18px 0 22px;
}

.tv-find__row {
	display: flex;
	gap: 8px;
}

.tv-find input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 52px;
	padding: 10px 12px;
	border: 1.5px solid var(--tv-ink);
	border-radius: 0;
	background: var(--tv-white);
	font: inherit;
	font-size: 1rem;
	color: var(--tv-ink);
}

.tv-find input:focus {
	outline: 2px solid var(--tv-blue);
	outline-offset: 0;
	border-color: var(--tv-blue);
}

.tv-results {
	background: var(--tv-stock);
	padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 104px);
}

.tv .tv-results__title {
	font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem);
	font-stretch: 74%;
	max-width: 24ch;
}

.tv-results .tv-find {
	max-width: 640px;
}

.tv .tv-results__count {
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tv-muted);
}

.tv-results__list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	border-top: 2px solid var(--tv-ink);
}

.tv-results__list li {
	padding: 18px 0;
	border-bottom: 1px solid rgb(22 24 27 / 0.22);
}

.tv-results__kind {
	display: inline-block;
	margin-bottom: 6px;
	padding: 2px 7px;
	background: var(--tv-ink);
	color: var(--tv-stock);
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tv .tv-results__link {
	display: block;
	font-family: var(--tv-display);
	font-stretch: 84%;
	font-size: 1.35rem;
	font-weight: 750;
	line-height: 1.15;
	text-decoration: none;
}

.tv .tv-results__link:hover {
	text-decoration: underline;
}

.tv .tv-results__list p {
	margin: 6px 0 0;
	color: #30353a;
}

/* ------------------------------------------------------------------ */
/* Plain pages (account, policies) on the default template            */
/* ------------------------------------------------------------------ */

.tv-page {
	background: var(--tv-white);
	padding-bottom: clamp(56px, 7vw, 104px);
}

.tv-page__head {
	padding-block: clamp(36px, 5vw, 72px) 28px;
	border-bottom: 1px solid var(--tv-ink);
	margin-bottom: 36px;
}

.tv .tv-page__title {
	font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem);
	font-stretch: 74%;
	max-width: 22ch;
}

.tv .tv-page__body {
	font-size: 1.05rem;
	line-height: 1.65;
}

.tv .tv-page__body > * {
	max-width: 76ch;
}

.tv .tv-page__body .woocommerce {
	max-width: none;
}

/* ------------------------------------------------------------------ */
/* Mobile action bar                                                   */
/* ------------------------------------------------------------------ */

.tv-bar {
	display: none;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1100px) {
	.tv-slips {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tv-ruler {
		grid-template-columns: 1fr;
		row-gap: 28px;
		padding-left: 30px;
	}

	.tv-ruler::before {
		top: 0;
		bottom: 0;
		left: 0;
		right: auto;
		width: 14px;
		height: auto;
		border-top: 0;
		border-left: 2px solid var(--tv-ink);
		background: repeating-linear-gradient(180deg, var(--tv-ink) 0 1px, transparent 1px 12px) top left / 8px 100% no-repeat;
	}

	.tv-ruler__step {
		padding: 0;
	}

	.tv-ruler__step::before {
		top: 6px;
		left: -30px;
		width: 22px;
		height: 2px;
	}

	.tv-ruler__step--span {
		grid-column: auto;
	}

	.tv-ruler__what { order: 1; }
	.tv-ruler__when,
	.tv-ruler__band { order: 2; position: static; width: auto; align-self: flex-start; }
	.tv-ruler__who { order: 3; }

	.tv-ruler__when {
		padding-left: 0;
	}

	/* The clock runs from the order step to install: a heavy bar on the ruler. */
	.tv-ruler__step--clock::after {
		content: "";
		position: absolute;
		left: -32px;
		top: 0;
		bottom: -28px;
		width: 6px;
		background: var(--tv-ink);
	}

	.tv-ruler__step--clock:last-child::after {
		bottom: 0;
	}
}

@media (max-width: 900px) {
	.tv {
		font-size: 1rem;
	}

	.tv-hero {
		display: block;
	}

	.tv-hero__photo {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.tv-hero__wrap {
		display: block;
		padding-top: 0;
		margin-top: -56px;
		position: relative;
	}

	.tv-ticket--hero {
		width: 100%;
		margin-bottom: 0;
	}

	.tv-hero__rating {
		top: 16px;
		bottom: auto;
		left: 16px;
		font-size: 0.9rem;
		padding: 8px 12px;
	}

	.tv-shop {
		padding-top: var(--tv-space);
	}

	.tv-shop__grid,
	.tv-areas__grid,
	.tv-faq__grid,
	.tv-quote__grid {
		grid-template-columns: 1fr;
	}

	.tv-shop__photos {
		margin-top: 24px;
		grid-template-rows: auto auto;
		row-gap: 0;
	}

	.tv-pin--a {
		grid-column: 1 / 13;
		grid-row: 1;
	}

	.tv-pin--b {
		grid-column: 1 / 7;
		grid-row: 2;
		margin-top: -24px;
		margin-right: 8px;
	}

	.tv-pin--c {
		grid-column: 7 / 13;
		grid-row: 2;
		margin-top: 12px;
		margin-left: 8px;
	}

	.tv-build__grid {
		grid-template-columns: 1fr;
	}

	.tv-job--k,
	.tv-job--m,
	.tv-job--v,
	.tv-job--c {
		grid-column: 1;
		grid-row: auto;
		min-height: 0;
	}

	.tv-job--k,
	.tv-job--m {
		aspect-ratio: 4 / 5;
	}

	.tv-job:not(.tv-job--text) .tv-job__card {
		max-width: none;
		right: 0;
	}

	.tv-doors__grid,
	.tv-rooms__grid,
	.tv-cards {
		grid-template-columns: 1fr;
	}

	.tv-faq h2 {
		position: static;
	}

	.tv-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		display: grid;
		grid-template-columns: 3fr 2fr;
		padding-bottom: env(safe-area-inset-bottom);
		background: var(--tv-ink);
	}

	.tv-bar a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 56px;
		font-family: var(--tv-display);
		font-stretch: 88%;
		font-size: 1rem;
		font-weight: 700;
		color: var(--tv-white);
		text-decoration: none;
	}

	.tv-bar a:first-child {
		background: var(--tv-blue);
	}

	body.tv-has-bar {
		padding-bottom: calc(56px + env(safe-area-inset-bottom));
	}
}

@media (max-width: 560px) {
	.tv-fields {
		grid-template-columns: 1fr;
	}

	.tv-rates__row {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.tv-run {
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"label label"
			"input out";
	}

	.tv-run__out {
		justify-content: flex-start;
	}

	.tv-slips {
		grid-template-columns: 1fr;
	}

	.tv-slip:nth-child(n) {
		margin-top: 0;
	}

	.tv-grid-2 {
		grid-template-columns: 1fr;
	}

	.tv-for label {
		padding: 0 9px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tv *,
	.tv *::before,
	.tv *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ------------------------------------------------------------------ */
/* Template plumbing: undo the theme's flow gaps inside .tv mains       */
/* ------------------------------------------------------------------ */

main.tv {
	/* Break out of the theme's outer padding on .wp-site-blocks. */
	margin: 0 calc(-1 * var(--wp--custom--spacing--outer, 0px));
	padding: 0;
	background: var(--tv-white);
}

main.tv > *,
main.tv-landing .wp-block-post-content > *,
main.tv .wp-block-shortcode > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

main.tv .wp-block-post-content {
	margin: 0;
	max-width: none;
}

/* ------------------------------------------------------------------ */
/* Blog index                                                          */
/* ------------------------------------------------------------------ */

.tv-blog-head {
	background: var(--tv-stock);
	border-bottom: 1px solid var(--tv-ink);
	padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px);
}

.tv-blog-head h1 {
	font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5rem);
	font-stretch: 74%;
	font-weight: 800;
	line-height: 0.95;
	margin: 18px 0 18px;
}

.tv-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.tv-crumbs a {
	color: var(--tv-ink);
	text-decoration: none;
}

.tv-crumbs a:hover {
	text-decoration: underline;
}

.tv-crumbs span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 40ch;
}

.tv-blog-list {
	padding-block: clamp(40px, 5vw, 72px) var(--tv-space);
}

.tv-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
}

.tv-pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--tv-ink);
	color: var(--tv-ink);
	text-decoration: none;
	font-family: var(--tv-mono);
	font-size: 0.8rem;
}

.tv-pager .page-numbers.current,
.tv-pager a.page-numbers:hover {
	background: var(--tv-ink);
	color: var(--tv-white);
}

/* ------------------------------------------------------------------ */
/* Single guide                                                        */
/* ------------------------------------------------------------------ */

.tv-post-head {
	background: var(--tv-stock);
	padding-top: clamp(40px, 5vw, 72px);
}

.tv-post-head h1 {
	font-size: clamp(2.2rem, 1.4rem + 3vw, 4.2rem);
	font-stretch: 74%;
	font-weight: 800;
	line-height: 0.98;
	margin: 18px 0 26px;
	max-width: 22ch;
}

.tv-post-meta {
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid var(--tv-ink);
	border-bottom: 1px solid var(--tv-ink);
	margin-bottom: clamp(28px, 4vw, 48px);
}

.tv-post-meta > div {
	padding: 10px 28px 10px 0;
	margin-right: 28px;
	border-right: 1px solid rgba(22, 24, 27, 0.22);
}

.tv-post-meta > div:last-child {
	border-right: 0;
}

.tv-post-meta dd {
	font-size: 0.95rem;
	font-weight: 550;
}

.tv-post-hero {
	max-width: 1320px;
	margin: 0 auto;
	padding-inline: var(--tv-gutter);
	position: relative;
}

.tv-post-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 50%;
	background: var(--tv-white);
	z-index: -1;
}

.tv-post-head {
	position: relative;
	z-index: 0;
}

.tv-post-hero img {
	width: 100%;
	aspect-ratio: 16 / 8;
	object-fit: cover;
}

.tv-post__grid {
	display: grid;
	grid-template-columns: minmax(0, 260px) minmax(0, 720px);
	justify-content: center;
	gap: clamp(32px, 5vw, 72px);
	padding-block: clamp(40px, 5vw, 72px) var(--tv-space);
}

.tv-toc {
	position: sticky;
	top: 24px;
	align-self: start;
	background: var(--tv-stock);
	padding: 18px 20px 20px;
}

.tv-toc__title {
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 10px !important;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--tv-ink);
}

.tv-toc ol {
	list-style: none;
	counter-reset: tvtoc;
	margin: 0;
	padding: 0;
}

.tv-toc li {
	counter-increment: tvtoc;
	display: grid;
	grid-template-columns: 1.8em 1fr;
	padding: 6px 0;
	font-size: 0.9rem;
	line-height: 1.35;
}

.tv-toc li::before {
	content: counter(tvtoc);
	font-family: var(--tv-mono);
	font-size: 0.7rem;
	color: var(--tv-muted);
	padding-top: 2px;
}

.tv-toc a {
	color: var(--tv-ink);
	text-decoration: none;
}

.tv-toc a:hover {
	color: var(--tv-blue);
	text-decoration: underline;
}

.tv-post__grid > .wp-block-shortcode:empty {
	display: none;
}

.tv-prose {
	font-size: 1.125rem;
	line-height: 1.7;
	color: #24282c;
}

.tv .tv-prose > * {
	margin-block: 0;
}

.tv .tv-prose > * + * {
	margin-block-start: 1.1em;
}

.tv .tv-prose > h2 {
	margin-block-start: 2.1em;
}

.tv .tv-prose > h3 {
	margin-block-start: 1.6em;
}

.tv .tv-prose > h2 + *,
.tv .tv-prose > h3 + * {
	margin-block-start: 0.6em;
}

.tv-prose > p:first-child {
	font-size: 1.25rem;
	line-height: 1.55;
	color: var(--tv-ink);
}

.tv-prose h2 {
	font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
	font-stretch: 78%;
	padding-top: 14px;
	border-top: 1px solid var(--tv-ink);
	scroll-margin-top: 24px;
	max-width: none;
}

.tv-prose h3 {
	font-size: 1.3rem;
	font-stretch: 86%;
}

.tv-prose a {
	color: var(--tv-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.tv-prose a:hover {
	color: var(--tv-blue-ink);
	text-decoration-thickness: 2px;
}

.tv-prose ul,
.tv-prose ol {
	padding-left: 1.3em;
}

.tv-prose li + li {
	margin-top: 0.45em;
}

.tv-prose li::marker {
	color: var(--tv-blue);
	font-weight: 700;
}

.tv-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	display: block;
	overflow-x: auto;
}

.tv-prose th,
.tv-prose td {
	text-align: left;
	vertical-align: top;
	padding: 10px 14px 10px 0;
	border-bottom: 1px solid rgba(22, 24, 27, 0.22);
	font-variant-numeric: tabular-nums;
}

.tv-prose th {
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tv-muted);
	border-bottom: 1px solid var(--tv-ink);
}

.tv-prose blockquote {
	margin: 1.6em 0;
	padding: 18px 22px;
	background: var(--tv-stock);
	font-size: 1.1rem;
}

.tv-prose figure img {
	width: 100%;
}

.tv-prose figcaption {
	font-size: 0.85rem;
	color: var(--tv-muted);
	margin-top: 8px;
}

.tv-faq--post {
	background: var(--tv-stock);
	border-top: 1px solid var(--tv-ink);
}

.tv-post-cta {
	background: var(--tv-ink);
	padding-block: clamp(56px, 7vw, 96px);
}

.tv-ticket--cta {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 24px 48px;
	align-items: center;
	padding: 44px clamp(22px, 4vw, 48px) 36px;
}

.tv-ticket--cta h2 {
	font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem);
	font-stretch: 76%;
	margin-bottom: 12px;
}

.tv-ticket--cta p {
	margin: 0;
	color: #30353a;
}

.tv-ticket--cta .tv-actions {
	margin: 0;
	flex-direction: column;
}

.tv-ticket--cta .tv-actions .tv-btn {
	flex: none;
	width: 100%;
}

.tv-guides--related {
	background: var(--tv-white);
}

@media (max-width: 900px) {
	.tv-post__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tv-toc {
		position: static;
	}

	.tv-ticket--cta {
		grid-template-columns: 1fr;
	}

	.tv-post-hero img {
		aspect-ratio: 4 / 3;
	}

	.tv-post-meta > div {
		padding-right: 18px;
		margin-right: 18px;
	}
}

/* Announcement bar (header part): keep it to one line on phones. */
@media (max-width: 600px) {
	.tv-hide-sm {
		display: none;
	}
}

/* Interim (2026-10-17): keep the legacy header menu on one line until the new header ships. */
@media (min-width: 782px) {
	header.wp-block-template-part .wp-block-navigation__container {
		flex-wrap: nowrap;
		gap: 26px;
		white-space: nowrap;
	}
}

@media (min-width: 782px) and (max-width: 1180px) {
	header.wp-block-template-part .wp-block-navigation__container {
		gap: 16px;
	}
}

/* ================================================================== */
/* Site chrome: promo strip, header, menus, drawer, footer            */
/* ================================================================== */

.tv-chrome,
.tv-foot {
	/* Break out of the theme's outer padding on .wp-site-blocks. */
	margin-inline: calc(-1 * var(--wp--custom--spacing--outer, 0px));
}

.tv-chrome {
	position: relative;
	z-index: 60;
}

/* The whole chrome block is sticky, offset by the strip height, so the
   strip scrolls away and the header stays pinned. */
.wp-block-template-part:has(> .tv-chrome) {
	position: sticky;
	top: -38px;
	z-index: 60;
	margin: 0;
}

.tv-skip {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 100;
	padding: 10px 14px;
	background: var(--tv-ink);
	color: var(--tv-white);
	font-weight: 650;
	text-decoration: none;
}

.tv-skip:focus {
	top: 12px;
}

/* Promo strip: a receipt strip with a torn bottom edge. */
.tv-strip {
	position: relative;
	background: var(--tv-ink);
	color: var(--tv-stock);
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	z-index: 2;
}

.tv-strip::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 6px;
	background:
		linear-gradient(-45deg, transparent 4.5px, var(--tv-ink) 0) 0 0 / 9px 6px repeat-x,
		linear-gradient(45deg, transparent 4.5px, var(--tv-ink) 0) 0 0 / 9px 6px repeat-x;
}

.tv-strip__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}

.tv .tv-strip__text {
	margin: 0;
	max-width: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tv-strip__short {
	display: none;
}

.tv .tv-strip__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	color: var(--tv-white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tv-strip__link .tv-icon {
	width: 14px;
	height: 14px;
}

.tv .tv-strip__link:hover {
	color: #cfe3f5;
}

@media (max-width: 640px) {
	.tv-strip__long {
		display: none;
	}

	.tv-strip__short {
		display: inline;
	}
}

/* Header */
.tv-head {
	position: relative;
	z-index: 1;
	background: var(--tv-white);
	border-bottom: 1px solid var(--tv-ink);
}

.admin-bar .wp-block-template-part:has(> .tv-chrome) {
	top: -6px;
}

.tv-head__inner {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2.5vw, 40px);
	min-height: 78px;
	transition: min-height 200ms var(--tv-ease);
}

.tv-head.is-compact .tv-head__inner {
	min-height: 62px;
}

.tv-head__logo {
	display: block;
	flex: none;
	line-height: 0;
}

.tv .tv-head__logo .tv-logo {
	height: 46px;
	width: auto;
	transition: height 200ms var(--tv-ease);
}

.tv .tv-head.is-compact .tv-logo {
	height: 36px;
}

.tv-nav {
	flex: 1 0 auto;
}

.tv-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tv-nav__item {
	position: relative;
}

.tv .tv-nav__link,
.tv .tv-nav__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--tv-ink);
	font-family: var(--tv-display);
	font-stretch: 88%;
	font-size: 0.98rem;
	font-weight: 650;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	line-height: 1;
	margin: 0;
	vertical-align: middle;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 140ms var(--tv-ease);
}

.tv .tv-nav__toggle .tv-nav__chev {
	flex: none;
	display: block;
	position: relative;
	top: 2px;
}

.tv .tv-nav__link:hover,
.tv .tv-nav__toggle:hover,
.tv .tv-nav__toggle[aria-expanded="true"] {
	background: var(--tv-stock);
}

.tv .tv-nav__link[aria-current="page"],
.tv .tv-nav__toggle.is-current {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.45em;
}

.tv-nav__chev {
	width: 12px;
	height: 12px;
	transition: transform 180ms var(--tv-ease);
}

.tv-nav__toggle[aria-expanded="true"] .tv-nav__chev {
	transform: rotate(180deg);
}

.tv-nav__panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 320px;
	padding: 34px 8px 8px;
	background: var(--tv-stock);
	border: 1px solid var(--tv-ink);
	-webkit-mask: radial-gradient(circle 7px at 22px 18px, transparent 6.5px, #000 7px);
	mask: radial-gradient(circle 7px at 22px 18px, transparent 6.5px, #000 7px);
}

.tv-nav__panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tv .tv-nav__panel a {
	display: grid;
	gap: 2px;
	padding: 10px 14px;
	color: var(--tv-ink);
	text-decoration: none;
	border-top: 1px solid rgba(22, 24, 27, 0.12);
}

.tv-nav__panel li:first-child a {
	border-top: 0;
}

.tv .tv-nav__panel a:hover,
.tv .tv-nav__panel a[aria-current="page"] {
	background: var(--tv-white);
}

.tv-nav__name {
	font-family: var(--tv-display);
	font-stretch: 88%;
	font-weight: 650;
	font-size: 1rem;
}

.tv-nav__note {
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.625rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tv-muted);
}

.tv-head__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
	flex: none;
}

.tv .tv-head__phone {
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--tv-ink);
	text-decoration: none;
	white-space: nowrap;
}

.tv .tv-head__phone:hover {
	text-decoration: underline;
}

.tv .tv-head__cta {
	min-height: 44px;
	padding: 0 18px;
}

.tv .tv-head__menu {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 12px;
	border: 1.5px solid var(--tv-ink);
	border-radius: 0;
	background: transparent;
	color: var(--tv-ink);
	font-family: var(--tv-mono);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.tv-head__burger {
	display: grid;
	gap: 4px;
	width: 18px;
}

.tv-head__burger i {
	display: block;
	height: 2px;
	background: currentColor;
}

/* Phone drawer */
.tv-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	overflow-y: auto;
	padding: 12px;
	background: rgba(22, 24, 27, 0.72);
}

.tv-drawer__ticket {
	max-width: 520px;
	margin: 0 auto;
	padding-top: 26px;
}

.tv-drawer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 0 12px 22px;
	border-bottom: 1px solid var(--tv-ink);
}

.tv .tv-drawer__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--tv-ink);
	border-radius: 0;
	background: transparent;
	color: var(--tv-ink);
	padding: 0;
	cursor: pointer;
}

.tv-drawer__close svg {
	width: 20px;
	height: 20px;
}

.tv .tv-drawer__group {
	margin: 18px 0 4px;
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tv-muted);
}

.tv-drawer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--tv-ink);
}

.tv-drawer__list--flat {
	margin-top: 18px;
}

.tv .tv-drawer__list a {
	display: flex;
	align-items: center;
	min-height: 52px;
	border-bottom: 1px solid rgba(22, 24, 27, 0.18);
	color: var(--tv-ink);
	font-family: var(--tv-display);
	font-stretch: 84%;
	font-size: 1.3rem;
	font-weight: 700;
	text-decoration: none;
}

.tv .tv-drawer__list a[aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.tv-drawer__actions {
	display: grid;
	gap: 10px;
	margin-top: 22px;
}

html.tv-drawer-open {
	overflow: hidden;
}

@media (max-width: 1180px) {
	.tv .tv-head__phone {
		display: none;
	}
}

@media (max-width: 1060px) {
	.tv-nav {
		display: none;
	}

	.tv .tv-head__menu {
		display: inline-flex;
	}

	.tv-head__inner {
		min-height: 64px;
	}

	.tv .tv-head__logo .tv-logo {
		height: 38px;
	}
}

@media (max-width: 420px) {
	.tv .tv-head__cta {
		padding: 0 12px;
	}

	.tv-head__menu > span:last-child {
		display: none;
	}
}

/* Footer: a compact receipt on graphite. */
.tv-foot {
	position: relative;
	background: var(--tv-ink);
	color: #c9cdd2;
	font-size: 0.875rem;
	line-height: 1.55;
	padding-top: clamp(40px, 5vw, 64px);
}

.tv-foot::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -6px;
	height: 6px;
	background:
		linear-gradient(-135deg, transparent 4.5px, var(--tv-ink) 0) 0 0 / 9px 6px repeat-x,
		linear-gradient(135deg, transparent 4.5px, var(--tv-ink) 0) 0 0 / 9px 6px repeat-x;
}

.tv-foot__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 2fr);
	gap: clamp(28px, 4vw, 64px);
	padding-bottom: clamp(28px, 4vw, 44px);
}

.tv .tv-foot__name {
	margin: 0 0 8px;
	font-family: var(--tv-display);
	font-stretch: 78%;
	font-size: 1.45rem;
	font-weight: 800;
	line-height: 1.05;
	color: var(--tv-white);
}

.tv .tv-foot__line {
	margin: 0 0 14px;
	max-width: 34ch;
}

.tv-foot__contact {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
}

.tv-foot a {
	color: #eef0f2;
	text-decoration: none;
}

.tv-foot a:hover {
	color: var(--tv-white);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.tv-foot__contact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tv-foot__contact .tv-icon {
	width: 16px;
	height: 16px;
}

.tv-foot__rooms dl > div {
	padding: 10px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tv-foot__rooms dl > div:first-child {
	padding-top: 0;
	border-top: 0;
}

.tv-foot dt,
.tv-foot .tv-foot__head {
	margin: 0 0 4px;
	font-family: var(--tv-mono);
	font-stretch: 87.5%;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #9ea5ad;
}

.tv-foot__links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.tv-foot__links ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 4px;
}

.tv-foot__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 24px;
	padding-top: 16px;
	padding-bottom: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.75rem;
	color: #9ea5ad;
}

.tv .tv-foot__base p {
	margin: 0;
}

.tv-foot .tv-barcode {
	--bar: #c9cdd2;
	height: 18px;
	width: 150px;
	margin: 0;
	opacity: 0.8;
}

.tv .tv-foot__credit {
	margin-left: auto;
}

.tv-foot__credit a {
	font-weight: 600;
}

@media (max-width: 960px) {
	.tv-foot__grid {
		grid-template-columns: 1fr 1fr;
	}

	.tv-foot__links {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.tv-foot__grid {
		grid-template-columns: 1fr;
	}

	.tv-foot__links {
		grid-template-columns: 1fr 1fr;
	}

	.tv .tv-foot__credit {
		margin-left: 0;
	}

	.tv-foot {
		padding-bottom: calc(56px + env(safe-area-inset-bottom));
	}
}

/* ================================================================== */
/* Print motion                                                        */
/* Starting states apply only after the script runs (html.tv-js) and  */
/* only to elements that were below the fold at load (.tv-wait).      */
/* ================================================================== */

@keyframes tv-print-line {
	from {
		clip-path: inset(0 0 100% 0);
		transform: translateY(-4px);
	}
	to {
		clip-path: inset(0 0 0 0);
		transform: none;
	}
}

@keyframes tv-stamp {
	0% {
		opacity: 0;
		transform: rotate(-7deg) scale(1.7);
	}
	60% {
		opacity: 1;
		transform: rotate(-7deg) scale(0.94);
	}
	100% {
		opacity: 1;
		transform: rotate(-7deg) scale(1);
	}
}

@keyframes tv-tape {
	from {
		transform: rotate(-3deg) scaleX(0);
	}
	to {
		transform: rotate(-3deg) scaleX(1);
	}
}

@keyframes tv-type {
	from {
		clip-path: inset(0 100% 0 0);
	}
	to {
		clip-path: inset(0 0 0 0);
	}
}

@keyframes tv-scan {
	from {
		left: -4px;
		opacity: 1;
	}
	to {
		left: 100%;
		opacity: 1;
	}
}

@media (prefers-reduced-motion: no-preference) {
	/* Tickets feed out of the printer. */
	.tv-js .tv-wait.tv-ticket:not(.tv-ticket--hero) {
		clip-path: inset(0 0 100% 0);
	}

	.tv-js .tv-wait.tv-ticket.is-printed:not(.tv-ticket--hero) {
		animation: tv-feed 620ms steps(8, end) both;
	}

	/* Field grids and lists print line by line. */
	.tv-js .tv-wait[data-tv-print="lines"] > * {
		clip-path: inset(0 0 100% 0);
	}

	.tv-js .tv-wait[data-tv-print="lines"].is-printed > * {
		animation: tv-print-line 320ms steps(5, end) both;
		animation-delay: calc(var(--i, 0) * 70ms);
	}

	/* The QC stamp presses down. */
	.tv-js .tv-wait .tv-stamp {
		opacity: 0;
	}

	.tv-js .tv-wait.is-printed .tv-stamp {
		animation: tv-stamp 420ms cubic-bezier(0.2, 0.9, 0.3, 1.2) 180ms both;
	}

	/* Tape unrolls onto the photo. */
	.tv-js .tv-wait.tv-pin::before,
	.tv-js .tv-wait .tv-ship__photo::before {
		transform: rotate(-3deg) scaleX(0);
		transform-origin: left center;
	}

	.tv-js .tv-wait.tv-pin.is-printed::before,
	.tv-js .tv-wait.is-printed .tv-ship__photo::before {
		animation: tv-tape 380ms var(--tv-ease) 120ms both;
	}

	/* The weeks ruler draws, then the clock band fills. */
	.tv-js .tv-wait.tv-ruler::before {
		clip-path: inset(0 100% 0 0);
	}

	.tv-js .tv-wait.tv-ruler.is-printed::before {
		transition: clip-path 900ms steps(30, end);
		clip-path: inset(0 0 0 0);
	}

	.tv-js .tv-wait.tv-ruler .tv-ruler__band {
		clip-path: inset(0 100% 0 0);
	}

	.tv-js .tv-wait.tv-ruler.is-printed .tv-ruler__band {
		transition: clip-path 700ms steps(14, end) 700ms;
		clip-path: inset(0 0 0 0);
	}

	/* Promo strip prints once per visit. */
	.tv-js .tv-strip.is-printing .tv-strip__text > span {
		animation: tv-type calc(var(--chars, 60) * 18ms) steps(var(--chars, 60), end) both;
	}

	/* Menus and the phone drawer feed out. */
	.tv-nav__panel:not([hidden]),
	.tv-drawer:not([hidden]) .tv-drawer__ticket {
		animation: tv-feed 240ms steps(6, end) both;
	}

	/* A scan line passes over the barcode on hover. */
	.tv-barcode::after {
		content: "";
		position: absolute;
		top: -2px;
		bottom: -2px;
		left: -4px;
		width: 3px;
		background: var(--tv-red);
		opacity: 0;
	}

	.tv-ticket:hover .tv-barcode::after,
	a:hover .tv-barcode::after,
	.tv-foot__base:hover .tv-barcode::after {
		animation: tv-scan 700ms linear both;
	}
}
