/* =============================================================================
   Infinity Cuisine — one stylesheet for the whole site
   -----------------------------------------------------------------------------
   Every page links this file. Build new pages from the reusable pieces below
   instead of adding a page-specific stylesheet.

   1. Design tokens ........ brand colors, fonts, spacing (change the look here)
   2. Base & typography
   3. Layout ............... .container, .section, .section-head
   4. Buttons & links ...... .btn, .text-link, .chip
   5. Header & mobile menu . markup comes from js/site.js
   6. Heroes ............... .hero (home), .page-hero (every other page)
   7. Content blocks ....... cards, split, tiers, steps, mosaic, menu, gallery,
                             press, quote, stats, contact, form, CTA band
   8. Footer ............... markup comes from js/site.js
   9. Motion & lightbox
  10. First-visit preloader  markup comes from js/site.js
   ========================================================================== */

/* 1. Design tokens -------------------------------------------------------- */
:root {
	--ink: #0f0e0c;
	--ink-2: #181613;
	--ink-3: #26231f;
	--ivory: #f7f3ec;
	--sand: #eee6d8;
	--paper: #fffdf8;

	--text: #1c1a17;
	--muted: #686157;
	--line: rgba(28, 26, 23, 0.12);
	--on-dark: #f5efe5;
	--on-dark-muted: #b8ae9e;
	--line-dark: rgba(245, 239, 229, 0.14);

	--gold: #d4ac5a;
	--gold-light: #e8c987;
	--bronze: #7a5a20; /* gold that stays readable on light backgrounds */

	--font-display: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--container: 1200px;
	--gutter: clamp(20px, 5vw, 48px);
	--section-space: clamp(72px, 10vw, 128px);
	--radius: 16px;
	--radius-lg: 28px;
	--header-h: clamp(80px, 56px + 1.875vw, 92px); /* 80px up to 1280px wide, 92px from 1920px */
	--ease: cubic-bezier(0.22, 0.7, 0.2, 1);
	--shadow: 0 24px 60px -30px rgba(15, 14, 12, 0.45);

	--icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23686157' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

@media (max-width: 720px) {
	:root {
		--header-h: 68px;
	}
}

/* Dark surfaces re-map the color tokens, so every component below works on
   both light and dark backgrounds without extra rules. */
.section--dark,
.hero,
.page-hero,
.cta-band,
.contact-card,
.service-card,
.site-footer,
.mobile-nav {
	--text: var(--on-dark);
	--muted: var(--on-dark-muted);
	--line: var(--line-dark);
	--bronze: var(--gold);
	color: var(--text);
}

/* 2. Base & typography ---------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background: var(--ink);
	scrollbar-gutter: stable; /* no sideways jump when the menu/preloader locks scrolling */
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--ivory);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.nav-open,
body.lightbox-open {
	overflow: hidden;
}

img,
picture,
video,
iframe,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
h4 {
	font-weight: 400;
	line-height: 1.05;
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

::selection {
	background: var(--gold);
	color: var(--ink);
}

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

site-header,
site-footer {
	display: block;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 300;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--gold);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-160%);
	transition: transform 0.25s var(--ease);
}

.skip-link:focus {
	transform: none;
}

.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	color: var(--bronze);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}

.display {
	font-family: var(--font-display);
	font-size: clamp(3rem, 7.2vw, 6.25rem);
	line-height: 0.98;
	letter-spacing: -0.015em;
}

.h2 {
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 5vw, 4rem);
	line-height: 1.02;
	letter-spacing: -0.01em;
}

.h3 {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 2.6vw, 2.25rem);
	line-height: 1.1;
}

.display em,
.h2 em,
.h3 em,
.quote em {
	color: var(--bronze);
	font-style: italic;
}

.lead {
	max-width: 58ch;
	color: var(--muted);
	font-size: clamp(1.06rem, 1.4vw, 1.22rem);
	line-height: 1.6;
}

.prose {
	max-width: 62ch;
	color: var(--muted);
}

.prose p + p {
	margin-top: 1em;
}

.fine-print {
	margin-top: 32px;
	color: var(--muted);
	font-size: 0.92rem;
	text-align: center;
}

/* 3. Layout --------------------------------------------------------------- */
.container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

.container--narrow {
	--container: 880px;
}

.section {
	--surface: var(--ivory);
	padding-block: var(--section-space);
}

.section--tight {
	padding-block: clamp(48px, 7vw, 88px);
}

.section--flush-top {
	padding-top: 0;
}

.section--sand {
	--surface: var(--sand);
	background: var(--sand);
}

.section--dark {
	--surface: var(--ink);
	background: var(--ink);
}

.section-head {
	max-width: 760px;
	margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head .lead {
	margin-top: 20px;
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-head--center .lead {
	margin-inline: auto;
}

.section-head--center .eyebrow::after {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}

.section-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 64px;
	max-width: none;
}

.section-head--row > div {
	max-width: 680px;
}

.section-head--row > .lead {
	max-width: 44ch;
	margin-top: 0;
}

/* 4. Buttons & links ------------------------------------------------------ */
.btn {
	--btn-bg: var(--ink);
	--btn-fg: var(--on-dark);
	--btn-border: var(--btn-bg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid var(--btn-border);
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition:
		transform 0.35s var(--ease),
		background-color 0.25s,
		color 0.25s,
		border-color 0.25s;
}

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

.btn:active {
	transform: translateY(0);
}

.btn--dark:hover {
	--btn-bg: var(--ink-3);
}

.btn--gold {
	--btn-bg: var(--gold);
	--btn-fg: var(--ink);
}

.btn--gold:hover {
	--btn-bg: var(--gold-light);
}

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--text);
	--btn-border: currentColor;
}

.btn--ghost:hover {
	--btn-bg: color-mix(in srgb, currentColor 10%, transparent);
}

.btn--sm {
	min-height: 42px;
	padding: 0 20px;
	font-size: 0.875rem;
}

.btn--arrow::after,
.text-link::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--icon-arrow) center / contain no-repeat;
	mask: var(--icon-arrow) center / contain no-repeat;
	transition: transform 0.35s var(--ease);
}

.btn--arrow:hover::after,
.text-link:hover::after {
	transform: translateX(4px);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 32px;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition:
		background-color 0.25s,
		border-color 0.25s,
		color 0.25s;
}

.chip:hover {
	border-color: currentColor;
}

.chip.is-active {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--on-dark);
}

/* 5. Header & mobile menu (rendered by <site-header> in js/site.js) -------- */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	color: var(--on-dark);
	transition:
		background-color 0.4s,
		box-shadow 0.4s;
}

.site-header.is-scrolled {
	background: rgba(15, 14, 12, 0.84);
	-webkit-backdrop-filter: blur(16px) saturate(150%);
	backdrop-filter: blur(16px) saturate(150%);
	box-shadow: 0 1px 0 var(--line-dark);
}

.site-header.is-open {
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	box-shadow: none;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-right: auto;
	color: inherit;
	text-decoration: none;
}

/* Header sizes stay fixed up to 1280px wide, then grow smoothly to their
   large-screen size at 1920px so the nav stays in proportion on big monitors. */
.brand img {
	width: clamp(46px, 30px + 1.25vw, 54px);
	height: auto;
}

.brand span {
	font-family: var(--font-display);
	font-size: clamp(1.55rem, 1.025rem + 0.65625vw, 1.8rem);
	line-height: 1;
	white-space: nowrap;
}

.nav {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2.2vw, 36px);
}

.nav a {
	position: relative;
	padding: 8px 0;
	color: rgba(245, 239, 229, 0.78);
	font-size: clamp(0.9rem, 0.575rem + 0.40625vw, 1.0625rem);
	font-weight: 500;
	text-decoration: none;
	transition: color 0.25s;
}

.nav a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 2px;
	left: 0;
	height: 1px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
	color: var(--on-dark);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
	transform: scaleX(1);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: clamp(8px, 2vw, 24px);
}

.header-actions .btn {
	min-height: clamp(42px, 30px + 0.9375vw, 48px);
	padding-inline: clamp(20px, 8px + 0.9375vw, 26px);
	font-size: clamp(0.875rem, 0.625rem + 0.3125vw, 1rem);
}

.icon-link .icon {
	width: clamp(21px, 15px + 0.47vw, 24px);
	height: clamp(21px, 15px + 0.47vw, 24px);
}

.icon-link {
	display: inline-grid;
	place-items: center;
	width: clamp(42px, 30px + 0.9375vw, 48px);
	height: clamp(42px, 30px + 0.9375vw, 48px);
	border-radius: 50%;
	color: inherit;
	transition: background-color 0.25s;
}

.icon-link:hover {
	background: rgba(245, 239, 229, 0.1);
}

.menu-toggle {
	display: none;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--line-dark);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

/* Full-screen menu for phones and tablets. Text and spacing scale with the
   viewport HEIGHT as well as the width, so every link plus the booking/contact
   panel fits on screen at any size or orientation without scrolling.
   --vh is the smallest visible viewport height (svh) where supported, so the
   menu still fits while mobile browser toolbars are showing. */
.mobile-nav {
	--vh: 1vh;
	--mnav-size: clamp(1.45rem, min(10vw, calc(var(--vh) * 5.4)), 4.25rem);
	position: fixed;
	inset: 0;
	z-index: 90;
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	gap: clamp(16px, calc(var(--vh) * 3.5), 36px) clamp(32px, 6vw, 96px);
	padding: calc(var(--header-h) + clamp(4px, calc(var(--vh) * 2.5), 28px)) var(--gutter)
		max(clamp(16px, calc(var(--vh) * 3.5), 32px), env(safe-area-inset-bottom));
	overflow-y: auto; /* safety net only, e.g. very large browser text sizes */
	overscroll-behavior: contain;
	background: var(--ink);
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.4s var(--ease),
		visibility 0.4s;
}

@supports (height: 1svh) {
	.mobile-nav {
		--vh: 1svh;
	}
}

.mobile-nav.is-open {
	opacity: 1;
	visibility: visible;
}

.mobile-nav__links {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
}

.mobile-nav__links a {
	display: block;
	padding-block: calc(var(--mnav-size) * 0.08);
	color: var(--on-dark);
	font-family: var(--font-display);
	font-size: var(--mnav-size);
	line-height: 1.08;
	text-decoration: none;
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.5s var(--ease),
		transform 0.5s var(--ease),
		color 0.2s;
	transition-delay: calc(var(--i, 0) * 45ms);
}

.mobile-nav.is-open .mobile-nav__links a {
	opacity: 1;
	transform: none;
}

.mobile-nav__links a[aria-current="page"] {
	color: var(--gold);
}

.mobile-nav__footer {
	display: grid;
	align-content: center;
	justify-items: start;
	gap: clamp(10px, calc(var(--vh) * 2.2), 20px);
	padding-top: clamp(14px, calc(var(--vh) * 3), 28px);
	border-top: 1px solid var(--line-dark);
}

.mobile-nav__contact {
	display: grid;
	gap: 2px;
}

.mobile-nav__contact a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding-block: clamp(3px, calc(var(--vh) * 0.7), 6px);
	color: var(--on-dark-muted);
	font-size: 0.95rem;
	text-decoration: none;
	overflow-wrap: anywhere;
}

/* Wide or short screens (landscape phones, tablets, small laptop windows):
   links on the left, booking + contact panel on the right. */
@media (orientation: landscape) {
	.mobile-nav {
		--mnav-size: clamp(1.25rem, min(7vw, calc(var(--vh) * 8.2)), 4.25rem);
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: minmax(0, 1fr);
	}

	.mobile-nav__footer {
		align-self: center;
		padding: 0 0 0 clamp(20px, 4vw, 48px);
		border-top: 0;
		border-left: 1px solid var(--line-dark);
	}

	.mobile-nav__contact a {
		font-size: clamp(0.8rem, 2.2vw, 0.95rem);
	}
}

/* Short portrait phones: put the contact links side by side. */
@media (orientation: portrait) and (max-height: 640px) {
	.mobile-nav__contact {
		display: flex;
		flex-wrap: wrap;
		column-gap: 20px;
	}

	.mobile-nav__footer .btn {
		min-height: 44px;
	}
}

/* The menu has its own booking button, so hide the header one while it's open. */
.site-header.is-open .header-actions .btn {
	display: none;
}

@media (max-width: 1080px) {
	.nav,
	.header-actions .icon-link {
		display: none;
	}

	.menu-toggle {
		display: inline-grid;
	}
}

@media (min-width: 1081px) {
	.mobile-nav {
		display: none;
	}
}

@media (max-width: 560px) {
	.header-actions .btn {
		display: none;
	}

	.brand img {
		width: 40px;
	}

	.brand span {
		font-size: 1.35rem;
	}
}

/* 6. Heroes ---------------------------------------------------------------- */
.hero,
.page-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--ink);
}

.hero {
	min-height: 100vh;
	min-height: 100svh;
}

.page-hero {
	min-height: clamp(440px, 64vh, 620px);
}

.page-hero--full {
	min-height: 100vh;
	min-height: 100svh;
	align-items: center;
	text-align: center;
}

.hero__media,
.page-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hero__media img,
.page-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: hero-zoom 16s var(--ease) both;
}

@keyframes hero-zoom {
	from {
		transform: scale(1.08);
	}
	to {
		transform: scale(1);
	}
}

.hero::before,
.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(15, 14, 12, 0.78) 0%, rgba(15, 14, 12, 0.4) 50%, rgba(15, 14, 12, 0) 85%),
		linear-gradient(180deg, rgba(15, 14, 12, 0.6) 0%, rgba(15, 14, 12, 0.2) 40%, rgba(15, 14, 12, 0.92) 100%);
}

.page-hero--full::before {
	background: rgba(15, 14, 12, 0.72);
}

@media (max-width: 720px) {
	.hero::before,
	.page-hero::before {
		background: linear-gradient(180deg, rgba(15, 14, 12, 0.72) 0%, rgba(15, 14, 12, 0.62) 45%, rgba(15, 14, 12, 0.94) 100%);
	}
}

/* .container sets the width; these only add the vertical spacing. */
.hero__content {
	padding-block: calc(var(--header-h) + 72px) clamp(40px, 6vw, 72px);
}

.page-hero__content {
	padding-block: calc(var(--header-h) + 64px) clamp(48px, 7vw, 80px);
}

.hero .display {
	max-width: 13ch;
}

.page-hero .display {
	max-width: 15ch;
	font-size: clamp(2.9rem, 6.4vw, 5.25rem);
}

.hero .lead,
.page-hero .lead {
	margin-top: 26px;
}

.page-hero--full .display,
.page-hero--full .lead {
	margin-inline: auto;
}

.page-hero--full .btn-row,
.page-hero--full .chip-row {
	justify-content: center;
}

.hero__highlights {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: clamp(48px, 8vw, 96px);
	padding-top: 28px;
	border-top: 1px solid var(--line-dark);
}

.highlight__label {
	display: block;
	margin-bottom: 6px;
	color: var(--gold);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.highlight__value {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 1.8vw, 1.6rem);
	line-height: 1.15;
	text-decoration: none;
}

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

/* 7. Content blocks -------------------------------------------------------- */

/* Image cards that link somewhere (home page services) */
.card-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.service-card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(380px, 36vw, 500px);
	padding: 28px;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--ink);
	text-decoration: none;
}

.service-card img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease);
}

.service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(15, 14, 12, 0.5) 0%, rgba(15, 14, 12, 0) 20%, rgba(15, 14, 12, 0) 32%, rgba(15, 14, 12, 0.92) 100%);
}

.service-card:hover img {
	transform: scale(1.06);
}

.service-card__num {
	position: absolute;
	top: 24px;
	left: 28px;
	color: var(--gold);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
}

.service-card h3 {
	font-family: var(--font-display);
	font-size: 2.1rem;
}

.service-card p {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.service-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	color: var(--gold);
	font-size: 0.9rem;
	font-weight: 600;
}

.service-card__cta::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--icon-arrow) center / contain no-repeat;
	mask: var(--icon-arrow) center / contain no-repeat;
	transition: transform 0.35s var(--ease);
}

.service-card:hover .service-card__cta::after {
	transform: translateX(4px);
}

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

@media (max-width: 600px) {
	.card-grid {
		grid-template-columns: 1fr;
	}

	.service-card {
		min-height: 360px;
	}
}

/* Image + text side by side; add .split--reverse to flip */
.split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(40px, 7vw, 112px);
}

.split--reverse .split__media {
	order: 2;
}

.split__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius-lg);
}

.split__body .h2 + .lead,
.split__body .h2 + .prose {
	margin-top: 24px;
}

.split__body .btn-row,
.split__body > .text-link,
.split__body .checklist,
.split__body .stats {
	margin-top: 36px;
}

.media-stack {
	position: relative;
	padding: 0 14% 16% 0;
}

.media-stack img + img {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 50%;
	border: 8px solid var(--surface, var(--ivory));
	box-shadow: var(--shadow);
}

.service-rows {
	display: grid;
	gap: clamp(80px, 11vw, 144px);
}

.service-rows .split {
	scroll-margin-top: calc(var(--header-h) + 32px);
}

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

	.split--reverse .split__media {
		order: 0;
	}

	.split__media img {
		aspect-ratio: 4 / 3.6;
	}
}

.checklist {
	display: grid;
	gap: 12px;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.checklist li::before,
.tier__list li::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 0.25em;
	background: var(--bronze);
	-webkit-mask: var(--icon-check) center / contain no-repeat;
	mask: var(--icon-check) center / contain no-repeat;
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.stats strong {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 4vw, 3rem);
	font-weight: 400;
	line-height: 1;
}

.stats span {
	display: block;
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.4;
}

/* Catering packages */
.tiers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.tier {
	display: flex;
	flex-direction: column;
	padding: clamp(28px, 3vw, 40px);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, rgba(245, 239, 229, 0.05), rgba(245, 239, 229, 0.015));
	color: var(--on-dark);
	transition:
		border-color 0.3s,
		transform 0.5s var(--ease);
}

.tier:hover {
	border-color: rgba(212, 172, 90, 0.55);
	transform: translateY(-4px);
}

.tier__name {
	color: var(--gold);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.tier__price {
	margin-top: 18px;
	font-family: var(--font-display);
	font-size: clamp(3rem, 4.6vw, 4rem);
	line-height: 1;
}

.tier__unit {
	display: block;
	margin-top: 10px;
	color: var(--on-dark-muted);
	font-family: var(--font-body);
	font-size: 0.9rem;
}

.tier__list {
	margin-block: 28px 32px;
}

.tier__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding-block: 12px;
	border-top: 1px solid var(--line-dark);
}

.tier__list li::before {
	background: var(--gold);
}

.tier .btn {
	margin-top: auto;
}

@media (max-width: 960px) {
	.tiers {
		grid-template-columns: 1fr;
		max-width: 560px;
		margin-inline: auto;
	}
}

/* Numbered steps */
.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.step {
	padding: clamp(28px, 3vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
}

.step__num {
	display: block;
	color: var(--bronze);
	font-family: var(--font-display);
	font-size: 3.25rem;
	line-height: 1;
}

.step h3 {
	margin-top: 32px;
	font-family: var(--font-display);
	font-size: 1.85rem;
}

.step p {
	margin-top: 10px;
	color: var(--muted);
}

@media (max-width: 860px) {
	.steps {
		grid-template-columns: 1fr;
	}
}

/* Photo mosaic: first photo large, four small */
.mosaic {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(150px, 18vw, 250px);
	gap: 14px;
}

.mosaic > * {
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--surface, var(--sand));
}

.mosaic > :first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.mosaic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease);
}

.mosaic a:hover img {
	transform: scale(1.05);
}

@media (max-width: 720px) {
	.mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 150px;
	}
}

/* Simple photo grid */
.photo-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.photo-grid img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
}

@media (min-width: 801px) {
	.photo-grid > :nth-child(even) {
		margin-top: 48px;
	}
}

/* Food menu */
.menu-wrap {
	position: relative;
}

.menu-nav {
	position: sticky;
	top: var(--header-h);
	z-index: 20;
	border-bottom: 1px solid var(--line);
	background: color-mix(in srgb, var(--ivory) 96%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.menu-nav ul {
	display: flex;
	gap: 8px;
	padding-block: 14px;
	overflow-x: auto;
	scrollbar-width: none;
}

.menu-nav ul::-webkit-scrollbar {
	display: none;
}

.menu-category {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
	gap: clamp(28px, 6vw, 96px);
	padding-block: clamp(56px, 8vw, 96px);
	border-top: 1px solid var(--line);
	scroll-margin-top: calc(var(--header-h) + 72px);
}

.menu-category:first-child {
	border-top: 0;
}

.menu-category__head {
	position: sticky;
	top: calc(var(--header-h) + 100px);
	align-self: start;
}

.menu-category__count {
	display: block;
	margin-top: 12px;
	color: var(--muted);
	font-size: 0.92rem;
}

.menu-category__head img {
	width: 100%;
	margin-top: 28px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius-lg);
}

.menu-items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(28px, 4vw, 56px);
	align-content: start;
}

.menu-item {
	padding-block: 24px;
	border-bottom: 1px solid var(--line);
}

.menu-item h3 {
	font-family: var(--font-display);
	font-size: 1.7rem;
	line-height: 1.15;
}

.menu-item p {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.6;
}

.menu-item__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.menu-item__price {
	flex: none;
	color: var(--bronze);
	font-weight: 700;
}

.menu-item__label {
	display: block;
	margin-bottom: 8px;
	color: var(--bronze);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.menu-items--single {
	grid-template-columns: 1fr;
}

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

	.menu-category__head {
		position: static;
	}

	.menu-category__head img {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 640px) {
	.menu-items {
		grid-template-columns: 1fr;
	}
}

/* Masonry gallery (photos open in the lightbox) */
.gallery {
	columns: 3 280px;
	column-gap: 16px;
}

.gallery__item {
	display: block;
	position: relative;
	margin: 0 0 16px;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--sand);
	break-inside: avoid;
}

.gallery__item img {
	width: 100%;
	transition: transform 0.9s var(--ease);
}

a.gallery__item:hover img {
	transform: scale(1.04);
}

.gallery__item--video {
	aspect-ratio: var(--ratio, 9 / 16);
	background: var(--ink);
}

.gallery__item--video iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 640px) {
	.gallery {
		columns: 2;
		column-gap: 10px;
	}

	.gallery__item {
		margin-bottom: 10px;
		border-radius: 12px;
	}
}

/* Press & news */
.press-list {
	display: grid;
	gap: 24px;
}

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

.press-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(24px, 5vw, 64px);
	padding: clamp(14px, 2vw, 22px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
}

.press-card__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius);
}

.press-card__body {
	padding: clamp(8px, 2vw, 24px) clamp(8px, 2vw, 24px) clamp(8px, 2vw, 24px) 0;
}

.press-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	color: var(--bronze);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.press-card h2,
.press-card h3 {
	margin-top: 14px;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	line-height: 1.08;
}

.press-card p:not(.press-card__meta) {
	margin-top: 14px;
	color: var(--muted);
}

.press-card .text-link {
	margin-top: 24px;
}

.press-card--stacked {
	grid-template-columns: 1fr;
	align-content: start;
	gap: 8px;
}

.press-card--stacked .press-card__body {
	padding: 12px 10px 14px;
}

.press-card--stacked h3 {
	font-size: clamp(1.6rem, 2.4vw, 2rem);
}

@media (max-width: 800px) {
	.press-card,
	.press-grid {
		grid-template-columns: 1fr;
	}

	.press-card__body {
		padding: 8px 8px 14px;
	}
}

/* Big centered quote */
.quote {
	max-width: 21ch;
	margin-inline: auto;
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 5vw, 4.25rem);
	line-height: 1.1;
	text-align: center;
}

.quote::before {
	content: "\201C";
	display: block;
	margin-bottom: 0.15em;
	color: var(--gold);
	font-size: 1.6em;
	line-height: 0.6;
}

.quote-cite {
	margin-top: 32px;
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-align: center;
	text-transform: uppercase;
}

/* Contact page */
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: start;
	gap: clamp(28px, 5vw, 64px);
}

.contact-card {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	padding: clamp(28px, 4vw, 44px);
	border-radius: var(--radius-lg);
	background: var(--ink);
}

.contact-card > p {
	margin-top: 12px;
	color: var(--muted);
}

.contact-list {
	margin-top: 28px;
}

.contact-list a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-block: 16px;
	border-top: 1px solid var(--line);
	text-decoration: none;
}

.contact-list small {
	display: block;
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.contact-list strong {
	display: block;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.icon-badge {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(212, 172, 90, 0.14);
	color: var(--gold);
}

.contact-card__note {
	margin-top: 28px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--muted);
	font-size: 0.95rem;
}

.contact-card__note .text-link {
	margin-top: 12px;
	color: var(--gold);
}

@media (max-width: 920px) {
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.contact-card {
		position: static;
		order: 2;
	}
}

/* Forms */
.form-card {
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
	scroll-margin-top: calc(var(--header-h) + 24px);
}

.form-card > p {
	margin-top: 10px;
	color: var(--muted);
}

.form {
	display: grid;
	gap: 20px;
	margin-top: 32px;
}

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

.field {
	display: grid;
	align-content: start;
	gap: 8px;
}

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

.field label {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.field .optional {
	color: var(--muted);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	border: 1px solid rgba(28, 26, 23, 0.18);
	border-radius: 14px;
	background: var(--ivory);
	color: var(--text);
	font-size: 1rem;
	line-height: 1.4;
	-webkit-appearance: none;
	appearance: none;
	transition:
		border-color 0.2s,
		box-shadow 0.2s,
		background-color 0.2s;
}

.field textarea {
	min-height: 160px;
	resize: vertical;
	line-height: 1.55;
}

.field select {
	padding-right: 44px;
	background-image: var(--icon-chevron);
	background-position: right 16px center;
	background-repeat: no-repeat;
	background-size: 16px;
}

.field input[type="date"] {
	text-align: left;
}

.field input::-webkit-date-and-time-value {
	text-align: left;
}

.field input::placeholder,
.field textarea::placeholder {
	color: #948c80;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--bronze);
	outline: none;
	background-color: var(--paper);
	box-shadow: 0 0 0 4px rgba(212, 172, 90, 0.22);
}

.form .btn {
	justify-self: start;
}

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

.honeypot {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (max-width: 600px) {
	.form-grid {
		grid-template-columns: 1fr;
	}

	.form .btn {
		justify-self: stretch;
	}
}

/* Call-to-action banner */
.cta-band {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) auto;
	align-items: end;
	gap: 32px 48px;
	padding: clamp(36px, 7vw, 88px);
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--ink);
}

.cta-band::before {
	content: "";
	position: absolute;
	top: -280px;
	right: -200px;
	z-index: -1;
	width: 680px;
	height: 680px;
	background: radial-gradient(closest-side, rgba(212, 172, 90, 0.3), transparent);
}

.cta-band .h2 {
	max-width: 22ch;
}

.cta-band .lead {
	margin-top: 18px;
}

.cta-band .btn-row {
	justify-content: flex-end;
	margin-top: 0;
}

@media (max-width: 860px) {
	.cta-band {
		grid-template-columns: 1fr;
	}

	.cta-band .btn-row {
		justify-content: flex-start;
	}
}

/* 8. Footer (rendered by <site-footer> in js/site.js) --------------------- */
.site-footer {
	padding-top: clamp(64px, 9vw, 112px);
	overflow: hidden;
	background: var(--ink);
}

.footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 48px 32px;
}

.footer-brand .brand {
	margin-right: 0;
}

.footer-brand p {
	max-width: 30ch;
	margin-top: 22px;
	color: var(--muted);
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-style: italic;
	line-height: 1.35;
}

.footer-brand .btn {
	margin-top: 28px;
}

.footer-title {
	margin-bottom: 18px;
	color: var(--gold);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.footer-links {
	display: grid;
	gap: 10px;
}

.footer-links a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--muted);
	font-size: 0.95rem;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: color 0.2s;
}

.footer-links a:hover {
	color: var(--text);
}

.footer-wordmark {
	margin-top: clamp(56px, 8vw, 96px);
	color: transparent;
	font-family: var(--font-display);
	font-size: clamp(3rem, 13.2vw, 11.5rem);
	letter-spacing: -0.02em;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	-webkit-text-stroke: 1px rgba(245, 239, 229, 0.2);
	-webkit-user-select: none;
	user-select: none;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 28px;
	padding-block: 28px max(28px, env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.85rem;
}

.to-top {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.to-top:hover {
	color: var(--text);
}

@media (max-width: 960px) {
	.footer-top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.footer-top {
		grid-template-columns: 1fr;
	}
}

/* 9. Motion & lightbox ---------------------------------------------------- */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 1s var(--ease),
		transform 1s var(--ease);
	transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

.lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(10, 9, 8, 0.95);
	color: var(--on-dark);
}

.lightbox[open] {
	display: grid;
	place-items: center;
}

.lightbox::backdrop {
	background: rgba(10, 9, 8, 0.6);
}

.lightbox figure {
	display: grid;
	justify-items: center;
	gap: 14px;
	max-width: 100%;
	padding: 76px 84px 28px;
}

.lightbox img {
	width: auto;
	max-width: min(1100px, 100%);
	max-height: calc(100dvh - 170px);
	border-radius: 12px;
	object-fit: contain;
}

.lightbox figcaption {
	color: var(--on-dark-muted);
	font-size: 0.92rem;
	text-align: center;
}

.lightbox__btn {
	position: fixed;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid var(--line-dark);
	border-radius: 50%;
	background: rgba(15, 14, 12, 0.6);
	color: var(--on-dark);
	cursor: pointer;
	transition: background-color 0.2s;
}

.lightbox__btn:hover {
	background: rgba(245, 239, 229, 0.12);
}

.lightbox__close {
	top: 20px;
	right: 20px;
}

.lightbox__prev,
.lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__prev {
	left: 20px;
}

.lightbox__next {
	right: 20px;
}

@media (max-width: 640px) {
	.lightbox figure {
		padding: 76px 12px 96px;
	}

	.lightbox__prev,
	.lightbox__next {
		top: auto;
		bottom: 24px;
		transform: none;
	}

	.lightbox__prev {
		left: calc(50% - 64px);
	}

	.lightbox__next {
		right: calc(50% - 64px);
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* 10. First-visit preloader (created by js/site.js once per browser session) */
html.is-preloading {
	overflow: hidden;
}

html.is-preloading body {
	background: var(--ink);
}

/* Hold the hero photo zoom until the intro lifts. */
html.is-preloading .hero__media img,
html.is-preloading .page-hero__media img {
	animation-play-state: paused;
}

.preloader {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: var(--ink);
	color: var(--on-dark);
}

.preloader::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(90vmax, 900px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(212, 172, 90, 0.14), transparent);
	transform: translate(-50%, -50%) scale(0.6);
	opacity: 0;
	animation: preloader-glow 1.6s var(--ease) 0.2s forwards;
}

.preloader__inner {
	position: relative;
	display: grid;
	justify-items: center;
	gap: clamp(18px, 3vh, 26px);
}

.preloader__mark {
	position: relative;
	width: clamp(120px, 22vw, 168px);
	aspect-ratio: 240 / 107;
}

.preloader__mark svg,
.preloader__mark img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.preloader__mark svg {
	overflow: visible;
}

/* A gold line draws the infinity symbol... */
.preloader__mark path {
	fill: none;
	stroke: var(--gold);
	stroke-width: 0.55;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: var(--len, 60);
	stroke-dashoffset: var(--len, 60);
	animation: preloader-draw 1.45s cubic-bezier(0.65, 0, 0.35, 1) 0.1s forwards;
}

/* ...then the real logo takes its place. */
.preloader__mark img {
	object-fit: contain;
	opacity: 0;
	transform: scale(0.94);
	animation: preloader-fade-up 0.6s var(--ease) 0.95s forwards;
}

.preloader__word {
	display: flex;
	margin-right: -0.42em; /* balance the trailing letter-spacing so the word stays centered */
	color: var(--on-dark);
	font-size: clamp(0.7rem, 1.6vw, 0.8rem);
	font-weight: 600;
	letter-spacing: 0.42em;
	text-transform: uppercase;
}

.preloader__word span {
	display: inline-block;
	opacity: 0;
	transform: translateY(10px);
	animation: preloader-fade-up 0.55s var(--ease) forwards;
	animation-delay: calc(0.9s + var(--i, 0) * 28ms);
}

.preloader__bar {
	position: relative;
	width: clamp(96px, 16vw, 128px);
	height: 1px;
	overflow: hidden;
	background: var(--line-dark);
}

.preloader__bar::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	animation: preloader-bar 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}

/* Exit: the content drifts up and the whole panel lifts like a curtain. */
.preloader.is-leaving {
	animation: preloader-lift 0.85s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.preloader.is-leaving .preloader__inner {
	animation: preloader-inner-out 0.5s var(--ease) forwards;
}

@keyframes preloader-draw {
	70% {
		stroke-dashoffset: 0;
		opacity: 1;
	}
	100% {
		stroke-dashoffset: 0;
		opacity: 0;
	}
}

@keyframes preloader-fade-up {
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes preloader-bar {
	to {
		transform: scaleX(1);
	}
}

@keyframes preloader-glow {
	to {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

@keyframes preloader-inner-out {
	to {
		opacity: 0;
		transform: translateY(-40px);
	}
}

@keyframes preloader-lift {
	to {
		transform: translateY(-100%);
	}
}
