/* Hallmark · genre: playful · theme: custom, by request (Ace Logistics: a scrappy courier in kraft, receipts and MS Paint red, built around Darrow's logo) · posture: committed · hero: logo-first, centred · nav: none, one floating Order button · footer: one credit line and the independence note · job: get a quote, then order on Telegram · signature: Darrow's spinning Definitely BD logo over a belt of parcels you can open */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R3 V5 · weakest: R, the belt, stamps and tape could crowd the page; kept them to the hero and two sections and cut the flourishes from the quote */
/* Hallmark · answered unslop · headings at 800 · the condensed heavy face is the shipping-label voice; body and labels stay at 400 */
/* Hallmark · answered ui-unslop · the belt, the route's moving dragon and the receipt printing stay: the belt is the courier at work, the dragon shows where an order is, the printing shows a new result; the hatch, the swipe's entrance, the button tilt and the floating Order button went */
/* Hallmark · dismissed 58 · about 1,000 words page-wide · the questions and their answers are what search and answer engines quote for "buy Bad Dragon in Singapore"; every screen stays inside the budget */
/* Hallmark · waive 77 · the questions, 77% wide · seven questions that fold open; wider rows would only make the lines longer to read */
/*
 * Ace Logistics: the Bad Dragon Courier Service.
 * A lovably scrappy courier: Darrow's scribbled logo in MS Paint red, kraft parcels, receipts and
 * shipping labels. Fonts (all SIL Open Font License 1.1, self-hosted): Archivo for headings and
 * text, Permanent Marker for the scribbles, Courier Prime for receipts and labels.
 */

@font-face {
	font-family: "Archivo";
	src: url(fonts/archivo.woff2) format("woff2");
	font-weight: 400 900;
	font-stretch: 75% 100%;
	font-display: swap;
}
@font-face {
	font-family: "Marker";
	src: url(fonts/marker.woff2) format("woff2");
	font-display: swap;
}
@font-face {
	font-family: "Courier Prime";
	src: url(fonts/courier-400.woff2) format("woff2");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Courier Prime";
	src: url(fonts/courier-700.woff2) format("woff2");
	font-weight: 700;
	font-display: swap;
}

:root {
	--bg: #16120f;
	--bg-2: #211a15;
	--line: #3a2f27;
	--text: #f3ede4;
	--muted: #bcae9f;
	--red: #ed1c24; /* the logo's red, which is MS Paint's red: for marks and accents */
	--red-ink: #c40f17; /* a deeper red that holds 4.5:1 for text and buttons */
	--red-ink-hover: #a70c13;
	--red-text: #ff8a8e; /* red for text on the dark background */
	--red-glow: rgb(237 28 36 / 0.16);
	--kraft: #c89b66;
	--kraft-dark: #9b7246;
	--box-top: #cfa36d;
	--box-bottom: #b88a55;
	--box-edge: #5c4128;
	--box-flap: #c09460;
	--tape: #e2c79f;
	--tape-clear: rgb(226 199 159 / 0.85);
	--belt: #1c1713;
	--belt-edge: #2a231d;
	--roller: #6b5b4c;
	--roller-rim: #3b322a;
	--paper: #fbf8f1;
	--paper-clear: rgb(251 248 241 / 0.9);
	--ink: #17140f;
	--ink-soft: #5c5348;
	--rule: #9b9183;
	--rule-soft: #b3a999;
	--well: #120e0b;
	--well-edge: #8c7b6b;
	--yellow: #ffd84a;
	--ok: #7ee08a;
	--hatch: rgb(255 255 255 / 0.018);
	--drop: rgb(0 0 0 / 0.55);
	--drop-soft: rgb(0 0 0 / 0.35);
	--shade: rgb(0 0 0 / 0.1);
	--backdrop: rgb(12 10 8 / 0.94);
	--mono: "Courier Prime", ui-monospace, monospace;
	color-scheme: dark;
}

* {
	box-sizing: border-box;
}
html {
	overflow-x: clip;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 17px/1.6 "Archivo", system-ui, sans-serif;
	overflow-x: clip;
}
h1,
h2,
h3 {
	margin: 0;
	font-stretch: 78%;
	font-weight: 800;
	line-height: 1.02;
	text-wrap: balance;
}
p {
	margin: 0;
	text-wrap: pretty;
}
.lede,
.section-lede,
.more > p,
.lube-text > p,
.direct,
.past-note,
.foot p,
.r-foot,
.hint,
.customs p,
.faq summary {
	text-wrap: balance;
}
a {
	color: var(--red-text);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
a:hover {
	color: var(--yellow);
}
b {
	font-weight: 800;
}
.skip {
	position: absolute;
	left: 16px;
	top: 0;
	z-index: 10;
	transform: translateY(-120%);
}
.skip:focus {
	transform: translateY(16px);
	padding: 8px 16px;
	background: var(--paper);
	color: var(--ink);
}
main {
	width: min(100% - 32px, 1080px);
	margin: 0 auto;
}
section {
	padding: 72px 0 0;
	scroll-margin-top: 16px;
}
@media (min-width: 1000px) {
	section {
		padding-top: 128px;
	}
	.lube,
	.order {
		padding-top: 152px;
	}
	.route-section {
		padding-top: 176px;
	}
	.past {
		padding-top: 136px;
	}
}
section > h2 {
	font-size: clamp(36px, 7vw, 58px);
	text-align: center;
}
.section-lede {
	max-width: 620px;
	margin: 16px auto 0;
	color: var(--muted);
	text-align: center;
}

/* ---------- Buttons ---------- */

.button {
	display: inline-block;
	padding: 12px 24px;
	border: 3px solid var(--ink);
	border-radius: 12px;
	box-shadow: 5px 5px 0 var(--ink);
	font: 800 19px/1.1 "Archivo", sans-serif;
	font-stretch: 85%;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.button:hover {
	box-shadow: 7px 7px 0 var(--ink);
}
.button:active {
	transform: translate(3px, 3px);
	box-shadow: 1px 1px 0 var(--ink);
}
.button-red {
	background: var(--red-ink);
	color: var(--paper);
}
.button-red:hover {
	background: var(--red-ink-hover);
	color: var(--paper);
}
.button-paper {
	background: var(--paper);
	color: var(--ink);
}
.button-paper:hover {
	color: var(--ink);
}
.button:focus-visible,
.copy:focus-visible,
.logo-button:focus-visible,
.parcel:focus-visible,
a:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--yellow);
	outline-offset: 4px;
}
.customs .button:focus-visible,
.ship-form .copy:focus-visible,
.ship-form .button:focus-visible,
.ship-label a:focus-visible,
.receipt summary:focus-visible {
	outline-color: var(--ink);
}

/* ---------- The hero ---------- */

.hero {
	position: relative;
	display: grid;
	justify-items: center;
	padding: 16px 16px 0;
	text-align: center;
}
.brand {
	padding: 28px 16px 0 clamp(16px, 6vw, 80px);
}
.presents {
	display: inline-block;
	margin: 0;
	color: var(--red-text);
	font: 26px/1 "Marker", cursive;
	transform: rotate(-5deg);
}
.logo-button {
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.bdSpinner {
	display: block;
	width: 168px;
	height: auto;
	filter: drop-shadow(0 8px 12px var(--drop));
}
/* Darrow's spin, exactly as he wrote it */
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
.clicked {
	animation: spin 1s ease-in-out;
}

.hero h1 {
	margin-top: 16px;
	font-size: clamp(46px, 11vw, 104px);
	line-height: 0.95;
}
/* a red marker swipe under "in Singapore" */
.scribble {
	position: relative;
	display: inline-block;
	white-space: nowrap;
}
.scribble::after {
	content: "";
	position: absolute;
	left: -2%;
	right: -3%;
	bottom: -0.12em;
	height: 0.28em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 30' preserveAspectRatio='none'%3E%3Cpath d='M4 18 C60 6 120 26 190 14 S320 8 396 16 M10 24 C90 14 170 28 260 18 S350 20 392 22' fill='none' stroke='%23ed1c24' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	z-index: -1;
}
.sub {
	margin-top: 16px;
	color: var(--kraft);
	font: 22px/1 "Marker", cursive;
}
.lede {
	max-width: 640px;
	margin-top: 16px;
	color: var(--text);
	font-size: 19px;
}
.cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 24px;
}

/* ---------- The conveyor belt ---------- */

.belt {
	position: relative;
	width: calc(100% + 32px);
	margin-inline: -16px;
	height: 240px;
	margin-top: 16px;
	overflow-x: clip;
	overflow-y: visible;
}
.track {
	position: absolute;
	left: 0;
	bottom: 34px;
	display: flex;
	align-items: flex-end;
	gap: 56px;
	width: max-content;
	padding-left: 40px;
	animation: belt 42s linear infinite;
}
.belt:hover .track,
.belt:focus-within .track {
	animation-play-state: paused;
}
@keyframes belt {
	to {
		transform: translateX(-50%);
	}
}
.rollers {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 34px;
	border-top: 4px solid var(--belt-edge);
	background:
		radial-gradient(circle at 20px 17px, var(--roller) 0 9px, var(--roller-rim) 10px 11px, transparent 12px) 0 0 / 40px 34px repeat-x,
		var(--belt);
}
.parcel {
	position: relative;
	display: block;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.box {
	position: relative;
	display: grid;
	place-items: center;
	width: var(--w, 120px);
	height: var(--h, 90px);
	border: 2px solid var(--box-edge);
	border-radius: 4px;
	background:
		linear-gradient(90deg, transparent 46%, var(--tape) 46% 54%, transparent 54%),
		linear-gradient(var(--box-top), var(--box-bottom));
	box-shadow: inset -10px 0 0 var(--shade), 0 6px 0 var(--drop-soft);
	transform: rotate(var(--tilt, 0deg));
	transition: transform 0.2s ease;
}
.parcel:hover .box {
	transform: rotate(var(--tilt, 0deg)) translateY(-6px);
}
/* the flaps: two lids hinged at the top edge */
.box::before,
.box::after {
	content: "";
	position: absolute;
	top: -2px;
	width: 50%;
	height: 14px;
	border: 2px solid var(--box-edge);
	background: var(--box-flap);
	transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.box::before {
	left: -2px;
	transform-origin: left bottom;
}
.box::after {
	right: -2px;
	transform-origin: right bottom;
}
.parcel.open .box::before {
	transform: rotate(-130deg);
}
.parcel.open .box::after {
	transform: rotate(130deg);
}
.note {
	position: relative;
	z-index: 1;
	max-width: 86%;
	padding: 8px 12px;
	line-height: 1.2;
	background: var(--paper);
	color: var(--red-ink);
	font: 14px/1.1 "Marker", cursive;
	transform: rotate(-4deg);
}
.stamp-mini {
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: 36px;
	height: 36px;
	background: url(img/definitely-bd-logo.png) center / contain no-repeat;
	opacity: 0.85;
	transform: rotate(12deg);
}
.pop {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 16px);
	z-index: 2;
	width: max-content;
	max-width: 220px;
	padding: 8px 12px;
	border: 3px solid var(--ink);
	border-radius: 12px;
	background: var(--yellow);
	box-shadow: 4px 4px 0 var(--ink);
	color: var(--ink);
	font: 700 15px/1.3 var(--mono);
	text-align: left;
	transform: translateX(-50%);
	animation: pop 0.35s cubic-bezier(0.3, 1.6, 0.5, 1) both;
	pointer-events: none;
}
@keyframes pop {
	from {
		opacity: 0;
		transform: translate(-50%, 16px) scale(0.6);
	}
}

/* ---------- Not Just Dragons ---------- */

.more > p {
	max-width: 640px;
	margin: 16px auto 0;
	color: var(--muted);
	text-align: center;
}
.labels {
	display: grid;
	gap: 16px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}
.ship-label {
	position: relative;
	display: grid;
	gap: 2px;
	padding: 16px 24px 48px;
	border: 3px solid var(--ink);
	border-radius: 10px;
	background: var(--paper);
	box-shadow: 6px 6px 0 var(--drop);
	color: var(--ink);
	transform: rotate(var(--r, -1deg));
}
.ship-label:nth-child(2) {
	--r: 1.2deg;
}
.ship-label:nth-child(3) {
	--r: -0.6deg;
}
.ship-label .from {
	color: var(--ink-soft);
	font-size: 15px;
}
.ship-label b {
	font: 800 30px/1.05 "Archivo", sans-serif;
	font-stretch: 78%;
}
.ship-label a {
	margin-top: 8px;
	color: var(--red-ink);
	font-weight: 800;
}
/* a barcode along the bottom */
.ship-label::after {
	content: "";
	position: absolute;
	left: 22px;
	right: 22px;
	bottom: 14px;
	height: 18px;
	background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px);
	opacity: 0.85;
}
.ship-label-ask {
	background: var(--yellow);
}
.ship-label-ask a {
	color: var(--ink);
}

/* ---------- The lube ---------- */

.lube {
	display: grid;
	justify-items: center;
	gap: 32px;
}
.lube-photo {
	position: relative;
	width: 180px;
	padding: 12px;
	background: var(--paper);
	box-shadow: 8px 8px 0 var(--drop);
	transform: rotate(-3deg);
}
.lube-photo img {
	display: block;
	width: 100%;
	height: auto;
}
/* tape on the corners */
.lube-photo::before,
.lube-photo::after {
	content: "";
	position: absolute;
	width: 70px;
	height: 22px;
	background: var(--tape-clear);
}
.lube-photo::before {
	top: -10px;
	left: -18px;
	transform: rotate(-30deg);
}
.lube-photo::after {
	bottom: -8px;
	right: -20px;
	transform: rotate(-30deg);
}
.stamp {
	position: absolute;
	right: -34px;
	top: 34%;
	display: grid;
	place-items: center;
	width: 108px;
	height: 108px;
	padding: 12px;
	border: 4px double var(--red-ink);
	border-radius: 50%;
	background: var(--paper-clear);
	color: var(--red-ink);
	font: 800 15px/1.05 "Archivo", sans-serif;
	font-stretch: 78%;
	text-align: center;
	transform: rotate(14deg);
}
.lube-text {
	display: grid;
	gap: 16px;
	max-width: 560px;
	text-align: center;
}
.lube-text h2 {
	font-size: clamp(32px, 6vw, 48px);
}
.lube-text > p {
	color: var(--muted);
}
.buy {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}
.direct {
	font-size: 16px;
}

/* ---------- How it works: the route ---------- */

.route {
	position: relative;
	margin-top: 40px;
}
.track-line {
	position: absolute;
	left: 22px;
	top: 10px;
	bottom: 10px;
	width: 4px;
	background: repeating-linear-gradient(var(--kraft) 0 10px, transparent 10px 18px);
}
.flyer {
	position: absolute;
	left: 50%;
	top: 0;
	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
	z-index: 2; /* over the stops' dots it lands on */
	/* one stop at a time (site.js waits between hops) */
	transition: transform 0.45s cubic-bezier(0.45, 0, 0.25, 1);
	will-change: transform;
}
.flyer img {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 4px 8px var(--drop));
	transform: rotate(90deg) scaleX(-1);
}
.stops {
	display: grid;
	gap: 24px;
	margin: 0;
	padding: 0 0 0 64px;
	list-style: none;
}
.stop {
	position: relative;
	display: grid;
	gap: 8px;
	padding: 16px 16px;
	border: 2px solid var(--line);
	border-radius: 14px;
	background: var(--bg-2);
	transition: border-color 0.3s;
}
.stop::before {
	content: "";
	position: absolute;
	left: -48px;
	top: 20px;
	width: 16px;
	height: 16px;
	border: 3px solid var(--kraft);
	border-radius: 50%;
	background: var(--bg);
	transition: background-color 0.3s;
}
/* where the logo is now */
.stop.here {
	border-color: var(--kraft);
}
.stop.here::before {
	background: var(--kraft);
}
.stop h3 {
	font-size: 27px;
}
.stop p {
	color: var(--muted);
	font-size: 16px;
}
.stop b {
	color: var(--text);
}
.pay,
.days {
	justify-self: start;
	margin-top: 4px;
	padding: 8px 12px;
	font: 16px/1.2 "Marker", cursive;
	transform: rotate(-2deg);
}
.pay {
	background: var(--red-ink);
	color: var(--paper);
}
.days {
	background: var(--kraft);
	color: var(--ink);
}

/* ---------- The quote ---------- */

.quote {
	display: grid;
	gap: 32px;
	margin-top: 36px;
}
.quote-form {
	display: grid;
	gap: 16px;
	align-content: start;
	padding: 24px;
	border: 2px solid var(--line);
	border-radius: 16px;
	background: var(--bg-2);
}
.quote-form label {
	display: grid;
	gap: 8px;
	font-weight: 800;
}
.lbl {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: baseline;
}
.quote-form label[hidden] {
	display: none;
}
.cur,
.rate-note,
.quote-form output {
	color: var(--kraft);
	font-weight: 800;
}
.quote-form input[type="number"],
.quote-form select {
	width: 100%;
	padding: 12px 12px;
	border: 2px solid var(--well-edge);
	border-radius: 10px;
	background: var(--well);
	color: var(--text);
	font: 600 18px/1.2 var(--mono);
}
.quote-form input:focus,
.quote-form select:focus {
	outline: 3px solid var(--yellow);
	outline-offset: 1px;
}
.quote-form input[type="range"] {
	width: 100%;
	accent-color: var(--red);
}
.hint {
	color: var(--muted);
	font-size: 14px;
	font-weight: 400;
}
.printer {
	display: grid;
	justify-items: center;
	gap: 16px;
	align-content: start;
}
.quote-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

/* ---------- Receipts ---------- */

.receipt {
	--zig: 10px;
	position: relative;
	width: min(100%, 340px);
	padding: 24px 20px 32px;
	background: var(--paper);
	color: var(--ink);
	font: 15px/1.35 var(--mono);
	/* torn, zig-zag top and bottom */
	-webkit-mask:
		conic-gradient(from -45deg at bottom, transparent, var(--ink) 1deg 89deg, transparent 90deg) bottom / var(--zig) 51% repeat-x,
		conic-gradient(from 135deg at top, transparent, var(--ink) 1deg 89deg, transparent 90deg) top / var(--zig) 51% repeat-x;
	mask:
		conic-gradient(from -45deg at bottom, transparent, var(--ink) 1deg 89deg, transparent 90deg) bottom / var(--zig) 51% repeat-x,
		conic-gradient(from 135deg at top, transparent, var(--ink) 1deg 89deg, transparent 90deg) top / var(--zig) 51% repeat-x;
	filter: drop-shadow(0 8px 14px var(--drop));
}
.r-head {
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px dashed var(--rule);
	font: 800 24px/1.05 "Archivo", sans-serif;
	font-stretch: 78%;
	text-align: center;
}
.r-head span {
	font: 400 15px/1.4 var(--mono);
}
.receipt {
	font-variant-numeric: tabular-nums;
}
.r-line {
	display: flex;
	justify-content: space-between;
	gap: 8px;
}
/* the amount stays on one line (the quote caps how long it gets); a long label wraps instead of being cut */
.r-line > :first-child {
	flex: 1 1 auto;
	min-width: 0;
	text-wrap: balance;
}
.r-line > :last-child {
	flex: none;
	white-space: nowrap;
	text-align: right;
}
.r-sub {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed var(--rule-soft);
}
.r-total {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 3px double var(--ink);
	font-size: 19px;
	font-weight: 700;
}
.r-foot {
	margin-top: 12px;
	color: var(--ink-soft);
	font-size: 13px;
	text-align: center;
}
.receipt-live {
	transform-origin: top;
}
.receipt-live.printing {
	animation: print 0.5s steps(8) both;
}
@keyframes print {
	from {
		clip-path: inset(0 0 100% 0);
	}
	to {
		clip-path: inset(0 0 0 0);
	}
}

.past-note {
	max-width: 620px;
	margin: 8px auto 0;
	color: var(--muted);
	text-align: center;
}
.receipts {
	display: flex;
	align-items: start; /* an open breakdown lengthens its own receipt, not the whole row */
	gap: 24px;
	margin: 36px -16px 0;
	padding: 16px 16px 32px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding: 16px;
	scrollbar-color: var(--kraft) transparent;
}
.receipts:focus-visible {
	outline: 3px solid var(--yellow);
}
.receipts .receipt {
	flex: none;
	width: 260px;
	scroll-snap-align: start;
	transform: rotate(var(--r, 0.8deg));
}
.receipts .receipt:nth-child(even) {
	--r: -1deg;
}
.receipt details {
	margin-top: 12px;
}
.receipt summary {
	padding: 8px 0;
	border-top: 2px dashed var(--rule);
	font: 700 15px/1.2 var(--mono);
	list-style: none;
	cursor: pointer;
}
.receipt summary::-webkit-details-marker {
	display: none;
}
.receipt summary::after {
	content: " +";
}
.receipt details[open] summary::after {
	content: " (close)";
}
.r-sum {
	display: flex;
	justify-content: space-between;
	font: 700 19px/1.3 var(--mono);
}
.r-days {
	color: var(--ink-soft);
	font-size: 14px;
	text-align: center;
}
.r-photo {
	margin: 0 0 16px;
	overflow: hidden;
	border-radius: 6px;
}
.r-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	transition: filter 0.3s ease;
}
/* product photos stay blurred until the visitor says they're 18 or older */
.js:not(.age-ok) .r-photo img {
	filter: blur(18px) saturate(0.6);
}
.delivered {
	position: absolute;
	right: 6px;
	/* on the paper beside the name, where the ink shows (on the photos it sank into the dark ones);
	   measured from the top, so opening the breakdown can't move it. Sized to clear the longest
	   name (Sveinn, Tucker): the receipt is 260px wide, so check this when adding a receipt */
	top: 256px;
	padding: 4px 8px;
	border: 3px solid var(--red-ink);
	border-radius: 6px;
	color: var(--red-ink);
	font: 800 15px/1 "Archivo", sans-serif;
	font-stretch: 78%;
	opacity: 0.8;
	transform: rotate(-10deg);
	pointer-events: none;
	mix-blend-mode: multiply;
}

/* ---------- Order forms ---------- */

.forms {
	display: grid;
	gap: 24px;
	margin-top: 36px;
}
.ship-form {
	position: relative;
	display: grid;
	gap: 12px;
	align-content: start;
	padding: 20px 20px 24px;
	border: 3px solid var(--ink);
	border-radius: 10px;
	background: var(--paper);
	box-shadow: 6px 6px 0 var(--drop);
	color: var(--ink);
}
.ship-form h3 {
	font-size: 26px;
}
.ship-form pre {
	margin: 0;
	padding: 12px 16px;
	border: 2px dashed var(--rule);
	border-radius: 8px;
	background: var(--paper);
	font: 16px/1.5 var(--mono);
	white-space: pre-wrap;
}
.ship-form p {
	color: var(--ink-soft);
}
.copy {
	justify-self: start;
	min-height: 44px;
	padding: 8px 20px;
	border: 3px solid var(--ink);
	border-radius: 10px;
	background: var(--yellow);
	box-shadow: 3px 3px 0 var(--ink);
	color: var(--ink);
	font: 800 16px/1.1 "Archivo", sans-serif;
	cursor: pointer;
}
.copy:active {
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--ink);
}
button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.nowrap {
	white-space: nowrap;
}
.copy.done {
	background: var(--ok);
}
.ship-form-else {
	background: var(--kraft);
}
.ship-form-else p {
	color: var(--ink);
}
.ship-form-else .button {
	justify-self: start;
}

/* ---------- FAQ ---------- */

.faq details {
	max-width: 760px;
	margin: 0 auto;
	border-bottom: 2px solid var(--line);
}
.faq h2 {
	margin-bottom: 24px;
}
.faq summary {
	position: relative;
	padding: 16px 40px 16px 0;
	font: 800 21px/1.25 "Archivo", sans-serif;
	font-stretch: 85%;
	list-style: none;
	cursor: pointer;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 12px;
	color: var(--red-text);
	font: 30px/1 "Marker", cursive;
	transition: transform 0.2s ease;
}
.faq details[open] summary::after {
	transform: rotate(45deg);
}
.faq details:not([open]) > p,
.receipt details:not([open]) > :not(summary) {
	display: none;
}
.faq details p {
	padding: 0 0 20px;
	color: var(--muted);
}

/* ---------- Footer and the floating order button ---------- */

.foot {
	width: min(100% - 32px, 1080px);
	margin: 88px auto 0;
	padding: 24px 0 48px;
	border-top: 2px solid var(--line);
	color: var(--muted);
	font-size: 15px;
	text-align: center;
}
.foot .small {
	margin-top: 8px;
	font-size: 13px;
}
.heart {
	color: var(--red-text);
}

/* ---------- The age check, as a customs declaration ---------- */

.age {
	width: min(100% - 32px, 460px);
	padding: 0;
	border: 0;
	background: none;
	overflow: visible;
}
.age::backdrop {
	background: var(--backdrop);
}
.customs {
	position: relative;
	display: grid;
	gap: 12px;
	padding: 24px 24px 28px;
	border: 3px solid var(--ink);
	border-radius: 12px;
	background: var(--paper);
	box-shadow: 8px 8px 0 var(--ink);
	color: var(--ink);
	text-align: center;
}
.customs-top {
	padding-bottom: 12px;
	border-bottom: 2px dashed var(--rule);
	font: 800 17px/1 "Archivo", sans-serif;
}
.customs h2 {
	font-size: 34px;
}
.age-buttons {
	display: grid;
	gap: 12px;
	margin-top: 8px;
}
.customs-stamp {
	position: absolute;
	right: -14px;
	top: -18px;
	padding: 4px 8px;
	border: 3px solid var(--red-ink);
	border-radius: 6px;
	background: var(--paper-clear);
	color: var(--red-ink);
	font: 800 20px/1 "Archivo", sans-serif;
	font-stretch: 78%;
	transform: rotate(12deg);
}

/* ---------- Wider screens ---------- */

@media (min-width: 760px) {
	.labels {
		grid-template-columns: repeat(3, 1fr);
	}
	.lube {
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		justify-items: start;
		gap: 72px;
		padding-left: 40px;
		padding-right: 40px;
	}
	.lube-photo {
		width: 220px;
	}
	.lube-text {
		max-width: none;
		text-align: left;
	}
	.buy {
		justify-content: flex-start;
	}
	.quote {
		grid-template-columns: 1fr 380px;
		align-items: start;
	}
	.forms {
		grid-template-columns: repeat(2, 1fr);
	}
	/* the route runs across */
	.track-line {
		left: 6%;
		right: 6%;
		top: 9px;
		bottom: auto;
		width: auto;
		height: 4px;
		background: repeating-linear-gradient(90deg, var(--kraft) 0 10px, transparent 10px 18px);
	}
	.flyer {
		left: 0;
		top: 50%;
		transition-duration: 0.6s;
	}
	.flyer img {
		transform: scaleX(-1) rotate(-12deg);
	}
	.stops {
		grid-template-columns: repeat(6, 1fr);
		gap: 12px;
		padding: 40px 0 0;
	}
	.stop {
		padding: 16px 12px;
	}
	.stop::before {
		left: calc(50% - 8px);
		top: -40px;
	}
	.stop h3 {
		font-size: 23px;
	}
	.stop p {
		font-size: 15px;
	}
}
@media (min-width: 1000px) {
	.forms {
		grid-template-columns: repeat(4, 1fr);
	}
	.faq {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 48px;
	}
	.faq h2 {
		grid-column: 1 / -1;
	}
	.faq details {
		max-width: none;
		margin: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.001s !important;
		animation-iteration-count: 1 !important;
		transition: none !important;
	}
	.track {
		animation: none !important;
	}
	/* Darrow's spin still plays when someone asks for it with a click */
	.clicked {
		animation-duration: 1s !important;
	}
}
