/*
 * Flight carbon footprint calculator: masthead, hero, form, result, article, footer.
 *
 * Atlas look (t33-atlas theme): Erode + Atkinson Next, terra #C2502E, sea #5E9C94, ochre #D9A441,
 * ink #1C2A3A, paper #F4EEE3, masthead paper-2 with the double neatline.
 * 16px gutters, nothing wider than the viewport at 360px.
 *
 * Every class is scoped under .fcc-*. The class list the UI relies on is documented in
 * CONTRACT.md ("DOM / CSS classes"). Motion is calm and short; prefers-reduced-motion switches it off.
 */

@font-face { font-family: Erode; src: url(/wp-content/themes/t33-atlas/assets/fonts/erode.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: Erode; src: url(/wp-content/themes/t33-atlas/assets/fonts/erode-italic.woff2) format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Atkinson Next'; src: url(/wp-content/themes/t33-atlas/assets/fonts/atkinson.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Atkinson Next'; src: url(/wp-content/themes/t33-atlas/assets/fonts/atkinson-italic.woff2) format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Atkinson Mono'; src: url(/wp-content/themes/t33-atlas/assets/fonts/atkinson-mono.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
	--fcc-accent: #C2502E;
	--fcc-accent-ink: #A23D1C;
	--fcc-accent-soft: #F3DCD0;
	--fcc-sea: #5E9C94;
	--fcc-sea-ink: #33665F;
	--fcc-sea-soft: #DCE8E3;
	--fcc-ochre: #D9A441;
	--fcc-ochre-ink: #8A6418;
	--fcc-ochre-soft: #F5E6C4;
	--fcc-ink: #1C2A3A;
	--fcc-ink2: #3B4859;
	--fcc-dim: #5C6876;
	--fcc-night: #15212D;
	--fcc-paper2: #FBF8F2;
	--fcc-paper3: #EAE1D0;
	--fcc-sand: #EFE5D3;
	--fcc-page: #F4EEE3;
	--fcc-white: #fff;
	--fcc-line: #D9CFBF;
	--fcc-line2: #C9BCA6;
	--fcc-serif: Erode, ui-serif, Georgia, 'Times New Roman', serif;
	--fcc-sans: 'Atkinson Next', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--fcc-mono: 'Atkinson Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--fcc-mast-h: 56px;
	--fcc-gutter: 16px;
	--fcc-r: 12px;
	--fcc-shadow: 0 1px 0 rgba(28, 42, 58, 0.06), 0 14px 30px -18px rgba(28, 42, 58, 0.38);
	--fcc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
	background: var(--fcc-page);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body.fcc-body {
	margin: 0;
	background: var(--fcc-page);
	color: var(--fcc-ink);
	font-family: var(--fcc-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.fcc-body a {
	color: inherit;
}

.fcc-body button,
.fcc-body input,
.fcc-body select {
	font: inherit;
	color: inherit;
}

.fcc-body :focus-visible {
	outline: 2px solid var(--fcc-ink);
	outline-offset: 2px;
	border-radius: 4px;
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--fcc-ochre) 45%, transparent);
}

/* ---------------------------------------------------------------- masthead */

.fcc-mast {
	position: relative;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 28px;
	height: var(--fcc-mast-h);
	padding: 0 20px;
	background: color-mix(in srgb, var(--fcc-paper2) 90%, transparent);
	-webkit-backdrop-filter: saturate(1.2) blur(10px);
	backdrop-filter: saturate(1.2) blur(10px);
}

/* The theme's double neatline under the header. */
.fcc-mast::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -5px;
	height: 5px;
	pointer-events: none;
	border-top: 1px solid rgba(28, 42, 58, 0.22);
	border-bottom: 1px solid rgba(28, 42, 58, 0.09);
}

.fcc-logo,
.fcc-foot-logo {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: none;
	line-height: 1;
	color: var(--fcc-ink);
	text-decoration: none;
}

.fcc-logo svg,
.fcc-foot-logo svg {
	display: block;
	width: 34px;
	height: 34px;
}

.fcc-brand-word {
	font: 600 23px/1 var(--fcc-serif);
	letter-spacing: -0.02em;
}

@media (max-width: 860px) {
	.fcc-logo svg { width: 32px; height: 32px; }
}

.fcc-nav {
	margin-left: auto;
}

.fcc-nav ul,
.fcc-burger-panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fcc-nav > ul {
	display: flex;
	align-items: center;
	gap: 4px;
}

.fcc-nav a,
.fcc-nav summary {
	display: block;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	list-style: none;
	border-radius: 6px;
}

.fcc-nav summary::-webkit-details-marker,
.fcc-burger summary::-webkit-details-marker {
	display: none;
}

.fcc-nav a:hover,
.fcc-nav summary:hover,
.fcc-nav details[open] > summary {
	color: var(--fcc-accent-ink);
}

.fcc-nav summary::after {
	content: '';
	display: inline-block;
	margin-left: 6px;
	width: 5px;
	height: 5px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.fcc-sub {
	position: relative;
}

.fcc-sub-list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 220px;
	padding: 6px;
	background: var(--fcc-white);
	border: 1px solid var(--fcc-line);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(40, 30, 20, 0.14);
}

.fcc-sub-list a {
	text-transform: none;
	letter-spacing: 0;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.fcc-sub-list a:hover {
	background: var(--fcc-page);
}

.fcc-burger {
	display: none;
	margin-left: auto;
}

.fcc-burger summary {
	display: block;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	cursor: pointer;
	list-style: none;
	position: relative;
}

.fcc-burger-icon,
.fcc-burger-icon::before,
.fcc-burger-icon::after {
	position: absolute;
	left: 12px;
	width: 20px;
	height: 2px;
	background: var(--fcc-ink);
	border-radius: 2px;
	content: '';
}

.fcc-burger-icon {
	top: 21px;
}

.fcc-burger-icon::before {
	left: 0;
	top: -6px;
}

.fcc-burger-icon::after {
	left: 0;
	top: 6px;
}

.fcc-burger-panel {
	position: absolute;
	top: var(--fcc-mast-h);
	left: 0;
	right: 0;
	max-height: calc(100svh - var(--fcc-mast-h));
	overflow: auto;
	padding: 8px 20px 20px;
	background: var(--fcc-white);
	border-bottom: 1px solid var(--fcc-line);
	box-shadow: 0 16px 32px rgba(40, 30, 20, 0.14);
}

.fcc-burger-panel a {
	display: block;
	padding: 10px 0;
	font-weight: 600;
	text-decoration: none;
}

.fcc-m-head {
	display: block;
	margin-top: 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fcc-accent-ink);
}

.fcc-m-group ul {
	padding-left: 12px;
}

@media (max-width: 860px) {
	:root {
		--fcc-mast-h: 52px;
	}
	.fcc-mast {
		padding: 0 16px;
	}
	.fcc-nav {
		display: none;
	}
	.fcc-burger {
		display: block;
	}
}


/* -------------------------------------------------------------------- hero */

.fcc-main {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 var(--fcc-gutter) 24px;
}

.fcc-hero {
	padding: 26px 0 18px;
	text-align: center;
}

.fcc-hero-in {
	max-width: 720px;
	margin: 0 auto;
}

.fcc-hero h1 {
	margin: 0;
	font-family: var(--fcc-serif);
	font-size: clamp(34px, 7.4vw, 52px);
	line-height: 1.04;
	font-weight: 650;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.fcc-tagline {
	margin: 12px auto 0;
	max-width: 34em;
	font-size: clamp(17px, 2.6vw, 20px);
	line-height: 1.45;
	color: var(--fcc-ink2);
	text-wrap: balance;
}

.fcc-small {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 12px 0 0;
	padding: 5px 12px 5px 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--fcc-sea-ink);
	background: var(--fcc-sea-soft);
	border-radius: 999px;
}

.fcc-hero-photo {
	margin: 18px 0 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--fcc-r);
	background: var(--fcc-sand);
}

.fcc-hero-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 900px) {
	.fcc-hero {
		padding: 20px 0 14px;
	}
	.fcc-hero.has-photo {
		display: grid;
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		align-items: center;
		gap: 36px;
		text-align: left;
	}
	.fcc-hero.has-photo .fcc-hero-in {
		margin: 0;
	}
	.fcc-hero.has-photo .fcc-tagline {
		margin-left: 0;
	}
	.fcc-hero.has-photo .fcc-hero-photo {
		margin: 0;
		max-height: 230px;
		aspect-ratio: 16 / 10;
	}
}

/* ------------------------------------------------------------------- card */

.fcc-app {
	position: relative;
}

.fcc-card {
	background: var(--fcc-paper2);
	border: 1px solid var(--fcc-line);
	border-radius: 16px;
	box-shadow: var(--fcc-shadow);
}

.fcc-form {
	display: grid;
	gap: 18px;
	padding: 20px 16px 22px;
}

.fcc-fs {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	display: grid;
	gap: 14px;
}

.fcc-fs > legend {
	float: left;
	width: 100%;
	padding: 0 0 2px;
	font: 700 11.5px/1.2 var(--fcc-mono);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fcc-accent-ink);
}

.fcc-fs > legend + * {
	clear: both;
}

.fcc-field {
	min-width: 0;
}

.fcc-field > label,
.fcc-label {
	display: block;
	margin: 0 0 5px;
	font-size: 14px;
	font-weight: 700;
	color: var(--fcc-ink2);
}

.fcc-opt {
	font-weight: 500;
	color: var(--fcc-dim);
	font-size: 13px;
	margin-left: 4px;
}

.fcc-input {
	display: block;
	width: 100%;
	height: 46px;
	padding: 0 12px;
	font-size: 16px;
	color: var(--fcc-ink);
	background: var(--fcc-white);
	border: 1.5px solid var(--fcc-line2);
	border-radius: 10px;
	transition: border-color 0.15s, box-shadow 0.15s;
	-webkit-appearance: none;
	appearance: none;
}

input[type='time'].fcc-input,
input[type='date'].fcc-input {
	min-width: 0;
}

.fcc-input:hover {
	border-color: var(--fcc-dim);
}

.fcc-body .fcc-input:focus-visible {
	outline: none;
	border-color: var(--fcc-ink);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--fcc-ochre) 50%, transparent);
}

.fcc-zone {
	margin: 4px 2px 0;
	min-height: 18px;
	font-size: 13px;
	color: var(--fcc-dim);
}

/* cities: stacked on a phone with the swap button between them, side by side from 560px */
.fcc-cities {
	position: relative;
	display: grid;
	gap: 2px;
}

.fcc-combo {
	position: relative;
}

.fcc-city .fcc-input {
	font-weight: 600;
}

.fcc-swap {
	position: absolute;
	z-index: 3;
	right: 4px;
	top: calc(50% - 22px);
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--fcc-ink);
	background: var(--fcc-white);
	border: 1.5px solid var(--fcc-line2);
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 4px 10px -6px rgba(28, 42, 58, 0.5);
	transition: transform 0.35s var(--fcc-ease), background 0.15s, border-color 0.15s;
}

.fcc-swap:hover {
	background: var(--fcc-ink);
	border-color: var(--fcc-ink);
	color: var(--fcc-paper2);
}

.fcc-swap.is-flipped svg {
	transform: rotate(180deg);
}

.fcc-swap svg {
	transition: transform 0.35s var(--fcc-ease);
}

@media (min-width: 560px) {
	.fcc-cities {
		grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
		gap: 10px;
		align-items: start;
	}
	.fcc-swap {
		position: static;
		margin-top: 23px;
	}
	.fcc-swap svg {
		transform: rotate(90deg);
	}
	.fcc-swap.is-flipped svg {
		transform: rotate(270deg);
	}
}

/* suggestions */
.fcc-list {
	position: absolute;
	z-index: 30;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	max-height: 288px;
	margin: 0;
	padding: 4px;
	overflow: auto;
	list-style: none;
	background: var(--fcc-white);
	border: 1px solid var(--fcc-line2);
	border-radius: 12px;
	box-shadow: 0 18px 36px -16px rgba(28, 42, 58, 0.5);
	animation: fcc-pop 0.14s var(--fcc-ease);
}

.fcc-list[hidden] {
	display: none;
}

.fcc-opt-row {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	grid-template-areas: 'k n' 'k c';
	column-gap: 10px;
	align-items: center;
	padding: 8px 10px;
	border-radius: 8px;
	cursor: pointer;
}

.fcc-opt-row.is-active,
.fcc-opt-row:hover {
	background: var(--fcc-sand);
}

.fcc-opt-code {
	grid-area: k;
	align-self: center;
	text-align: center;
	font: 700 13px/1 var(--fcc-mono);
	letter-spacing: 0.04em;
	color: var(--fcc-paper2);
	padding: 6px 0;
	background: var(--fcc-ink);
	border-radius: 6px;
}

.fcc-opt-n {
	grid-area: n;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fcc-opt-c {
	grid-area: c;
	font-size: 13px;
	color: var(--fcc-dim);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fcc-hint {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--fcc-dim);
}

/* options row: trip, cabin, travelers */
.fcc-opts {
	display: grid;
	gap: 14px;
}

/* phone: the 4 cabins as a 2x2 grid, and the swap button clear of the From line */
@media (max-width: 559px) {
	.fcc-seg-cabin .fcc-seg {
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.fcc-city[data-fcc-city='from'] .fcc-zone {
		padding-right: 52px;
	}
}

@media (min-width: 760px) {
	.fcc-opts {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 18px;
		align-items: end;
	}
}

/* segmented controls: radios drawn as buttons, the chosen one filled */
.fcc-seg {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 4px;
	padding: 4px;
	background: var(--fcc-paper3);
	border: 1.5px solid var(--fcc-line2);
	border-radius: 12px;
}

.fcc-seg-opt {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.fcc-seg-opt input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.fcc-seg-opt span {
	display: grid;
	place-items: center;
	min-height: 44px;
	padding: 4px 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	color: var(--fcc-ink2);
	background: var(--fcc-white);
	border: 1px solid var(--fcc-line);
	border-radius: 9px;
	transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.fcc-seg-opt:hover span {
	border-color: var(--fcc-dim);
}

.fcc-seg-opt input:checked + span {
	color: #fff;
	font-weight: 800;
	background: var(--fcc-ink);
	border-color: var(--fcc-ink);
	box-shadow: 0 6px 12px -8px rgba(28, 42, 58, 0.85), inset 0 -3px 0 var(--fcc-ochre);
}

.fcc-seg-opt input:focus-visible + span {
	outline: 3px solid var(--fcc-ochre);
	outline-offset: 1px;
}

.fcc-seg-trip .fcc-seg-opt span {
	padding: 4px 14px;
	white-space: nowrap;
}

/* travelers stepper */
.fcc-step {
	display: inline-grid;
	grid-template-columns: 46px 64px 46px;
	align-items: stretch;
	height: 52px;
	background: var(--fcc-white);
	border: 1.5px solid var(--fcc-line2);
	border-radius: 12px;
	overflow: hidden;
}

.fcc-step-b {
	display: grid;
	place-items: center;
	padding: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	color: var(--fcc-ink);
	background: var(--fcc-paper3);
	border: 0;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
	-webkit-appearance: none;
	appearance: none;
}

.fcc-step-b:hover {
	background: var(--fcc-ink);
	color: var(--fcc-paper2);
}

.fcc-step-v {
	width: 100%;
	min-width: 0;
	padding: 0;
	font: 800 20px/1 var(--fcc-sans);
	text-align: center;
	color: var(--fcc-ink);
	background: transparent;
	border: 0;
	border-left: 1px solid var(--fcc-line);
	border-right: 1px solid var(--fcc-line);
	border-radius: 0;
	-moz-appearance: textfield;
	-webkit-appearance: none;
	appearance: none;
}

.fcc-step-v::-webkit-outer-spin-button,
.fcc-step-v::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.fcc-body .fcc-step-v:focus-visible {
	outline: none;
	background: var(--fcc-ochre-soft);
}

.fcc-error {
	margin: 0;
	padding: 10px 12px;
	font-weight: 700;
	color: #8a1f0c;
	background: #fbe3dc;
	border: 1px solid #e8a899;
	border-radius: 10px;
}

.fcc-error[hidden] {
	display: none;
}

.fcc-noscript {
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--fcc-ink2);
}

/* buttons */
.fcc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 20px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	border: 1.5px solid var(--fcc-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--fcc-ink);
	cursor: pointer;
	transition: transform 0.2s var(--fcc-ease), background 0.2s, color 0.2s, box-shadow 0.2s;
}

.fcc-btn:hover {
	background: var(--fcc-ink);
	color: var(--fcc-paper2);
	transform: translateY(-1px);
}

.fcc-btn-sm {
	min-height: 44px;
	padding: 0 18px;
	font-size: 15px;
}

.fcc-body .fcc-btn-primary {
	width: 100%;
	min-height: 54px;
	font-size: 17px;
	color: #fff;
	background: var(--fcc-accent-ink);
	border-color: var(--fcc-accent-ink);
	box-shadow: 0 12px 22px -14px rgba(162, 61, 28, 0.9);
}

.fcc-body .fcc-btn-primary:hover {
	background: #8c3213;
	border-color: #8c3213;
	box-shadow: 0 16px 26px -14px rgba(162, 61, 28, 0.95);
}

.fcc-btn-primary:active {
	transform: translateY(1px);
}

.fcc-btn svg {
	flex: none;
}

.fcc-toast {
	position: fixed;
	left: 50%;
	bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	z-index: 80;
	padding: 11px 18px;
	font-weight: 700;
	color: var(--fcc-paper2);
	background: var(--fcc-ink);
	border-radius: 999px;
	box-shadow: 0 14px 30px -12px rgba(28, 42, 58, 0.7);
	opacity: 0;
	transform: translate(-50%, 14px);
	pointer-events: none;
	transition: opacity 0.2s, transform 0.25s var(--fcc-ease);
}

.fcc-toast.is-on {
	opacity: 1;
	transform: translate(-50%, 0);
}

@keyframes fcc-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

@keyframes fcc-pop {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- result */

.fcc-result {
	min-width: 0;
	padding: 18px 14px 20px;
	border-top: 1px solid var(--fcc-line);
	background:
		radial-gradient(120% 60% at 50% -10%, rgba(94, 156, 148, 0.13), transparent 60%),
		linear-gradient(180deg, #fff, var(--fcc-paper2));
	border-radius: 0 0 16px 16px;
}

.fcc-empty {
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 18px 8px 14px;
	text-align: center;
}

.fcc-empty-t {
	margin: 0;
	font: 650 24px/1.2 var(--fcc-serif);
}

.fcc-empty-s {
	margin: 0;
	color: var(--fcc-dim);
}

.fcc-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 8px;
}

.fcc-chip {
	min-height: 44px;
	padding: 0 16px;
	font-weight: 700;
	color: var(--fcc-ink);
	background: var(--fcc-white);
	border: 1.5px solid var(--fcc-line2);
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.fcc-chip:hover {
	color: var(--fcc-paper2);
	background: var(--fcc-ink);
	border-color: var(--fcc-ink);
}

.fcc-res {
	display: grid;
	gap: 16px;
	min-width: 0;
}

.fcc-res.fcc-anim > * {
	animation: fcc-rise 0.45s var(--fcc-ease) both;
}

.fcc-res.fcc-anim > :nth-child(3) { animation-delay: 0.06s; }
.fcc-res.fcc-anim > :nth-child(4) { animation-delay: 0.12s; }
.fcc-res.fcc-anim > :nth-child(5) { animation-delay: 0.18s; }

.fcc-print-title {
	display: none;
}

/* headline: the number is the page */
.fcc-head {
	display: grid;
	justify-items: center;
	gap: 0;
	padding: 20px 12px 22px;
	text-align: center;
	color: #F4EEE3;
	background:
		radial-gradient(90% 120% at 50% 0%, rgba(217, 164, 65, 0.2), transparent 62%),
		var(--fcc-ink);
	border-radius: 14px;
	box-shadow: var(--fcc-shadow);
}

.fcc-route {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 8px;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #E4DDCF;
}

.fcc-code {
	padding: 3px 8px;
	font: 700 14px/1 var(--fcc-mono);
	letter-spacing: 0.05em;
	color: var(--fcc-ink);
	background: var(--fcc-ochre);
	border-radius: 6px;
}

.fcc-route-a {
	display: inline-flex;
	color: var(--fcc-ochre);
}

.fcc-trip-line {
	margin: 6px 0 0;
	font-size: 14px;
	color: #B9B3A6;
}

.fcc-head-label {
	margin: 16px 0 0;
	font: 700 12px/1.3 var(--fcc-mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fcc-ochre);
}

.fcc-big {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	column-gap: 12px;
	margin: 4px 0 0;
	line-height: 1;
}

.fcc-big-n {
	font-family: var(--fcc-serif);
	font-size: clamp(68px, 19vw, 132px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	color: #FBF8F2;
	font-variant-numeric: tabular-nums lining-nums;
}

.fcc-big-u {
	font: 700 clamp(20px, 4vw, 28px)/1 var(--fcc-serif);
	color: var(--fcc-ochre);
}

.fcc-big-u sub {
	font-size: 0.62em;
	line-height: 0;
}

.fcc-head-sub {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 14px;
	margin: 12px 0 0;
	font-size: 16px;
	font-weight: 700;
	color: #E4DDCF;
}

.fcc-head-sub .fcc-per {
	padding-left: 14px;
	border-left: 1px solid rgba(233, 226, 212, 0.35);
}

.fcc-head-sub .fcc-tonnes:only-child {
	padding: 0;
	border: 0;
}

.fcc-head-sub .fcc-tonnes + .fcc-per {
	padding-left: 14px;
}

.fcc-head-sub .fcc-per:first-child {
	padding-left: 0;
	border-left: 0;
}

/* stats */
.fcc-stats {
	display: grid;
	gap: 8px;
}

.fcc-stat {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: 'l v' 's v';
	align-items: center;
	column-gap: 12px;
	padding: 10px 14px;
	background: var(--fcc-white);
	border: 1px solid var(--fcc-line);
	border-radius: 12px;
}

.fcc-stat p {
	margin: 0;
}

.fcc-stat-l {
	grid-area: l;
	font: 700 11.5px/1.3 var(--fcc-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fcc-accent-ink);
}

.fcc-stat-v {
	grid-area: v;
	font: 700 20px/1.15 var(--fcc-serif);
	text-align: right;
}

.fcc-stat-v sub {
	font-size: 0.65em;
	line-height: 0;
}

.fcc-stat-alt {
	font-size: 0.8em;
	font-weight: 600;
	color: var(--fcc-ink2);
}

.fcc-stat-s {
	grid-area: s;
	font-size: 13.5px;
	color: var(--fcc-dim);
}

/* comparison tiles */
.fcc-cmp {
	display: grid;
	gap: 8px;
}

.fcc-cmp-tile {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	grid-template-areas: 'i l' 'i v' 'i t';
	column-gap: 12px;
	padding: 14px;
	background: var(--fcc-sand);
	border: 1px solid var(--fcc-line);
	border-radius: 12px;
}

.fcc-cmp-tile p {
	margin: 0;
}

.fcc-cmp-ic {
	grid-area: i;
	display: grid;
	place-items: center;
	align-self: start;
	width: 40px;
	height: 40px;
	color: var(--fcc-sea-ink);
	background: var(--fcc-sea-soft);
	border-radius: 50%;
}

.fcc-cmp-l {
	grid-area: l;
	font: 700 11.5px/1.3 var(--fcc-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fcc-dim);
}

.fcc-cmp-v {
	grid-area: v;
	margin-top: 2px;
	font: 700 28px/1.15 var(--fcc-serif);
	overflow-wrap: anywhere;
}

.fcc-cmp-t {
	grid-area: t;
	margin-top: 2px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--fcc-ink2);
}

/* bars: cabin chart and ground alternatives */
.fcc-chart,
.fcc-ground,
.fcc-how {
	margin: 0;
	padding: 16px 14px;
	background: var(--fcc-white);
	border: 1px solid var(--fcc-line);
	border-radius: 14px;
}

.fcc-chart-cap,
.fcc-ground-s {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--fcc-dim);
}

.fcc-chart-cap strong {
	color: var(--fcc-ink);
	font-size: 15px;
}

.fcc-h {
	margin: 0 0 6px;
	font: 700 19px/1.25 var(--fcc-serif);
}

.fcc-bars {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fcc-bar-row {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
}

.fcc-bar-l {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--fcc-ink2);
}

.fcc-bar-row.is-current .fcc-bar-l {
	color: var(--fcc-accent-ink);
}

.fcc-bar-t {
	position: relative;
	display: block;
	height: 38px;
	background: var(--fcc-sand);
	border-radius: 8px;
}

.fcc-bar-f {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 0;
	height: 100%;
	min-width: 6px;
	padding-right: 10px;
	background: var(--fcc-sea-ink);
	border-radius: 8px;
	transition: width 0.7s var(--fcc-ease);
}

.fcc-bars-still .fcc-bar-f {
	transition: none;
}

.fcc-bar-row.is-current .fcc-bar-f {
	background: var(--fcc-accent-ink);
}

.fcc-bar-v {
	font-size: 14px;
	font-weight: 800;
	color: #fff;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.fcc-bar-row.is-small .fcc-bar-v {
	position: absolute;
	left: 100%;
	margin-left: 8px;
	color: var(--fcc-ink);
}

.fcc-bar-row.is-small .fcc-bar-f {
	padding-right: 0;
}

/* actions + method */
.fcc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.fcc-how {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--fcc-ink2);
	background: var(--fcc-paper2);
}

.fcc-how p {
	margin: 0 0 8px;
}

.fcc-how .fcc-src {
	margin-bottom: 0;
	font-weight: 700;
	color: var(--fcc-ink);
}

.fcc-hero-credit {
	padding: 6px 2px 0;
	font-size: 12.5px;
	color: var(--fcc-dim);
}

.fcc-hero-credit a {
	color: inherit;
}

/* ------------------------------------------------------------ layouts */

@media (min-width: 640px) {
	.fcc-form {
		padding: 24px 24px 26px;
		gap: 20px;
	}
	.fcc-result {
		padding: 22px 24px 24px;
	}
	.fcc-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.fcc-stat {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: 'l' 'v' 's';
		row-gap: 2px;
		padding: 14px 16px;
	}
	.fcc-stat-v {
		text-align: left;
		font-size: 23px;
	}
	.fcc-bar-row {
		grid-template-columns: 140px minmax(0, 1fr);
		gap: 14px;
	}
	.fcc-bar-l {
		font-size: 15px;
	}
}

@media (min-width: 760px) {
	.fcc-cmp {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.fcc-cmp-tile {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: 'i' 'l' 'v' 't';
		row-gap: 2px;
	}
	.fcc-cmp-ic {
		margin-bottom: 8px;
	}
	.fcc-head {
		padding: 26px 20px 28px;
	}
}

@media (min-width: 1000px) {
	.fcc-form {
		padding: 28px 32px 30px;
	}
	.fcc-form .fcc-btn-primary {
		justify-self: start;
		width: auto;
		min-width: 240px;
	}
	.fcc-result {
		padding: 26px 32px 30px;
	}
}

@media (max-width: 380px) {
	.fcc-btn {
		padding: 0 14px;
	}
	.fcc-seg-opt span {
		padding: 4px 4px;
		font-size: 14px;
	}
	.fcc-bar-row {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 8px;
	}
}

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

/* ------------------------------------------------------------------ article */

.fcc-article {
	max-width: 820px;
	margin: 0 auto;
	padding: 56px 24px 40px;
	font-size: 17px;
	line-height: 1.7;
}

.fcc-article h2 {
	font-family: var(--fcc-serif);
	margin: 2.2em 0 0.6em;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.fcc-article > h2:first-child,
.fcc-article > h2:first-of-type {
	margin-top: 0;
}

.fcc-article h3 {
	margin: 1.6em 0 0.4em;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
}

.fcc-article p,
.fcc-article ul,
.fcc-article ol {
	margin: 0 0 1.1em;
}

.fcc-article a {
	color: var(--fcc-accent-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fcc-article figure {
	margin: 1.6em 0;
}

.fcc-article figure img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 12px;
	background: var(--fcc-sand);
}

.fcc-article figcaption {
	margin-top: 6px;
	font-size: 13px;
	color: var(--fcc-dim);
}

.fcc-article table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 1.4em 0;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.4;
	background: var(--fcc-white);
	border: 1px solid var(--fcc-line);
	border-radius: 12px;
}

.fcc-article th,
.fcc-article td {
	padding: 9px 14px;
	text-align: left;
	border-bottom: 1px solid var(--fcc-line);
}

.fcc-article thead th {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fcc-dim);
}

.fcc-article tbody tr:last-child > * {
	border-bottom: 0;
}

/* Reserved so a late ad fill cannot shift the text below it. */
.fcc-ad {
	min-height: 280px;
	margin: 2em 0;
	text-align: center;
}

/* ------------------------------------------------------------------ footer */

.fcc-foot {
	background: var(--fcc-night);
	color: #D8D1C3;
}

.fcc-foot-in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 32px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 26px 24px 22px;
	font-size: 14px;
}

.fcc-foot-logo,
.fcc-foot-logo:hover {
	color: #F4EEE3;
}

.fcc-foot-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	font-weight: 600;
}

.fcc-foot-nav a,
.fcc-foot-tools a {
	color: #E4DDCF;
	text-decoration: none;
}

.fcc-foot-nav a:hover,
.fcc-foot-tools a:hover {
	color: #F4EEE3;
	text-decoration: underline;
	text-decoration-color: var(--fcc-ochre);
	text-underline-offset: 3px;
}

.fcc-foot-tools {
	display: flex;
	flex-basis: 100%;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(233, 226, 212, 0.18);
	font-size: 13px;
}

.fcc-foot-label {
	font: 700 11px/1 var(--fcc-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fcc-ochre);
}

.fcc-foot-c {
	flex-basis: 100%;
	margin: 0;
	font-size: 13px;
	color: #A9A296;
}

/* ------------------------------------------------------------------ print */

@media print {
	html,
	body.fcc-body {
		background: #fff;
	}
	.fcc-mast,
	.fcc-hero,
	.fcc-form,
	.fcc-article,
	.fcc-foot,
	.fcc-ad,
	.fcc-actions,
	.fcc-toast,
	.fcc-empty {
		display: none !important;
	}
	.fcc-main {
		padding: 0;
	}
	.fcc-card,
	.fcc-result {
		margin: 0;
		padding: 0;
		border: 0;
		box-shadow: none;
		background: #fff;
	}
	.fcc-print-title {
		display: block;
		margin: 0 0 6px;
		font: 650 20px/1.2 var(--fcc-serif);
	}
	.fcc-res > * {
		break-inside: avoid;
		animation: none !important;
	}
	.fcc-head,
	.fcc-bar-f,
	.fcc-cmp-tile,
	.fcc-code {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	.fcc-bar-f {
		transition: none !important;
	}
}
