/* ==========================================================================
   Raleigh Beauty — main stylesheet
   Brand: midnight black · holographic prism · champagne gold
   ========================================================================== */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
	font-weight: 300 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	color-scheme: dark;

	--rb-bg: #0a090b;
	--rb-bg-deep: #050406;
	--rb-surface: #141116;
	--rb-surface-2: #1b171d;
	--rb-text: #f5f0ea;
	--rb-muted: #b3aaa4;
	--rb-line: rgba(255, 255, 255, 0.1);
	--rb-line-strong: rgba(255, 255, 255, 0.28);
	--rb-gold: #dcbb80;
	--rb-gold-deep: #b8925a;

	--rb-holo: linear-gradient(100deg, #ff9a5c 0%, #ff5fa8 20%, #b46bff 40%, #5b8cff 58%, #33d1c9 76%, #f7d36a 100%);
	--rb-holo-soft: linear-gradient(100deg, rgba(255,154,92,.9), rgba(255,95,168,.9), rgba(180,107,255,.9), rgba(91,140,255,.9), rgba(51,209,201,.9), rgba(247,211,106,.9));

	--rb-font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
	--rb-font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--rb-radius: 28px;
	--rb-radius-sm: 16px;
	--rb-max: 1240px;
	--rb-gutter: clamp(16px, 4vw, 40px);
	--rb-section: clamp(64px, 9vw, 120px);
	--rb-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
	--rb-glow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 60px -20px rgba(180, 107, 255, 0.35);
	--rb-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--rb-bg); }
body {
	margin: 0;
	background: var(--rb-bg);
	color: var(--rb-text);
	font-family: var(--rb-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--rb-gold); text-underline-offset: 3px; }
a:hover { color: var(--rb-gold); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
	font-family: var(--rb-font-display);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	color: var(--rb-text);
	font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); letter-spacing: -0.01em; }
h4 { font-size: 1.15rem; }

/* Holographic accent text (the signature of the brand) */
h1 em, h2 em, h3 em, .rb-accent, .rb-holo-text {
	font-style: italic; font-weight: 400;
	background: var(--rb-holo); background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	padding-right: 0.12em; margin-right: -0.06em;
	animation: rb-holo-shift 9s ease-in-out infinite alternate;
}
@keyframes rb-holo-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

::selection { background: #b46bff; color: #fff; }
:focus-visible { outline: 2px solid var(--rb-gold); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
	clip: auto; width: auto; height: auto; margin: 0; padding: 12px 18px; z-index: 1000;
	background: var(--rb-text); color: var(--rb-bg); top: 8px; left: 8px; border-radius: 999px;
}

.rb-container { width: 100%; max-width: var(--rb-max); margin: 0 auto; padding: 0 var(--rb-gutter); position: relative; }
.rb-section { padding: var(--rb-section) 0; position: relative; }
.rb-section--tight { padding: calc(var(--rb-section) * 0.6) 0; }
.rb-section--sand, .rb-section--blush { background: var(--rb-surface-2); }
.rb-section--sand::before, .rb-section--blush::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(600px 300px at 90% 0%, rgba(180, 107, 255, 0.10), transparent 70%), radial-gradient(500px 280px at 0% 100%, rgba(255, 95, 168, 0.08), transparent 70%);
}
.rb-section--ink { background: var(--rb-bg-deep); border-top: 1px solid var(--rb-line); border-bottom: 1px solid var(--rb-line); overflow: hidden; }
.rb-section--ink::after {
	content: ""; position: absolute; width: 900px; height: 120px; left: -200px; top: 40%; pointer-events: none;
	background: var(--rb-holo); filter: blur(70px); opacity: 0.16; transform: rotate(-12deg);
}
.rb-section--ink .rb-lead, .rb-section--ink .rb-muted { color: var(--rb-muted); }

.rb-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 0.76rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--rb-gold); margin-bottom: 18px;
}
.rb-eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--rb-holo); }
.rb-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--rb-muted); max-width: 60ch; }
.rb-muted { color: var(--rb-muted); }
.rb-center { text-align: center; }
.rb-center .rb-lead { margin-left: auto; margin-right: auto; }

.rb-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; position: relative; }
.rb-head > div { max-width: 720px; }
.rb-head h2 { margin-bottom: 0.3em; }
.rb-head .rb-lead { margin: 0; }

/* ---------- Buttons ---------- */
.rb-btn {
	--bg: var(--rb-text); --fg: var(--rb-bg);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border-radius: 999px;
	background: var(--bg); color: var(--fg); border: 1.5px solid transparent;
	font: 700 0.96rem/1 var(--rb-font-body); letter-spacing: 0.02em;
	text-decoration: none; cursor: pointer; white-space: nowrap; position: relative;
	transition: transform 0.35s var(--rb-ease), background 0.25s, background-position 0.6s, color 0.25s, border-color 0.25s, box-shadow 0.35s;
}
.rb-btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(180, 107, 255, 0.55); }
.rb-btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--rb-ease); }
.rb-btn:hover svg { transform: translateX(3px); }
/* Primary: holographic */
.rb-btn--clay { background: var(--rb-holo); background-size: 160% 100%; color: #120f13; background-position: 0% 50%; }
.rb-btn--clay:hover { color: #120f13; background-position: 100% 50%; box-shadow: 0 16px 40px -12px rgba(255, 95, 168, 0.6); }
.rb-btn--ghost, .rb-btn--ghost-light { background: transparent; color: var(--rb-text); border-color: var(--rb-line-strong); }
.rb-btn--ghost:hover, .rb-btn--ghost-light:hover { background: var(--rb-text); color: var(--rb-bg); border-color: var(--rb-text); }
.rb-btn--light { --bg: var(--rb-text); --fg: var(--rb-bg); }
.rb-btn--light:hover { --fg: var(--rb-bg); }
.rb-btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.88rem; }
.rb-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.rb-link {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
	border-bottom: 1.5px solid var(--rb-gold); padding-bottom: 2px; color: var(--rb-text);
}
.rb-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--rb-ease); }
.rb-link:hover svg { transform: translateX(4px); }

.rb-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, 0.05); border: 1px solid var(--rb-line);
	font-size: 0.85rem; font-weight: 600; color: var(--rb-text);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.rb-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #3fd08a; box-shadow: 0 0 0 4px rgba(63, 208, 138, 0.2); }
.rb-chip .dot.is-closed { background: #ff5fa8; box-shadow: 0 0 0 4px rgba(255, 95, 168, 0.2); }
.rb-chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Top bar ---------- */
.rb-topbar { background: #000; color: rgba(245, 240, 234, 0.78); font-size: 0.82rem; position: relative; }
.rb-topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rb-holo); opacity: 0.5; }
.rb-topbar .rb-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.rb-topbar a { text-decoration: none; color: inherit; }
.rb-topbar a:hover { color: var(--rb-gold); }
.rb-topbar__info { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.rb-topbar__info span, .rb-topbar__info a { display: inline-flex; align-items: center; gap: 7px; }
.rb-topbar svg { width: 15px; height: 15px; opacity: 0.8; }
.rb-social { display: flex; gap: 6px; align-items: center; }
.rb-social a {
	width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
	transition: background 0.25s, color 0.25s;
}
.rb-social a:hover { background: var(--rb-holo); color: #120f13; }
.rb-social svg { width: 16px; height: 16px; opacity: 1; }

/* Social pills (labelled) */
.rb-social--pills { flex-wrap: wrap; gap: 8px; }
.rb-social--pills a {
	width: auto; height: auto; border-radius: 999px; padding: 9px 16px 9px 12px; gap: 8px; display: inline-flex; align-items: center;
	border: 1px solid var(--rb-line-strong); font-size: 0.86rem; font-weight: 600; text-decoration: none; color: var(--rb-text);
	background: rgba(255, 255, 255, 0.03);
}
.rb-social--pills a:hover { background: var(--rb-holo); color: #120f13; border-color: transparent; }
.rb-social--pills svg { width: 18px; height: 18px; }

/* Follow band */
.rb-follow { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--rb-radius); background: var(--rb-surface); border: 1px solid var(--rb-line); position: relative; overflow: hidden; isolation: isolate; }
.rb-follow::before { content: ""; position: absolute; z-index: -1; width: 60%; height: 70%; left: -10%; bottom: -40%; background: var(--rb-holo); filter: blur(70px); opacity: 0.2; }
.rb-follow h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 6px; }
.rb-follow p { margin: 0; color: var(--rb-muted); }
.rb-follow .rb-social--pills { justify-content: flex-end; max-width: 560px; }
@media (max-width: 860px) { .rb-follow { grid-template-columns: 1fr; } .rb-follow .rb-social--pills { justify-content: flex-start; } }

/* ---------- Header ---------- */
.rb-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(10, 9, 11, 0.82);
	backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px);
	border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
.rb-header.is-scrolled { border-color: var(--rb-line); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.9); }
.admin-bar .rb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rb-header { top: 0; } }
.rb-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }

.rb-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--rb-text); flex-shrink: 0; }
.rb-brand:hover { color: var(--rb-text); }
.custom-logo-link { display: inline-flex; }
.custom-logo { max-height: 60px; width: auto; }
.rb-brand__logo { width: 58px; height: auto; filter: drop-shadow(0 0 12px rgba(180, 107, 255, 0.35)); transition: transform 0.6s var(--rb-ease); }
.rb-brand:hover .rb-brand__logo { transform: rotate(-8deg) scale(1.04); }
.rb-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.rb-brand__name {
	font: 500 1.08rem/1.1 var(--rb-font-display); letter-spacing: 0.14em; text-transform: uppercase;
	background: var(--rb-holo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.rb-brand__tag { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rb-muted); margin-top: 5px; }

.rb-nav { display: flex; align-items: center; }
.rb-nav ul { list-style: none; margin: 0; padding: 0; }
.rb-nav > ul { display: flex; align-items: center; gap: 2px; }
.rb-nav li { position: relative; }
.rb-nav a {
	display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
	font-size: 0.93rem; font-weight: 600; text-decoration: none; color: rgba(245, 240, 234, 0.82); white-space: nowrap;
	transition: background 0.2s, color 0.2s;
}
.rb-nav a:hover, .rb-nav .current-menu-item > a, .rb-nav .current-menu-ancestor > a, .rb-nav .current_page_item > a { background: rgba(255, 255, 255, 0.07); color: var(--rb-text); }
.rb-nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg) translateY(-2px); margin-left: 2px;
}
.rb-nav .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 50%; min-width: 250px; padding: 10px;
	background: var(--rb-surface); border-radius: 20px; box-shadow: var(--rb-shadow); border: 1px solid var(--rb-line);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all 0.25s var(--rb-ease);
}
.rb-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.rb-nav li:hover > .sub-menu, .rb-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.rb-nav .sub-menu a { border-radius: 12px; padding: 10px 14px; }

.rb-header__actions { display: flex; align-items: center; gap: 10px; }
.rb-header__call { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.93rem; text-decoration: none; padding: 10px 12px; }
.rb-header__call svg { width: 18px; height: 18px; color: var(--rb-gold); }

.rb-burger {
	display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--rb-line-strong);
	background: transparent; cursor: pointer; place-items: center; padding: 0; color: var(--rb-text); position: relative;
}
.rb-burger span { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.8px; margin: -0.9px 0 0 -9px; background: currentColor; transition: transform 0.3s var(--rb-ease), opacity 0.2s; }
.rb-burger span:nth-child(1) { transform: translateY(-6px); }
.rb-burger span:nth-child(3) { transform: translateY(6px); }
.rb-burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.rb-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rb-burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

@media (max-width: 1340px) {
	.rb-header__call span { display: none; }
	.rb-brand__tag { display: none; }
}
@media (max-width: 1180px) {
	.rb-header__call span { display: none; }
	.rb-nav a { padding: 10px 10px; font-size: 0.9rem; }
	.rb-brand__tag { display: none; }
}
@media (max-width: 1024px) {
	.rb-burger { display: grid; z-index: 70; }
	.rb-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--rb-bg); }
	.rb-header__call, .rb-header__actions .rb-btn { display: none; }
	.rb-topbar__hide-sm { display: none !important; }
	.rb-nav {
		position: fixed; inset: 0; z-index: 60; background: var(--rb-bg);
		flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 100px var(--rb-gutter) 32px;
		overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: opacity 0.3s var(--rb-ease), transform 0.3s var(--rb-ease), visibility 0.3s;
	}
	.rb-nav::before { content: ""; position: absolute; width: 520px; height: 90px; right: -160px; top: 70px; background: var(--rb-holo); filter: blur(60px); opacity: 0.25; transform: rotate(-20deg); pointer-events: none; }
	.rb-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.rb-nav > ul { flex-direction: column; align-items: stretch; gap: 0; position: relative; }
	.rb-nav > ul > li { border-bottom: 1px solid var(--rb-line); }
	.rb-nav > ul > li > a { font: 400 1.7rem/1.2 var(--rb-font-display); padding: 16px 4px; border-radius: 0; background: none !important; color: var(--rb-text); }
	.rb-nav .menu-item-has-children > a::after { display: none; }
	.rb-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
		background: transparent; padding: 0 0 14px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
	}
	.rb-nav .sub-menu a { background: var(--rb-surface); border: 1px solid var(--rb-line); }
	.rb-nav__mobile-cta { display: grid !important; gap: 10px; margin-top: 24px; position: relative; }
	body.rb-menu-open { overflow: hidden; }
}
.rb-nav__mobile-cta { display: none !important; }

/* ---------- Home hero (full-bleed photo) ---------- */
.rb-hero {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: min(88vh, 820px); display: flex; align-items: center;
	padding: clamp(56px, 8vw, 110px) 0;
}
.rb-hero__bg { position: absolute; inset: 0; z-index: -2; }
.rb-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.rb-hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(10, 9, 11, 0.97) 0%, rgba(10, 9, 11, 0.86) 34%, rgba(10, 9, 11, 0.25) 64%, rgba(10, 9, 11, 0.05) 100%),
		linear-gradient(0deg, var(--rb-bg) 0%, rgba(10, 9, 11, 0) 22%);
}
/* ---------- Full-page background video (home) ---------- */
.rb-bgvideo { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--rb-bg); pointer-events: none; }
.rb-bgvideo__poster, .rb-bgvideo__video {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.rb-bgvideo__video { filter: saturate(1.08) brightness(0.92); }
.rb-bgvideo__overlay {
	position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(ellipse 70% 55% at 50% 12%, rgba(180, 107, 255, 0.10), transparent 60%),
		linear-gradient(180deg, rgba(10, 9, 11, 0.25) 0%, rgba(10, 9, 11, 0.4) 45%, rgba(10, 9, 11, 0.6) 100%);
}
.rb-bgvideo__toggle {
	position: fixed; left: 18px; bottom: 18px; z-index: 45; width: 42px; height: 42px; border-radius: 50%;
	display: grid; place-items: center; cursor: pointer; color: var(--rb-text);
	background: rgba(10, 9, 11, 0.55); border: 1px solid var(--rb-line-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	transition: background 0.25s, color 0.25s;
}
.rb-bgvideo__toggle:hover { background: var(--rb-text); color: var(--rb-bg); }
.rb-bgvideo__toggle > span { display: grid; place-items: center; }
.rb-bgvideo__toggle .rb-bgvideo__play { display: none; }
.rb-bgvideo__toggle[aria-pressed="true"] .rb-bgvideo__play { display: grid; }
.rb-bgvideo__toggle[aria-pressed="true"] .rb-bgvideo__pause { display: none; }
@media (max-width: 860px) { .rb-bgvideo__toggle { position: absolute; top: 128px; bottom: auto; left: auto; right: 14px; width: 38px; height: 38px; } }

/* Let the video show through the whole home page (glass look) */
body.rb-has-bgvideo { background: transparent; }
.rb-has-bgvideo .rb-hero { background: linear-gradient(90deg, rgba(10, 9, 11, 0.72) 0%, rgba(10, 9, 11, 0.35) 45%, rgba(10, 9, 11, 0) 70%); }
.rb-has-bgvideo .rb-section { background: transparent; }
.rb-has-bgvideo .rb-section--sand, .rb-has-bgvideo .rb-section--blush { background: rgba(20, 17, 22, 0.55); }
.rb-has-bgvideo .rb-section--ink { background: rgba(5, 4, 6, 0.6); }
.rb-has-bgvideo .rb-marquee { background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rb-has-bgvideo .rb-card, .rb-has-bgvideo .rb-step, .rb-has-bgvideo .rb-follow, .rb-has-bgvideo .rb-map {
	background: rgba(20, 17, 22, 0.58); border-color: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.rb-has-bgvideo .rb-card--ink { background: rgba(0, 0, 0, 0.62); }
.rb-has-bgvideo .rb-dept:not(.has-img) { background: rgba(20, 17, 22, 0.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.rb-has-bgvideo .rb-cta { background: linear-gradient(rgba(7, 6, 8, 0.72), rgba(7, 6, 8, 0.72)) padding-box, var(--rb-holo) border-box; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.rb-has-bgvideo .rb-footer { background: rgba(0, 0, 0, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rb-has-bgvideo .rb-header { background: rgba(10, 9, 11, 0.6); }
.rb-has-bgvideo .rb-topbar { background: rgba(0, 0, 0, 0.7); }
@media (max-width: 860px) {
	.rb-has-bgvideo .rb-hero { background: linear-gradient(180deg, rgba(10, 9, 11, 0) 0%, rgba(10, 9, 11, 0.45) 40%, rgba(10, 9, 11, 0.75) 100%); }
}
@media (max-width: 1024px) { .rb-has-bgvideo .rb-header { background: rgba(10, 9, 11, 0.85); } }

.rb-prism {
	position: absolute; z-index: -1; pointer-events: none; width: 70vw; max-width: 900px; height: 90px;
	left: -18vw; top: 58%; background: var(--rb-holo); filter: blur(46px); opacity: 0.32; transform: rotate(-24deg);
	animation: rb-prism 12s ease-in-out infinite alternate;
}
@keyframes rb-prism { from { transform: rotate(-24deg) translateX(0); opacity: 0.22; } to { transform: rotate(-20deg) translateX(6vw); opacity: 0.38; } }
.rb-hero__content { max-width: 640px; }
.rb-hero h1 { margin-bottom: 24px; }
.rb-hero h1 .rb-line { display: block; }
.rb-hero .rb-lead { margin-bottom: 34px; color: rgba(245, 240, 234, 0.78); }
.rb-hero .rb-chips { margin-top: 34px; }
.rb-hero__scroll {
	position: absolute; right: var(--rb-gutter); bottom: 36px; display: flex; align-items: center; gap: 12px;
	font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rb-muted);
}
.rb-hero__scroll::after { content: ""; width: 60px; height: 1px; background: var(--rb-holo); }

/* Arch image frame */
.rb-arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--rb-radius) var(--rb-radius); overflow: hidden; background: var(--rb-surface); box-shadow: var(--rb-shadow); }
.rb-arch img { width: 100%; height: 100%; object-fit: cover; }

.rb-floating {
	display: inline-flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 18px;
	background: rgba(20, 17, 22, 0.7); border: 1px solid var(--rb-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.rb-floating__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--rb-holo); color: #120f13; display: grid; place-items: center; flex-shrink: 0; }
.rb-floating__icon svg { width: 20px; height: 20px; }
.rb-floating strong { display: block; font-size: 0.95rem; line-height: 1.25; }
.rb-floating small { color: var(--rb-muted); font-size: 0.8rem; line-height: 1.3; display: block; }

/* Art placeholder when no image uploaded */
.rb-art { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 20% 10%, #231d27 0%, #0e0c10 70%); }
.rb-art::before {
	content: ""; position: absolute; width: 140%; height: 22%; left: -20%; top: 38%; background: var(--rb-holo);
	filter: blur(34px); opacity: 0.45; transform: rotate(-28deg);
}
.rb-art--rose::before { top: 30%; }
.rb-art--sand::before { top: 52%; transform: rotate(18deg); }
.rb-art--blush::before { top: 20%; opacity: 0.35; }
.rb-art--ink::before { top: 60%; transform: rotate(-12deg); opacity: 0.3; }
.rb-art__blob { position: absolute; border-radius: 50%; }
.rb-art__blob--1 { width: 60%; aspect-ratio: 1; left: -12%; bottom: -14%; border: 1px solid rgba(255, 255, 255, 0.12); }
.rb-art__blob--2 { width: 40%; aspect-ratio: 1; right: -6%; top: 10%; border: 1px solid rgba(255, 255, 255, 0.08); }
.rb-art__word {
	position: absolute; left: 8%; right: 8%; bottom: 10%; font: italic 300 clamp(2.6rem, 6vw, 5rem)/0.95 var(--rb-font-display);
	color: rgba(245, 240, 234, 0.92); letter-spacing: -0.03em;
}

/* ---------- Marquee ---------- */
.rb-marquee { background: #000; overflow: hidden; padding: 22px 0; border-top: 1px solid var(--rb-line); border-bottom: 1px solid var(--rb-line); }
.rb-marquee__track { display: flex; width: max-content; animation: rb-marquee 40s linear infinite; }
.rb-marquee__track span {
	font: italic 300 clamp(1.4rem, 2.6vw, 2.1rem)/1.1 var(--rb-font-display); padding: 0 28px; white-space: nowrap;
	display: inline-flex; align-items: center; gap: 56px; color: var(--rb-text);
}
.rb-marquee__track span::after {
	content: "✦"; font-style: normal; font-size: 0.8em;
	background: var(--rb-holo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rb-marquee:hover .rb-marquee__track { animation-play-state: paused; }
@keyframes rb-marquee { to { transform: translateX(-50%); } }

/* ---------- Department cards (bento) ---------- */
.rb-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; position: relative; }
.rb-dept {
	position: relative; border-radius: var(--rb-radius); padding: clamp(24px, 3vw, 36px); min-height: 380px;
	display: flex; flex-direction: column; text-decoration: none; color: var(--rb-text); overflow: hidden;
	background: var(--rb-surface); border: 1px solid var(--rb-line);
	transition: transform 0.45s var(--rb-ease), box-shadow 0.45s var(--rb-ease), border-color 0.3s;
	isolation: isolate;
}
.rb-dept:hover { transform: translateY(-6px); box-shadow: var(--rb-glow); color: var(--rb-text); border-color: rgba(255, 255, 255, 0.2); }
.rb-bento .rb-dept:nth-child(1) { grid-column: span 7; }
.rb-bento .rb-dept:nth-child(2) { grid-column: span 5; }
.rb-bento .rb-dept:nth-child(3) { grid-column: span 5; }
.rb-bento .rb-dept:nth-child(4) { grid-column: span 7; }
.rb-bento--3 .rb-dept:nth-child(n) { grid-column: span 4; min-height: 340px; }
.rb-bento--3 .rb-dept h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.rb-dept::before {
	content: ""; position: absolute; z-index: -1; width: 80%; height: 40%; right: -20%; top: -10%;
	background: var(--rb-holo); filter: blur(60px); opacity: 0.18; transform: rotate(-18deg); transition: opacity 0.5s;
}
.rb-dept:hover::before { opacity: 0.32; }
.rb-dept--ink::before { left: -30%; right: auto; top: auto; bottom: -10%; }
.rb-dept--sand::before { top: 40%; opacity: 0.14; }
.rb-dept--clay { background: var(--rb-holo); background-size: 140% 100%; color: #120f13; border-color: transparent; }
.rb-dept--clay::before { display: none; }
.rb-dept--clay:hover { color: #120f13; }
.rb-dept--clay h3 { color: #120f13; }
.rb-dept__img { position: absolute; inset: 0; z-index: -1; }
.rb-dept__img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transition: transform 1s var(--rb-ease); }
.rb-dept__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,11,.3) 0%, rgba(10,9,11,.5) 45%, rgba(10,9,11,.94) 100%); }
.rb-dept.has-img { color: var(--rb-text); border-color: rgba(255,255,255,.12); background: var(--rb-surface); }
.rb-dept.has-img::before { display: none; }
.rb-dept.has-img h3 { color: var(--rb-text); }
.rb-dept.has-img:hover .rb-dept__img img { transform: scale(1.06); }
.rb-dept__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.rb-dept__num { font: italic 300 1.05rem/1 var(--rb-font-display); opacity: 0.85; }
.rb-dept__arrow {
	width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center;
	transition: transform 0.45s var(--rb-ease), background 0.3s, color 0.3s;
}
.rb-dept:hover .rb-dept__arrow { background: var(--rb-text); color: var(--rb-bg); border-color: var(--rb-text); }
.rb-dept--clay:hover .rb-dept__arrow { background: #120f13; color: #fff; border-color: #120f13; }
.rb-dept__arrow svg { width: 20px; height: 20px; transform: rotate(-45deg); transition: transform 0.45s var(--rb-ease); }
.rb-dept:hover .rb-dept__arrow svg { transform: rotate(0); }
.rb-dept h3 { font-size: clamp(2rem, 3.6vw, 3rem); margin: auto 0 10px; padding-top: 40px; color: inherit; }
.rb-dept p { margin-bottom: 18px; max-width: 42ch; opacity: 0.88; }
.rb-dept__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rb-dept__tags span { font-size: 0.78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid currentColor; opacity: 0.85; }

/* ---------- Generic grids / cards ---------- */
.rb-grid { display: grid; gap: 18px; position: relative; }
.rb-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rb-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rb-grid--4 { grid-template-columns: repeat(4, 1fr); }

.rb-card {
	background: var(--rb-surface); border: 1px solid var(--rb-line); border-radius: var(--rb-radius); color: var(--rb-text);
	padding: clamp(24px, 2.6vw, 34px); position: relative; overflow: hidden; isolation: isolate;
	transition: transform 0.4s var(--rb-ease), box-shadow 0.4s var(--rb-ease), border-color 0.3s;
}
.rb-card:hover { transform: translateY(-4px); box-shadow: var(--rb-glow); border-color: rgba(255, 255, 255, 0.2); color: var(--rb-text); }
.rb-card h3 { margin-bottom: 10px; }
.rb-card p:last-child { margin-bottom: 0; }
.rb-card--flat:hover { transform: none; box-shadow: none; border-color: var(--rb-line); }
.rb-card--blush, .rb-card--sand { background: var(--rb-surface-2); }
.rb-card--blush::before, .rb-card--ink::before {
	content: ""; position: absolute; width: 70%; height: 50%; right: -25%; top: -20%; z-index: -1; pointer-events: none;
	background: var(--rb-holo); filter: blur(60px); opacity: 0.18; transform: rotate(-18deg);
}
.rb-card--ink { background: #000; border-color: rgba(255, 255, 255, 0.14); }
.rb-card__tag {
	display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--rb-gold); background: rgba(220, 187, 128, 0.1); border: 1px solid rgba(220, 187, 128, 0.25);
	padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; align-self: flex-start;
}
.rb-card__icon {
	width: 56px; height: 56px; border-radius: 18px; color: var(--rb-text);
	display: grid; place-items: center; margin-bottom: 22px;
	background: linear-gradient(var(--rb-surface-2), var(--rb-surface-2)) padding-box, var(--rb-holo) border-box; border: 1px solid transparent;
}
.rb-card__icon svg { width: 26px; height: 26px; }
.rb-card__num { font: italic 300 3rem/1 var(--rb-font-display); display: block; margin-bottom: 18px; }
.rb-card .rb-link { margin-top: 12px; }

/* Service menu card (department pages) */
.rb-service { display: flex; flex-direction: column; min-height: 100%; }
.rb-service h3 { font-size: 1.6rem; }
.rb-service p { color: var(--rb-muted); flex: 1; }
.rb-service__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; margin-top: 12px; border-top: 1px dashed var(--rb-line); font-size: 0.88rem; font-weight: 600; }
.rb-service__foot a { text-decoration: none; color: var(--rb-gold); display: inline-flex; gap: 6px; align-items: center; }
.rb-service__foot svg { width: 16px; height: 16px; }

/* ---------- Split ---------- */
.rb-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; position: relative; }
.rb-split--top { align-items: start; }
.rb-split--form { grid-template-columns: 1.4fr 0.6fr; gap: clamp(20px, 3vw, 32px); }
.rb-media { position: relative; border-radius: var(--rb-radius); overflow: hidden; aspect-ratio: 5 / 6; background: var(--rb-surface); border: 1px solid var(--rb-line); }
.rb-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.rb-media--wide { aspect-ratio: 4 / 3; }

.rb-checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.rb-checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--rb-surface); border-radius: var(--rb-radius-sm); border: 1px solid var(--rb-line); }
.rb-checklist li::before {
	content: ""; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23120f13' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat, var(--rb-holo);
}

/* ---------- Steps ---------- */
.rb-steps { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 18px; counter-reset: step; position: relative; z-index: 1; }
.rb-step { position: relative; padding: 30px; border-radius: var(--rb-radius); background: var(--rb-surface); border: 1px solid var(--rb-line); }
.rb-section--ink .rb-step { background: rgba(255, 255, 255, 0.03); }
.rb-step::before {
	counter-increment: step; content: "0" counter(step);
	display: block; font: italic 300 3.2rem/1 var(--rb-font-display); margin-bottom: 24px; width: max-content; padding-right: 0.08em;
	background: var(--rb-holo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.rb-step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.rb-step p { margin: 0; color: var(--rb-muted); }

/* ---------- Page hero (inner pages) ---------- */
.rb-pagehero { padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; isolation: isolate; }
.rb-pagehero::after {
	content: ""; position: absolute; width: 780px; height: 110px; right: -180px; top: 30%; pointer-events: none; z-index: -1;
	background: var(--rb-holo); filter: blur(60px); opacity: 0.2; transform: rotate(-22deg);
}
.rb-pagehero__grid { display: grid; grid-template-columns: 1fr; max-width: 900px; }
.rb-pagehero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.rb-pagehero .rb-lead { margin-bottom: 30px; }
.rb-pagehero--photo { min-height: min(72vh, 640px); display: flex; align-items: center; }
.rb-pagehero--photo::after { opacity: 0.14; top: 70%; }
.rb-pagehero--photo .rb-container { width: 100%; }
.rb-pagehero__bg { position: absolute; inset: 0; z-index: -2; }
.rb-pagehero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.rb-pagehero__bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10,9,11,.97) 0%, rgba(10,9,11,.85) 38%, rgba(10,9,11,.3) 70%, rgba(10,9,11,.1) 100%), linear-gradient(0deg, var(--rb-bg) 0%, rgba(10,9,11,0) 25%);
}
.rb-pagehero--photo .rb-pagehero__grid { max-width: 640px; }
.rb-pagehero--photo .rb-lead { color: rgba(245, 240, 234, 0.8); }
.rb-crumbs { font-size: 0.84rem; color: var(--rb-muted); margin-bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.rb-crumbs a { text-decoration: none; }
.rb-crumbs a:hover { text-decoration: underline; }
.rb-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

/* Banner variant: wide artwork with the title designed in, content below */
.rb-pagehero--banner { padding: 0 0 clamp(48px, 7vw, 88px); }
.rb-pagehero--banner::after { top: auto; bottom: 10%; opacity: 0.14; }
.rb-banner { position: relative; margin: 0; overflow: hidden; background: #000; }
.rb-banner img { width: 100%; height: auto; max-height: 86vh; object-fit: cover; object-position: center; display: block; }
.rb-banner::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(0deg, var(--rb-bg) 0%, rgba(10, 9, 11, 0.6) 12%, rgba(10, 9, 11, 0) 34%);
}
.rb-banner__body { margin-top: clamp(-96px, -6vw, -24px); position: relative; z-index: 2; }
.rb-banner__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.rb-pagehero--banner h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.rb-pagehero--banner .rb-lead { margin-bottom: 0; }
.rb-banner__actions { display: grid; gap: 18px; justify-items: start; }
.rb-banner__actions .rb-highlights { margin-top: 0; }

/* ---------- Info / notice ---------- */
.rb-notice {
	display: flex; gap: 18px; align-items: flex-start; padding: 24px 28px; border-radius: var(--rb-radius); position: relative;
	border: 1px solid transparent; background: linear-gradient(var(--rb-surface), var(--rb-surface)) padding-box, var(--rb-holo-soft) border-box;
}
.rb-notice__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--rb-holo); color: #120f13; display: grid; place-items: center; }
.rb-notice__icon svg { width: 22px; height: 22px; }
.rb-notice h3 { font-size: 1.3rem; margin-bottom: 6px; }
.rb-notice p { margin: 0; color: var(--rb-muted); }
.rb-notice a { color: var(--rb-gold); }

/* ---------- FAQ ---------- */
.rb-faq { display: grid; gap: 12px; }
.rb-faq details { background: var(--rb-surface); border: 1px solid var(--rb-line); border-radius: 20px; transition: border-color 0.3s; }
.rb-faq details[open] { border-color: rgba(255, 255, 255, 0.22); box-shadow: var(--rb-glow); }
.rb-faq summary {
	list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
	font: 400 1.22rem/1.3 var(--rb-font-display);
}
.rb-faq summary::-webkit-details-marker { display: none; }
.rb-faq summary::after {
	content: "+"; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
	border: 1px solid var(--rb-line-strong); font: 400 1.4rem/1 var(--rb-font-body); transition: transform 0.3s var(--rb-ease), background 0.3s;
}
.rb-faq details[open] summary::after { transform: rotate(45deg); background: var(--rb-holo); color: #120f13; border-color: transparent; }
.rb-faq .rb-faq__a { padding: 0 26px 24px; color: var(--rb-muted); }
.rb-faq .rb-faq__a p:last-child { margin: 0; }

/* ---------- Policies ---------- */
.rb-policy-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; position: relative; }
.rb-toc { position: sticky; top: 110px; background: var(--rb-surface); border-radius: var(--rb-radius); padding: 22px; border: 1px solid var(--rb-line); }
.rb-toc h4 { font-family: var(--rb-font-body); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rb-gold); margin: 4px 8px 12px; font-weight: 700; }
.rb-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.rb-toc a { display: flex; gap: 10px; padding: 9px 10px; border-radius: 12px; text-decoration: none; font-size: 0.9rem; font-weight: 600; color: rgba(245, 240, 234, 0.82); }
.rb-toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); color: var(--rb-gold); font-weight: 700; }
.rb-toc a:hover { background: rgba(255, 255, 255, 0.06); color: var(--rb-text); }
.rb-policy { background: var(--rb-surface); border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: clamp(24px, 3vw, 40px); margin-bottom: 18px; scroll-margin-top: 120px; }
.rb-policy__num { font: italic 300 1rem/1 var(--rb-font-display); color: var(--rb-gold); display: block; margin-bottom: 10px; }
.rb-policy h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 18px; }
.rb-policy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rb-policy li { position: relative; padding-left: 26px; color: rgba(245, 240, 234, 0.82); }
.rb-policy li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--rb-holo); }

/* ---------- Visit / hours ---------- */
.rb-visit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: relative; }
.rb-hours { list-style: none; padding: 0; margin: 0; }
.rb-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rb-line); }
.rb-hours li:last-child { border-bottom: 0; }
.rb-hours strong { font-weight: 600; }
.rb-hours small { display: block; color: var(--rb-muted); font-size: 0.8rem; }
.rb-hours .rb-hours__time { text-align: right; white-space: nowrap; }
.rb-map { border-radius: var(--rb-radius); overflow: hidden; min-height: 380px; background: var(--rb-surface); border: 1px solid var(--rb-line); position: relative; }
.rb-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.6) contrast(0.9); }
.rb-contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.rb-contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.rb-contact-list svg { width: 20px; height: 20px; color: var(--rb-gold); flex-shrink: 0; margin-top: 4px; }
.rb-contact-list a { text-decoration: none; }

/* ---------- Form ---------- */
.rb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.rb-form .rb-field--full { grid-column: 1 / -1; }
.rb-field label, .rb-field legend { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; color: rgba(245, 240, 234, 0.9); }
.rb-field label .req { color: #ff5fa8; }
.rb-field input, .rb-field select, .rb-field textarea {
	width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--rb-line);
	background-color: rgba(255, 255, 255, 0.04); font: 500 1rem/1.4 var(--rb-font-body); color: var(--rb-text);
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none;
}
.rb-field input::placeholder, .rb-field textarea::placeholder { color: rgba(245, 240, 234, 0.4); }
.rb-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f0ea' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
.rb-field select option { background: var(--rb-surface); color: var(--rb-text); }
.rb-field textarea { min-height: 130px; resize: vertical; }
.rb-field input:focus, .rb-field select:focus, .rb-field textarea:focus { outline: none; border-color: #b46bff; background-color: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 4px rgba(180, 107, 255, 0.18); }
.rb-field fieldset { border: 0; padding: 0; margin: 0; }
.rb-radios { display: flex; flex-wrap: wrap; gap: 8px; }
.rb-radios label { margin: 0; position: relative; }
.rb-radios input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.rb-radios span {
	display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--rb-line);
	font-weight: 600; font-size: 0.9rem; cursor: pointer; background: rgba(255, 255, 255, 0.03); transition: all 0.2s;
}
.rb-radios input:checked + span { background: var(--rb-text); color: var(--rb-bg); border-color: var(--rb-text); }
.rb-radios input:focus-visible + span { outline: 2px solid var(--rb-gold); outline-offset: 2px; }
.rb-hp { position: absolute !important; left: -9999px !important; }
.rb-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 8px; }
.rb-form__foot small { color: var(--rb-muted); max-width: 46ch; }
.rb-alert { padding: 18px 22px; border-radius: 16px; margin-bottom: 24px; font-weight: 600; }
.rb-alert--ok { background: rgba(63, 208, 138, 0.1); color: #8ff0bf; border: 1px solid rgba(63, 208, 138, 0.35); }
.rb-alert--err { background: rgba(255, 95, 120, 0.1); color: #ffb3c2; border: 1px solid rgba(255, 95, 120, 0.35); }

/* ---------- CTA band ---------- */
.rb-cta {
	position: relative; overflow: hidden; isolation: isolate; border-radius: calc(var(--rb-radius) * 1.4);
	padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px);
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
	border: 1px solid transparent; background: linear-gradient(#070608, #070608) padding-box, var(--rb-holo) border-box;
}
.rb-cta::before {
	content: ""; position: absolute; z-index: -1; width: 70%; height: 60%; right: -15%; top: -10%;
	background: var(--rb-holo); filter: blur(80px); opacity: 0.3; transform: rotate(-16deg);
}
.rb-cta h2 { margin-bottom: 14px; }
.rb-cta p { color: var(--rb-muted); margin: 0; max-width: 52ch; }
.rb-cta .rb-btns { justify-content: flex-end; position: relative; z-index: 1; }
.rb-cta .rb-btn--light { background: var(--rb-holo); background-size: 160% 100%; color: #120f13; }

/* ---------- Posts ---------- */
.rb-post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--rb-text); height: 100%; }
.rb-post-card:hover { color: var(--rb-text); }
.rb-post-card__img { border-radius: var(--rb-radius); overflow: hidden; aspect-ratio: 4 / 3; position: relative; margin-bottom: 20px; background: var(--rb-surface); border: 1px solid var(--rb-line); }
.rb-post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--rb-ease); }
.rb-post-card:hover .rb-post-card__img img { transform: scale(1.05); }
.rb-post-card__meta { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rb-gold); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.rb-post-card h3 { font-size: 1.5rem; margin-bottom: 10px; transition: color 0.2s; }
.rb-post-card:hover h3 { color: var(--rb-gold); }
.rb-post-card p { color: var(--rb-muted); font-size: 0.96rem; }
.rb-soon { position: absolute; top: 14px; left: 14px; background: var(--rb-text); color: var(--rb-bg); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; z-index: 1; }

.rb-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.rb-cats a { text-decoration: none; }
.rb-cats a.is-active .rb-chip, .rb-cats a:hover .rb-chip { background: var(--rb-text); color: var(--rb-bg); border-color: var(--rb-text); }

.rb-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.rb-pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--rb-line); text-decoration: none; font-weight: 600; }
.rb-pagination .current, .rb-pagination .page-numbers:hover { background: var(--rb-text); color: var(--rb-bg); border-color: var(--rb-text); }

/* ---------- Article / prose ---------- */
.rb-prose { max-width: 740px; margin: 0 auto; font-size: 1.08rem; color: rgba(245, 240, 234, 0.88); }
.rb-prose > * + * { margin-top: 1.1em; }
.rb-prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.8em; }
.rb-prose h3 { margin-top: 1.5em; }
.rb-prose img { border-radius: var(--rb-radius-sm); }
.rb-prose blockquote { margin: 1.6em 0; padding: 8px 0 8px 26px; border-left: 3px solid var(--rb-gold); font: italic 400 1.4rem/1.45 var(--rb-font-display); color: var(--rb-text); }
.rb-prose ul, .rb-prose ol { padding-left: 1.3em; }
.rb-prose li + li { margin-top: 0.4em; }
.rb-prose a { color: var(--rb-gold); }
.rb-prose .alignwide { max-width: 1000px; margin-left: 50%; transform: translateX(-50%); width: calc(100vw - 2 * var(--rb-gutter)); }
.rb-prose .alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); max-width: none; }
.rb-article-hero-img { border-radius: var(--rb-radius); overflow: hidden; margin: 0 auto 56px; max-width: 1000px; aspect-ratio: 16 / 9; }
.rb-article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.rb-disclaimer { max-width: 740px; margin: 56px auto 0; padding: 20px 24px; background: var(--rb-surface); border: 1px solid var(--rb-line); border-radius: 18px; font-size: 0.9rem; color: var(--rb-muted); position: relative; }

/* Elementor full-width pages keep theme header/footer */
.rb-builder-content { min-height: 40vh; }
.rb-builder-content > .elementor { width: 100%; }

/* ---------- Footer ---------- */
.rb-footer { background: #000; color: rgba(245, 240, 234, 0.72); padding: clamp(64px, 8vw, 110px) 0 110px; position: relative; overflow: hidden; }
.rb-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--rb-holo); opacity: 0.6; }
.rb-footer::after { content: ""; position: absolute; width: 900px; height: 140px; left: 50%; bottom: -60px; transform: translateX(-50%); background: var(--rb-holo); filter: blur(90px); opacity: 0.18; pointer-events: none; }
.rb-footer a { text-decoration: none; color: inherit; }
.rb-footer a:hover { color: var(--rb-gold); }
.rb-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--rb-line); }
.rb-footer h4 { font-family: var(--rb-font-body); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rb-gold); font-weight: 700; margin-bottom: 18px; }
.rb-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rb-footer__brand p { max-width: 36ch; }
.rb-footer__logo { display: inline-block; margin-bottom: 20px; }
.rb-footer__logo img { width: 190px; height: auto; }
.rb-footer .rb-social { margin-top: 24px; gap: 8px; }
.rb-footer .rb-social a { width: 42px; height: 42px; border: 1px solid var(--rb-line-strong); }
.rb-footer .rb-social a:hover { color: #120f13; border-color: transparent; }
.rb-footer .rb-hours li { padding: 10px 0; font-size: 0.9rem; }
.rb-footer__word {
	font: italic 300 clamp(2.4rem, 6.4vw, 5.6rem)/0.95 var(--rb-font-display); letter-spacing: -0.03em;
	margin: 48px 0 32px; overflow-wrap: anywhere; color: var(--rb-text);
}
.rb-footer__word span { background: var(--rb-holo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rb-footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.84rem; color: rgba(245, 240, 234, 0.5); position: relative; z-index: 1; }
.rb-footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Mobile action bar ---------- */
.rb-actionbar {
	position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none;
	grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; padding: 6px; border-radius: 999px;
	background: rgba(20, 17, 22, 0.92); border: 1px solid var(--rb-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.9); transform: translateY(140%); transition: transform 0.45s var(--rb-ease);
}
.rb-actionbar.is-visible { transform: none; }
.rb-actionbar a {
	display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border-radius: 999px;
	color: var(--rb-text); text-decoration: none; font-weight: 600; font-size: 0.9rem;
}
.rb-actionbar a svg { width: 18px; height: 18px; }
.rb-actionbar a.is-primary { background: var(--rb-holo); color: #120f13; }

/* ---------- Reveal on scroll ---------- */
.rb-js .rb-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--rb-ease), transform 0.9s var(--rb-ease); }
.rb-js .rb-reveal.is-in { opacity: 1; transform: none; }
.rb-js .rb-reveal[data-delay="1"] { transition-delay: 0.08s; }
.rb-js .rb-reveal[data-delay="2"] { transition-delay: 0.16s; }
.rb-js .rb-reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- 404 ---------- */
.rb-404 { text-align: center; padding: clamp(80px, 12vw, 160px) 0; position: relative; overflow: hidden; }
.rb-404 .rb-big {
	font: italic 300 clamp(7rem, 22vw, 16rem)/0.9 var(--rb-font-display); letter-spacing: -0.05em;
	background: var(--rb-holo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Search form */
.rb-search { display: flex; gap: 8px; max-width: 520px; margin: 24px auto 0; }
.rb-search input { flex: 1; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--rb-line); background: rgba(255,255,255,.04); color: var(--rb-text); font: 500 1rem var(--rb-font-body); }

/* Comments */
.comment-list { padding-left: 1.2em; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; background: rgba(255,255,255,.04); border: 1.5px solid var(--rb-line); border-radius: 12px; color: var(--rb-text); padding: 12px 14px; font: inherit; }
.comment-form .submit { background: var(--rb-text); color: var(--rb-bg); border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 700; cursor: pointer; }

/* WP core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 0.86rem; color: var(--rb-muted); text-align: center; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.rb-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.rb-steps { --cols: 2 !important; }
	.rb-footer__top { grid-template-columns: 1fr 1fr; }
	.rb-policy-layout { grid-template-columns: 1fr; }
	.rb-toc { position: static; }
	.rb-toc ol { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	body { font-size: 16px; }
	.rb-split, .rb-visit, .rb-cta, .rb-banner__grid { grid-template-columns: 1fr; }
	.rb-banner__body { margin-top: 0; }
	.rb-banner::after { background: linear-gradient(0deg, var(--rb-bg) 0%, rgba(10,9,11,0) 22%); }
	.rb-hero { min-height: 0; align-items: flex-end; padding-top: 300px; }
	.rb-hero__bg img, .rb-pagehero__bg img { object-position: 72% center; }
	.rb-hero__bg::after, .rb-pagehero__bg::after {
		background: linear-gradient(180deg, rgba(10,9,11,.05) 0%, rgba(10,9,11,.45) 30%, rgba(10,9,11,.93) 55%, var(--rb-bg) 100%);
	}
	.rb-hero__scroll { display: none; }
	.rb-pagehero--photo { min-height: 0; padding-top: 240px; }
	.rb-bento .rb-dept { grid-column: span 12 !important; min-height: 320px; }
	.rb-grid--3 { grid-template-columns: 1fr 1fr; }
	.rb-cta .rb-btns { justify-content: flex-start; }
	.rb-actionbar { display: grid; }
	.rb-split > .rb-media { order: -1; }
	.rb-split--keep > .rb-media { order: 0; }
}
@media (max-width: 600px) {
	.rb-grid--2, .rb-grid--3, .rb-grid--4, .rb-form { grid-template-columns: 1fr; }
	.rb-steps { --cols: 1 !important; }
	.rb-footer__top { grid-template-columns: 1fr; }
	.rb-toc ol { grid-template-columns: 1fr; }
	.rb-topbar__info .rb-topbar__addr { display: none; }
	.rb-btns .rb-btn { flex: 1 1 auto; }
	.rb-head { gap: 16px; }
	.rb-faq summary { font-size: 1.08rem; padding: 18px 20px; }
	.rb-faq .rb-faq__a { padding: 0 20px 20px; }
	.rb-nav .sub-menu { grid-template-columns: 1fr; }
	.rb-brand__logo { width: 46px; }
	.rb-brand__name { font-size: 0.88rem; letter-spacing: 0.1em; }
	.rb-header__inner { min-height: 72px; }
	.rb-hero { padding-top: 230px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.rb-js .rb-reveal { opacity: 1; transform: none; }
}
