/* Colours and fonts follow the Red and Hot app theme: the logo red on white,
   neutral greys, Lilita One for display and Nunito for body text. */
:root {
	--brand: #f20304; /* exact logo red: marks and large text only */
	--red: #dc0304; /* deeper red: surfaces and buttons that carry white text */
	--red-dark: #a80203;
	--ink: #141414;
	--ink-muted: #5c5c5c;
	--paper: #ffffff;
	--paper-deep: #f5f3f1;
	--line: #e4e0dc;
	--font-display: 'Lilita One', 'Arial Black', sans-serif;
	--font-body: 'Nunito', Arial, sans-serif;
	--radius-sm: 0.6rem;
	--radius-lg: 1.5rem;
	--content: 68rem;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5.5rem;
}

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

::selection {
	background: var(--red);
	color: #fff;
}

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

a {
	color: inherit;
}

h1,
h2,
h3,
p {
	margin: 0;
}

h1,
h2,
h3 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.02;
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
	border-radius: 0.3rem;
}

.hero :focus-visible,
.final-cta :focus-visible,
.fulfilment-section :focus-visible {
	outline-color: #fff;
}

.container {
	width: min(100% - 2.5rem, var(--content));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 20;
	padding: 0.7rem 1rem;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-sm);
	font-weight: 700;
}

.skip-link:focus {
	top: 1rem;
}

.eyebrow {
	display: block;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.nav-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 4.5rem;
}

.brand img {
	width: 9.5rem;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	font-weight: 700;
}

.nav-links a:not(.button) {
	text-decoration: none;
	padding-block: 0.6rem;
}

.nav-links a:not(.button):hover {
	color: var(--red);
}

/* Buttons */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 3.1rem;
	padding: 0.7rem 1.3rem;
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	transition:
		transform 0.2s var(--ease-out),
		background-color 0.2s var(--ease-out);
}

.button:hover {
	transform: translateY(-2px);
}

.button svg {
	width: 1.35rem;
	height: 1.35rem;
	flex: none;
}

.button-red {
	background: var(--red);
	color: #fff;
}

.button-red:hover {
	background: var(--red-dark);
}

.button-light {
	background: #fff;
	color: var(--ink);
}

.button-dark {
	background: var(--ink);
	color: #fff;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

/* Hero */

.hero {
	background: var(--red);
	color: #fff;
	overflow: hidden;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
	padding-block: clamp(4rem, 10vw, 8rem);
}

.hero-copy {
	display: grid;
	gap: 1.4rem;
	justify-items: start;
}

.hero h1 {
	font-size: clamp(2.9rem, 7.4vw, 5.6rem);
	letter-spacing: 0.005em;
}

.hero p {
	max-width: 34rem;
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	font-weight: 600;
}

.hero .button-row {
	margin-top: 0.6rem;
}

.hero-photo {
	justify-self: end;
	width: min(100%, 26rem);
	transform: rotate(4deg);
}

.hero-photo img {
	width: 100%;
	border: 0.5rem solid #fff;
	border-radius: var(--radius-lg);
	box-shadow: 0 24px 50px rgb(60 0 0 / 0.35);
}

/* Menu */

.menu-section {
	background: var(--paper-deep);
	padding-block: clamp(4.5rem, 10vw, 8rem);
}

.menu-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu-item {
	display: grid;
	align-content: start;
	justify-items: center;
	gap: 0.35rem;
	text-align: center;
}

.menu-item img {
	width: min(100%, 17rem);
	aspect-ratio: 1;
	margin-bottom: 1.1rem;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 20px 36px rgb(20 20 20 / 0.2);
}

/* Cut-out plate photo: already round with a transparent background. */
.menu-item img.menu-cutout {
	border-radius: 0;
	object-fit: contain;
	box-shadow: none;
	filter: drop-shadow(0 20px 28px rgb(20 20 20 / 0.22));
}

.menu-item h3 {
	font-size: 1.7rem;
}

.menu-item p,
.menu-note {
	color: var(--ink-muted);
}

.menu-note {
	margin-top: clamp(2rem, 4vw, 3rem);
	font-size: 0.98rem;
	text-align: center;
}

/* How to order */

.order-section {
	padding-block: clamp(4.5rem, 10vw, 8rem);
}

.section-heading {
	display: grid;
	gap: 0.9rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-heading .eyebrow {
	color: var(--red);
}

.section-heading h2 {
	max-width: 16ch;
	font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.order-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--ink);
}

.order-step {
	display: grid;
	align-content: start;
	gap: 0.6rem;
	padding: 1.6rem 1.5rem 0 0;
}

.order-step + .order-step {
	padding-left: 1.5rem;
	border-left: 1px solid var(--line);
}

.step-number {
	font-family: var(--font-display);
	font-size: 3.4rem;
	line-height: 1;
	color: var(--brand);
}

.order-step h3 {
	font-size: 1.5rem;
}

.order-step p {
	color: var(--ink-muted);
}

/* App screenshots */

.app-section {
	background: var(--paper-deep);
	padding-block: clamp(4.5rem, 10vw, 8rem);
}

.screen-track {
	display: flex;
	gap: clamp(1rem, 2.5vw, 1.75rem);
	padding: 0.5rem max(1.25rem, (100% - var(--content)) / 2) 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-padding-inline: max(1.25rem, (100% - var(--content)) / 2);
}

.screen-track figure {
	flex: none;
	width: clamp(13rem, 24vw, 15.5rem);
	margin: 0;
	scroll-snap-align: start;
}

.screen-track img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: 0 18px 36px rgb(20 20 20 / 0.18);
}

.screen-track figcaption {
	margin-top: 0.9rem;
	font-weight: 700;
	text-align: center;
}

/* Pickup and delivery */

.fulfilment-section {
	background: var(--ink);
	color: #fff;
	padding-block: clamp(4.5rem, 10vw, 8rem);
}

.fulfilment-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2.5rem, 7vw, 6rem);
}

.fulfilment-panel {
	display: grid;
	align-content: start;
	gap: 1rem;
}

.fulfilment-panel .eyebrow {
	color: #ff5a5a;
}

.fulfilment-panel h2 {
	font-size: clamp(2rem, 4vw, 3rem);
}

.fulfilment-panel p {
	max-width: 30rem;
	color: #d6d6d6;
}

/* Final call to action */

.final-cta {
	background: var(--red);
	color: #fff;
	padding-block: clamp(3.5rem, 8vw, 6rem);
}

.final-cta-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.final-cta-grid > div {
	display: grid;
	gap: 0.8rem;
}

.final-cta h2 {
	font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.final-cta p {
	font-weight: 600;
}

/* Footer */

.site-footer {
	padding-block: 2.2rem;
	color: var(--ink-muted);
	font-size: 0.95rem;
}

.footer-shell {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.footer-shell img {
	width: 8rem;
}

.photo-credit {
	flex-basis: 100%;
	font-size: 0.85rem;
}

/* Small screens */

@media (max-width: 56rem) {
	.order-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 1rem;
	}

	.order-step:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}
}

@media (max-width: 44rem) {
	.nav-links a:not(.button) {
		display: none;
	}

	.brand img {
		width: 8rem;
	}

	.hero-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-photo {
		justify-self: start;
		width: min(100%, 18rem);
		order: 2;
	}

	.fulfilment-grid,
	.menu-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.menu-grid {
		gap: 2.75rem;
	}

	.order-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.order-step,
	.order-step + .order-step {
		padding: 1.4rem 0 0;
		border-left: 0;
	}

	.hero .button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.button {
		transition: none;
	}

	.button:hover {
		transform: none;
	}
}
