/* ==========================================================================
   Regal Agency — landing theme. Deep black, cold ruby, polished gold, glow.
   Measured against the brand mockups (desktop 1448px, phone 390px).
   ========================================================================== */

/* ---------- Fonts (self-hosted, Latin + Romanian subset, no third-party requests) ---------- */
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url("../fonts/greatvibes-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--bg: #070203;
	--ruby: #e3122f;
	--ruby-bright: #ff2d4b;
	--ruby-deep: #8e0a1c;
	--pink: #ff4d7d;
	--gold: #e9b949;
	--gold-light: #ffe08a;
	--text: #ffffff;
	--muted: #e6dadc;
	--dim: #a8979b;
	--edge: rgba(255, 70, 95, 0.38);
	--edge-strong: rgba(255, 70, 95, 0.6);
	--card-fill: linear-gradient(160deg, rgba(46, 8, 16, 0.94), rgba(12, 4, 7, 0.96));
	/* Gradient rim: bright ruby at the corners, quieter along the sides (same as the app's Card). */
	--card-rim: linear-gradient(150deg, rgba(255, 110, 128, 0.95), rgba(255, 45, 75, 0.22) 32%, rgba(255, 45, 75, 0.14) 62%, rgba(255, 90, 110, 0.85));
	--metal: linear-gradient(180deg, #fff4c2 0%, #f6d57e 26%, #e2ae48 50%, #9c6b1b 76%, #f0c55e 100%);
	--metal-ruby: linear-gradient(180deg, #ffc2cb 0%, #ff4560 28%, #d10f2c 54%, #7a0616 80%, #ff5c74 100%);
	--gleam: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.75) 50%, transparent 58%);
	--glow-ruby: 0 0 22px rgba(255, 45, 75, 0.55);
	--glow-card: 0 0 22px rgba(227, 18, 47, 0.18);
	--header-h: 84px;
	--wrap: 1448px;
	--gutter: clamp(16px, 2.4vw, 36px);
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Playfair Display", Georgia, serif;
	--font-roman: "Cinzel", "Trajan Pro", Georgia, serif;
	--font-script: "Great Vibes", "Segoe Script", cursive;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
	margin: 0;
	min-height: 100vh;
	color: var(--text);
	font: 400 16px/1.5 var(--font-body);
	-webkit-font-smoothing: antialiased;
	background-color: var(--bg);
	/* Ruby velvet light falling in folds (the mockups' fabric backdrop). */
	background-image:
		radial-gradient(ellipse 70% 55% at 8% -8%, rgba(176, 16, 42, 0.55), transparent 62%),
		radial-gradient(ellipse 50% 40% at 100% 18%, rgba(140, 10, 30, 0.5), transparent 65%),
		radial-gradient(ellipse 60% 35% at 0% 62%, rgba(107, 8, 24, 0.42), transparent 70%),
		radial-gradient(ellipse 80% 40% at 60% 105%, rgba(165, 14, 38, 0.45), transparent 70%),
		repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 9px);
	background-attachment: fixed;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

.regal-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #000; padding: 10px 16px; border-radius: 8px; }
.regal-skip:focus { left: 8px; }

/* Gold and ruby bokeh, drawn once behind everything. */
.regal-bokeh {
	position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(circle at 86% 7%, rgba(255, 224, 138, 0.35) 0, transparent 14px),
		radial-gradient(circle at 93% 22%, rgba(255, 224, 138, 0.22) 0, transparent 10px),
		radial-gradient(circle at 4% 45%, rgba(255, 224, 138, 0.18) 0, transparent 12px),
		radial-gradient(circle at 97% 55%, rgba(255, 70, 95, 0.28) 0, transparent 26px),
		radial-gradient(circle at 12% 80%, rgba(255, 70, 95, 0.22) 0, transparent 22px),
		radial-gradient(circle at 50% 98%, rgba(255, 70, 95, 0.25) 0, transparent 34px),
		radial-gradient(circle at 75% 90%, rgba(255, 224, 138, 0.16) 0, transparent 12px);
}

/* Shared glowing card: dark fill inside a gradient rim. */
.regal-benefit, .regal-quote, .regal-explore__card, .regal-article {
	border: 1px solid transparent;
	background: var(--card-fill) padding-box, var(--card-rim) border-box;
	box-shadow: 0 0 16px rgba(227, 18, 47, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ---------- Metal lettering, with a slow gleam sweeping across ---------- */
.regal-metal {
	display: block;
	background: var(--gleam), var(--metal);
	background-size: 260% 100%, 100% 100%;
	background-position: 160% 0, 0 0;
	background-repeat: no-repeat;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 2px 0 rgba(40, 10, 0, 0.55)) drop-shadow(0 0 18px rgba(233, 185, 73, 0.35));
	animation: regal-gleam 7s ease-in-out 1.2s infinite;
}
.regal-metal--ruby {
	background-image: var(--gleam), var(--metal-ruby);
	filter: drop-shadow(0 2px 0 rgba(40, 0, 6, 0.6)) drop-shadow(0 0 20px rgba(255, 45, 75, 0.5));
	animation-delay: 1.6s;
}
@keyframes regal-gleam {
	0% { background-position: 160% 0, 0 0; }
	28%, 100% { background-position: -60% 0, 0 0; }
}

/* ---------- Logo ---------- */
.regal-logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.regal-logo__crown { margin-bottom: -2px; filter: drop-shadow(0 0 8px rgba(233, 185, 73, 0.45)); }
.regal-logo__word, .regal-logo__sub {
	font-family: var(--font-roman); font-weight: 700;
	background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.regal-logo__word { font-size: 38px; letter-spacing: 0.02em; filter: drop-shadow(0 0 12px rgba(233, 185, 73, 0.3)); }
.regal-logo__sub { font-size: 11px; letter-spacing: 0.48em; margin-top: 3px; padding-left: 0.48em; }
.regal-logo--small .regal-logo__word { font-size: 28px; }
.regal-logo--small .regal-logo__sub { font-size: 9px; }

/* ---------- Buttons ---------- */
.regal-btn {
	--h: 44px;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: var(--h); padding: 0 20px;
	border-radius: 10px; border: 1.5px solid transparent;
	font: 700 15px/1 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
	color: var(--text); cursor: pointer; white-space: nowrap;
	transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.regal-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.regal-btn:active { transform: translateY(0) scale(0.98); }
.regal-btn--lg { --h: 48px; font-size: 15.5px; padding: 0 24px; }
.regal-btn--sm { --h: 40px; font-size: 14px; padding: 0 16px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.regal-btn--block { width: 100%; }
.regal-btn--primary {
	position: relative; overflow: hidden;
	background: linear-gradient(180deg, #ff4561 0%, #e3122f 52%, #9e0b1f 100%);
	border-color: rgba(255, 170, 180, 0.6);
	box-shadow: var(--glow-ruby), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.regal-btn--primary::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 45%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)); pointer-events: none;
}
/* A light sweep crosses the main call to action every few seconds. */
.regal-btn--primary::after {
	content: ""; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 30%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
	transform: skewX(-18deg) translateX(0); pointer-events: none;
	animation: regal-sweep 5.5s ease-in-out 2s infinite;
}
@keyframes regal-sweep {
	0% { transform: skewX(-18deg) translateX(0); }
	30%, 100% { transform: skewX(-18deg) translateX(520%); }
}
.regal-btn--primary > * { position: relative; }
.regal-btn--frame {
	background: linear-gradient(180deg, rgba(227, 18, 47, 0.24), rgba(120, 8, 22, 0.3));
	border-color: var(--ruby-bright);
	box-shadow: 0 0 16px rgba(255, 45, 75, 0.45), inset 0 0 12px rgba(255, 45, 75, 0.18);
}
.regal-btn--outline { background: rgba(10, 3, 5, 0.45); border-color: rgba(255, 255, 255, 0.35); font-weight: 500; }
.regal-btn--ghost { background: rgba(233, 185, 73, 0.08); border-color: rgba(233, 185, 73, 0.55); color: var(--gold); }
.regal-btn--dark { background: rgba(8, 2, 4, 0.75); border-color: rgba(255, 255, 255, 0.5); box-shadow: 0 0 14px rgba(0, 0, 0, 0.5); }
.regal-btn__crown { flex: none; filter: drop-shadow(0 0 6px rgba(233, 185, 73, 0.6)); }

/* ---------- Header ---------- */
.regal-header { position: sticky; top: 0; z-index: 50; transition: background 0.3s ease, box-shadow 0.3s ease; }
.regal-header.is-scrolled { background: rgba(7, 2, 3, 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 70, 95, 0.25), 0 8px 30px rgba(0, 0, 0, 0.5); }
.regal-header__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: var(--header-h);
}
.regal-nav__list {
	list-style: none; display: flex; justify-content: center; margin: 0; padding: 0;
	/* Spreads like the mockup on wide screens and tightens before the burger takes over. */
	gap: clamp(12px, calc((100vw - 1140px) / 7), 34px);
}
.regal-nav__list a { position: relative; display: block; padding: 10px 0; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--text); white-space: nowrap; }
.regal-nav__list .current-menu-item > a, .regal-nav__list a:hover { color: var(--ruby-bright); }
.regal-nav__list .current-menu-item > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
	background: var(--ruby-bright); box-shadow: 0 0 10px var(--ruby-bright);
}
.regal-nav__mobile-actions { display: none; }
.regal-header__actions { display: flex; align-items: center; gap: 14px; }
.regal-lang { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.regal-burger { display: none; background: none; border: 0; color: var(--text); padding: 6px; cursor: pointer; }

/* ---------- Hero ---------- */
.regal-hero { position: relative; max-width: var(--wrap); margin: 0 auto; min-height: 452px; padding: 18px var(--gutter) 10px; }
/* The collage starts 60px below the page top, as in the mockup, so it rises behind the transparent header. */
.regal-hero__art {
	position: absolute; top: calc(60px - var(--header-h)); right: 0; width: 65.12%; aspect-ratio: 943 / 480; z-index: 0;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%), linear-gradient(180deg, #000 84%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent 0, #000 13%), linear-gradient(180deg, #000 84%, transparent 100%);
	mask-composite: intersect;
}
.regal-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.regal-hero__content { position: relative; z-index: 2; max-width: 620px; }
.regal-rise { animation: regal-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes regal-rise { from { opacity: 0.25; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.regal-eyebrow { display: flex; align-items: flex-end; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; }
.regal-eyebrow__crown { margin-bottom: 2px; filter: drop-shadow(0 0 8px rgba(233, 185, 73, 0.5)); }
.regal-hero__title {
	margin: 8px 0 16px;
	font-family: var(--font-roman); font-weight: 700; text-transform: uppercase; white-space: nowrap;
	font-size: clamp(40px, 4.42vw, 64px); line-height: 0.94; letter-spacing: -0.015em;
}
.regal-hero__text { max-width: 470px; font-size: 14.5px; line-height: 1.45; color: var(--muted); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.regal-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0 18px; }
.regal-hero__ctas .regal-btn--primary { min-width: 245px; }
.regal-proof { display: flex; align-items: center; gap: 12px; }
.regal-proof img { width: 242px; }
.regal-proof p { font-size: 15px; line-height: 1.3; max-width: 200px; }
.regal-proof strong { color: var(--ruby-bright); font-size: 20px; font-weight: 700; text-shadow: 0 0 12px rgba(255, 45, 75, 0.5); }

/* ---------- Benefits strip ---------- */
.regal-benefits { max-width: var(--wrap); margin: 0 auto; padding: 4px var(--gutter) 8px; }
.regal-benefits__frame {
	display: grid; grid-template-columns: 208fr 225fr 341fr 252fr 308fr; gap: 10px;
	padding: 10px; border-radius: 16px; border: 1px solid var(--edge);
	background: rgba(10, 3, 5, 0.55); box-shadow: var(--glow-card);
}
.regal-benefit { position: relative; overflow: hidden; min-height: 152px; padding: 14px 16px; border-radius: 11px; }
.regal-benefit p { font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.regal-benefit__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.regal-benefit__icon { color: var(--ruby-bright); display: inline-flex; filter: drop-shadow(0 0 8px rgba(255, 45, 75, 0.6)); }
.regal-benefit__icon--gold { color: var(--gold); filter: drop-shadow(0 0 8px rgba(233, 185, 73, 0.55)); }
.regal-benefit__value { font: 800 27px/1 var(--font-body); text-shadow: 0 0 14px rgba(255, 255, 255, 0.18); }
.regal-benefit__value--text { font-size: 20px; line-height: 1.1; }
.regal-benefit__title { font: 700 15.5px/1.2 var(--font-body); }
.regal-benefit__subtitle { font-size: 13.5px; color: var(--muted); }
.regal-benefit__subtitle--light { color: var(--text); }
.regal-benefit__spark { position: absolute; left: 10px; right: 10px; bottom: 6px; width: calc(100% - 20px); height: 58px; filter: drop-shadow(0 0 6px rgba(255, 45, 75, 0.8)); }
.regal-benefit--growth p { max-width: 150px; }
/* Community and academy: copy on the left, artwork pinned bottom-right as in the mockup. */
.regal-benefit--community > div { max-width: 132px; position: relative; z-index: 1; }
.regal-benefit--academy > div { max-width: 130px; position: relative; z-index: 1; }
.regal-benefit--community .regal-benefit__head, .regal-benefit--academy .regal-benefit__head { white-space: nowrap; }
.regal-benefit--community .regal-benefit__art { position: absolute; right: 4px; bottom: 6px; width: 108px; }
.regal-benefit--academy .regal-benefit__art { position: absolute; right: 8px; bottom: 8px; width: 178px; border-radius: 8px; }
.regal-benefit__thumbs { margin-top: 10px; width: 100%; max-width: 230px; }
.regal-benefit__crown { flex: none; filter: drop-shadow(0 0 10px rgba(233, 185, 73, 0.55)); }
.regal-benefit--competitions { display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; }
/* Trophy stands in the top-right corner next to the title, prizes line up along the bottom (mockup). */
.regal-benefit--competitions .regal-benefit__head { margin-bottom: 0; align-items: flex-start; padding-right: 76px; }
.regal-benefit--competitions .regal-benefit__subtitle { font-size: 12.5px; }
.regal-benefit__prizes { margin-top: auto; }
.regal-benefit__prizes img:first-child { width: 76%; max-width: 240px; }
.regal-benefit__prizes img:last-child { position: absolute; top: 10px; right: 10px; width: 72px; filter: drop-shadow(0 0 10px rgba(233, 185, 73, 0.45)); }
.regal-benefit--competitions .regal-btn { --h: 32px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------- Explore (phones only) ---------- */
.regal-explore { display: none; }

/* ---------- How it works ---------- */
.regal-how {
	max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter) 12px;
	display: grid; grid-template-columns: 250px 1fr 220px; gap: 24px; align-items: center;
}
.regal-heading { font: 700 clamp(26px, 2.4vw, 35px)/1.02 var(--font-display); color: var(--text); text-shadow: 0 0 18px rgba(255, 255, 255, 0.12); }
.regal-how__intro p, .regal-testimonials__intro p { margin-top: 8px; font-size: 14.5px; line-height: 1.35; color: var(--muted); }
.regal-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.regal-step { text-align: center; }
.regal-step__marks { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 64px; margin-bottom: 6px; }
.regal-step__number {
	display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
	border: 1.5px solid var(--ruby-bright); font-size: 13px; font-weight: 700; box-shadow: 0 0 10px rgba(255, 45, 75, 0.45);
}
.regal-step__icon {
	display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: var(--ruby-bright);
	border: 1.5px solid rgba(255, 70, 95, 0.8);
	background: radial-gradient(circle at 50% 35%, rgba(120, 10, 28, 0.6), rgba(10, 3, 5, 0.9) 70%);
	box-shadow: 0 0 22px rgba(255, 45, 75, 0.5), inset 0 0 12px rgba(255, 45, 75, 0.28);
}
/* Arrow from this step's medallion to the next one (group = 26 + 8 + 60 = 94px, centred). */
.regal-step__arrow { position: absolute; left: calc(50% + 58px); right: calc(-50% + 40px); top: 50%; height: 1.5px; background: linear-gradient(90deg, rgba(255, 45, 75, 0.15), var(--ruby-bright)); box-shadow: 0 0 6px rgba(255, 45, 75, 0.6); }
.regal-step__arrow::after { content: ""; position: absolute; right: 0; top: -4.5px; width: 10px; height: 10px; border-top: 1.5px solid var(--ruby-bright); border-right: 1.5px solid var(--ruby-bright); transform: rotate(45deg); }
.regal-step__title { font: 700 17px/1.25 var(--font-display); margin-bottom: 4px; }
.regal-step p { font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.regal-how__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.regal-script {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; padding-right: 40px;
	font: 400 28px/1.05 var(--font-script); color: var(--pink); transform: rotate(-7deg);
	text-shadow: 0 0 12px rgba(255, 77, 125, 0.5);
}
.regal-script span:nth-child(2) { padding-left: 0.4em; }
.regal-script span:nth-child(3) { padding-left: 0.8em; }
.regal-script .regal-icon--heart { position: absolute; right: 0; bottom: -4px; color: var(--pink); filter: drop-shadow(0 0 6px rgba(255, 77, 125, 0.6)); }

/* ---------- Testimonials ---------- */
.regal-testimonials {
	max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter) 18px;
	display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: center;
}
.regal-testimonials .regal-heading { font-size: clamp(24px, 2vw, 29px); }
.regal-testimonials__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.regal-quote { margin: 0; display: flex; gap: 10px; padding: 5px; border-radius: 11px; }
.regal-quote__photo { flex: none; width: 100px; border-radius: 8px; overflow: hidden; }
.regal-quote__photo img { width: 100%; height: 100%; object-fit: cover; }
.regal-quote__body { display: flex; flex-direction: column; gap: 4px; padding: 5px 6px 5px 0; }
.regal-quote blockquote { margin: 0; font-size: 11.5px; line-height: 1.32; font-style: italic; color: var(--muted); }
.regal-quote__stars { display: flex; gap: 2px; color: var(--gold); filter: drop-shadow(0 0 4px rgba(233, 185, 73, 0.5)); }
.regal-quote figcaption { display: flex; flex-direction: column; font-size: 12px; color: var(--dim); }
.regal-quote figcaption strong { font-size: 13.5px; color: var(--text); }

.regal-final-cta { display: none; }

/* ---------- Footer ---------- */
.regal-footer { border-top: 1px solid rgba(255, 70, 95, 0.3); background: rgba(5, 1, 2, 0.78); box-shadow: 0 -10px 30px rgba(227, 18, 47, 0.08); }
.regal-footer__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter);
	display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px;
}
.regal-footer__brand { display: flex; align-items: center; gap: 20px; }
.regal-footer__tagline { display: flex; flex-direction: column; font-size: 13.5px; line-height: 1.35; }
.regal-footer__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; }
.regal-footer__links li + li::before { content: "|"; margin: 0 16px; color: var(--dim); }
.regal-footer__links a { font-size: 13px; text-decoration: none; }
.regal-footer__links a:hover { color: var(--ruby-bright); }
.regal-footer__social { display: flex; gap: 14px; }
.regal-footer__social a { display: inline-flex; color: var(--text); }
.regal-footer__social a:hover { color: var(--ruby-bright); }
.regal-footer__copy { font-size: 12.5px; color: var(--dim); }

/* ---------- Generic pages ---------- */
.regal-page { max-width: 860px; margin: 0 auto; padding: 48px var(--gutter) 72px; }
.regal-page--center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.regal-page__title { margin-bottom: 24px; }
.regal-article { margin-bottom: 36px; padding: 24px; border-radius: 14px; }
.regal-article__title { font: 700 24px/1.2 var(--font-display); margin-bottom: 12px; }
.regal-article__title a { text-decoration: none; }
.regal-prose { color: var(--muted); }
.regal-prose a { color: var(--gold); }
.regal-prose p + p { margin-top: 1em; }
.regal-page .nav-links { display: flex; gap: 12px; justify-content: center; }
.regal-page .page-numbers { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--edge); text-decoration: none; }
.regal-page .page-numbers.current { background: var(--ruby); border-color: var(--ruby-bright); }

/* ---------- Admin-only preview note ---------- */
.regal-preview-note {
	position: relative; z-index: 3;
	max-width: var(--wrap); margin: 8px auto 0; padding: 10px var(--gutter);
	font-size: 13px; color: var(--gold-light); border: 1px dashed rgba(233, 185, 73, 0.55); border-radius: 10px;
	background: rgba(20, 8, 4, 0.85);
}

/* ---------- Reveal on scroll (only when JS runs; static with reduced motion and in print) ---------- */
.js .regal-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .regal-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .regal-reveal { opacity: 1; transform: none; transition: none; }
	.regal-btn, .regal-rise { transition: none; animation: none; }
	.regal-metal, .regal-btn--primary::after { animation: none; }
}
@media print {
	.js .regal-reveal { opacity: 1; transform: none; }
	.regal-header { position: static; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
	.regal-benefits__frame { grid-template-columns: repeat(6, 1fr); }
	.regal-benefit--growth, .regal-benefit--community, .regal-benefit--academy { grid-column: span 2; }
	.regal-benefit--missions, .regal-benefit--competitions { grid-column: span 3; }
	.regal-testimonials { grid-template-columns: 1fr; }
	.regal-testimonials__list { grid-template-columns: repeat(2, 1fr); }
	.regal-how { grid-template-columns: 196px 1fr 236px; gap: 18px; }
	.regal-how__cta .regal-btn { padding: 0 18px; }
}

@media (max-width: 1240px) {
	.regal-burger { display: inline-flex; }
	.regal-nav {
		position: fixed; top: var(--header-h); left: 12px; right: 12px; z-index: 60; display: none;
		max-height: calc(100vh - var(--header-h) - 12px); overflow-y: auto;
		padding: 16px; border-radius: 14px; border: 1px solid var(--edge-strong);
		background: rgba(10, 3, 5, 0.97); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--glow-card);
	}
	.regal-nav[data-open="true"] { display: block; }
	.regal-nav__list { flex-direction: column; gap: 0; }
	.regal-nav__list a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
	.regal-nav__list .current-menu-item > a::after { display: none; }
	.regal-nav__mobile-actions { display: grid; gap: 10px; margin-top: 14px; }
	.regal-header__inner { grid-template-columns: auto 1fr; }
	.regal-header__actions { justify-content: flex-end; }
}

@media (max-width: 1100px) {
	.regal-hero { min-height: 0; padding-bottom: 24px; }
	.regal-hero__art { width: 72%; }
	/* The headline now crosses the collage: shade its left part so the copy stays readable. */
	.regal-hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 2, 3, 0.94) 0, rgba(7, 2, 3, 0.6) 38%, transparent 68%); }
	.regal-hero__content { max-width: 560px; }
	.regal-how { grid-template-columns: 1fr; }
	.regal-how__cta { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Phone layout (mockup 390px) ---------- */
@media (max-width: 768px) {
	:root { --header-h: 64px; }
	body { font-size: 15px; }
	.regal-hide-mobile { display: none; }
	.regal-header__inner { gap: 12px; }
	.regal-logo__crown { width: 24px; height: auto; }
	.regal-logo__word { font-size: 28px; }
	.regal-logo__sub { font-size: 8.5px; }

	/* Collage on top, rising behind the header; the headline overlaps its faded lower edge. */
	.regal-hero { padding-top: 0; min-height: 0; }
	.regal-hero__art {
		position: relative; top: auto; width: calc(100% + 2 * var(--gutter)); margin: calc(-1 * var(--header-h)) calc(-1 * var(--gutter)) 0;
		aspect-ratio: 390 / 280;
		-webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
		-webkit-mask-composite: source-over; mask-composite: add;
	}
	.regal-hero__art img { object-position: 64% 0; }
	/* Darken the strip under the header so the logo and menu stay legible over the collage. */
	.regal-hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 2, 3, 0.82) 0, rgba(7, 2, 3, 0.35) 22%, transparent 40%); }
	.regal-hero__content { margin-top: -64px; }
	.regal-eyebrow { font-size: 11px; letter-spacing: 0.32em; }
	.regal-eyebrow__crown { width: 26px; height: auto; }
	.regal-hero__title { font-size: clamp(26px, 9.4vw, 46px); margin: 6px 0 12px; }
	.regal-hero__text { font-size: 14.5px; }
	.regal-hero__ctas { flex-direction: column; gap: 12px; margin: 18px 0 16px; }
	.regal-hero__ctas .regal-btn { width: 100%; }
	.regal-proof img { width: 190px; }
	.regal-proof p { font-size: 14px; }

	.regal-benefits__frame { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; }
	.regal-benefit { min-height: 0; padding: 12px; grid-column: auto !important; }
	.regal-benefit--missions, .regal-benefit__art, .regal-benefit__spark, .regal-benefit__prizes, .regal-benefit--competitions .regal-btn { display: none; }
	.regal-benefit--community > div, .regal-benefit--academy > div { max-width: none; }
	.regal-benefit__value { font-size: 23px; }
	.regal-benefit__value--text { font-size: 16.5px; }
	.regal-benefit--community .regal-benefit__head, .regal-benefit--academy .regal-benefit__head { white-space: normal; }
	.regal-benefit--competitions .regal-benefit__head { padding-right: 0; }
	.regal-benefit__icon svg { width: 24px; height: 24px; }
	.regal-benefit__crown { width: 30px; height: auto; }
	.regal-benefit p, .regal-benefit__subtitle { font-size: 12.5px; }
	.regal-benefit__head { gap: 8px; margin-bottom: 6px; }

	.regal-explore { display: block; max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter); }
	.regal-explore__frame { border: 1px solid var(--edge); border-radius: 16px; padding: 12px 8px 8px; background: rgba(10, 3, 5, 0.55); box-shadow: var(--glow-card); }
	.regal-explore__title {
		margin-bottom: 10px; text-align: center; font: 700 13px/1.2 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase;
		background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
	}
	.regal-explore__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.regal-explore__card { position: relative; display: flex; flex-direction: column; text-decoration: none; border-radius: 10px; overflow: hidden; }
	.regal-explore__card img { width: 100%; aspect-ratio: 180 / 120; object-fit: cover; }
	.regal-explore__text { display: flex; flex-direction: column; gap: 2px; padding: 7px 24px 9px 9px; font-size: 12px; line-height: 1.3; color: var(--muted); }
	.regal-explore__text strong { font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); }
	.regal-explore__card .regal-icon--chevron { position: absolute; right: 6px; bottom: 12px; color: var(--ruby-bright); }

	.regal-how { padding-top: 14px; gap: 16px; }
	.regal-steps { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
	.regal-step__arrow { display: none; }
	.regal-step__marks { height: 58px; }
	.regal-step__icon { width: 54px; height: 54px; }
	.regal-step__title { font-size: 15.5px; }
	.regal-step p { font-size: 12.5px; }
	.regal-how__cta { flex-direction: column; align-items: stretch; }
	/* Phones get the closing button pair instead (mockup), so no second "apply" right before it. */
	.regal-how__cta .regal-btn { display: none; }
	.regal-script { align-self: flex-end; font-size: 25px; }

	.regal-testimonials { padding-bottom: 12px; gap: 12px; }
	.regal-testimonials__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; scrollbar-width: none; }
	.regal-testimonials__list::-webkit-scrollbar { display: none; }
	.regal-quote { flex: 0 0 84%; scroll-snap-align: start; }
	.regal-quote__photo { width: 96px; }

	/* Mockup: the two calls to action side by side above the footer. */
	.regal-final-cta { display: grid; grid-template-columns: 1.45fr 1fr; gap: 8px; max-width: var(--wrap); margin: 0 auto; padding: 4px var(--gutter) 20px; }
	.regal-final-cta .regal-btn { --h: 46px; padding: 0 10px; gap: 8px; font-size: 13px; letter-spacing: 0.02em; }
	.regal-final-cta .regal-btn svg { width: 20px; height: auto; }
	.regal-final-cta .regal-btn--dark { border-color: rgba(233, 185, 73, 0.7); }

	.regal-footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
	.regal-footer__brand { flex-direction: column; gap: 6px; }
	.regal-footer__links li + li::before { margin: 0 8px; }
	.regal-footer__links a { font-size: 12.5px; }
}

@media (max-width: 360px) {
	.regal-header__actions .regal-lang { display: none; }
	.regal-final-cta { grid-template-columns: 1fr; }
}
