/*
Theme Name: READWATCHFEEL Blocks
Theme URI: https://readwatchfeel.com/
Author: READWATCHFEEL
Description: The READ.WATCH.FEEL one-page design for WINGS, rebuilt as editable block sections. Every section can be added, dragged, duplicated and edited in the WordPress editor (Patterns → READWATCHFEEL sections), and images and videos are swapped from the Media Library.
Version: 2.36.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: readwatchfeel
*/

/* =========================================
   Base
   Section rules are written as ".rwf-section .thing" on purpose: that beats
   WordPress's own block spacing, which would otherwise win on load order.
   ========================================= */
:root {
	/* These follow Appearance → Editor → Styles → Colors, so changing a colour there changes it everywhere. */
	--ink: var(--wp--preset--color--ink, #0b0b0b);
	--ink-2: var(--wp--preset--color--ink-2, #151515);
	--paper: var(--wp--preset--color--paper, #f3efe8);
	--orange: var(--wp--preset--color--orange, #ff6a00);
	--gold: var(--wp--preset--color--gold, #ffc857);
	--muted: #a8a8a8;
	--border: rgba(255, 255, 255, 0.12);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--pad: clamp(24px, 6vw, 96px);
	--serif: var(--wp--preset--font-family--serif, Georgia, "Times New Roman", Times, serif);
}

html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: #fff; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--orange); color: #fff; }

.rwf-main { overflow: clip; }
.rwf-main > .wp-block-post-content > * { margin-block: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.rwf-pad { padding-left: var(--pad); padding-right: var(--pad); }

/* Eyebrow: small orange label above headings */
.rwf-main .rwf-eyebrow, .rwf-eyebrow {
	margin: 0 0 20px; color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}

/* Large section headings. Make words orange by setting them in italics (Ctrl/Cmd + I). */
.rwf-main .rwf-display {
	margin: 0; font-size: clamp(54px, 6.9vw, 106px); font-weight: 900; line-height: .86; letter-spacing: -.07em; text-transform: uppercase;
}
.rwf-main .rwf-display--sm { font-size: clamp(40px, 5vw, 76px); }
.rwf-display em, .rwf-contact-title em { font-style: normal; color: var(--orange); }

/* Scroll reveal (site.js adds data-reveal; content is never hidden in the editor or without JavaScript) */
[data-reveal] { opacity: 0; transform: translateY(44px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.rwf-scroll-progress {
	position: fixed; z-index: 120; left: 0; right: 0; top: 0; height: 3px; transform: scaleX(0);
	transform-origin: left; background: var(--orange); pointer-events: none;
}

/* =========================================
   Buttons (core Button block)
   ========================================= */
.wp-block-button .wp-block-button__link {
	min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
	border: 1px solid var(--orange); box-shadow: 0 14px 40px color-mix(in srgb, var(--orange) 22%, transparent);
	transition: transform .35s var(--ease), box-shadow .35s ease, background .35s ease, color .35s ease;
}
.wp-block-button .wp-block-button__link:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 20px 60px color-mix(in srgb, var(--orange) 34%, transparent); }
.wp-block-button.is-style-rwf-small .wp-block-button__link { min-height: 42px; padding: 0 17px; font-size: 10px; }
.wp-block-button.is-style-rwf-text-link .wp-block-button__link {
	position: relative; background: transparent; border-color: transparent; box-shadow: none; color: #fff; font-size: 11px; letter-spacing: .1em;
}
.wp-block-button.is-style-rwf-text-link .wp-block-button__link::after {
	content: ""; position: absolute; left: 22px; right: 22px; bottom: 14px; height: 1px; background: currentColor;
	transform-origin: right; transition: transform .4s var(--ease), opacity .3s ease;
}
.wp-block-button.is-style-rwf-text-link .wp-block-button__link:hover { transform: none; background: #fff; border-color: var(--orange); color: #000; }
.wp-block-button.is-style-rwf-text-link .wp-block-button__link:hover::after { transform: scaleX(.3); opacity: 0; }

/* Underlined arrow link ("Order now →", "Explore book →") */
.rwf-main .rwf-arrow-link { margin: 22px 0 0; }
.rwf-arrow-link { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.rwf-arrow-link a {
	display: inline-flex; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid var(--orange); transition: color .3s ease, letter-spacing .35s var(--ease);
}
.rwf-arrow-link a:hover { color: var(--orange); }

/* =========================================
   Menu bar
   ========================================= */
.rwf-nav {
	position: fixed; z-index: 100; top: 18px; left: 0; right: 0; margin: 0 auto;
	width: min(1160px, calc(100% - 40px)); height: 66px; padding: 0 12px 0 20px;
	border: 1px solid transparent; border-radius: 18px;
	transition: border-color .5s ease, top .4s ease, box-shadow .5s ease;
	animation: rwf-nav-in .8s .9s var(--ease) both;
}
/* The frosted background sits on a pseudo-element: a backdrop-filter on the bar itself would trap the mobile menu inside it */
.rwf-nav::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: transparent;
	transition: background .5s ease, backdrop-filter .5s ease;
}
.rwf-nav.is-solid { top: 10px; border-color: var(--border); box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.rwf-nav.is-solid::before { background: rgba(15,15,15,.74); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); }
.admin-bar .rwf-nav { top: 50px; }
.admin-bar .rwf-nav.is-solid { top: 42px; }

.rwf-nav .rwf-brand { gap: 10px; flex: 1 1 0; }
.rwf-brand .rwf-brand-logo { margin: 0; flex: 0 0 auto; }
.rwf-brand .rwf-brand-logo img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 50%; }
.rwf-brand .rwf-brand-word { margin: 0; font-size: 22px; line-height: 1; font-weight: 950; letter-spacing: -.075em; font-style: italic; white-space: nowrap; }

.rwf-nav .rwf-menu { flex: 0 0 auto; gap: 34px; font-size: 12px; font-weight: 600; }
.rwf-nav .rwf-menu .wp-block-navigation__container { gap: 34px; }
.rwf-nav .rwf-menu:not(.has-text-color) { color: rgba(255,255,255,.72); }
.rwf-nav .rwf-menu .wp-block-navigation-item__content { position: relative; padding: 10px 0; }
.rwf-nav .rwf-menu .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--orange); transition: right .35s var(--ease);
}
.rwf-nav .rwf-menu:not(.has-text-color) .wp-block-navigation-item__content:hover { color: #fff; }
.rwf-nav .rwf-menu .wp-block-navigation-item__content:hover::after { right: 0; }
.rwf-nav .rwf-nav-call { flex: 1 1 0; justify-content: flex-end; margin: 0; }

/* Mobile menu (the Navigation block's overlay) */
.rwf-nav .wp-block-navigation__responsive-container-open { color: #fff; }
.rwf-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 110px 28px 40px; background: #0a0a0a; }
.rwf-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 6px; }
.rwf-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	padding: 0; color: #fff; font-size: clamp(44px, 12vw, 80px); font-weight: 850; line-height: 1.03; letter-spacing: -.07em; text-transform: uppercase;
}
.rwf-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { display: none; }
.rwf-nav .wp-block-navigation__responsive-container-close { top: 28px; right: 28px; color: #fff; }

@media (max-width: 980px) {
	.rwf-nav .rwf-nav-call { display: none; }
	.rwf-nav .rwf-menu { flex: 0 0 auto; }
	/* Show the menu button up to tablet width, not only on phones */
	.rwf-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.rwf-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 640px) {
	.rwf-nav { top: 10px; width: calc(100% - 20px); height: 58px; }
	.rwf-brand .rwf-brand-logo img { width: 32px; height: 32px; }
	.rwf-brand .rwf-brand-word { font-size: 19px; }
}

/* =========================================
   Hero
   ========================================= */
.rwf-main .rwf-hero {
	position: relative; min-height: 100svh; padding: 0; display: block; overflow: hidden; isolation: isolate; background: #080808;
}
.rwf-hero > .wp-block-cover__image-background {
	z-index: 0; filter: blur(1.5px) saturate(.9);
	-webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
	mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
	animation: rwf-fade-in 2.4s .1s var(--ease) both;
}
.rwf-hero > .wp-block-cover__background { z-index: 1; }
/* Warm centre light + faint grid lines */
.rwf-hero::before, .rwf-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.rwf-hero::before { background: radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--orange) 12%, transparent), transparent 42%); }
.rwf-hero::after {
	opacity: .18;
	background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
	background-size: 80px 80px; -webkit-mask-image: radial-gradient(circle at center, #000, transparent 76%); mask-image: radial-gradient(circle at center, #000, transparent 76%);
}
.rwf-hero .wp-block-cover__inner-container { position: static; width: 100%; min-height: inherit; color: #fff; }

.rwf-hero .rwf-hero-label {
	position: absolute; z-index: 4; top: 47%; margin: 0; color: #777; font-size: 10px; font-weight: 650; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase;
}
.rwf-hero .rwf-hero-label--left { left: 4vw; }
.rwf-hero .rwf-hero-label--right { right: 4vw; text-align: right; }

/* The hero photo (a cut-out with a transparent background) stands on the bottom edge, with aura and orbit rings added by site.js */
.rwf-hero .rwf-hero-image {
	--tilt-x: 0deg; --tilt-y: 0deg;
	position: absolute; z-index: 2; left: 50%; bottom: 8vh; margin: 0; width: min(59vh, 590px, 82vw); /* portrait photo (938 × 1268) */
	translate: calc(-50% + var(--rwf-move-x, 0px)) var(--rwf-move-y, 0px); transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
	transition: transform .7s var(--ease); animation: rwf-product-in 1.5s .15s var(--ease) both;
}
.rwf-hero .rwf-hero-image img { position: relative; z-index: 2; display: block; width: 100%; height: auto; filter: saturate(1.4) contrast(1.06) brightness(1.03) drop-shadow(0 30px 40px rgba(0,0,0,.6));
	transform-origin: 50% 90%; animation: rwf-hero-bob 6.5s cubic-bezier(.45,0,.55,1) 1.6s infinite; will-change: transform;
	-webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0,0,0,.6) 75%, transparent 97%); mask-image: linear-gradient(180deg, #000 55%, rgba(0,0,0,.6) 75%, transparent 97%); }
/* The photo itself fades out at the waist (mask on the img), so there is no hard bottom edge */
.rwf-hero-aura, .rwf-orbit { position: absolute; left: 50%; top: 45%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; pointer-events: none; }
.rwf-hero-aura {
	width: 120%; background: radial-gradient(circle, color-mix(in srgb, var(--orange) 50%, transparent), color-mix(in srgb, var(--orange) 11%, transparent) 52%, transparent 69%);
	filter: blur(30px); animation: rwf-aura-in 1.8s .2s ease both, rwf-aura-pulse 4s 2s ease-in-out infinite;
}
.rwf-orbit { border: 1px solid color-mix(in srgb, var(--orange) 22%, transparent); animation: rwf-orbit 18s linear infinite; }
.rwf-orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 20px var(--orange); }
.rwf-orbit--one { width: 105%; }
.rwf-orbit--one::after { top: 18%; right: 5%; }
.rwf-orbit--two { width: 125%; animation-direction: reverse; animation-duration: 25s; }
.rwf-orbit--two::after { bottom: 14%; left: 10%; }

.rwf-hero .rwf-hero-copy {
	position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(4.5vh + 84px); margin: 0; text-align: center; pointer-events: none;
}
.rwf-hero .rwf-hero-title {
	margin: 0; color: transparent; -webkit-text-stroke: clamp(1px, .11vw, 2px) rgba(255,255,255,.86);
	font-size: clamp(72px, 12vw, 184px); font-weight: 900; line-height: .8; letter-spacing: -.085em; text-transform: uppercase;
	animation: rwf-rise-in 1s .35s var(--ease) both;
}
.rwf-hero .rwf-hero-actions { gap: 30px; margin: 26px 0 0; pointer-events: auto; animation: rwf-rise-in .8s .78s var(--ease) both; }

.rwf-hero .rwf-hero-proof {
	position: absolute; z-index: 5; left: 50%; bottom: 4.5vh; translate: -50% 0; margin: 0; gap: 0;
	border: 1px solid var(--border); border-radius: 18px; background: rgba(17,17,17,.58); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
	animation: rwf-rise-in .8s 1.05s var(--ease) both;
}
.rwf-hero .rwf-proof { min-width: 160px; margin: 0; padding: 14px 24px; gap: 12px; border-right: 1px solid var(--border); }
.rwf-hero .rwf-proof:last-child { border: 0; }
.rwf-hero .rwf-proof-num { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.05em; }
.rwf-hero .rwf-proof-label { margin: 0; color: var(--gold); font-size: 9px; line-height: 1.4; letter-spacing: .08em; }
.rwf-proof-label em { display: block; margin-top: 4px; color: #777; font-size: 8px; font-style: normal; text-transform: uppercase; }

.rwf-hero-scroll {
	position: absolute; z-index: 4; right: 3vw; bottom: 4vh; display: flex; align-items: center; gap: 12px;
	color: #777; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; transform: rotate(90deg); transform-origin: right center;
}
.rwf-hero-scroll i { position: relative; width: 45px; height: 1px; overflow: hidden; background: #777; }
.rwf-hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--orange); animation: rwf-line-run 2s ease infinite; }

@media (max-width: 980px) {
	.rwf-hero .rwf-hero-label { display: none; }
	.rwf-hero .rwf-proof { min-width: 130px; padding: 13px 16px; }
}
@media (max-width: 640px) {
	.rwf-main .rwf-hero { min-height: 820px; }
	.rwf-hero .rwf-hero-image { bottom: 125px; width: min(96vw, 440px); translate: calc(-50% + var(--rwf-move-x, 0px) * .5) calc(var(--rwf-move-y, 0px) * .5); }
	.rwf-hero .rwf-hero-copy { bottom: 100px; }
	.rwf-hero .rwf-hero-title { font-size: clamp(62px, 20vw, 94px); }
	.rwf-hero .rwf-hero-actions { gap: 6px; margin-top: 20px; }
	.rwf-hero .rwf-hero-proof { bottom: 28px; width: calc(100% - 28px); }
	.rwf-hero .rwf-proof { min-width: 0; flex: 1; padding: 12px 10px; gap: 7px; }
	.rwf-hero .rwf-proof-num { font-size: 17px; }
	.rwf-hero .rwf-proof-label { font-size: 7px; }
	.rwf-proof-label em { font-size: 6px; }
	.rwf-hero-scroll { display: none; }
}

/* =========================================
   About: READ.WATCH.FEEL
   ========================================= */
.rwf-main .rwf-about {
	position: relative; display: grid; justify-items: center; padding-top: clamp(120px, 12vw, 150px); padding-bottom: 190px;
	background: var(--paper); color: var(--ink);
}
.rwf-about .rwf-index { position: absolute; top: 60px; left: var(--pad); margin: 0; color: #777; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.rwf-about .rwf-about-eyebrow { position: absolute; top: 56px; left: 50%; translate: -50% 0; margin: 0; font-size: 15px; line-height: 1; }
.rwf-about .rwf-about-title {
	margin: 0; font-family: var(--wp--preset--font-family--cinzel, "Cinzel", Georgia, serif); font-size: clamp(24px, 6.8vw, 76px); font-weight: 700;
	line-height: 1; letter-spacing: .04em; text-align: center; white-space: nowrap;
}
.rwf-about .rwf-about-article {
	width: min(100%, 1120px); margin: clamp(36px, 5vw, 56px) 0 0; padding: clamp(26px, 3.5vw, 44px) clamp(22px, 5vw, 64px);
	border: 1px solid rgba(11,11,11,.16); border-radius: 14px; color: var(--ink-2); font-family: var(--serif);
	font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; letter-spacing: .005em;
	columns: 2; column-gap: clamp(36px, 5vw, 64px); column-rule: 1px solid rgba(11,11,11,.08);
}
.rwf-about .rwf-about-article::before { content: ""; display: block; width: 42px; height: 1px; margin-bottom: 26px; background: var(--orange); column-span: all; }
.rwf-about .rwf-about-article h3 {
	column-span: all; margin: 0 0 24px; font-size: clamp(25px, 3vw, 34px); font-style: italic; font-weight: 400; line-height: 1.2; letter-spacing: -.01em;
}
.rwf-about .rwf-about-article p { margin: 0 0 1.1em; }
.rwf-about .rwf-about-article p:last-child { margin-bottom: 0; }
.rwf-about .rwf-about-article h3 + p::first-letter { float: left; margin: 7px 10px 0 0; font-size: 3.4em; line-height: .8; }
.rwf-about .rwf-about-article strong { margin-right: .35em; font-family: var(--wp--preset--font-family--sans); font-size: .7em; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.rwf-about .rwf-about-side {
	position: absolute; right: 6vw; bottom: 50px; width: 280px; margin: 0; display: flex; gap: 20px; color: #575757; font-size: 12px; line-height: 1.7;
}
.rwf-about .rwf-about-side::before { content: ""; width: 42px; height: 1px; margin-top: 9px; flex: 0 0 auto; background: var(--orange); }
@media (max-width: 760px) { .rwf-about .rwf-about-article { columns: 1; } }
@media (max-width: 640px) {
	.rwf-main .rwf-about { padding-bottom: 215px; }
	.rwf-about .rwf-about-side { right: 20px; bottom: 35px; width: 240px; }
}

/* =========================================
   Shared dark "stage" (book feature + library): drifting warm light and golden dust
   ========================================= */
.rwf-main .rwf-stage {
	position: relative; isolation: isolate; overflow: hidden; color: #fff;
	background: radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--orange) 14%, transparent), transparent 70%), radial-gradient(ellipse 70% 50% at 60% 100%, color-mix(in srgb, var(--gold) 8%, transparent), transparent 70%), var(--ink);
}
.rwf-stage::before {
	content: ""; position: absolute; inset: -20%; z-index: -2; pointer-events: none;
	background: radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--orange) 16%, transparent), transparent 32%), radial-gradient(circle at 72% 62%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 30%);
	filter: blur(40px); animation: rwf-lights 22s ease-in-out infinite alternate;
}
.rwf-stage::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
	background-image:
		radial-gradient(1.5px 1.5px at 12% 22%, color-mix(in srgb, var(--gold) 90%, transparent), transparent),
		radial-gradient(1px 1px at 38% 68%, rgba(255,255,255,.7), transparent),
		radial-gradient(2px 2px at 64% 34%, color-mix(in srgb, var(--gold) 60%, transparent), transparent),
		radial-gradient(1px 1px at 82% 78%, rgba(255,255,255,.6), transparent),
		radial-gradient(1.5px 1.5px at 92% 12%, color-mix(in srgb, var(--gold) 70%, transparent), transparent),
		radial-gradient(1px 1px at 24% 88%, rgba(255,255,255,.5), transparent);
	background-size: 420px 420px; animation: rwf-dust 40s linear infinite;
}

/* =========================================
   Book feature: swinging cover
   ========================================= */
.rwf-main .rwf-feature {
	min-height: 112vh; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 250px); align-items: center;
	gap: clamp(24px, 3.4vw, 64px); padding-top: 120px; padding-bottom: 120px;
}
.rwf-feature .rwf-feature-copy { position: relative; z-index: 3; max-width: 570px; margin: 0; }
.rwf-main .rwf-feature .rwf-display { font-size: clamp(48px, 6vw, 96px); }
.rwf-feature .rwf-lead { max-width: 440px; margin: 30px 0 0; color: #8b8b8b; font-size: 14px; line-height: 1.8; }
.rwf-feature .rwf-feature-cover {
	position: relative; z-index: 2; width: clamp(240px, 30vw, 560px); margin: 0; isolation: isolate;
	animation: rwf-cover-intro 1.8s cubic-bezier(.22,1,.36,1) both, rwf-cover-swing 5s ease-in-out 1.8s infinite;
}
.rwf-feature .rwf-feature-cover::before {
	content: ""; position: absolute; left: 50%; bottom: -25%; z-index: -1; width: 220%; height: 90%; translate: -50% 0;
	background: radial-gradient(ellipse, rgba(255,190,70,.55) 0%, rgba(255,140,30,.30) 35%, rgba(255,100,20,.12) 60%, transparent 78%);
	filter: blur(40px); animation: rwf-glow 4s ease-in-out infinite;
}
.rwf-feature .rwf-feature-cover img {
	display: block; width: 100%; height: auto;
	filter: drop-shadow(0 25px 35px rgba(0,0,0,.55)) drop-shadow(0 0 25px rgba(255,180,70,.25));
}
.rwf-feature .rwf-feature-aside { position: relative; z-index: 4; margin: 0; }
.rwf-feature .rwf-feature-aside .rwf-eyebrow { margin-bottom: 16px; }
.rwf-feature .rwf-feature-quote {
	margin: 0; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); color: #fff;
	font-family: var(--serif); font-size: 20px; font-style: italic; line-height: 1.4;
}
.rwf-feature .rwf-feature-aside p:not(.rwf-eyebrow):not(.rwf-feature-quote):not(.rwf-arrow-link) { margin: 18px 0 0; color: #8b8b8b; font-size: 13px; line-height: 1.75; }
.rwf-feature .rwf-feature-note { position: absolute; right: 3vw; bottom: 35px; margin: 0; color: #616161; font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }

@media (max-width: 1100px) {
	.rwf-main .rwf-feature { grid-template-columns: minmax(0, 1fr) auto; }
	.rwf-feature .rwf-feature-aside { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 760px) {
	.rwf-main .rwf-feature { grid-template-columns: 1fr; justify-items: center; text-align: center; min-height: 0; padding-top: 100px; padding-bottom: 100px; }
	.rwf-feature .rwf-lead { margin-inline: auto; }
	.rwf-feature .rwf-feature-cover { width: min(76vw, 380px); }
	.rwf-feature .rwf-feature-note { display: none; }
}

/* =========================================
   Section heading (videos + library)
   ========================================= */
.rwf-main .rwf-section-heading { gap: 60px; margin: 0; padding-bottom: 70px; }
.rwf-section-heading > .wp-block-group { margin: 0; }
.rwf-section-heading .rwf-section-intro { width: 300px; flex: 0 0 auto; margin: 0 0 8px; color: #858585; font-size: 15px; line-height: 1.7; }
@media (max-width: 760px) {
	.rwf-main .rwf-section-heading { flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 50px; }
	.rwf-section-heading .rwf-section-intro { width: auto; }
	.rwf-main .rwf-display { font-size: 14.8vw; }
}

/* =========================================
   Videos
   ========================================= */
.rwf-main .rwf-videos { padding-top: 150px; padding-bottom: 110px; background: #090909; }
.rwf-videos .rwf-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 60px) clamp(16px, 2vw, 28px); margin: 0; }
.rwf-videos .rwf-video-card { margin: 0; cursor: pointer; }
.rwf-video-card[data-reveal] { transition-delay: calc(150ms + var(--i, 0) * 120ms); }
/* The thumbnail: a Video block or an Embed block */
.rwf-video-card .wp-block-video, .rwf-video-card .wp-block-embed {
	position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate;
	border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); border-radius: 18px; background: radial-gradient(circle at 50% 40%, #232323, var(--ink) 70%);
	transition: transform .8s var(--ease), border-color .5s ease, box-shadow .8s ease;
}
.rwf-video-card .wp-block-video video, .rwf-video-card .rwf-video-poster {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1.2s var(--ease);
}
.rwf-video-card .wp-block-embed__wrapper { position: absolute; inset: 0; }
.rwf-video-card .wp-block-embed iframe { width: 100%; height: 100%; }
.rwf-video-card.is-enhanced .wp-block-embed__wrapper { display: none; }
.rwf-video-card .wp-block-video figcaption, .rwf-video-card .wp-block-embed figcaption { display: none; }
.rwf-video-card.is-enhanced .wp-block-video::after, .rwf-video-card.is-enhanced .wp-block-embed::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6)); box-shadow: inset 0 0 60px rgba(0,0,0,.55);
}
.rwf-play {
	position: absolute; z-index: 2; left: 50%; top: 50%; width: 58px; height: 58px; display: grid; place-items: center; padding: 0 0 0 3px;
	border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(11,11,11,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	color: #fff; font-size: 14px; cursor: pointer; transform: translate(-50%,-50%);
	transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, transform .5s var(--ease);
}
.rwf-video-card:hover .wp-block-video, .rwf-video-card:hover .wp-block-embed { transform: translateY(-6px); border-color: #fff; box-shadow: 0 30px 60px -25px rgba(0,0,0,.8), 0 0 40px rgba(255,255,255,.12); }
.rwf-video-card:hover video, .rwf-video-card:hover .rwf-video-poster { transform: scale(1.06); }
.rwf-video-card:hover .rwf-play, .rwf-play:focus-visible { background: var(--orange); border-color: var(--orange); box-shadow: 0 14px 40px color-mix(in srgb, var(--orange) 34%, transparent); transform: translate(-50%,-50%) scale(1.1); }
.rwf-videos .rwf-video-meta { margin: 22px 0 10px; color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.rwf-videos .rwf-video-card h3 { margin: 0 0 10px; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.05; letter-spacing: -.04em; text-transform: uppercase; }
.rwf-videos .rwf-video-text { margin: 0; color: #8c8c8c; font-size: 13px; line-height: 1.7; }
@media (max-width: 980px) {
	.rwf-videos .rwf-video-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.rwf-main .rwf-videos { padding-top: 100px; }
	.rwf-videos .rwf-video-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Video pop-up player (built by site.js) */
.rwf-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.rwf-modal.is-open { opacity: 1; visibility: visible; }
.rwf-modal-backdrop { position: absolute; inset: 0; background: rgba(5,5,5,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rwf-modal-dialog { position: relative; width: min(1100px, 100%, calc((100vh - 160px) * 16 / 9)); transform: translateY(20px) scale(.94); transition: transform .6s var(--ease); }
.rwf-modal.is-open .rwf-modal-dialog { transform: none; }
.rwf-modal-player { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 80px color-mix(in srgb, var(--orange) 12%, transparent); }
.rwf-modal-player iframe, .rwf-modal-player video { display: block; width: 100%; height: 100%; border: 0; }
.rwf-modal-empty { height: 100%; margin: 0; display: grid; place-items: center; color: #8c8c8c; font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); font-style: italic; }
.rwf-modal-title { margin: 18px 0 0; color: var(--muted); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.rwf-modal-close {
	position: absolute; right: 0; top: -56px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
	background: none; color: #fff; cursor: pointer; font-size: 22px; line-height: 1; transition: background .3s ease, border-color .3s ease, transform .4s var(--ease);
}
.rwf-modal-close:hover { background: var(--orange); border-color: var(--orange); transform: rotate(90deg); }

/* =========================================
   Library: book carousel
   Without JavaScript (and in the editor) the books sit in a simple row.
   site.js adds .is-ready and a data-pos to each book: five show at a time (0 = the bigger centre
   book, ±1, ±2 fading out towards the edges), the rest hidden. It turns on its own every few seconds.
   ========================================= */
.rwf-main .rwf-library { padding-top: 150px; padding-bottom: 150px; }
.rwf-library .rwf-carousel { --card-w: 240px; --step-1: 285px; --step-2: 500px; position: relative; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; outline: none; }
.rwf-library .rwf-carousel::before {
	content: ""; position: absolute; left: 50%; top: 42%; z-index: -1; width: min(760px, 110%); aspect-ratio: 1.3; translate: -50% -50%; pointer-events: none;
	background: radial-gradient(ellipse at center, color-mix(in srgb, var(--gold) 22%, transparent), color-mix(in srgb, var(--orange) 8%, transparent) 40%, transparent 70%); filter: blur(20px);
	animation: rwf-spotlight 6s ease-in-out infinite;
}
.rwf-library .rwf-book { width: var(--card-w); margin: 0; transition: transform 1.1s var(--ease), opacity .9s ease; }
.rwf-library .rwf-carousel.is-ready {
	display: grid; justify-items: center; gap: 0; padding: 56px 0 30px; overflow-x: clip; perspective: 1400px; touch-action: pan-y; user-select: none; cursor: grab;
	-webkit-mask-image: linear-gradient(90deg, transparent 1%, rgba(0,0,0,.45) 12%, #000 30%, #000 70%, rgba(0,0,0,.45) 88%, transparent 99%); mask-image: linear-gradient(90deg, transparent 1%, rgba(0,0,0,.45) 12%, #000 30%, #000 70%, rgba(0,0,0,.45) 88%, transparent 99%);
}
.rwf-library .rwf-carousel:focus-visible { outline: 1px solid var(--orange); outline-offset: 12px; border-radius: 18px; }
.rwf-carousel.is-ready .rwf-book { grid-area: 1 / 1; }
.rwf-carousel.is-ready .rwf-book[data-pos="0"] { z-index: 6; transform: scale(1.14); }
.rwf-carousel.is-ready .rwf-book[data-pos="1"] { z-index: 5; opacity: .85; transform: translateX(var(--step-1)) rotateY(-10deg) scale(.86); }
.rwf-carousel.is-ready .rwf-book[data-pos="-1"] { z-index: 5; opacity: .85; transform: translateX(calc(var(--step-1) * -1)) rotateY(10deg) scale(.86); }
.rwf-carousel.is-ready .rwf-book[data-pos="2"] { z-index: 4; opacity: .55; transform: translateX(var(--step-2)) rotateY(-18deg) scale(.72); }
.rwf-carousel.is-ready .rwf-book[data-pos="-2"] { z-index: 4; opacity: .55; transform: translateX(calc(var(--step-2) * -1)) rotateY(18deg) scale(.72); }
.rwf-carousel.is-ready .rwf-book[data-pos="hidden-r"] { z-index: 1; opacity: 0; pointer-events: none; transform: translateX(calc(var(--step-2) * 1.35)) rotateY(-24deg) scale(.6); }
.rwf-carousel.is-ready .rwf-book[data-pos="hidden-l"] { z-index: 1; opacity: 0; pointer-events: none; transform: translateX(calc(var(--step-2) * -1.35)) rotateY(24deg) scale(.6); }
/* Pop: the centre book springs forward each time it arrives */
.rwf-carousel.is-ready .rwf-book.is-active .rwf-book-cover { animation: rwf-book-pop .9s cubic-bezier(.34,1.56,.64,1) backwards; }
@keyframes rwf-book-pop { 0% { transform: scale(.9); } 55% { transform: translateY(-14px) scale(1.07); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .rwf-carousel.is-ready .rwf-book.is-active .rwf-book-cover { animation: none; } }
.rwf-carousel.is-ready .rwf-book:not(.is-active) { cursor: pointer; }
.rwf-carousel.is-ready .rwf-book:not(.is-active):hover { opacity: .95; }

.rwf-library .rwf-book-cover {
	position: relative; margin: 0; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 6px 14px 14px 6px;
	background: linear-gradient(160deg, #2a2a2a, var(--ink)); box-shadow: 0 30px 60px -18px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06);
	transition: transform .8s var(--ease), box-shadow .8s ease;
}
.rwf-book.is-active:not(:hover) .rwf-book-cover { box-shadow: 0 40px 80px -18px rgba(0,0,0,.95), 0 0 0 1px color-mix(in srgb, var(--gold) 30%, transparent), 0 0 90px color-mix(in srgb, var(--gold) 32%, transparent); }
.rwf-library .rwf-book-cover::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 2; width: 10px; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.12) 45%, transparent); pointer-events: none; }
.rwf-library .rwf-book-cover img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; transition: transform 1.2s var(--ease); }
.rwf-book:hover .rwf-book-cover { transform: translateY(-10px) scale(1.03); box-shadow: 0 44px 70px -22px rgba(0,0,0,.95), 0 0 0 1px color-mix(in srgb, var(--gold) 30%, transparent), 0 0 70px color-mix(in srgb, var(--gold) 30%, transparent); }
.rwf-book:hover .rwf-book-cover img { transform: scale(1.06); }
.rwf-library .rwf-book { text-align: center; }
.rwf-library .rwf-book-genre { margin: 34px 0 10px; color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; transition: opacity .6s ease; }
.rwf-library .rwf-book h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.05; letter-spacing: -.04em; text-transform: uppercase; transition: opacity .6s ease; }
.rwf-library .rwf-book-text { margin: 14px 0 0; color: #a8a8a8; font-family: var(--serif); font-size: 15px; line-height: 1.65; transition: opacity .6s ease; }
.rwf-library .rwf-book .rwf-arrow-link { margin-top: 18px; transition: opacity .45s ease, transform .6s var(--ease); }
.rwf-carousel.is-ready .rwf-book:not(.is-active) .rwf-book-genre,
.rwf-carousel.is-ready .rwf-book:not(.is-active) h3 { opacity: .55; }
.rwf-carousel.is-ready .rwf-book:not(.is-active) .rwf-book-text { opacity: 0; }
.rwf-carousel.is-ready .rwf-book .rwf-arrow-link { opacity: 0; transform: translateY(8px); }
.rwf-carousel.is-ready .rwf-book.is-active:hover .rwf-arrow-link, .rwf-carousel.is-ready .rwf-book.is-active:focus-within .rwf-arrow-link { opacity: 1; transform: none; }
@media (hover: none) { .rwf-carousel.is-ready .rwf-book.is-active .rwf-arrow-link { opacity: 1; transform: none; } }

.rwf-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); }
.rwf-carousel-btn { padding: 10px 0; border: 0; background: none; color: #fff; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; transition: color .3s ease, transform .35s var(--ease); }
.rwf-carousel-btn:hover { color: var(--orange); }
.rwf-carousel-btn--prev:hover { transform: translateX(-4px); }
.rwf-carousel-btn--next:hover { transform: translateX(4px); }
.rwf-carousel-dots { display: flex; gap: 10px; }
.rwf-carousel-dot { position: relative; width: 8px; height: 8px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: none; cursor: pointer; transition: width .5s var(--ease), background .3s ease, border-color .3s ease; }
.rwf-carousel-dot.is-active { width: 28px; background: var(--orange); border-color: var(--orange); }

@media (max-width: 980px) {
	.rwf-library .rwf-carousel { --card-w: 200px; --step-1: 225px; --step-2: 385px; }
}
@media (max-width: 640px) {
	.rwf-main .rwf-library { padding-top: 100px; padding-bottom: 100px; }
	.rwf-library .rwf-carousel { --card-w: 44vw; --step-1: 40vw; --step-2: 66vw; }
	.rwf-library .rwf-book h3 { font-size: 17px; }
	.rwf-library .rwf-carousel.is-ready { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
	.rwf-carousel.is-ready .rwf-book:not(.is-active) .rwf-book-genre, .rwf-carousel.is-ready .rwf-book:not(.is-active) h3 { opacity: 0; }
}

/* =========================================
   Sign-up
   ========================================= */
.rwf-main .rwf-signup {
	display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start;
	padding-top: 140px; padding-bottom: 140px; background: var(--paper); color: var(--ink);
}
.rwf-signup .rwf-signup-copy { margin: 0; }
.rwf-signup .rwf-signup-intro { max-width: 440px; margin: 30px 0 0; color: #575757; font-family: var(--serif); font-size: 17px; line-height: 1.75; }
.rwf-signup .rwf-perks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.rwf-signup .rwf-perks li { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.rwf-signup .rwf-perks li::before { content: ""; width: 28px; height: 1px; flex: 0 0 auto; background: var(--orange); }

.rwf-signup-form { display: grid; gap: 28px; margin: 0; padding: clamp(28px, 4vw, 52px); border: 1px solid rgba(11,11,11,.16); border-radius: 18px; background: rgba(255,255,255,.45); color: var(--ink); }
.rwf-signup-form .rwf-signup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.rwf-signup-form .rwf-field { display: grid; gap: 10px; }
.rwf-signup-form .rwf-field > span, .rwf-signup-form legend { color: #575757; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.rwf-signup-form .rwf-field input, .rwf-signup-form .rwf-field select {
	width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid rgba(11,11,11,.3); border-radius: 0;
	background: transparent; color: var(--ink); font-family: var(--serif); font-size: 18px; outline: none; transition: border-color .3s ease;
}
.rwf-signup-form .rwf-field select { cursor: pointer; }
.rwf-signup-form .rwf-field input:focus, .rwf-signup-form .rwf-field select:focus { border-bottom-color: var(--orange); }
.rwf-signup-form.was-submitted .rwf-field input:invalid { border-bottom-color: #b3261e; }
.rwf-signup-form .rwf-interests { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.rwf-signup-form .rwf-interests legend { margin-bottom: 14px; padding: 0; }
.rwf-signup-form .rwf-interests label { position: relative; cursor: pointer; }
.rwf-signup-form .rwf-interests input { position: absolute; opacity: 0; pointer-events: none; }
.rwf-signup-form .rwf-interests span { display: inline-block; padding: 10px 16px; border: 1px solid rgba(11,11,11,.22); border-radius: 999px; font-size: 12px; transition: background .3s ease, border-color .3s ease, color .3s ease; }
.rwf-signup-form .rwf-interests label:hover span { border-color: var(--orange); }
.rwf-signup-form .rwf-interests input:checked + span { border-color: var(--orange); background: var(--orange); color: #fff; }
.rwf-signup-form .rwf-interests input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.rwf-signup-form .rwf-consent { display: flex; gap: 12px; align-items: flex-start; color: #575757; font-size: 13px; line-height: 1.6; cursor: pointer; }
.rwf-signup-form .rwf-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--orange); }
.rwf-signup-form .rwf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rwf-signup-form .rwf-signup-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.rwf-signup-form .rwf-button {
	min-height: 54px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px;
	background: var(--orange); color: #fff; cursor: pointer; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
	box-shadow: 0 14px 40px color-mix(in srgb, var(--orange) 22%, transparent); transition: transform .35s var(--ease), box-shadow .35s ease;
}
.rwf-signup-form .rwf-button:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 20px 60px color-mix(in srgb, var(--orange) 34%, transparent); }
.rwf-signup-form .rwf-button:disabled { opacity: .6; cursor: wait; transform: none; }
.rwf-signup-form .rwf-signup-status { margin: 0; color: #575757; font-family: var(--serif); font-size: 15px; font-style: italic; }
.rwf-signup-form .rwf-signup-status.is-success { color: var(--ink); }
.rwf-signup-form .rwf-signup-status.is-error { color: #b3261e; }
@media (max-width: 980px) { .rwf-main .rwf-signup { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
	.rwf-main .rwf-signup { padding-top: 100px; padding-bottom: 100px; }
	.rwf-signup-form .rwf-signup-row { grid-template-columns: 1fr; }
	.rwf-signup-form .rwf-button { width: 100%; }
}

/* =========================================
   Numbers: more than pages
   ========================================= */
.rwf-main .rwf-discover { position: relative; min-height: 112vh; padding: 0; display: flex; align-items: stretch; overflow: hidden; isolation: isolate; color: #fff; }
.rwf-discover > .wp-block-cover__image-background { filter: saturate(.85); animation: rwf-drift 24s ease-in-out infinite alternate; }
.rwf-discover::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(51,21,5,.35)); }
.rwf-discover .wp-block-cover__inner-container { z-index: 2; display: flex; flex-direction: column; color: #fff; }
.rwf-discover .rwf-discover-head { flex: 1; display: grid; place-content: center; margin: 0; padding: 90px var(--pad); text-align: center; }
.rwf-discover .rwf-discover-head .rwf-eyebrow { color: #331505; }
.rwf-discover .rwf-discover-title { margin: 0; color: #fff; font-size: clamp(84px, 13vw, 200px); font-weight: 900; line-height: .86; letter-spacing: -.07em; text-transform: uppercase; }
.rwf-discover-title em { font-style: normal; color: transparent; -webkit-text-stroke: 2px #fff; }
.rwf-discover .rwf-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding-top: 90px; padding-bottom: 90px; }
.rwf-discover .rwf-stat { position: relative; min-height: 220px; margin: 0; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; border-right: 1px solid rgba(0,0,0,.16); }
.rwf-discover .rwf-stat-icon { position: absolute; top: 0; right: 20px; margin: 0; color: #5b2100; }
.rwf-discover .rwf-stat-number { margin: 0; color: #fff; font-size: clamp(56px, 6vw, 92px); font-weight: 900; line-height: 1; letter-spacing: -.08em; }
.rwf-discover .rwf-stat-label { margin: 14px 0 0; color: #331505; font-size: clamp(13px, 1.1vw, 16px); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 980px) { .rwf-main .rwf-discover { min-height: 0; } }
@media (max-width: 640px) {
	.rwf-discover .rwf-discover-title { font-size: 22vw; }
	.rwf-discover .rwf-stats { grid-template-columns: 1fr 1fr; padding: 0; }
	.rwf-discover .rwf-stat { min-height: 200px; border-bottom: 1px solid rgba(0,0,0,.16); }
	.rwf-discover .rwf-stat-number { font-size: 54px; }
}

/* =========================================
   Contact
   ========================================= */
.rwf-main .rwf-contact {
	position: relative; min-height: 110vh; display: grid; grid-template-columns: 1fr; align-content: center;
	padding-top: 140px; padding-bottom: 120px; overflow: hidden; isolation: isolate; background: #060606;
}
.rwf-contact::before { content: ""; position: absolute; right: -10vw; top: 25%; z-index: -1; width: 55vw; height: 55vw; border-radius: 50%; background: color-mix(in srgb, var(--orange) 24%, transparent); filter: blur(100px); pointer-events: none; }
.rwf-contact .rwf-contact-decor {
	position: absolute; z-index: -1; right: 5.5vw; bottom: 0; width: min(48vw, 680px); margin: 0; opacity: .5; filter: brightness(.7) saturate(.9);
	-webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 92%); mask-image: linear-gradient(180deg, #000 45%, transparent 92%);
	pointer-events: none;
}
.rwf-contact .rwf-contact-decor img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%); mask-image: linear-gradient(90deg, transparent 0, #000 5%); transform-origin: 50% 100%; animation: rwf-decor-swing 7s cubic-bezier(.45,0,.55,1) infinite; will-change: transform; }
.rwf-contact .rwf-contact-copy { position: relative; z-index: 2; margin: 0; }
.rwf-contact .rwf-contact-title { margin: 0; font-size: clamp(60px, 10vw, 150px); font-weight: 950; line-height: .95; letter-spacing: -.1em; text-transform: uppercase; }
.rwf-contact .rwf-contact-lead { margin: 40px 0 0; color: #888; font-size: 16px; }
.rwf-contact .rwf-call-giant { position: absolute; z-index: 3; right: 3vw; top: 44%; margin: 0; color: #fff; font-size: 15px; font-weight: 750; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
.rwf-call-giant a {
	width: clamp(170px, 15vw, 240px); height: clamp(170px, 15vw, 240px); padding: 20px; display: grid; place-items: center; text-align: center;
	border-radius: 50%; background: var(--orange);
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--orange) 40%, transparent); transition: transform .5s var(--ease); animation: rwf-call-pulse 2.4s ease infinite;
}
.rwf-call-giant a:hover { transform: scale(1.08) rotate(5deg); }
.rwf-contact .rwf-contact-details { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin: 130px 0 0; border-top: 1px solid var(--border); }
.rwf-contact .rwf-detail { margin: 0; padding: 25px 20px; border-right: 1px solid var(--border); }
.rwf-contact .rwf-detail-label { margin: 0 0 14px; color: #666; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.rwf-contact .rwf-detail-value { margin: 0; font-size: 11px; font-weight: 700; line-height: 1.7; text-transform: uppercase; }
.rwf-contact .rwf-detail-value a:hover { color: var(--orange); }
@media (max-width: 980px) { .rwf-contact .rwf-contact-details { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
	.rwf-main .rwf-contact { min-height: 0; padding-top: 130px; }
	.rwf-contact .rwf-contact-title { font-size: 14vw; }
	.rwf-contact .rwf-contact-lead { margin-top: 25px; }
	.rwf-contact .rwf-call-giant { position: relative; right: auto; top: auto; margin: 55px 0 0 auto; }
	.rwf-call-giant a { width: 170px; height: 170px; }
	.rwf-contact .rwf-contact-details { grid-template-columns: 1fr; margin-top: 80px; }
	.rwf-contact .rwf-detail { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--border); }
	.rwf-contact .rwf-contact-decor { width: 110vw; left: auto; right: -30vw; bottom: 0; }
}

/* =========================================
   Footer
   ========================================= */
.rwf-footer {
	min-height: 350px; margin: 0; padding-top: 70px; padding-bottom: 35px; display: grid; grid-template-columns: 1fr 1fr;
	align-content: space-between; gap: 40px; background: #0c0c0c; border-top: 1px solid var(--border); color: #fff;
}
.rwf-footer > * { margin: 0; }
.rwf-footer .rwf-brand { gap: 10px; }
.rwf-footer .rwf-brand-logo img { width: 46px; height: 46px; }
.rwf-footer .rwf-brand-word { font-size: 38px; }
.rwf-footer .rwf-footer-tagline { justify-self: end; align-self: center; margin: 0; color: #666; font-size: 12px; }
.rwf-footer .rwf-footer-links { gap: 30px; }
.rwf-footer .rwf-footer-links p, .rwf-footer .rwf-back-top { margin: 0; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.rwf-footer .rwf-footer-links a:hover, .rwf-footer .rwf-back-top a:hover { color: var(--orange); }
.rwf-footer .rwf-back-top { justify-self: end; }
.rwf-footer .rwf-copyright { grid-column: 1 / -1; margin: 0; padding-top: 25px; border-top: 1px solid var(--border); color: #535353; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.rwf-footer .rwf-floating-call { display: none; margin: 0; }
@media (max-width: 640px) {
	.rwf-footer { grid-template-columns: 1fr; gap: 28px; padding-top: 55px; }
	.rwf-footer .rwf-footer-tagline, .rwf-footer .rwf-back-top { justify-self: start; }
	.rwf-footer .rwf-copyright { grid-column: auto; }
	.rwf-footer .rwf-floating-call { display: block; position: fixed; z-index: 80; right: 16px; bottom: 16px; }
	.rwf-floating-call a {
		width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--orange);
		font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 15px 35px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.18);
	}
}

/* =========================================
   Ordinary pages and posts
   ========================================= */
.rwf-main.rwf-page { padding: 150px var(--pad) 120px; }
.rwf-main.rwf-page .rwf-page-title { margin: 0 0 30px; font-size: clamp(40px, 6vw, 80px); font-weight: 900; line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.rwf-main.rwf-page .wp-block-post-content { color: #d6d6d6; line-height: 1.75; }
.rwf-main.rwf-page a { color: var(--orange); }

/* =========================================
   Animations
   ========================================= */
@keyframes rwf-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rwf-nav-in { from { opacity: 0; margin-top: -15px; } to { opacity: 1; margin-top: 0; } }
@keyframes rwf-rise-in { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes rwf-product-in { from { opacity: 0; scale: .82; rotate: -5deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes rwf-aura-in { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes rwf-aura-pulse { 50% { scale: 1.08; opacity: .72; } }
@keyframes rwf-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
@keyframes rwf-orbit { to { transform: rotate(360deg); } }
@keyframes rwf-line-run { 0% { transform: translateX(-105%); } 50%, 100% { transform: translateX(105%); } }
@keyframes rwf-call-pulse { 70% { box-shadow: 0 0 0 25px color-mix(in srgb, var(--orange) 0%, transparent); } }
@keyframes rwf-lights { from { transform: translate(-4%, -2%) scale(1); } to { transform: translate(5%, 3%) scale(1.12); } }
@keyframes rwf-dust { from { background-position: 0 0; } to { background-position: 60px -420px; } }
@keyframes rwf-spotlight { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes rwf-drift { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes rwf-glow { 0%, 100% { opacity: .55; scale: .9; } 50% { opacity: 1; scale: 1.15; } }
@keyframes rwf-cover-intro {
	0% { opacity: 0; transform: translateY(20%) scale(.75) rotate(-12deg); }
	40% { opacity: 1; }
	70% { transform: translateY(-2%) scale(1.05) rotate(6deg); }
	100% { opacity: 1; transform: none; }
}
@keyframes rwf-cover-swing {
	0%, 100% { transform: rotate(-3deg); }
	25% { transform: rotate(3deg); }
	50% { transform: rotate(-2deg); }
	75% { transform: rotate(2deg); }
}

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

/* ---- Touch & small-screen polish (2.20) ---- */
.rwf-carousel-dot::after { content: ""; position: absolute; inset: -10px -4px; }
.rwf-carousel-dots { gap: 12px; }
.rwf-footer .rwf-footer-links a, .rwf-footer .rwf-back-top a, .rwf-detail-value a { display: inline-block; padding-block: 8px; }
.rwf-main .rwf-arrow-link a, .rwf-arrow-link a { display: inline-block; padding-block: 6px; }
@media (max-width: 380px) {
	.rwf-brand { gap: 8px; }
	.rwf-brand .rwf-brand-word { font-size: 15px; }
	.rwf-brand .rwf-brand-logo img { width: 28px; height: 28px; }
	.rwf-nav { padding-inline: 10px; }
}
html, body { overflow-x: clip; }

/* ---- Editor resizing (2.21) ----
   When you drag an image's size in the editor, that size wins over the theme's built-in size. */
.rwf-hero .rwf-hero-image.is-resized, .rwf-feature .rwf-feature-cover.is-resized, .rwf-contact .rwf-contact-decor.is-resized,
.rwf-hero .rwf-hero-image:has(img[style*="width"]), .rwf-feature .rwf-feature-cover:has(img[style*="width"]), .rwf-contact .rwf-contact-decor:has(img[style*="width"]) { width: auto; }
.rwf-hero .rwf-hero-image img[style*="width"], .rwf-feature .rwf-feature-cover img[style*="width"], .rwf-contact .rwf-contact-decor img[style*="width"] { max-width: 96vw; }
@media (min-width: 1600px) { .rwf-contact .rwf-contact-decor { right: 10vw; } }

/* Hero photo: gentle float up and down, with a slight sway (2.24) */
@keyframes rwf-hero-bob {
	0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
	25% { transform: translateY(-9px) rotate(-.6deg) scale(1.005); }
	50% { transform: translateY(-16px) rotate(0deg) scale(1.01); }
	75% { transform: translateY(-9px) rotate(.6deg) scale(1.005); }
}
@media (prefers-reduced-motion: reduce) { .rwf-hero .rwf-hero-image img { animation: none; } }

/* "Your next move" photo: slow pendulum swing from the bottom, with a soft rise (2.25) */
@keyframes rwf-decor-swing {
	0%, 100% { transform: rotate(-1.6deg) translateY(0); }
	25% { transform: rotate(0deg) translateY(-10px); }
	50% { transform: rotate(1.6deg) translateY(0); }
	75% { transform: rotate(0deg) translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) { .rwf-contact .rwf-contact-decor img { animation: none; } }

/* Shown when a film opened from a QR code had to start muted */
.rwf-modal-player { position: relative; }
.rwf-sound-on { position: absolute; z-index: 3; left: 50%; top: 16px; translate: -50% 0; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--orange); color: #fff; font: 700 12px/1 Arial, Helvetica, sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: rwf-call-pulse 2.4s ease infinite; }

/* Hero WINGS: golden gradient outline (2.28). Plain gold outline without JavaScript or in the editor;
   site.js draws the gradient version on top and hides this one. */
.rwf-hero .rwf-hero-title { position: relative; -webkit-text-stroke-color: #f2c25a; filter: drop-shadow(0 0 18px rgba(255, 190, 70, .28)); }
.rwf-hero .rwf-hero-title.has-gold-svg { -webkit-text-stroke-color: transparent; }
.rwf-gold-outline { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.rwf-gold-outline text { paint-order: stroke; }
.rwf-gold-outline .rwf-gold-shine { mix-blend-mode: screen; }
.rwf-baseline-probe { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
@media (prefers-reduced-motion: reduce) { .rwf-gold-outline .rwf-gold-shine { display: none; } }

/* Heading style "Book gold (like the WINGS cover)" (2.29): Cinzel capitals, dark bronze face with a polished gold edge. */
.rwf-main .is-style-rwf-book-gold, .is-style-rwf-book-gold {
	font-family: var(--wp--preset--font-family--cinzel, "Cinzel", Georgia, serif); font-weight: 700; letter-spacing: .01em; text-transform: uppercase;
	color: #4a2a0a; -webkit-text-stroke: 2px #f2c25a; filter: drop-shadow(0 0 22px rgba(255, 196, 80, .45)) drop-shadow(0 6px 10px rgba(0,0,0,.55));
}
.rwf-hero .rwf-hero-title.is-style-rwf-book-gold { line-height: .95; color: #4a2a0a; -webkit-text-stroke: 2px #f2c25a; font-size: clamp(64px, 10.5vw, 160px); }
.rwf-hero .rwf-hero-title.is-style-rwf-book-gold.has-gold-svg { color: transparent; -webkit-text-stroke-color: transparent; }
@media (max-width: 640px) { .rwf-hero .rwf-hero-title.is-style-rwf-book-gold { font-size: clamp(54px, 17vw, 84px); } }

/* Golden butterfly around the hero title (2.30) */
.rwf-hero .rwf-hero-copy { isolation: isolate; }
.rwf-butterfly { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

/* Hero WINGS sits just above the buttons (2.32) */
.rwf-hero .rwf-hero-title { top: clamp(8px, 2.3vw, 40px); }

/* =========================================
   Book pages (/books/<book-name>/), opened by "Explore book →"
   ========================================= */
.rwf-main .rwf-book-page { padding-top: clamp(120px, 14vw, 170px); padding-bottom: clamp(70px, 9vw, 130px); max-width: 1320px; margin: 0 auto; }
.rwf-book-page .rwf-book-back { margin: 0 0 clamp(26px, 4vw, 48px); }
.rwf-book-page .rwf-book-intro { gap: clamp(28px, 5vw, 80px); margin: 0 0 clamp(50px, 7vw, 100px); }
.rwf-book-page .rwf-book-page-cover { margin: 0; }
.rwf-book-page .rwf-book-page-cover img {
	display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; border-radius: 6px;
	box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
}
.rwf-book-page .rwf-display { margin-bottom: 22px; }
.rwf-book-page .rwf-book-lead { margin: 0 0 32px; max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; color: rgba(255,255,255,.78); }
.rwf-book-page .rwf-book-body { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.1); }
.rwf-book-page .rwf-book-body h2 { margin: 2.2em 0 .7em; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.rwf-book-page .rwf-book-body h2:first-child { margin-top: 0; }
.rwf-book-page .rwf-book-body p, .rwf-book-page .rwf-book-body li { font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.8); }
.rwf-book-page .rwf-book-quote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--orange); }
.rwf-book-page .rwf-book-quote p { font-family: var(--wp--preset--font-family--playfair-display, Georgia, serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.5; color: #fff; }
.rwf-book-page .rwf-book-quote cite { color: var(--orange); font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 781px) {
	.rwf-book-page .rwf-book-page-cover img { max-width: 280px; }
	.rwf-book-page .rwf-book-intro .wp-block-column:last-child { text-align: center; }
	.rwf-book-page .rwf-book-lead { margin-inline: auto; }
	.rwf-book-page .rwf-book-intro .wp-block-buttons { justify-content: center; }
}
