/* ==========================================================================
   Keyton Energy: design system
   Dark bitumen ink, flame orange and yellow, steel grey from the logo drop.
   ========================================================================== */

:root {
	--ink-950: #070605;
	--ink-900: #0b0907;
	--ink-800: #13100c;
	--ink-700: #1d1812;
	--ink-600: #2a221a;
	--flame-100: #fff6d6;
	--flame-200: #ffe7a3;
	--flame-300: #ffd36b;
	--flame-400: #ffb433;
	--flame-500: #f7941d;
	--flame-600: #e2611c;
	--flame-700: #c7401b;
	--steel-200: #e4e5e7;
	--steel-400: #a7aaae;
	--steel-600: #5d6065;
	--text: #f1e8da;
	--muted: #b3a690;
	--line: rgba(255, 180, 51, .18);
	--line-2: rgba(255, 211, 107, .32);
	--flame-grad: linear-gradient(115deg, #fff1b8 0%, #ffd36b 22%, #ffb433 45%, #f7941d 68%, #e2611c 100%);
	--steel-grad: linear-gradient(160deg, #eceef0, #8b8e93 55%, #2b2c2f);
	--ease: cubic-bezier(.2, .7, .1, 1);
	--ease-io: cubic-bezier(.7, 0, .2, 1);
	--hdr: 64px;
	--wrap: 1220px;
	--gut: clamp(16px, 4vw, 40px);
	--r: 14px;
	--f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-head: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
	--f-serif: "Instrument Serif", Georgia, serif;
	--f-brand: "Cinzel", "Trajan Pro", Georgia, serif;
	color-scheme: dark;
}

@property --a {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

/* -------------------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
	margin: 0;
	min-height: 100vh;
	background: var(--ink-900);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--flame-400); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--flame-300); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--flame-400); color: var(--ink-900); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.site-main { position: relative; z-index: 1; overflow-x: clip; }
section { position: relative; padding-block: clamp(72px, 10vw, 140px); }

/* Fallback background when WebGL is missing. */
html.no-scenery body,
html.no-js body {
	background:
		radial-gradient(1200px 700px at 85% -10%, rgba(247, 148, 29, .16), transparent 60%),
		radial-gradient(900px 600px at -10% 40%, rgba(199, 64, 27, .12), transparent 60%),
		linear-gradient(180deg, #0f0c09, #080706 70%);
	background-attachment: fixed;
}

/* -------------------------------------------------------------------------- living background */

.scenery { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.scenery canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
html.scenery-on .scenery canvas { opacity: 1; }
html.no-scenery .scenery { display: none; }

/* -------------------------------------------------------------------------- type */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	font-family: var(--f-body);
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--flame-300);
}
.eyebrow::before {
	content: "";
	width: .55em;
	height: .75em;
	background: var(--flame-grad);
	border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
	transform: rotate(180deg);
	flex: none;
}
.flame-text {
	background: var(--flame-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-title {
	margin-top: 14px;
	font-family: var(--f-head);
	font-weight: 800;
	font-size: clamp(2.5rem, 6vw, 4.6rem);
	line-height: .95;
	letter-spacing: .005em;
	text-transform: uppercase;
	color: var(--text);
}
.sec-title em,
.ph-title em,
.finale-title em,
.motto-text em {
	font-family: var(--f-serif);
	font-style: italic;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	background: var(--flame-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	padding-right: .06em;
}
.sec-line { margin-top: 16px; color: var(--muted); font-size: 1.06rem; max-width: 56ch; }
.lead { font-size: 1.15rem; color: var(--text); max-width: 60ch; }
.pt-label {
	font-family: var(--f-head);
	font-weight: 800;
	font-size: .95rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--flame-400);
	white-space: nowrap;
}

/* -------------------------------------------------------------------------- buttons */

.btn {
	--bev: 10px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	font-weight: 700;
	font-size: .98rem;
	letter-spacing: .02em;
	border-radius: var(--bev);
	corner-shape: bevel;
	transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .3s, color .3s;
	white-space: nowrap;
	isolation: isolate;
}
.btn .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-flame {
	color: #1b0e03;
	background: var(--flame-grad);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), inset 0 0 0 4px rgba(255, 246, 214, .0), 0 6px 0 #a13d10, 0 14px 30px -10px rgba(247, 148, 29, .7);
}
.btn-flame::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: calc(var(--bev) - 4px);
	corner-shape: bevel;
	border: 1px solid rgba(80, 30, 0, .22);
	pointer-events: none;
}
.btn-flame:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 8px 0 #a13d10, 0 20px 40px -12px rgba(247, 148, 29, .85); }
.btn-flame:active { transform: translateY(5px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 1px 0 #a13d10, 0 6px 16px -8px rgba(247, 148, 29, .6); }
.btn-glass {
	color: var(--text);
	background: rgba(255, 246, 214, .06);
	box-shadow: inset 0 0 0 1px var(--line-2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 211, 107, .12); color: var(--flame-200); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-sm.btn-flame { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 4px 0 #a13d10, 0 10px 22px -10px rgba(247, 148, 29, .7); }
.btn-sm.btn-flame:active { transform: translateY(3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 1px 0 #a13d10; }

.ibtn {
	position: relative;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: inline-grid;
	place-items: center;
	color: var(--flame-200);
	background: radial-gradient(circle at 50% 35%, #2c2318, #120f0b 70%);
	isolation: isolate;
	transition: color .3s, box-shadow .3s, transform .2s var(--ease);
}
.ibtn::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	padding: 1.5px;
	background: conic-gradient(from var(--a), #ffd36b, #f7941d 25%, rgba(247, 148, 29, .1) 50%, #ffb433 75%, #ffd36b);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	animation: ring-spin 6s linear infinite;
	z-index: -1;
}
.ibtn .ico { width: 20px; height: 20px; }
.ibtn:hover { color: #fff; box-shadow: 0 0 22px -2px rgba(247, 148, 29, .6); }
.ibtn:active { transform: scale(.94); }
@keyframes ring-spin { to { --a: 360deg; } }

.linkbtn { display: inline-flex; align-items: center; gap: 8px; color: var(--flame-200); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.linkbtn:hover { color: var(--flame-300); }

/* -------------------------------------------------------------------------- header */

.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 60;
	height: var(--hdr);
	transition: height .35s var(--ease), background .35s, box-shadow .35s;
	animation: hdr-in .9s var(--ease) .1s backwards;
}
/* backwards, not both: a filter left on the header would trap fixed children. */
@keyframes hdr-in { from { opacity: 0; transform: translateY(-14px); filter: blur(8px); } }
html.intro-run .site-header { animation: none; opacity: 0; }
html.intro-done .site-header { animation: hdr-in .9s var(--ease) backwards; opacity: 1; }
.site-header.is-scrolled {
	--hdr: 56px;
	background: linear-gradient(180deg, rgba(11, 9, 7, .88), rgba(11, 9, 7, .7));
	backdrop-filter: blur(14px) saturate(1.2);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	box-shadow: 0 1px 0 var(--line);
}
html.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
.hdr-inner { height: 100%; width: min(100% - 2 * var(--gut), 1320px); margin-inline: auto; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 30px; height: auto; filter: drop-shadow(0 4px 10px rgba(247, 148, 29, .45)); }
.wordmark { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-brand); }
.wordmark b { font-size: 1.12rem; font-weight: 800; letter-spacing: .16em; color: var(--text); }
.wordmark i {
	font-style: normal;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .5em;
	margin-top: 4px;
	background: var(--flame-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.main-nav {
	position: relative;
	margin-inline: auto;
	padding: 5px;
	border-radius: 999px;
	background: rgba(255, 246, 214, .05);
	box-shadow: inset 0 0 0 1px var(--line);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.main-nav .nav-list { display: flex; gap: 2px; position: relative; z-index: 1; }
.main-nav a { display: block; padding: 8px 20px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--muted); transition: color .3s; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--ink-900); }
.main-nav a:hover { color: var(--flame-200); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: #1b0e03; }
.nav-ind {
	position: absolute;
	top: 5px;
	bottom: 5px;
	left: 0;
	width: 0;
	border-radius: 999px;
	background: var(--flame-grad);
	box-shadow: 0 6px 18px -6px rgba(247, 148, 29, .8);
	transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
	opacity: 0;
}
.nav-ind.on { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.burger { display: none; width: 44px; height: 44px; position: relative; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--flame-200); transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
html.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
html.menu-open .burger span:nth-child(2) { opacity: 0; }
html.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 55;
	display: grid;
	place-items: center;
	padding: 90px 22px 110px;
	background:
		radial-gradient(600px 420px at 50% 20%, rgba(247, 148, 29, .22), transparent 70%),
		linear-gradient(180deg, #17120d, #0a0806);
	opacity: 0;
	transition: opacity .35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
html.menu-open .mobile-menu { opacity: 1; }
.mm-frame {
	width: min(100%, 420px);
	padding: 42px 26px;
	text-align: center;
	border: 1px solid var(--line-2);
	outline: 1px solid var(--line);
	outline-offset: 6px;
	border-radius: 18px;
	display: grid;
	gap: 22px;
	justify-items: center;
}
.mm-list { display: grid; gap: 6px; }
.mm-list a { font-family: var(--f-head); font-weight: 800; font-size: 2.4rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text); }
.mm-list .current-menu-item a, .mm-list .current_page_item a, .mm-list a:hover { color: var(--flame-300); }
.mm-tag { font-family: var(--f-serif); font-style: italic; color: var(--muted); margin: 0; font-size: 1.15rem; }

/* -------------------------------------------------------------------------- intro */

.intro {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	place-items: center;
	background: radial-gradient(circle at 50% 45%, #1d1610, #090706 70%);
	cursor: pointer;
	clip-path: circle(150% at 50% 62%);
}
html.intro-run .intro { display: grid; animation: intro-failsafe 0s linear 8s forwards; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.intro-glow { position: absolute; width: 60vmin; height: 60vmin; border-radius: 50%; background: radial-gradient(circle, rgba(247, 148, 29, .28), transparent 65%); filter: blur(10px); animation: glow-breathe 2.4s ease-in-out infinite; }
@keyframes glow-breathe { 50% { transform: scale(1.12); opacity: .7; } }
.intro-stage { position: relative; display: grid; justify-items: center; gap: 26px; }
.intro-mark { width: 120px; height: auto; overflow: visible; }
.intro-mark .if-drop { transform-box: fill-box; transform-origin: 50% 0; }
.intro-read { display: grid; justify-items: center; gap: 10px; }
.intro-num { font-family: var(--f-head); font-weight: 800; font-size: 2.6rem; letter-spacing: .04em; color: var(--flame-200); font-variant-numeric: tabular-nums; min-width: 4.5ch; text-align: center; }
.intro-bar { width: 180px; height: 3px; border-radius: 3px; background: rgba(255, 211, 107, .14); overflow: hidden; }
.intro-bar i { display: block; height: 100%; width: 100%; background: var(--flame-grad); transform-origin: 0 50%; transform: scaleX(0); }
.intro-cap { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.intro-skip { position: absolute; bottom: 28px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(179, 166, 144, .6); }
.intro.is-opening { animation: intro-open 1.1s var(--ease-io) forwards; }
@keyframes intro-open { to { clip-path: circle(0% at 50% 62%); } }
.intro.is-opening .intro-read, .intro.is-opening .intro-skip { opacity: 0; transition: opacity .3s; }
.intro-mark.is-docking { transition: transform .9s var(--ease-io); }
html.seen .intro { display: none; }

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

.hero { min-height: 100svh; padding: calc(var(--hdr) + 40px) 0 90px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -1; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.is-on { opacity: 1; }
.hero-slide.is-on img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(1%, 0, 0); } to { transform: scale(1.02) translate3d(-1%, -1%, 0); } }
.hero-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(11, 9, 7, .65) 0%, rgba(11, 9, 7, .15) 30%, rgba(11, 9, 7, .55) 62%, var(--ink-900) 100%),
		linear-gradient(90deg, rgba(11, 9, 7, .78) 0%, rgba(11, 9, 7, .2) 65%, transparent);
}
.hero-body { position: relative; }
.hero-over { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.hero-title { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(3.2rem, 10vw, 8.6rem); line-height: .86; letter-spacing: .005em; max-width: 12ch; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .ln > span { display: inline-block; }
.hero-title .flame-text { display: block; }
.hero-title .flame-text > span {
	background: var(--flame-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
html.js .ln > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
html.js .lines-on .ln > span { transform: none; }
html.js .lines-on .ln:nth-child(2) > span { transition-delay: .12s; }
html.js .lines-on .ln:nth-child(3) > span { transition-delay: .24s; }
html.js .lines-on .ln:nth-child(4) > span { transition-delay: .36s; }
.hero-lead { max-width: 58ch; margin: 26px 0 32px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(241, 232, 218, .88); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; }
.hero-dots button { display: flex; align-items: center; gap: 10px; justify-content: flex-end; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(241, 232, 218, .5); }
.hero-dots button::after { content: ""; width: 3px; height: 26px; border-radius: 3px; background: rgba(255, 211, 107, .25); transition: height .5s var(--ease), background .4s; }
.hero-dots button span { opacity: 0; transform: translateX(6px); transition: opacity .4s, transform .4s var(--ease); }
.hero-dots button.is-on { color: var(--flame-200); }
.hero-dots button.is-on::after { height: 48px; background: var(--flame-grad); }
.hero-dots button.is-on span, .hero-dots button:hover span { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------- pledges */

.pledges { padding-top: 40px; }
.pledges .wrap { position: relative; }
.thread { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 120px; transform: translateY(-50%); overflow: visible; }
.thread path { fill: none; stroke: var(--flame-400); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; transition: stroke-dashoffset 2.4s var(--ease); }
.pledges.is-in .thread path { stroke-dashoffset: 0; }
.bubbles { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.4vw, 30px); }
.bubble {
	position: relative;
	aspect-ratio: 1;
	border-radius: 50%;
	display: grid;
	align-content: center;
	justify-items: center;
	text-align: center;
	padding: 14%;
	background:
		radial-gradient(circle at 35% 25%, rgba(255, 211, 107, .16), transparent 55%),
		radial-gradient(circle at 50% 120%, rgba(226, 97, 28, .22), transparent 60%),
		radial-gradient(circle, #1c1611, #0d0b08 72%);
	box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -18px 40px -20px rgba(247, 148, 29, .35), 0 30px 60px -30px rgba(0, 0, 0, .9);
	overflow: hidden;
}
.bubble::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: repeating-radial-gradient(circle at 70% 80%, rgba(255, 180, 51, .05) 0 2px, transparent 2px 9px);
	mix-blend-mode: screen;
	pointer-events: none;
}
.bub-label { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--flame-300); }
.bub-big { font-family: var(--f-head); font-weight: 900; font-size: clamp(2rem, 4vw, 3.4rem); text-transform: uppercase; line-height: 1; margin: 6px 0 10px; background: var(--flame-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.bub-text { font-size: clamp(.78rem, 1.05vw, .92rem); line-height: 1.5; color: var(--muted); }

/* -------------------------------------------------------------------------- grade ring */

.ring-sec { padding-bottom: 60px; overflow: hidden; }
.ring {
	position: relative;
	height: 230px;
	perspective: 1300px;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.ring.is-drag { cursor: grabbing; }
.ring-track { position: absolute; left: 50%; top: 44%; width: 0; height: 0; transform-style: preserve-3d; }
.ring-item {
	position: absolute;
	left: -125px;
	top: -46px;
	width: 250px;
	height: 92px;
	display: grid;
	place-content: center;
	text-align: center;
	clip-path: polygon(9% 0, 91% 0, 100% 50%, 91% 100%, 9% 100%, 0 50%);
	background: linear-gradient(180deg, #2a2118, #120e0a);
	backface-visibility: hidden;
}
.ring-item::before {
	content: "";
	position: absolute;
	inset: 1px;
	clip-path: polygon(9% 0, 91% 0, 100% 50%, 91% 100%, 9% 100%, 0 50%);
	background: linear-gradient(180deg, #221b14, #0e0b08);
	z-index: -1;
}
.ring-item { isolation: isolate; background: linear-gradient(90deg, rgba(255, 211, 107, .55), rgba(247, 148, 29, .8), rgba(255, 211, 107, .55)); }
.ring-item b { font-family: var(--f-head); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--flame-200); letter-spacing: .04em; }
.ring-item span { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.ring-hint { text-align: center; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }

/* -------------------------------------------------------------------------- why the UAE */

.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.route-card { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), inset 0 0 0 1px var(--line); isolation: isolate; }
.route-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.route-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(11, 9, 7, .1), rgba(11, 9, 7, .75)); z-index: -1; }
.route { position: absolute; inset: 8% 6%; width: 88%; height: 84%; overflow: visible; }
.route path { fill: none; stroke: var(--flame-300); stroke-width: 2; stroke-dasharray: .012 .014; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(247, 148, 29, .9)); }
.route circle { fill: var(--flame-400); filter: drop-shadow(0 0 8px var(--flame-500)); }
.route-ship {
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #1b0e03;
	background: var(--flame-grad);
	box-shadow: 0 0 0 6px rgba(247, 148, 29, .2), 0 10px 20px -6px rgba(0, 0, 0, .8);
	opacity: 0;
	will-change: transform;
}
.route-ship .ico { width: 20px; height: 20px; }
.route-badge {
	position: absolute;
	left: 18px;
	bottom: 18px;
	right: 18px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 18px;
	border-radius: 12px;
	background: rgba(11, 9, 7, .62);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: inset 0 0 0 1px var(--line-2);
	font-size: .95rem;
}
.route-badge b { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--flame-300); }
.why-points { display: grid; gap: 22px; }
.why-points li, .proc-list li { display: grid; grid-template-columns: 108px 1fr; gap: 18px; align-items: start; padding-top: 18px; border-top: 1px solid var(--line); }
.why-points h3, .proc-list h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.why-points p, .proc-list p { color: var(--muted); margin: 0; }

/* -------------------------------------------------------------------------- photo bands */

.photo-band { isolation: isolate; overflow: hidden; }
.band-photo { position: absolute; inset: 0; z-index: -1; }
.band-photo img { width: 100%; height: 120%; object-fit: cover; transform: translateY(var(--par, 0px)); opacity: .5; }
.band-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, var(--ink-900) 0%, rgba(11, 9, 7, .55) 22%, rgba(11, 9, 7, .55) 78%, var(--ink-900) 100%), radial-gradient(ellipse at 50% 50%, transparent, rgba(11, 9, 7, .55));
}

/* -------------------------------------------------------------------------- gates and terms */

.gate-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gate, .term {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	text-align: left;
	min-height: 330px;
	padding: 86px 22px 24px;
	border-radius: 160px 160px 16px 16px;
	background: linear-gradient(180deg, rgba(42, 33, 24, .82), rgba(13, 11, 8, .92));
	box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, .9);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: transform .5s var(--ease), box-shadow .4s;
	overflow: hidden;
}
.gate-arch { position: absolute; left: 50%; top: 18px; width: 52px; height: 52px; margin-left: -26px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; transform: rotate(180deg); background: var(--flame-grad); box-shadow: 0 0 30px rgba(247, 148, 29, .55); transition: transform .6s var(--ease); }
.gate:hover .gate-arch { transform: rotate(180deg) scale(1.12) translateY(4px); }
.gate:hover, .term:hover { box-shadow: inset 0 0 0 1px var(--flame-400), 0 40px 70px -30px rgba(247, 148, 29, .45); }
.gate-label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--flame-300); }
.gate-title { font-family: var(--f-head); font-weight: 800; font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.gate-short { font-size: .92rem; color: var(--muted); line-height: 1.55; }
.gate-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--flame-200); }
.gate-more .ico { width: 16px; height: 16px; }
.terms-head { display: flex; align-items: flex-end; gap: 26px; }
.terms-head .sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.medal.terms-medal { width: 96px; height: 96px; margin-bottom: clamp(32px, 5vw, 56px); flex: none; }
.term-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.term { border-radius: 18px; padding-top: 30px; min-height: 290px; }
.term-code { font-family: var(--f-head); font-weight: 900; font-size: 4.2rem; line-height: .9; background: var(--flame-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* -------------------------------------------------------------------------- products */

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	overflow: hidden;
	background: linear-gradient(180deg, #1a1510, #0e0b08);
	box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -34px rgba(0, 0, 0, .95);
	transition: transform .5s var(--ease), box-shadow .4s;
}
.prod-card:hover { box-shadow: inset 0 0 0 1px var(--flame-400), 0 40px 70px -30px rgba(247, 148, 29, .4); }
.prod-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.prod-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prod-card:hover .prod-photo img { transform: scale(1.07); }
.prod-body { position: relative; display: grid; gap: 6px; padding: 22px 70px 24px 22px; }
.prod-tag { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--flame-300); }
.prod-name { font-family: var(--f-head); font-weight: 800; font-size: 1.85rem; line-height: 1; text-transform: uppercase; }
.prod-grades { font-family: var(--f-serif); font-style: italic; color: var(--muted); font-size: 1.08rem; }
.prod-go { position: absolute; right: 20px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #1b0e03; background: var(--flame-grad); transition: transform .4s var(--ease); }
.prod-go .ico { width: 18px; height: 18px; }
.prod-card:hover .prod-go { transform: rotate(-35deg) scale(1.08); }

/* -------------------------------------------------------------------------- packing tabs */

.pack-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tabs button { padding: 10px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: color .3s, background .3s, box-shadow .3s; }
.tabs button:hover { color: var(--flame-200); }
.tabs button[aria-selected="true"] { color: #1b0e03; background: var(--flame-grad); box-shadow: none; }
.pane { animation: pane-in .6s var(--ease); }
.pane p { font-size: 1.12rem; margin: 12px 0 18px; max-width: 54ch; }
@keyframes pane-in { from { opacity: 0; transform: translateY(12px); filter: blur(6px); } }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.ticks .ico { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; color: #1b0e03; background: var(--flame-grad); margin-top: 2px; }
.ticks.big li { font-size: 1.1rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pack-photo { position: relative; border-radius: 22px; overflow: visible; }
.pack-photo img { filter: brightness(1.45) contrast(1.08) saturate(1.1); border-radius: 22px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 40px 80px -40px #000, inset 0 0 0 1px var(--line); }
.medal.pack-medal { position: absolute; right: 18px; bottom: 18px; width: 96px; height: 96px; }

/* -------------------------------------------------------------------------- process cube */

.proc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.cube-wrap { height: 340px; display: grid; place-items: center; perspective: 1100px; }
.cube { --s: 200px; position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; transform: rotateX(-18deg) rotateY(var(--ry, 0deg)); transition: transform 1.1s var(--ease); }
.face {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	text-align: center;
	gap: 4px;
	border-radius: 14px;
	background: linear-gradient(160deg, #2b2218, #0f0c09);
	box-shadow: inset 0 0 0 1px var(--line-2), inset 0 0 40px rgba(247, 148, 29, .12);
	backface-visibility: hidden;
}
.face small { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.face b { font-family: var(--f-head); font-weight: 900; font-size: 2.4rem; text-transform: uppercase; line-height: 1; background: var(--flame-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.f0 { transform: translateZ(calc(var(--s) / 2)); }
.f1 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.f2 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.f3 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.ftop { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: radial-gradient(circle, #33281c, #120e0a); }
.ftop img { width: 56px; height: auto; }
.fbot { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.proc-list { display: grid; gap: 8px; counter-reset: s; }
.proc-list li { cursor: pointer; padding-bottom: 14px; opacity: .5; transition: opacity .4s; }
.proc-list li.is-on, .proc-list li:hover { opacity: 1; }
.proc-list li.is-on .pt-label { color: var(--flame-300); }

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

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-aside { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.qa { border-radius: 14px; background: rgba(28, 22, 16, .7); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.qa summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 22px; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: var(--flame-300); transition: transform .4s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa[open] { box-shadow: inset 0 0 0 1px var(--line-2); }
.qa-a { padding: 0 22px 18px; color: var(--muted); }
.qa[open] .qa-a { animation: pane-in .5s var(--ease); }

/* -------------------------------------------------------------------------- finale */

.finale { min-height: 82vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.finale-photo { position: absolute; inset: 0; z-index: -1; }
.finale-photo img { width: 100%; height: 120%; object-fit: cover; transform: translateY(var(--par, 0px)); }
.finale-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink-900), rgba(11, 9, 7, .35) 35%, rgba(11, 9, 7, .55) 70%, var(--ink-900)), linear-gradient(90deg, rgba(11, 9, 7, .8), transparent 70%); }
.finale-body { max-width: 760px; }
.finale-title { margin: 16px 0 18px; font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .92; }
.finale-title em { display: inline-block; font-size: 1.05em; }
.finale-body p { color: rgba(241, 232, 218, .85); font-size: 1.1rem; margin-bottom: 28px; }

/* -------------------------------------------------------------------------- inner page hero */

.page-hero { min-height: 62vh; display: flex; align-items: flex-end; padding: calc(var(--hdr) + 60px) 0 70px; overflow: hidden; isolation: isolate; }
.ph-photo { position: absolute; inset: 0; z-index: -2; }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; animation: ph-zoom 14s linear forwards; }
@keyframes ph-zoom { from { transform: scale(1.1); } to { transform: scale(1.01); } }
.ph-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 9, 7, .7), rgba(11, 9, 7, .3) 40%, var(--ink-900) 100%), linear-gradient(90deg, rgba(11, 9, 7, .7), transparent 70%); }
.page-hero:not(:has(.ph-photo)) { min-height: 46vh; }
.ph-title { margin-top: 14px; font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(2.8rem, 8vw, 6.4rem); line-height: .9; max-width: 16ch; }
.ph-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ph-title .ln > span { display: inline-block; }
.ph-line { margin-top: 18px; color: rgba(241, 232, 218, .85); font-size: 1.15rem; max-width: 52ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--flame-400); }
.crumbs a:hover { color: var(--flame-200); }

/* -------------------------------------------------------------------------- product page */

.prod-intro { padding-top: 40px; }
.pi-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.pi-grid .sec-title { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.pi-grid .lead { margin-bottom: 28px; }
.pi-facts { display: grid; gap: 0; border-radius: 18px; padding: 8px 24px; background: rgba(28, 22, 16, .72); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pi-facts > div { display: grid; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pi-facts > div:last-child { border: 0; }
.pi-facts b { font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 12px; border-radius: 999px; font-size: .82rem; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--flame-100); }
.spec-scroll { overflow-x: auto; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(19, 16, 12, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
.spec-table th, .spec-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; color: #1b0e03; background: var(--flame-grad); border: 0; }
.spec-table tbody th { font-weight: 600; color: var(--text); }
.spec-table td { color: var(--flame-100); }
.spec-table tbody tr:last-child > * { border-bottom: 0; }
.spec-table tbody tr { transition: background .3s; }
.spec-table tbody tr:hover { background: rgba(255, 180, 51, .07); }
.uses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.gal-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: inset 0 0 0 1px var(--line); }
.gal-item:nth-child(2) { margin-top: 48px; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gal-item:hover img { transform: scale(1.06); }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: .82rem; text-align: left; background: linear-gradient(transparent, rgba(11, 9, 7, .85)); }

.voyage { padding-block: 60px 100px; }
.portal {
	margin-top: 16px;
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.1fr auto;
	align-items: center;
	gap: 28px;
	padding: 22px;
	border-radius: 22px;
	background: linear-gradient(110deg, rgba(36, 28, 20, .9), rgba(13, 11, 8, .9));
	box-shadow: inset 0 0 0 1px var(--line-2);
	transition: box-shadow .4s;
}
.portal:hover { box-shadow: inset 0 0 0 1px var(--flame-400), 0 30px 60px -30px rgba(247, 148, 29, .45); }
.portal-text b { display: block; font-family: var(--f-head); font-weight: 900; font-size: clamp(2rem, 4vw, 3.4rem); line-height: .95; text-transform: uppercase; }
.portal-text small { display: block; margin-top: 10px; font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; color: var(--muted); }
.portal-window { display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.portal-window img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.portal:hover .portal-window img { transform: scale(1.06); }
.portal-go { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #1b0e03; background: var(--flame-grad); }
.portal-canvas { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

.cta-band { padding-block: 40px 110px; }
.cta-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 28px;
	align-items: center;
	padding: 30px 34px;
	border-radius: 22px;
	background:
		radial-gradient(500px 200px at 0% 0%, rgba(255, 211, 107, .2), transparent 70%),
		linear-gradient(110deg, #2a1d10, #120e0a 70%);
	box-shadow: inset 0 0 0 1px var(--line-2);
}
.cta-inner .medal.medal { width: 84px; height: 84px; }
.cta-inner h2 { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-inner p { margin: 6px 0 0; color: var(--muted); }

/* -------------------------------------------------------------------------- medal */

.medal { position: relative; display: inline-block; width: 120px; height: 120px; border-radius: 50%; flex: none; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .7)) drop-shadow(0 0 22px rgba(247, 148, 29, .25)); }
.medal img { width: 100%; height: 100%; border-radius: 50%; }

/* -------------------------------------------------------------------------- about */

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.story-grid p { color: rgba(241, 232, 218, .86); font-size: 1.08rem; }
.stack { position: relative; aspect-ratio: 1 / 1.05; }
.st { position: absolute; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 70px -30px #000, inset 0 0 0 1px var(--line); }
.st img { width: 100%; height: 100%; object-fit: cover; }
.st1 { left: 0; top: 0; width: 62%; aspect-ratio: 3 / 4; z-index: 1; }
.st2 { right: 0; top: 14%; width: 50%; aspect-ratio: 4 / 5; z-index: 2; transform: rotate(3deg); }
.st3 { left: 20%; bottom: 0; width: 46%; aspect-ratio: 1; z-index: 3; transform: rotate(-4deg); }
.orbit { position: absolute; left: 50%; top: 50%; width: 112%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(255, 180, 51, .28); animation: orbit 60s linear infinite; z-index: 0; }
@keyframes orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
.medal.story-medal { position: absolute; right: 4%; bottom: 6%; z-index: 4; width: 104px; height: 104px; }
.quote-band { text-align: center; }
.quote-band .wrap { max-width: 900px; }
.q-mark { display: block; font-family: var(--f-serif); font-size: 7rem; line-height: .6; color: var(--flame-400); }
.quote-band blockquote { margin: 0; }
.quote-band p { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.3; color: var(--flame-100); }
.step-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-row li { padding: 26px 22px; border-radius: 18px; background: rgba(28, 22, 16, .75); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.step-row h3 { font-family: var(--f-head); font-weight: 800; font-size: 1.8rem; text-transform: uppercase; margin: 14px 0 8px; }
.step-row p { color: var(--muted); margin: 0; font-size: .95rem; }
.motto { min-height: 52vh; display: grid; place-items: center; text-align: center; }
.motto-text { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 6.4vw, 5.2rem); line-height: .95; margin: 0; }
.motto-text em { display: block; font-size: 1.05em; }
.flip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.flip { perspective: 1200px; aspect-ratio: 4 / 4.6; text-align: left; }
.flip-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.flip:hover .flip-in, .flip.is-flipped .flip-in, .flip:focus-visible .flip-in { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-front { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 28px; background: radial-gradient(400px 300px at 80% 0%, rgba(247, 148, 29, .22), transparent 70%), linear-gradient(180deg, #221b14, #0e0b08); box-shadow: inset 0 0 0 1px var(--line-2); }
.flip-front b { font-family: var(--f-head); font-weight: 900; font-size: 2.6rem; text-transform: uppercase; line-height: 1; }
.flip-front > span:last-child { color: var(--muted); }
.flip-back { transform: rotateY(180deg); }
.flip-back img { width: 100%; height: 100%; object-fit: cover; }
.flip-back b { position: absolute; left: 22px; bottom: 18px; font-family: var(--f-head); font-weight: 900; font-size: 2rem; text-transform: uppercase; text-shadow: 0 2px 20px #000; }

/* -------------------------------------------------------------------------- contact */

.contact { padding-top: 40px; }
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.contact-info .sec-title { font-size: clamp(2rem, 4vw, 3rem); }
.info-list { display: grid; gap: 4px; margin-bottom: 26px; }
.info-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-list small { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.info-list a, .info-list b { font-weight: 600; }
.info-list a:hover { color: var(--flame-300); }
.sup-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #1b0e03; background: var(--flame-grad); box-shadow: 0 8px 18px -8px rgba(247, 148, 29, .8); }
.sup-ico .ico { width: 19px; height: 19px; }
.contact-photo img { border-radius: 18px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

.quote-form { position: relative; display: grid; gap: 22px; padding: clamp(22px, 3vw, 36px); border-radius: 22px; background: rgba(22, 18, 13, .86); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -40px #000; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.form-track { position: relative; height: 4px; border-radius: 4px; background: rgba(255, 211, 107, .12); margin-bottom: 8px; }
.form-bar { position: absolute; inset: 0; border-radius: 4px; background: var(--flame-grad); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--ease); }
.form-pct { position: absolute; right: 0; top: 10px; font-size: .75rem; font-weight: 700; color: var(--flame-300); font-variant-numeric: tabular-nums; }
.step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 14px; }
.step legend { display: grid; gap: 6px; padding: 0; margin-bottom: 14px; font-family: var(--f-head); font-weight: 800; font-size: 1.8rem; text-transform: uppercase; line-height: 1; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span2 { grid-column: 1 / -1; }
.fld { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.fld em { font-style: normal; font-weight: 400; opacity: .7; }
.fld input, .fld select, .fld textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	font-weight: 500;
	color: var(--text);
	background: rgba(11, 9, 7, .7);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 13px 14px;
	transition: border-color .3s, box-shadow .3s;
	appearance: none;
	-webkit-appearance: none;
}
.fld select { background-image: linear-gradient(45deg, transparent 50%, var(--flame-300) 50%), linear-gradient(135deg, var(--flame-300) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.fld select option { background: var(--ink-800); }
.fld textarea { resize: vertical; min-height: 120px; }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(179, 166, 144, .5); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--flame-400); box-shadow: 0 0 0 4px rgba(247, 148, 29, .18); }
.fld.bad input, .fld.bad select, .fld.bad textarea { border-color: #e2611c; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills.bad .pill span { box-shadow: inset 0 0 0 1px #e2611c; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-block; padding: 10px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s; cursor: pointer; }
.pill input:checked + span { color: #1b0e03; background: var(--flame-grad); box-shadow: none; }
.pill input:focus-visible + span { outline: 2px solid var(--flame-300); outline-offset: 2px; }
.form-note { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-note.ok { background: rgba(255, 180, 51, .14); color: var(--flame-100); box-shadow: inset 0 0 0 1px var(--flame-400); }
.form-note.warn { background: rgba(226, 97, 28, .16); color: #ffd8c2; box-shadow: inset 0 0 0 1px #e2611c; }
.form-note .ico { flex: none; width: 22px; height: 22px; color: var(--flame-300); }
.form-small { margin: 0; font-size: .8rem; color: var(--muted); }
.quote-form .btn { justify-self: start; }

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

.site-footer { position: relative; z-index: 1; padding: 80px 0 30px; background: linear-gradient(180deg, transparent, rgba(7, 6, 5, .92) 30%); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.foot-brand p { color: var(--muted); max-width: 36ch; }
.medal.foot-medal { width: 92px; height: 92px; margin-bottom: 18px; }
.foot-tag { font-family: var(--f-serif); font-style: italic; color: var(--flame-200) !important; font-size: 1.15rem; }
.site-footer h3 { font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--flame-300); margin-bottom: 16px; }
.foot-links { display: grid; gap: 10px; font-size: .95rem; }
.foot-links a, .foot-links span, .foot-links .linkbtn { display: inline-flex; align-items: center; gap: 8px; color: rgba(241, 232, 218, .82); text-decoration: none; font-weight: 500; }
.foot-links .ico { width: 17px; height: 17px; color: var(--flame-400); flex: none; }
.foot-links a:hover, .foot-links .linkbtn:hover { color: var(--flame-200); }
.foot-base { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 22px; font-size: .85rem; color: var(--muted); }
.foot-base a:hover { color: var(--flame-200); }
.to-top { margin-left: auto; }

.bottom-bar { display: none; }

/* -------------------------------------------------------------------------- dialogs */

dialog { color: var(--text); }
dialog::backdrop { background: rgba(5, 4, 3, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.support { padding: 0; border: 0; background: transparent; max-width: min(440px, calc(100vw - 28px)); width: 100%; overflow: visible; }
.support[open] { animation: grow-from var(--dur, .55s) var(--ease); }
@keyframes grow-from { from { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 30px)) scale(.3); } }
.sup-card {
	position: relative;
	padding: 72px 28px 28px;
	margin-top: 56px;
	border-radius: 200px 200px 22px 22px;
	text-align: center;
	background: radial-gradient(400px 260px at 50% 0%, rgba(247, 148, 29, .22), transparent 70%), linear-gradient(180deg, #221a12, #0d0b08);
	box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -30px #000;
}
.medal.sup-medal { position: absolute; left: 50%; top: -52px; margin-left: -54px; width: 108px; height: 108px; }
.sup-card h2 { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: 2.2rem; margin: 10px 0 6px; }
.sup-hint { color: var(--muted); font-size: .9rem; }
.sup-list { display: grid; gap: 8px; text-align: left; margin-top: 18px; }
.sup-list li { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 246, 214, .04); box-shadow: inset 0 0 0 1px var(--line); }
.sup-txt { display: grid; }
.sup-txt a, .sup-txt b { font-weight: 700; font-size: 1.02rem; color: var(--flame-100); }
.sup-txt a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.sup-txt a:hover { color: var(--flame-300); }
.sup-txt small { color: var(--muted); font-size: .85rem; }
.sup-close { position: absolute; top: 14px; right: 14px; }

.viewer { padding: 0; border: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; }
.viewer[open] { display: grid; place-items: center; animation: fade-in .4s var(--ease); }
@keyframes fade-in { from { opacity: 0; } }
.vw-fig { max-width: min(92vw, 1400px); }
.vw-fig img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 14px; box-shadow: 0 40px 80px -30px #000; }
.vw-fig figcaption { text-align: center; color: var(--muted); margin-top: 12px; }
.vw-prev, .vw-next, .vw-close { position: fixed; }
.vw-prev { left: 18px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.vw-next { right: 18px; top: 50%; transform: translateY(-50%); }
.vw-close { right: 18px; top: 18px; }

.panel { padding: 0; border: 0; background: transparent; width: min(620px, calc(100vw - 28px)); max-height: 86vh; overflow: visible; }
.pnl-sheet {
	position: relative;
	padding: 40px 34px 32px;
	border-radius: 18px;
	background: radial-gradient(500px 240px at 0% 0%, rgba(255, 211, 107, .16), transparent 70%), linear-gradient(180deg, #211912, #0e0b08);
	box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -30px #000;
	transform-origin: 50% 0;
	max-height: 86vh;
	overflow: auto;
}
.pnl-sheet::before, .pnl-sheet::after { content: ""; position: absolute; left: 14px; right: 14px; height: 10px; border-radius: 10px; background: var(--flame-grad); }
.pnl-sheet::before { top: -5px; }
.pnl-sheet::after { bottom: -5px; }
.panel[open] .pnl-sheet { animation: unroll .7s var(--ease); }
@keyframes unroll { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.pnl-sheet h2 { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: 2.4rem; margin: 10px 0 16px; }
.pnl-body p { color: rgba(241, 232, 218, .86); }
.pnl-sheet .btn { margin-top: 10px; }
.pnl-close { position: absolute; top: 14px; right: 14px; }
html.dialog-open { overflow: hidden; }

/* -------------------------------------------------------------------------- 404, credits, prose */

.lost { min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.lost-road { position: absolute; inset: auto 0 0 0; height: 46vh; perspective: 500px; }
.lost-road::before { content: ""; position: absolute; left: 50%; bottom: -10%; width: 60vw; height: 140%; transform: translateX(-50%) rotateX(62deg); transform-origin: 50% 100%; background: linear-gradient(180deg, transparent, #1a1611 30%, #0f0d0a); box-shadow: inset 4px 0 0 rgba(255, 246, 214, .4), inset -4px 0 0 rgba(255, 246, 214, .4); }
.lane { position: absolute; left: 50%; bottom: 0; width: 8px; height: 100%; margin-left: -4px; transform: rotateX(62deg); transform-origin: 50% 100%; background: repeating-linear-gradient(180deg, var(--flame-300) 0 40px, transparent 40px 90px); animation: lane 1.2s linear infinite; opacity: .8; }
@keyframes lane { to { background-position: 0 90px; } }
.barrier { position: absolute; left: 50%; bottom: 26%; transform: translateX(-50%); display: flex; gap: 0; width: min(420px, 80vw); height: 46px; border-radius: 6px; overflow: hidden; background: repeating-linear-gradient(135deg, var(--flame-400) 0 22px, #120e0a 22px 44px); box-shadow: 0 20px 40px -10px #000, 0 0 40px rgba(247, 148, 29, .35); }
.barrier i { position: absolute; top: -18px; width: 14px; height: 14px; border-radius: 50%; background: var(--flame-300); box-shadow: 0 0 20px 6px rgba(255, 180, 51, .7); animation: blink 1.2s steps(2) infinite; }
.barrier i:nth-child(1) { left: 10%; }
.barrier i:nth-child(2) { left: 48%; animation-delay: .4s; }
.barrier i:nth-child(3) { left: 86%; animation-delay: .8s; }
.barrier { overflow: visible; }
@keyframes blink { 50% { opacity: .2; } }
.lost-body { position: relative; text-align: center; display: grid; justify-items: center; padding-bottom: 30vh; }
.lost-num { font-family: var(--f-head); font-weight: 900; font-size: clamp(7rem, 24vw, 16rem); line-height: .85; background: var(--flame-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lost-body p { color: var(--muted); font-size: 1.15rem; }
.cred-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.cred-grid li { border-radius: 14px; overflow: hidden; background: rgba(28, 22, 16, .8); box-shadow: inset 0 0 0 1px var(--line); }
.cred-grid img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.cred-grid span { display: grid; gap: 4px; padding: 12px 14px 14px; font-size: .9rem; }
.cred-grid small { color: var(--muted); }
.cred-grid a { color: var(--flame-200); text-decoration: underline; }
.cred-note { margin-top: 30px; color: var(--muted); }
.prose { max-width: 760px; }
.prose a { color: var(--flame-200); text-decoration: underline; }

/* -------------------------------------------------------------------------- reveals and cursor */

html.js .reveal { opacity: 0; transform: translate3d(0, 34px, 0); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
[data-depth] { transform-style: preserve-3d; will-change: auto; }
.tilting { transition: transform .15s linear !important; }


/* -------------------------------------------------------------------------- page transitions */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-old .55s var(--ease-io) both; }
@keyframes vt-old { to { opacity: 0; transform: scale(.97); filter: brightness(.5); } }
/* Home: pour, a molten edge running down from the top. */
html.vt-home::view-transition-new(root) { animation: vt-pour .9s var(--ease-io) both; }
@keyframes vt-pour { from { clip-path: polygon(0 0, 100% 0, 100% 0, 80% 0, 62% 0, 40% 0, 20% 0, 0 0); } 60% { clip-path: polygon(0 0, 100% 0, 100% 52%, 82% 66%, 62% 58%, 40% 72%, 18% 60%, 0 68%); } to { clip-path: polygon(0 0, 100% 0, 100% 100%, 80% 100%, 62% 100%, 40% 100%, 20% 100%, 0 100%); } }
/* About: unroll like a sheet. */
html.vt-about::view-transition-new(root) { animation: vt-unroll .85s var(--ease-io) both; transform-origin: 50% 0; }
@keyframes vt-unroll { from { transform: perspective(1200px) rotateX(-70deg); opacity: 0; } to { transform: none; opacity: 1; } }
/* Contact: wipe from the right. */
html.vt-contact::view-transition-new(root) { animation: vt-wipe .75s var(--ease-io) both; }
@keyframes vt-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
/* Products: sliding doors. */
html.vt-product::view-transition-new(root) { animation: vt-doors .85s var(--ease-io) both; }
@keyframes vt-doors { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
/* Credits and other pages: iris. */
html.vt-credits::view-transition-new(root), html.vt-page::view-transition-new(root), html.vt-missing::view-transition-new(root) { animation: vt-iris .8s var(--ease-io) both; }
@keyframes vt-iris { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }
::view-transition-group(*) { animation-duration: .8s; animation-timing-function: var(--ease-io); }
html.via-portal::view-transition-new(root) { animation: none; }

/* -------------------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
	.gate-row { grid-template-columns: repeat(3, 1fr); }
	.prod-grid { grid-template-columns: repeat(2, 1fr); }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.step-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
	.main-nav { display: none; }
	.burger { display: block; }
	.header-actions { margin-left: auto; }
	.header-actions .header-cta { display: none; }
}

@media (max-width: 900px) {
	body { font-size: 16px; }
	.why-grid, .pack-grid, .proc-grid, .faq-grid, .story-grid, .uses-grid, .pi-grid, .contact-grid { grid-template-columns: 1fr; }
	.route-card { aspect-ratio: 4 / 3.6; }
	.term-grid, .flip-row { grid-template-columns: 1fr; }
	.flip { aspect-ratio: 16 / 11; }
	.bubbles { grid-template-columns: repeat(2, 1fr); }
	.thread { display: none; }
	.hero-dots { display: none; }
	.portal { grid-template-columns: 1fr; }
	.portal-go { position: absolute; right: 30px; top: 30px; }
	.cta-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.contact-form-col { order: -1; }
	.stack { max-width: 520px; width: 100%; margin-inline: auto; }
	.cube-wrap { height: 280px; }
}

@media (max-width: 760px) {
	.header-actions .header-wa { display: none; }
	.gate-row { grid-template-columns: 1fr; }
	.gate { min-height: 0; border-radius: 120px 120px 16px 16px; }
	.prod-grid { grid-template-columns: 1fr; }
	.grid2 { grid-template-columns: 1fr; }
	.why-points li, .proc-list li { grid-template-columns: 1fr; gap: 6px; }
	.foot-grid { grid-template-columns: 1fr; }
	.step-row { grid-template-columns: 1fr; }
	.terms-head { flex-direction: column; align-items: flex-start; gap: 0; }
	.medal.terms-medal { width: 76px; height: 76px; margin-bottom: 18px; }
	.ring { height: 180px; }
	.ring-item { left: -95px; top: -39px; width: 190px; height: 78px; }
	.ring-item b { font-size: 1.6rem; }
	.gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
	.gal-item:nth-child(2) { margin-top: 28px; }
	.site-footer { padding-bottom: 110px; }
	.bottom-bar {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom));
		z-index: 50;
		display: grid;
		grid-template-columns: 1fr 1fr 1.3fr;
		gap: 6px;
		padding: 6px;
		border-radius: 18px;
		background: rgba(14, 11, 8, .9);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -10px #000;
	}
	.bottom-bar > * { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border-radius: 13px; font-size: .85rem; font-weight: 700; color: var(--flame-100); }
	.bottom-bar .ico { width: 19px; height: 19px; color: var(--flame-300); }
	.bottom-bar .bb-cta { color: #1b0e03; background: var(--flame-grad); }
	.bottom-bar .bb-cta .ico { color: #1b0e03; }
	.to-top { display: none; }
	.hero { padding-bottom: 110px; }
	.vw-prev, .vw-next { top: auto; bottom: 24px; transform: none; }
	.vw-prev { transform: scaleX(-1); }
}

@media (max-width: 420px) {
	.wordmark b { font-size: 1rem; }
	.bubbles { gap: 10px; }
	.bub-text { font-size: .74rem; }
	.bubble { padding: 12%; }
	.hero-cta .btn { flex: 1 1 100%; }
}

/* Hide rules, kept last with higher specificity so generic rules cannot undo them. */
@media (max-width: 760px) { .site-header .header-actions .header-wa { display: none; } }
@media (max-width: 1024px) { .site-header .header-actions .header-cta { display: none; } }


/* -------------------------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	html.js .reveal { opacity: 1; transform: none; filter: none; }
	html.js .ln > span { transform: none; }
	.intro { display: none !important; }
	.site-header { opacity: 1 !important; }
	@view-transition { navigation: none; }
}
