/*
 * RankingMad — main stylesheet.
 *
 * Built from the approved design files (design-src/design/*.dc.html). Values
 * are copied from the design, not rounded: if something looks a pixel off,
 * compare against the design file before "fixing" it.
 *
 *  1. Fonts            7. Cards & chips         13. Portfolio cards
 *  2. Tokens           8. Header                14. Single project
 *  3. Base             9. Footer                15. FAQ & accordions
 *  4. Layout          10. Heroes                16. Forms (contact, pricing)
 *  5. Type            11. Closing CTA           17. Service sequence
 *  6. Buttons         12. Home sections         18. Pricing
 *                                               19. SEO mock states
 *                                               20. Keyframes & motion
 *
 * The animated mocks (hero illustrations and sequence scenes) keep their
 * design styles inline inside template-parts/service/ and template-parts/home/:
 * they are fixed illustrations, never edited, and are reproduced verbatim.
 */

/* 1. Fonts ================================================================ */

@font-face {
	font-family: "Clash Display";
	src: url("../fonts/clash-display-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Clash Display";
	src: url("../fonts/clash-display-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Clash Display";
	src: url("../fonts/clash-display-700.woff2") format("woff2");
	font-weight: 700 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin.woff2") format("woff2");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Geist Mono";
	src: url("../fonts/geist-mono-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Geist Mono";
	src: url("../fonts/geist-mono-latin-ext.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Tokens =============================================================== */

:root {
	--bg: #0A0B09;
	--bg-2: #0D0E0B;
	--surface: #121410;
	--surface-2: #151812;
	--surface-3: #1C2018;
	--line: rgba(255, 255, 255, .08);
	--line-soft: rgba(255, 255, 255, .06);
	--line-7: rgba(255, 255, 255, .07);
	--line-strong: rgba(255, 255, 255, .16);
	--ink: #F2F4EE;
	--ink-2: #C9CCC2;
	--ink-3: #E3E6DD;
	--muted: #A2A79A;
	--muted-2: #6F7468;
	--lime: #A8F03C;
	--lime-hover: #BFFF5C;
	--lime-soft: #C9F78A;
	--lime-deep: #2E3A12;
	--lime-ink: #1E260C;
	--danger: #E5484D;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--display: "Clash Display", system-ui, sans-serif;
	--sans: "Manrope", system-ui, sans-serif;
	--mono: "Geist Mono", ui-monospace, monospace;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(80px, 10vw, 136px);
	/* Zoom for the ~560px-wide animated mocks on small screens; set by main.js. */
	--rm-vz: 1;
}

/* 3. Base ================================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
	scroll-behavior: smooth;
}

html { scroll-padding-top: 96px; }

body { overflow-x: clip; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--lime); }

::selection { background: var(--lime); color: var(--bg); }

img { max-width: 100%; height: auto; }

button { font: inherit; }

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

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

.rm-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--lime);
	color: var(--bg);
	font-weight: 700;
}
.rm-skip:focus { top: 12px; color: var(--bg); }

.is-lime { color: var(--lime); }
.is-ink { color: var(--ink); }

/* 4. Layout =============================================================== */

.rm-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.rm-section {
	padding-top: var(--section);
	padding-bottom: var(--section);
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.rm-band { border-top: 1px solid var(--line-soft); }
.rm-band--alt {
	background: var(--bg-2);
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
}
.rm-band--bottom { border-bottom: 1px solid var(--line-soft); }

/* Kicker + H2 on the left, paragraph on the right. */
.rm-head {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 24px 72px;
	align-items: end;
}
.rm-head__title {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.rm-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 320px)), 1fr));
	gap: 16px;
}

/* 5. Type ================================================================= */

.rm-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--mono);
	font-size: 13px;
	letter-spacing: .04em;
	color: var(--lime);
}

.rm-h2 {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(38px, 4.8vw, 64px);
	line-height: 1;
	letter-spacing: -.012em;
	text-wrap: balance;
}
.rm-h2--testi {
	font-weight: 700;
	font-size: clamp(36px, 4.6vw, 60px);
	text-wrap: wrap;
}

.rm-lead {
	margin: 0;
	font-size: 18px;
	line-height: 1.65;
	color: var(--muted);
	text-wrap: pretty;
}

.rm-intro {
	margin: 0;
	font-size: 19px;
	line-height: 1.6;
	color: var(--muted);
	text-wrap: pretty;
}

.rm-outline-num {
	font-family: var(--display);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.02em;
	color: transparent;
	-webkit-text-stroke: 1.2px rgba(168, 240, 60, .7);
}

.rm-label {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted-2);
}

.rm-prose {
	font-size: 17px;
	line-height: 1.7;
	color: var(--muted);
}
.rm-prose > :first-child { margin-top: 0; }
.rm-prose > :last-child { margin-bottom: 0; }
.rm-prose h2,
.rm-prose h3 {
	font-family: var(--display);
	font-weight: 600;
	color: var(--ink);
	letter-spacing: -.01em;
	line-height: 1.1;
}
.rm-prose a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.rm-prose strong { color: var(--ink); }

/* 6. Buttons ============================================================== */

.rm-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border-radius: 999px;
	font-family: var(--sans);
	font-weight: 600;
	font-size: 16px;
	padding: 16px 26px;
	white-space: nowrap;
	cursor: pointer;
	border: 0;
	transition: background-color .2s, border-color .2s, color .2s;
}
.rm-btn--primary {
	background: var(--lime);
	color: var(--bg);
	font-weight: 700;
}
.rm-btn--primary:hover { background: var(--lime-hover); color: var(--bg); }
.rm-btn--ghost {
	background: transparent;
	border: 1px solid var(--line-strong);
	color: var(--ink);
}
.rm-btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.rm-btn--dark {
	background: var(--bg);
	color: var(--ink);
	font-weight: 600;
	font-size: 15px;
	padding: 13px 20px;
	gap: 8px;
}
.rm-btn--dark:hover { color: var(--lime); }
.rm-btn--lg { font-size: 17px; padding: 18px 30px; }
.rm-btn--ghost.rm-btn--lg { padding: 18px 28px; border-color: rgba(255, 255, 255, .18); }
.rm-btn--md { font-size: 15px; padding: 14px 22px; }
.rm-btn--sm { font-size: 15px; padding: 13px 22px; }

.rm-btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* The "See every project" pill with a round arrow. */
.rm-pill-link {
	align-self: center;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 10px 10px 28px;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, .12);
	font-weight: 600;
	font-size: 16px;
	color: var(--ink);
}
.rm-pill-link:hover { border-color: var(--lime); color: var(--ink); }

.rm-round {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	background: var(--lime);
	color: var(--bg);
}

/* 7. Cards & chips ======================================================== */

.rm-card {
	padding: 32px;
	border-radius: 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	transition: border-color .35s;
}
.rm-card:hover { border-color: rgba(168, 240, 60, .45); }

.rm-chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.rm-chips--tight { gap: 6px; }

.rm-chip {
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(168, 240, 60, .1);
	border: 1px solid rgba(168, 240, 60, .3);
	color: var(--lime-soft);
	font-size: 13px;
	font-weight: 500;
}
.rm-chip--step {
	background: rgba(168, 240, 60, .08);
	border-color: rgba(168, 240, 60, .28);
	white-space: nowrap;
}
.rm-chip--tag {
	padding: 5px 11px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .12);
	font-size: 12.5px;
	font-weight: 400;
	color: var(--ink-2);
	white-space: nowrap;
}
.rm-chip--soft {
	padding: 5px 11px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .1);
	font-size: 12.5px;
	font-weight: 400;
	color: var(--ink-2);
	white-space: nowrap;
}
.rm-chip--mono {
	padding: 6px 12px;
	background: rgba(168, 240, 60, .1);
	font-weight: 400;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.rm-ticks {
	display: flex;
	gap: 10px 24px;
	flex-wrap: wrap;
	font-size: 15px;
	color: var(--ink-2);
}
.rm-ticks > span {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}
.rm-ticks > span::before { content: "\2713"; color: var(--lime); }

/* Live "ping" dot: <span class="rm-ping"><i></i><i></i></span> */
.rm-ping {
	position: relative;
	flex: none;
	width: 8px;
	height: 8px;
}
.rm-ping--10 { width: 10px; height: 10px; }
.rm-ping > i {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--lime);
}
.rm-ping > i + i { animation: rmPing 1.8s infinite; }
.rm-ping--fast > i + i { animation-duration: 1.6s; }

/* 8. Header =============================================================== */

.rm-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bg);
	border-bottom: 1px solid var(--line-7);
}
.admin-bar .rm-header { top: var(--wp-admin--admin-bar--height, 32px); }

.rm-header__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 16px var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: nowrap;
}

.rm-logo {
	display: flex;
	align-items: center;
	flex: none;
}
.rm-logo img {
	height: 46px;
	width: auto;
	display: block;
}
.rm-logo__text {
	font-family: var(--display);
	font-weight: 600;
	font-size: 26px;
	letter-spacing: -.01em;
}

.rm-nav {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 34px);
	flex-wrap: nowrap;
	white-space: nowrap;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -.005em;
}
.rm-nav a { color: var(--muted); }
.rm-nav a:hover { color: var(--ink); }
.rm-nav a[aria-current],
.rm-nav a.is-current {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ink);
}
.rm-nav a[aria-current]::before,
.rm-nav a.is-current::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--lime);
}

.rm-header__actions {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: none;
}

.rm-status {
	display: none;
	align-items: center;
	gap: 8px;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
	white-space: nowrap;
}

.rm-header__cta {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--ink);
	color: var(--bg);
	font-weight: 600;
	font-size: 14px;
	padding: 11px 20px;
	border-radius: 999px;
	white-space: nowrap;
}
.rm-header__cta:hover { background: var(--lime); color: var(--bg); }

.rm-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	background: transparent;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 18px;
	cursor: pointer;
	padding: 0;
}
.rm-burger__close { display: none; }
.rm-burger[aria-expanded="true"] { background: var(--lime); color: var(--bg); }
.rm-burger[aria-expanded="true"] .rm-burger__open { display: none; }
.rm-burger[aria-expanded="true"] .rm-burger__close { display: inline; }

.rm-mobile {
	display: none;
	flex-direction: column;
	gap: 18px;
	padding: 20px var(--gutter) 32px;
	border-top: 1px solid var(--line-7);
	background: var(--bg);
	font-family: var(--display);
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -.01em;
}
.rm-mobile a { color: var(--muted); }
.rm-mobile a:hover { color: var(--ink); }
.rm-mobile a[aria-current] {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ink);
}
.rm-mobile a[aria-current]::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--lime);
}
.rm-mobile .rm-mobile__cta {
	margin-top: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--lime);
	color: var(--bg);
	font-family: var(--sans);
	font-weight: 700;
	font-size: 16px;
	padding: 16px 24px;
	border-radius: 999px;
	letter-spacing: 0;
}
.rm-mobile .rm-mobile__cta:hover { color: var(--bg); }

@media (min-width: 1180px) {
	.rm-status { display: flex; }
}
@media (max-width: 1099px) {
	.rm-nav { display: none; }
	.rm-burger { display: flex; }
	.rm-header.is-open .rm-mobile { display: flex; }
}
@media (max-width: 519px) {
	.rm-header__cta { display: none; }
}

/* 9. Footer =============================================================== */

.rm-footer {
	background: var(--lime);
	color: var(--bg);
	border-radius: 40px 40px 0 0;
	overflow: hidden;
}
.rm-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(56px, 7vw, 88px) var(--gutter) 28px;
	display: flex;
	flex-direction: column;
	gap: clamp(48px, 6vw, 72px);
}
.rm-footer__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px 48px;
	flex-wrap: wrap;
}
.rm-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 22px;
	max-width: 460px;
}
.rm-footer__badge {
	align-self: flex-start;
	display: flex;
	align-items: center;
	padding: 14px 22px;
	border-radius: 18px;
	background: var(--bg);
}
.rm-footer__badge img {
	height: 40px;
	width: auto;
	display: block;
}
.rm-footer__tagline {
	margin: 0;
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(24px, 2.4vw, 30px);
	line-height: 1.15;
	letter-spacing: -.01em;
	text-wrap: balance;
}
.rm-footer__nav {
	display: flex;
	gap: 12px 28px;
	flex-wrap: wrap;
	padding-top: 12px;
}
.rm-footer a { color: var(--bg); }
.rm-footer__nav a {
	font-weight: 600;
	font-size: 16px;
	white-space: nowrap;
}
.rm-footer__nav a:hover,
.rm-footer__top-link:hover { color: #3D4F12; }

.rm-footer__cards {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}
.rm-footer .rm-fcard {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 36px;
	min-height: 180px;
	padding: 28px;
	border-radius: 24px;
	background: var(--bg);
	color: var(--ink);
	transition: transform .35s var(--ease);
}
.rm-footer .rm-fcard:hover { transform: translateY(-6px); color: var(--ink); }
.rm-fcard__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.rm-fcard__label {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}
.rm-fcard__title {
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.05;
	letter-spacing: -.01em;
}

.rm-footer__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px 24px;
	flex-wrap: wrap;
	padding-top: 24px;
	border-top: 1.5px solid rgba(10, 11, 9, .2);
	font-size: 14px;
	font-weight: 600;
}
.rm-footer__status {
	display: flex;
	align-items: center;
	gap: 8px;
}
.rm-footer__status::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bg);
}
.rm-footer__top-link {
	display: flex;
	align-items: center;
	gap: 8px;
}
.rm-footer__top-link span {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--bg);
	color: var(--lime);
	display: flex;
	align-items: center;
	justify-content: center;
}
.rm-footer__legal {
	display: flex;
	gap: 8px 20px;
	flex-wrap: wrap;
}
.rm-footer__legal a { font-weight: 600; }
.rm-footer__legal a:hover { color: #3D4F12; }

/* 10. Heroes ============================================================== */

.rm-hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--line-soft);
}
.rm-hero__grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%);
	pointer-events: none;
}
.rm-hero--split .rm-hero__grid {
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.rm-hero__glow {
	position: absolute;
	width: 820px;
	height: 820px;
	left: 50%;
	top: -460px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(168, 240, 60, .16), transparent 65%);
	pointer-events: none;
}
.rm-hero--split .rm-hero__glow {
	width: 720px;
	height: 720px;
	left: auto;
	right: -180px;
	top: -260px;
	transform: none;
}

/* Inner pages: big headline, line, intro. */
.rm-hero__inner {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(64px, 9vw, 112px) var(--gutter) clamp(48px, 6vw, 72px);
	display: flex;
	flex-direction: column;
	gap: 28px;
	animation: rmUp .8s var(--ease) both;
}
.rm-hero__inner--tall { padding-top: clamp(64px, 9vw, 120px); }

.rm-crumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-family: var(--mono);
	font-size: 13px;
	color: var(--muted);
}
.rm-crumbs a { color: var(--muted); }
.rm-crumbs a:hover { color: var(--lime); }
.rm-crumbs__sep { color: var(--muted-2); }
.rm-crumbs__here { color: var(--lime); white-space: nowrap; }

.rm-h1 {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(52px, 7.6vw, 112px);
	line-height: .94;
	letter-spacing: -.018em;
	text-wrap: balance;
}
.rm-h1--about { font-size: clamp(52px, 8.4vw, 128px); }
.rm-h1--services { font-size: clamp(52px, 8vw, 120px); max-width: 1100px; }

.rm-hero__row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 28px 64px;
	flex-wrap: wrap;
}
.rm-hero__row > .rm-h1 { flex: 1 1 560px; max-width: 900px; }
.rm-hero__row > .rm-intro,
.rm-hero__row > .rm-hero__aside { flex: 0 1 420px; }
.rm-hero__aside {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* About & Services: intro row under a hairline. */
.rm-hero__foot {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px 64px;
	flex-wrap: wrap;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}
.rm-hero__foot > .rm-intro {
	flex: 1 1 420px;
	max-width: 620px;
}

.rm-jump {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	max-width: 560px;
}
.rm-jump a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .14);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}
.rm-jump a:hover { border-color: var(--lime); color: var(--lime); }
.rm-jump a span {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--lime);
}

.rm-pricechips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.rm-pricechips span {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .14);
	font-size: 13.5px;
	color: var(--ink-2);
	white-space: nowrap;
}
.rm-pricechips span::before { content: "\2713"; color: var(--lime); }

/* Split hero: Home and the six service pages. */
.rm-split {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(56px, 8vw, 104px) var(--gutter) clamp(64px, 8vw, 104px);
	display: flex;
	flex-wrap: wrap;
	gap: clamp(48px, 5vw, 72px);
	align-items: center;
}
.rm-split--service { padding-top: clamp(48px, 7vw, 88px); }

.rm-split__copy {
	flex: 1.15 1 560px;
	min-width: min(100%, 560px);
	display: flex;
	flex-direction: column;
	gap: 28px;
	animation: rmUp .8s var(--ease) both;
}
.rm-split--service .rm-split__copy {
	flex: 1 1 480px;
	min-width: min(100%, 480px);
	gap: 26px;
}

.rm-split__mock {
	flex: 1 1 500px;
	min-width: min(100%, 460px);
	position: relative;
	height: 560px;
	zoom: var(--rm-vz);
	animation: rmUp .9s .15s var(--ease) both;
}
.rm-split--service .rm-split__mock {
	flex: 1.15 1 520px;
	height: 540px;
}

.rm-h1-home {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(44px, 5.2vw, 76px);
	line-height: 1.02;
	max-width: 760px;
	letter-spacing: -.012em;
	text-wrap: balance;
}
.rm-h1-service {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(46px, 5.6vw, 80px);
	line-height: .98;
	letter-spacing: -.015em;
	text-wrap: balance;
}
.rm-h1-service--sm { font-size: clamp(44px, 5.4vw, 78px); }
.rm-split__copy > .rm-intro { max-width: 600px; }
.rm-split--service .rm-split__copy > .rm-intro { max-width: 560px; }

.rm-pill {
	display: flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	padding: 7px 14px 7px 10px;
	border: 1px solid rgba(168, 240, 60, .3);
	background: rgba(168, 240, 60, .06);
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--lime-soft);
	white-space: nowrap;
}
.rm-pill::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lime);
	animation: rmPulse 1.8s infinite;
}

.rm-trust {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}
.rm-trust__people {
	display: flex;
	align-items: center;
	gap: 12px;
}
.rm-avatars { display: flex; }
.rm-avatars span {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid var(--bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	background: var(--lime);
	color: var(--bg);
}
.rm-avatars span + span { margin-left: -10px; }
.rm-avatars span:nth-child(3n+2) { background: var(--ink); }
.rm-avatars span:nth-child(3n+3) { background: #2A2E25; color: var(--ink); }
.rm-trust__rating {
	display: flex;
	flex-direction: column;
	font-size: 13px;
	color: var(--muted);
}
.rm-stars { color: var(--lime); letter-spacing: 2px; }
.rm-trust__stat {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 14px;
	color: var(--muted);
}
.rm-trust__stat strong {
	font-family: var(--display);
	font-size: 28px;
	font-weight: 600;
	color: var(--ink);
}

/* 11. Closing CTA ========================================================= */

.rm-cta {
	position: relative;
	overflow: hidden;
	border-top: 1px solid var(--line-soft);
}
.rm-cta__glow {
	position: absolute;
	left: 50%;
	top: 40%;
	width: 1000px;
	height: 560px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(168, 240, 60, .16), transparent);
	pointer-events: none;
}
.rm-cta__inner {
	position: relative;
	max-width: 1080px;
	margin: 0 auto;
	padding: clamp(96px, 12vw, 160px) var(--gutter);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 28px;
}
.rm-cta__title {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(52px, 7.6vw, 112px);
	line-height: .94;
	letter-spacing: -.015em;
	text-wrap: balance;
}
.rm-cta__text { max-width: 620px; }
.rm-cta .rm-btns {
	justify-content: center;
	padding-top: 8px;
}
.rm-cta .rm-ticks {
	gap: 10px 28px;
	justify-content: center;
	font-size: 14px;
	color: var(--muted);
	padding-top: 12px;
}

/* 12. Home sections ======================================================= */

/* Marquee */
.rm-marquee {
	border-bottom: 1px solid var(--line-soft);
	display: flex;
	align-items: center;
	overflow: hidden;
}
.rm-marquee__label {
	flex: none;
	padding: 0 28px 0 var(--gutter);
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted-2);
	line-height: 1.5;
	max-width: 180px;
}
.rm-marquee__viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	padding: 26px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rm-marquee__track {
	display: flex;
	gap: 36px;
	width: max-content;
	align-items: center;
	animation: rmMarquee 38s linear infinite;
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(28px, 3.2vw, 42px);
	letter-spacing: -.015em;
	white-space: nowrap;
}
.rm-marquee__item {
	display: flex;
	align-items: center;
	gap: 36px;
}
.rm-marquee__item:nth-child(even) > span:first-child { color: var(--muted-2); }
.rm-marquee__item > span + span { color: var(--lime); font-size: .6em; }

/* Challenge */
.rm-problem {
	gap: 28px;
	min-height: 300px;
}
.rm-problem__mark {
	font-family: var(--display);
	font-size: 64px;
	line-height: .6;
	color: var(--lime);
	height: 28px;
}
.rm-problem__quote {
	margin: 0;
	font-family: var(--display);
	font-weight: 500;
	font-size: 27px;
	line-height: 1.15;
	letter-spacing: -.015em;
	text-wrap: pretty;
	flex: 1;
}
.rm-problem__fix {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}
.rm-problem__fix .rm-label { color: var(--muted-2); }

.rm-banner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	padding: 28px 32px;
	border-radius: 24px;
	background: var(--lime);
	color: var(--bg);
}
.rm-banner__text {
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(22px, 2.4vw, 30px);
	letter-spacing: -.015em;
}

/* Service cards (Home) */
.rm-svc {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 32px;
	border-radius: 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	min-height: 400px;
	color: var(--ink);
	transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.rm-svc:hover {
	border-color: rgba(168, 240, 60, .55);
	transform: translateY(-6px);
	background: var(--surface-2);
	color: var(--ink);
}
.rm-svc::before {
	content: "";
	position: absolute;
	right: -40px;
	top: -40px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(168, 240, 60, .16), transparent 70%);
}
.rm-svc > * { position: relative; }
.rm-svc__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.rm-svc__num { font-size: 56px; }
.rm-svc__arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	color: var(--lime);
}
.rm-svc__title {
	margin: auto 0 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 28px;
	line-height: 1.05;
	letter-spacing: -.01em;
	text-wrap: balance;
}
.rm-svc__desc {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--muted);
	text-wrap: pretty;
}
.rm-svc .rm-chips {
	gap: 6px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.rm-center { display: flex; justify-content: center; }
.rm-center .rm-btn--ghost { font-size: 15px; padding: 14px 24px; }

/* Work header */
.rm-workhead {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
}
.rm-workhead__title {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 720px;
}

/* Steps (Home process, Services how it works) */
.rm-step {
	position: relative;
	gap: 16px;
	min-height: 320px;
	overflow: hidden;
}
.rm-step--short { min-height: 300px; }
.rm-step__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.rm-step__num {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--display);
	font-weight: 600;
	font-size: 17px;
}
.rm-step__when {
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .12);
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.rm-step__title {
	margin: auto 0 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 28px;
	letter-spacing: -.015em;
	line-height: 1.05;
}
.rm-step__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--muted);
	text-wrap: pretty;
}

/* Testimonials */
.rm-testi .rm-section {
	padding-top: clamp(72px, 10vw, 128px);
	padding-bottom: clamp(72px, 10vw, 128px);
	gap: 48px;
}
.rm-quote {
	margin: 0;
	padding: 32px;
	border-radius: 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.rm-quote .rm-stars { font-size: 15px; }
.rm-quote blockquote {
	margin: 0;
	font-size: 18px;
	line-height: 1.55;
	text-wrap: pretty;
	flex: 1;
}
.rm-quote figcaption {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	font-weight: 600;
}
.rm-quote__initials {
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
}

/* About */
.rm-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.rm-stats__item {
	padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 36px);
	display: flex;
	flex-direction: column;
	gap: 10px;
	border-right: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
}
.rm-stats__value {
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(52px, 5.6vw, 76px);
	line-height: 1;
	letter-spacing: -.02em;
}
.rm-stats__value span { color: var(--lime); }
.rm-stats__label {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}

.rm-story {
	padding-top: var(--section);
	padding-bottom: var(--section);
	display: flex;
	flex-wrap: wrap;
	gap: 40px 72px;
	align-items: flex-start;
}
.rm-story__side {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.rm-story__status {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	align-self: flex-start;
}
.rm-story__status strong { display: block; font-weight: 600; font-size: 15px; }
.rm-story__status small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.rm-story__main {
	flex: 2.4 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.rm-statement {
	margin: 0;
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(28px, 3.4vw, 46px);
	line-height: 1.15;
	letter-spacing: -.012em;
	text-wrap: pretty;
	color: var(--muted-2);
}
.rm-pillar {
	padding: 28px;
	gap: 14px;
}
.rm-pillar .rm-outline-num { font-size: 44px; letter-spacing: 0; }
.rm-pillar h3 {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 24px;
	line-height: 1.1;
	letter-spacing: -.01em;
}
.rm-pillar p {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--muted);
	text-wrap: pretty;
}

.rm-vm {
	position: relative;
	overflow: hidden;
	padding: clamp(32px, 4vw, 48px);
	border-radius: 28px;
	display: flex;
	flex-direction: column;
	gap: 56px;
	min-height: 380px;
}
.rm-vm--lime { background: var(--lime); color: var(--bg); }
.rm-vm--dark { background: var(--surface); border: 1px solid var(--line); }
.rm-vm__ring {
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(10, 11, 9, .18);
}
.rm-vm__ring--a { right: -90px; bottom: -90px; width: 300px; height: 300px; }
.rm-vm__ring--b { right: -30px; bottom: -30px; width: 180px; height: 180px; }
.rm-vm__glow {
	position: absolute;
	right: -60px;
	top: -60px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(168, 240, 60, .16), transparent 70%);
}
.rm-vm__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.rm-vm__label {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}
.rm-vm--lime .rm-vm__label { color: var(--lime-deep); }
.rm-vm__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	background: var(--lime);
	color: var(--bg);
}
.rm-vm--lime .rm-vm__icon { background: var(--bg); color: var(--lime); }
.rm-vm__text {
	position: relative;
	margin: auto 0 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.1;
	letter-spacing: -.012em;
	text-wrap: pretty;
}
.rm-vm--lime .rm-vm__text .is-lime { color: var(--bg); }

.rm-why { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .1); }
.rm-why__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 12px 48px;
	align-items: center;
	padding: clamp(28px, 3.4vw, 40px) 8px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	transition: background .3s, padding .3s;
}
.rm-why__row:hover {
	background: var(--surface);
	padding-left: 24px;
	padding-right: 24px;
}
.rm-why__head {
	display: flex;
	align-items: center;
	gap: 24px;
}
.rm-why__n { font-family: var(--mono); font-size: 13px; color: var(--lime); }
.rm-why__head h3 {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(28px, 3.2vw, 42px);
	line-height: 1;
	letter-spacing: -.012em;
}
.rm-why__row p {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--muted);
	text-wrap: pretty;
	max-width: 520px;
}

/* Services overview */
.rm-svclist {
	padding-top: clamp(56px, 7vw, 96px);
	padding-bottom: var(--section);
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.rm-svcblock {
	scroll-margin-top: 110px;
	display: flex;
	flex-wrap: wrap;
	gap: 36px 56px;
	padding: clamp(28px, 4vw, 48px);
	border-radius: 32px;
	background: var(--surface);
	border: 1px solid var(--line);
	transition: border-color .35s;
}
.rm-svcblock:hover { border-color: rgba(168, 240, 60, .45); }
.rm-svcblock__main {
	flex: 1.3 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.rm-svcblock__top {
	display: flex;
	align-items: center;
	gap: 14px;
}
.rm-svcblock__top .rm-outline-num {
	font-size: 64px;
	-webkit-text-stroke-color: rgba(168, 240, 60, .75);
}
.rm-svcblock h2 {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(34px, 3.8vw, 52px);
	line-height: 1;
	letter-spacing: -.012em;
	text-wrap: balance;
}
.rm-svcblock__desc {
	margin: 0;
	max-width: 560px;
	font-size: 17.5px;
	line-height: 1.65;
	color: var(--muted);
	text-wrap: pretty;
}
.rm-bestfor {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	border-radius: 18px;
	background: var(--bg);
	border: 1px solid var(--line-7);
	max-width: 560px;
}
.rm-bestfor span:last-child {
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--ink-3);
	text-wrap: pretty;
}
.rm-svcblock .rm-btns {
	gap: 10px;
	margin-top: auto;
	padding-top: 6px;
}
.rm-svcblock .rm-btn { font-size: 15px; padding: 14px 22px; }
.rm-included {
	flex: 1 1 340px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 28px;
	border-radius: 24px;
	background: var(--bg-2);
	border: 1px solid var(--line-7);
}
.rm-included .rm-label { letter-spacing: .12em; padding-bottom: 10px; }
.rm-included__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 13px 0;
	border-top: 1px solid var(--line-7);
	font-size: 15.5px;
	line-height: 1.45;
	color: var(--ink-3);
}
.rm-check {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	margin-top: 1px;
}

.rm-qcard {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	min-height: 240px;
	padding: 32px;
	border-radius: 28px;
	background: var(--surface);
	color: var(--ink);
	border: 1px solid var(--line);
	transition: transform .35s var(--ease), border-color .35s;
}
.rm-qcard:hover { transform: translateY(-6px); border-color: var(--lime); color: var(--ink); }
.rm-qcard--lime { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.rm-qcard--lime:hover { color: var(--bg); }
.rm-qcard__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.rm-qcard__kicker,
.rm-qcard__sub { color: var(--muted); }
.rm-qcard--lime .rm-qcard__kicker,
.rm-qcard--lime .rm-qcard__sub { color: var(--lime-deep); }
.rm-qcard__kicker {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.rm-qcard__arrow {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 19px;
}
.rm-qcard--lime .rm-qcard__arrow { background: var(--bg); color: var(--lime); }
.rm-qcard--light .rm-qcard__arrow { background: var(--ink); color: var(--bg); }
.rm-qcard__body { display: flex; flex-direction: column; gap: 10px; }
.rm-qcard__title {
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(28px, 2.8vw, 36px);
	line-height: 1.02;
	letter-spacing: -.012em;
	text-wrap: balance;
}
.rm-qcard__sub { font-size: 15px; line-height: 1.5; }

/* Service pages: "What's included" cards */
.rm-inc {
	gap: 14px;
	padding: 30px;
	min-height: 230px;
	transition: border-color .35s, transform .35s;
}
.rm-inc:hover { border-color: rgba(168, 240, 60, .5); transform: translateY(-4px); }
.rm-inc .rm-outline-num { font-size: 44px; letter-spacing: 0; }
.rm-inc h3 {
	margin: auto 0 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 25px;
	line-height: 1.08;
	letter-spacing: -.01em;
}
.rm-inc p {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--muted);
	text-wrap: pretty;
}

/* 13. Portfolio cards ===================================================== */

.rm-pcard {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 16px;
	border-radius: 28px;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--ink);
	transition: border-color .35s;
}
.rm-pcard:hover { border-color: rgba(168, 240, 60, .5); color: var(--ink); }
.rm-pcard--featured { padding: 20px; }

.rm-browser {
	border-radius: 16px;
	overflow: hidden;
	background: var(--bg);
	border: 1px solid var(--line);
}
.rm-browser__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--line-7);
	min-width: 0;
}
.rm-browser__dot {
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #3A3E35;
}
.rm-browser__url {
	margin-left: 10px;
	padding: 4px 12px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .05);
	font-family: var(--mono);
	font-size: 11px;
	color: var(--muted);
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.rm-browser__hint {
	margin-left: auto;
	flex: none;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted-2);
	white-space: nowrap;
}

.rm-shot {
	height: clamp(240px, 24vw, 320px);
	background-color: #16190F;
	background-size: 100% auto;
	background-position: top center;
	background-repeat: no-repeat;
	transition: background-position 7s cubic-bezier(.45, 0, .55, 1);
}
.rm-pcard--featured .rm-shot { height: clamp(300px, 36vw, 460px); }
.rm-shot:hover,
.rm-shot.is-scrolling { background-position: bottom center; }
.rm-shot--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: linear-gradient(140deg, #A8F03C, #4F7A14);
	font-family: var(--display);
	font-weight: 600;
	font-size: 28px;
	color: var(--bg);
}

.rm-pcard__meta {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px 28px;
	flex-wrap: wrap;
	padding: 0 8px 8px;
}
.rm-pcard--featured .rm-pcard__meta { padding: 0 12px 10px; }
.rm-pcard__info {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 260px;
}
.rm-pcard__place {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
}
.rm-pcard__name {
	font-family: var(--display);
	font-weight: 600;
	font-size: 28px;
	line-height: 1;
	letter-spacing: -.01em;
}
.rm-pcard--featured .rm-pcard__name { font-size: clamp(30px, 3.2vw, 40px); }
.rm-pcard__stats {
	display: flex;
	gap: 24px;
}
.rm-pcard--featured .rm-pcard__stats { gap: 36px; }
.rm-pstat {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.rm-pstat__v {
	font-family: var(--display);
	font-weight: 600;
	font-size: 36px;
	line-height: 1;
	letter-spacing: -.015em;
	color: var(--lime);
}
.rm-pcard--featured .rm-pstat__v { font-size: clamp(40px, 4.4vw, 56px); }
.rm-pstat__l {
	font-size: 13px;
	color: var(--muted);
	white-space: nowrap;
}

.rm-pgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
	gap: 20px;
}

.rm-highlights {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}
.rm-highlights > div {
	padding: 24px 24px 26px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.rm-highlights strong {
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(40px, 4.4vw, 56px);
	line-height: 1;
	letter-spacing: -.015em;
	color: var(--lime);
}
.rm-highlights span { font-size: 14px; color: var(--muted); }

.rm-work {
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: var(--section);
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.rm-work__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.rm-count {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted-2);
	white-space: nowrap;
}

/* Filter chips (switch on automatically once projects' services differ). */
.rm-filters {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.rm-filter {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .14);
	background: transparent;
	color: var(--ink-3);
	font-family: var(--sans);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
}
.rm-filter:hover { border-color: var(--lime); }
.rm-filter span { font-family: var(--mono); font-size: 11px; opacity: .7; }
.rm-filter[aria-pressed="true"] {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--bg);
}

/* 14. Single project ====================================================== */

.rm-proj-hero__meta {
	display: flex;
	align-items: center;
	gap: 10px 18px;
	flex-wrap: wrap;
	font-family: var(--mono);
	font-size: 13px;
	color: var(--muted);
}
.rm-proj-hero__meta span + span::before {
	content: "\00B7";
	margin-right: 18px;
	color: var(--muted-2);
}

.rm-showcase {
	position: relative;
	padding-bottom: clamp(40px, 6vw, 80px);
}
.rm-showcase .rm-browser {
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
	border-radius: 24px;
	background: #0F110D;
	border-color: rgba(255, 255, 255, .1);
}
.rm-showcase .rm-browser__bar { padding: 12px 16px; }
.rm-showcase .rm-shot { height: clamp(320px, 46vw, 620px); }
.rm-phone {
	position: absolute;
	right: clamp(12px, 4vw, 48px);
	bottom: 0;
	width: clamp(150px, 20vw, 250px);
	aspect-ratio: 9 / 18.5;
	border-radius: 30px;
	border: 4px solid #2A2E25;
	background: #0D0F0B;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85);
	overflow: hidden;
	padding: 10px 0 0;
	display: flex;
	flex-direction: column;
}
.rm-phone::before {
	content: "";
	align-self: center;
	flex: none;
	width: 34%;
	height: 5px;
	margin-bottom: 8px;
	border-radius: 3px;
	background: #2A2E25;
}
.rm-phone .rm-shot {
	flex: 1;
	height: auto;
	transition-duration: 6s;
}

.rm-pstats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}
.rm-pstats > div {
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.rm-pstats strong {
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(44px, 5vw, 64px);
	line-height: 1;
	letter-spacing: -.015em;
	color: var(--lime);
}
.rm-pstats span { font-size: 14px; color: var(--muted); }

.rm-csc {
	gap: 18px;
	padding: 32px;
	min-height: 280px;
}
.rm-csc__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.rm-csc h2 {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 28px;
	line-height: 1.05;
	letter-spacing: -.01em;
}
.rm-csc .rm-prose { font-size: 16px; line-height: 1.65; }
.rm-csc--lime {
	background: var(--lime);
	color: var(--bg);
	border-color: var(--lime);
}
.rm-csc--lime .rm-prose,
.rm-csc--lime .rm-prose strong { color: var(--lime-ink); }
.rm-csc--lime .rm-label { color: var(--lime-deep); }
.rm-csc--lime .rm-outline-num { -webkit-text-stroke-color: rgba(10, 11, 9, .55); }

.rm-pquote {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: clamp(32px, 5vw, 64px);
	border-radius: 32px;
	background: var(--surface);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.rm-pquote blockquote {
	margin: 0;
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.18;
	letter-spacing: -.012em;
	text-wrap: pretty;
}
.rm-pquote figcaption {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
}

.rm-next {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 40px;
	padding: 20px;
	border-radius: 28px;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--ink);
	transition: border-color .35s;
}
.rm-next:hover { border-color: rgba(168, 240, 60, .5); color: var(--ink); }
.rm-next .rm-browser { flex: 1 1 360px; }
.rm-next .rm-shot { height: clamp(200px, 20vw, 260px); }
.rm-next__info {
	flex: 1 1 300px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 8px;
}
.rm-next__name {
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(32px, 3.6vw, 48px);
	line-height: 1;
	letter-spacing: -.012em;
}
.rm-next__go {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 600;
	margin-top: 8px;
}

/* 15. FAQ & accordions ==================================================== */

.rm-faqpage {
	padding-top: clamp(56px, 7vw, 96px);
	padding-bottom: var(--section);
	display: flex;
	flex-wrap: wrap;
	gap: 40px 64px;
	align-items: flex-start;
}
.rm-faqpage__aside {
	flex: 1 1 280px;
	max-width: 380px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.rm-topics {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.rm-topics .rm-label { color: var(--muted); padding-bottom: 8px; }
.rm-topic {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 16px 20px;
	border-radius: 16px;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--muted);
	font-family: var(--sans);
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	text-align: left;
}
.rm-topic:hover { border-color: var(--lime); }
.rm-topic span { font-family: var(--mono); font-size: 12px; opacity: .7; }
.rm-topic[aria-pressed="true"] {
	background: var(--surface);
	border-color: rgba(168, 240, 60, .5);
	color: var(--ink);
}

.rm-askcard {
	position: relative;
	overflow: hidden;
	padding: 28px;
	border-radius: 24px;
	background: var(--lime);
	color: var(--bg);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.rm-askcard::before {
	content: "";
	position: absolute;
	right: -70px;
	bottom: -70px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	border: 1px solid rgba(10, 11, 9, .2);
}
.rm-askcard__title {
	font-family: var(--display);
	font-weight: 600;
	font-size: 28px;
	line-height: 1.05;
	letter-spacing: -.01em;
}
.rm-askcard__text { font-size: 15px; line-height: 1.55; color: var(--lime-ink); }
.rm-askcard .rm-btn {
	position: relative;
	align-self: flex-start;
	background: var(--bg);
	color: var(--ink);
	font-size: 15px;
	padding: 14px 22px;
	font-weight: 700;
}
.rm-askcard .rm-btn:hover { color: var(--lime); }

.rm-faqpage__main {
	flex: 2 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.rm-faqpage__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding-bottom: 12px;
}
.rm-faqpage__head h2 {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(30px, 3.2vw, 42px);
	line-height: 1;
	letter-spacing: -.012em;
}
.rm-faqgroup { display: flex; flex-direction: column; gap: 12px; }
.rm-faqgroup[hidden] { display: none; }

.rm-acc {
	border-radius: 22px;
	background: var(--bg-2);
	border: 1px solid var(--line-7);
	transition: border-color .3s, background .3s;
}
.rm-acc.is-open {
	background: var(--surface);
	border-color: rgba(168, 240, 60, .4);
}
.rm-acc__btn {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	width: 100%;
	padding: 22px 24px;
	background: none;
	border: 0;
	color: var(--ink);
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
}
.rm-acc__icon {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .06);
	color: var(--ink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--sans);
	font-size: 19px;
	transition: transform .3s;
}
.rm-acc.is-open .rm-acc__icon {
	background: var(--lime);
	color: var(--bg);
	transform: rotate(45deg);
}
.rm-acc__panel { padding: 0; }
.rm-acc__panel[hidden] { display: none; }
.rm-acc__panel p {
	margin: 0;
	padding: 0 24px 24px;
	max-width: 680px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--muted);
	text-wrap: pretty;
}

/* The FAQ page accordion is a size up, with numbers. */
.rm-acc--big .rm-acc__btn {
	padding: 24px 26px;
	font-size: clamp(19px, 1.7vw, 22px);
	letter-spacing: -.005em;
}
.rm-acc--big .rm-acc__q {
	display: flex;
	gap: 18px;
	align-items: baseline;
}
.rm-acc--big .rm-acc__q > span {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--lime);
}
.rm-acc--big .rm-acc__icon { width: 38px; height: 38px; font-size: 20px; }
.rm-acc--big .rm-acc__panel p { padding: 0 26px 26px 56px; max-width: 720px; font-size: 16.5px; }

.rm-svcfaq {
	padding-top: var(--section);
	padding-bottom: var(--section);
	display: flex;
	flex-wrap: wrap;
	gap: 40px 72px;
	align-items: flex-start;
}
.rm-svcfaq__head {
	flex: 1 1 320px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.rm-svcfaq__head .rm-btn { align-self: flex-start; }
.rm-svcfaq__list {
	flex: 1.6 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* 16. Forms =============================================================== */

.rm-contact {
	padding-top: clamp(56px, 7vw, 96px);
	padding-bottom: var(--section);
	display: flex;
	flex-wrap: wrap;
	gap: 40px 48px;
	align-items: flex-start;
}
.rm-formcard {
	flex: 1.6 1 560px;
	min-width: 0;
	padding: clamp(24px, 3.4vw, 44px);
	border-radius: 32px;
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.rm-form {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.rm-form[hidden] { display: none; }
.rm-form__group {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}
.rm-form__legend {
	padding: 0;
	margin-bottom: 14px; /* Legends are not flex items, so the group gap does not apply. */
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}
.rm-form__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 12px;
}
.rm-input {
	width: 100%;
	background: var(--bg);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 14px;
	padding: 16px 18px;
	font-family: var(--sans);
	font-size: 15.5px;
	color: var(--ink);
	outline: none;
	transition: border-color .2s;
}
.rm-input::placeholder { color: #75796E; opacity: 1; }
.rm-input:focus { border-color: var(--lime); }
.rm-input:focus-visible { outline: none; }
textarea.rm-input { resize: vertical; line-height: 1.55; }
.rm-input[aria-invalid="true"] { border-color: var(--danger); }

.rm-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .14);
	background: transparent;
	color: var(--ink-3);
	font-family: var(--sans);
	font-weight: 600;
	font-size: 14.5px;
	cursor: pointer;
	white-space: nowrap;
}
.rm-toggle:hover { border-color: var(--lime); }
.rm-toggle::before { content: "+"; }
.rm-toggle[aria-pressed="true"],
.rm-toggle:has(input:checked) {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--bg);
}
.rm-toggle[aria-pressed="true"]::before,
.rm-toggle:has(input:checked)::before { content: "\2713"; }
.rm-toggle:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 3px; }

.rm-form__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 4px;
}
.rm-form__note { font-size: 14px; color: var(--muted-2); }
.rm-form .rm-btn--primary { padding: 18px 30px; font-size: 16px; }
.rm-form .rm-btn--primary[disabled] { opacity: .6; cursor: progress; }
.rm-form__error {
	margin: 0;
	padding: 14px 18px;
	border-radius: 14px;
	background: rgba(229, 72, 77, .1);
	border: 1px solid rgba(229, 72, 77, .4);
	color: #FFB3B5;
	font-size: 15px;
}
.rm-form__error[hidden] { display: none; }
/* Quick check (built-in captcha): question, a small answer box, ↻ new question. */
.rm-captcha {
	display: flex;
	align-items: center;
	gap: 12px;
}
.rm-captcha__q {
	font-size: 16px;
	white-space: nowrap;
	font-weight: 600;
	color: var(--ink-3);
}
.rm-captcha .rm-captcha__input {
	flex: 0 1 120px;
	min-width: 72px;
	width: auto;
	text-align: center;
	font-weight: 700;
	letter-spacing: .04em;
}
.rm-captcha__new {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	background: transparent;
	color: var(--muted);
	font-size: 18px;
	cursor: pointer;
}
.rm-captcha__new:hover { border-color: var(--lime); color: var(--lime); }
.rm-captcha-group .cf-turnstile,
.rm-captcha-group .g-recaptcha { min-height: 65px; }
/* The form dropped into another page with [rankingmad_contact_form]. */
.rm-contact--embed { display: block; padding: 0; }
.rm-contact--embed .rm-formcard { max-width: 860px; }

.rm-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rm-done {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	padding: clamp(24px, 5vw, 64px) 0;
}
.rm-done[hidden] { display: none; }
.rm-done__icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 800;
}
.rm-done__title {
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1;
	letter-spacing: -.012em;
}
.rm-done p {
	margin: 0;
	max-width: 480px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--muted);
}
.rm-done__again {
	background: none;
	border: 1px solid var(--line-strong);
	color: var(--ink);
	border-radius: 999px;
	padding: 13px 22px;
	font-family: var(--sans);
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
}
.rm-done__again:hover { border-color: var(--lime); }

.rm-contact__aside {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.rm-nextsteps {
	padding: 28px;
	border-radius: 24px;
	background: var(--bg-2);
	border: 1px solid var(--line-7);
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.rm-nextsteps .rm-label { color: var(--muted); padding-bottom: 10px; }
.rm-nextsteps__item {
	display: flex;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--line-7);
}
.rm-nextsteps__n {
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--display);
	font-weight: 600;
	font-size: 14px;
}
.rm-nextsteps__item strong { display: block; font-weight: 700; font-size: 16px; }
.rm-nextsteps__item small {
	display: block;
	margin-top: 4px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--muted);
}
.rm-book {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 24px 28px;
	border-radius: 24px;
	background: var(--lime);
	color: var(--bg);
}
.rm-book:hover { color: var(--bg); background: var(--lime-hover); }
.rm-book__label {
	display: block;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--lime-deep);
}
.rm-book__title {
	display: block;
	margin-top: 4px;
	font-family: var(--display);
	font-weight: 600;
	font-size: 26px;
	letter-spacing: -.01em;
}
.rm-book .rm-round {
	width: 48px;
	height: 48px;
	font-size: 19px;
	background: var(--bg);
	color: var(--lime);
}
.rm-tiles {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.rm-tile {
	flex: 1 1 140px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 22px;
	border-radius: 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	font-weight: 600;
	font-size: 15px;
}
.rm-tile:hover { border-color: var(--lime); }
.rm-tile span,
.rm-dashed span { color: var(--lime); }
.rm-dashed {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 22px;
	border-radius: 20px;
	border: 1px dashed var(--line-strong);
	font-size: 15px;
	color: var(--muted);
}
.rm-dashed:hover { border-color: var(--lime); color: var(--ink); }

/* 17. Service sequence ==================================================== */

.rm-seq {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 64px;
	align-items: flex-start;
}
.rm-seq__stagecol {
	flex: 1 1 520px;
	min-width: 0;
	order: 2;
	position: sticky;
	top: 96px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.admin-bar .rm-seq__stagecol { top: calc(96px + var(--wp-admin--admin-bar--height, 32px)); }
.rm-seq__stage {
	position: relative;
	height: 520px;
	zoom: var(--rm-vz);
	border-radius: 24px;
	background: #0F110D;
	border: 1px solid rgba(255, 255, 255, .1);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.rm-seq__bar {
	flex: none;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line-7);
	min-width: 0;
}
.rm-seq__tag {
	margin-left: auto;
	flex: none;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--lime);
	color: var(--bg);
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-weight: 600;
	white-space: nowrap;
}
.rm-seq__tag.is-danger { background: var(--danger); color: #fff; }
.rm-seq__scenes {
	position: relative;
	flex: 1;
	min-height: 0;
}
.rm-scene { position: absolute; inset: 0; }
.rm-scene[hidden] { display: none; }
.rm-seq__segs { display: flex; gap: 8px; }
.rm-seq__seg {
	flex: 1;
	height: 5px;
	border-radius: 3px;
	border: 0;
	padding: 0;
	cursor: pointer;
	background: rgba(255, 255, 255, .12);
	transition: background .3s;
}
.rm-seq__seg.is-done { background: rgba(168, 240, 60, .4); }
.rm-seq__seg.is-active { background: var(--lime); }

.rm-seq__steps {
	flex: 1 1 400px;
	min-width: 0;
	order: 1;
	display: flex;
	flex-direction: column;
}
.rm-seqstep {
	min-height: 64vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	padding: 32px 0;
	border-top: 1px solid var(--line);
	cursor: pointer;
	opacity: .35;
	transition: opacity .4s;
}
.rm-seqstep.is-active { opacity: 1; }
.rm-seqstep__top {
	display: flex;
	align-items: center;
	gap: 14px;
}
.rm-seqstep__n {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	border: 1px solid rgba(255, 255, 255, .2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--display);
	font-weight: 600;
	font-size: 16px;
	transition: background .4s;
}
.rm-seqstep.is-active .rm-seqstep__n {
	background: var(--lime);
	color: var(--bg);
	border-color: var(--lime);
}
.rm-seqstep__k {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--lime);
}
.rm-seqstep h3 {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.02;
	letter-spacing: -.012em;
	text-wrap: balance;
}
.rm-seqstep p {
	margin: 0;
	max-width: 480px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--muted);
	text-wrap: pretty;
}
.rm-seqstep .rm-chips { gap: 6px; }

/* Narrow screens or "auto" mode: stage on top, auto-advancing. */
.rm-seq.is-auto .rm-seq__stagecol {
	position: relative;
	top: 0;
	order: 0;
}
.rm-seq.is-auto .rm-seq__stage { height: 460px; }
.rm-seq.is-auto .rm-seqstep { min-height: auto; }

/* 18. Pricing ============================================================= */

.rm-plans {
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(64px, 8vw, 112px);
	display: flex;
	flex-direction: column;
	gap: clamp(64px, 8vw, 104px);
}
.rm-plangroup {
	scroll-margin-top: 170px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.rm-plangroup__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px 48px;
	flex-wrap: wrap;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}
.rm-plangroup__title {
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1 1 420px;
	max-width: 720px;
}
.rm-plangroup__kick {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	font-family: var(--mono);
	font-size: 13px;
	color: var(--lime);
}
.rm-plangroup__kick .rm-chip--mono { font-size: 10.5px; letter-spacing: .1em; padding: 5px 12px; }
.rm-plangroup h2 {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1;
	letter-spacing: -.012em;
	text-wrap: balance;
}
.rm-plangroup__desc {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--muted);
	text-wrap: pretty;
}
.rm-plangroup__about {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink-2);
	white-space: nowrap;
}
.rm-plangroup__note {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--muted);
}
.rm-plangroup__note::before {
	content: "i";
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: var(--ink-2);
}

.rm-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 30px;
	border-radius: 28px;
	background: var(--surface);
	border: 1px solid var(--line);
	transition: border-color .3s, background .3s, box-shadow .3s, transform .3s;
}
.rm-plan:hover { transform: translateY(-4px); }
.rm-plan.is-popular {
	border: 1.5px solid rgba(168, 240, 60, .45);
	box-shadow: 0 30px 60px -30px rgba(168, 240, 60, .22);
}
.rm-plan.is-on {
	background: #151A0F;
	border: 1.5px solid var(--lime);
	box-shadow: 0 30px 60px -30px rgba(168, 240, 60, .4);
}
.rm-plan__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}
.rm-plan__badge {
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(168, 240, 60, .08);
	color: var(--lime-soft);
	border: 1px solid rgba(168, 240, 60, .35);
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.rm-plan.is-popular .rm-plan__badge { background: var(--lime); color: var(--bg); }
.rm-plan__name {
	font-family: var(--display);
	font-weight: 600;
	font-size: 24px;
	line-height: 1.1;
	letter-spacing: -.01em;
	text-wrap: balance;
}
.rm-plan__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.rm-plan__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
}
.rm-plan__amount {
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(46px, 4.6vw, 58px);
	line-height: 1;
	letter-spacing: -.02em;
}
.rm-plan__unit { font-size: 15px; color: var(--muted); }
.rm-plan__desc {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--ink-2);
	text-wrap: pretty;
}
.rm-plan__btn {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px 20px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .18);
	background: transparent;
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 700;
	font-size: 15.5px;
	cursor: pointer;
	transition: background .25s, color .25s;
}
.rm-plan__btn:hover { border-color: var(--lime); }
.rm-plan.is-popular .rm-plan__btn { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.rm-plan.is-on .rm-plan__btn { background: var(--lime); border-color: var(--lime); color: var(--bg); }
.rm-plan__btn-on { display: none; }
.rm-plan.is-on .rm-plan__btn-on { display: inline; }
.rm-plan.is-on .rm-plan__btn-off { display: none; }

.rm-custom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	padding: clamp(28px, 4vw, 44px);
	border-radius: 28px;
	background: var(--surface);
	border: 1px solid var(--line);
}
.rm-custom__copy {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 420px;
}
.rm-custom__title {
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(26px, 2.8vw, 36px);
	line-height: 1.05;
	letter-spacing: -.01em;
}
.rm-custom__text { font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.rm-disclaimer {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--muted-2);
	max-width: 900px;
}

.rm-floatsel {
	position: fixed;
	right: clamp(12px, 3vw, 32px);
	bottom: clamp(12px, 3vw, 28px);
	z-index: 60;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 10px 10px 20px;
	border-radius: 999px;
	background: var(--lime);
	color: var(--bg);
	font-weight: 700;
	font-size: 15px;
	box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7);
	animation: rmUp .4s var(--ease) both;
}
.rm-floatsel[hidden] { display: none; }
.rm-floatsel:hover { background: var(--lime-hover); color: var(--bg); }
.rm-floatsel .rm-round {
	width: 36px;
	height: 36px;
	font-size: 16px;
	background: var(--bg);
	color: var(--lime);
}

.rm-request {
	position: relative;
	overflow: hidden;
	border-top: 1px solid var(--line-soft);
}
.rm-request__glow {
	position: absolute;
	left: 50%;
	top: 0;
	width: 1000px;
	height: 560px;
	transform: translate(-50%, -40%);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(168, 240, 60, .14), transparent);
	pointer-events: none;
}
.rm-request__inner {
	position: relative;
	padding-top: var(--section);
	padding-bottom: var(--section);
	display: flex;
	flex-wrap: wrap;
	gap: 40px 64px;
	align-items: flex-start;
}
.rm-request__copy {
	flex: 1 1 320px;
	max-width: 440px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.rm-request__copy h2 {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(40px, 5vw, 68px);
	line-height: .98;
	letter-spacing: -.014em;
	text-wrap: balance;
}
.rm-request .rm-formcard { flex: 2 1 560px; }
.rm-request .rm-form__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.rm-picks {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.rm-picks__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}
.rm-picks__name {
	flex: 0 0 190px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-3);
}
.rm-picks .rm-toggle {
	padding: 9px 14px;
	font-size: 14px;
	max-width: 100%;
	white-space: normal; /* Long package names wrap on phones instead of running off-screen. */
}
.rm-picks .rm-toggle small {
	opacity: .65;
	font-weight: 500;
	font-size: 14px;
}
.rm-totals {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 14px;
	color: var(--muted);
}
.rm-totals b { color: var(--ink); }
.rm-totals b.is-lime { color: var(--lime); }


/* 19. Service mocks: SEO state classes (from template-parts/service/seo-*.php) ===== */

/*
 * SEO service page: state styles for the animated mocks.
 * template-parts/service/seo-hero.php and seo-scenes.php keep the design's
 * static styles inline; only the values the design changed at runtime live here.
 *
 * Hero:    main.js adds .is-s1 (results shown) then .is-s2 (climbed + toast)
 *          to .rm-seo-hero[data-rm-typeloop]  (design: seo.resO/resT/toastO/toastT,
 *          heroRows = mkRows(seo === 2)).
 * Scene 4: main.js adds .rm-seo-climb to .rm-seo-pack 1300ms after the scene
 *          activates  (design: climbRows = mkRows(climb)).
 *
 * Row values are mkRows(false) / mkRows(true): top = pos * 62, rank = pos + 1.
 */

/* Hero: results and toast hidden until the query has been typed. */
.rm-seo-res { opacity: 0; transform: translateY(12px); }
.rm-seo-hero.is-s1 .rm-seo-res { opacity: 1; transform: none; }

.rm-seo-toast { opacity: 0; transform: translateY(10px); }
.rm-seo-hero.is-s2 .rm-seo-toast { opacity: 1; transform: none; }

/* Local-pack rows: not climbed (Your Business 3rd). */
.rm-seo-row { background: #fff; border: 1px solid #ECEDE8; box-shadow: none; }
.rm-seo-row--you { top: 124px; }
.rm-seo-row--msd { top: 0; }
.rm-seo-row--cc { top: 62px; }
.rm-seo-rank { background: #F1F2EF; color: #5F6368; }
.rm-seo-rank__b { display: none; }

/* Climbed (Your Business 1st and highlighted). */
.rm-seo-hero.is-s2 .rm-seo-row--you,
.rm-seo-pack.rm-seo-climb .rm-seo-row--you {
	top: 0;
	background: #F4FDE6;
	border-color: #A8F03C;
	box-shadow: 0 10px 24px -10px rgba(80, 120, 20, .45);
}
.rm-seo-hero.is-s2 .rm-seo-row--msd,
.rm-seo-pack.rm-seo-climb .rm-seo-row--msd { top: 62px; }
.rm-seo-hero.is-s2 .rm-seo-row--cc,
.rm-seo-pack.rm-seo-climb .rm-seo-row--cc { top: 124px; }

.rm-seo-hero.is-s2 .rm-seo-row--you .rm-seo-rank,
.rm-seo-pack.rm-seo-climb .rm-seo-row--you .rm-seo-rank { background: #A8F03C; color: #0A0B09; }

.rm-seo-hero.is-s2 .rm-seo-rank__a,
.rm-seo-pack.rm-seo-climb .rm-seo-rank__a { display: none; }
.rm-seo-hero.is-s2 .rm-seo-rank__b,
.rm-seo-pack.rm-seo-climb .rm-seo-rank__b { display: inline; }

/* 20. Keyframes & motion ================================================== */

@keyframes rmMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rmPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes rmBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes rmPing { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }
@keyframes rmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes rmPen { 0% { transform: translate(260px, 250px); } 25% { transform: translate(120px, 90px); } 50% { transform: translate(210px, 150px); } 75% { transform: translate(150px, 230px); } 100% { transform: translate(260px, 250px); } }
@keyframes rmDraw { 0% { stroke-dashoffset: 620; opacity: 1; } 45%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes rmDrawOnce { from { stroke-dashoffset: 620; } to { stroke-dashoffset: 0; } }
@keyframes rmFade { 0%, 30% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rmFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rmToast { 0%, 10% { opacity: 0; transform: translateY(14px); } 18%, 80% { opacity: 1; transform: translateY(0); } 90%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes rmBuild { 0%, 4% { opacity: 0; transform: translateY(10px) scale(.97); } 14%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes rmHeart { 0% { opacity: 0; transform: translateY(0) scale(.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-140px) scale(1.15); } }
@keyframes rmBar { 0% { transform: scaleY(.15); } 40%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
@keyframes rmType { 0% { transform: scaleX(0); } 28%, 88% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
@keyframes rmCheck { 0%, 25% { opacity: .2; } 35%, 90% { opacity: 1; } 100% { opacity: .2; } }
@keyframes rmShapeA { 0% { transform: translate(-60px, 40px) rotate(-30deg); opacity: 0; } 22%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes rmShapeB { 0% { transform: translate(50px, -40px) rotate(40deg) scale(.6); opacity: 0; } 30%, 85% { transform: rotate(12deg); opacity: 1; } 100% { opacity: 0; } }
@keyframes rmShapeC { 0%, 20% { transform: translateY(30px); opacity: 0; } 40%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes rmSpin { to { transform: rotate(360deg); } }
@keyframes rmUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rmPop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes rmTypeOnce { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rmGrowY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes rmGridOut { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rmCursor { 0% { transform: translate(40px, 300px); } 25% { transform: translate(120px, 150px); } 45% { transform: translate(120px, 150px) scale(.85); } 50% { transform: translate(120px, 150px); } 75% { transform: translate(360px, 110px); } 100% { transform: translate(40px, 300px); } }
@keyframes rmBtnFlash { 0%, 40% { box-shadow: 0 0 0 0 rgba(168, 240, 60, 0); } 45% { box-shadow: 0 0 0 8px rgba(168, 240, 60, .35); } 60%, 100% { box-shadow: 0 0 0 0 rgba(168, 240, 60, 0); } }

/* Reduced motion: stop every loop and show the finished state. */
@media (prefers-reduced-motion: reduce) {
	html,
	body { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation: none !important;
		transition-duration: .01ms !important;
	}
	.rm-shot { transition: none !important; }
}
