/* ==========================================================================
   Rib Marine – Model pages
   ========================================================================== */

.rmm,
.rmm-list {
	--rmm-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--rmm-accent: #b39b6e;
	--rmm-light: #f5f5f3;
	--rmm-heading: #141414;
	--rmm-text: #3a3a3a;
	--rmm-max: 1100px;
	font-family: var(--rmm-font, "Plus Jakarta Sans", system-ui, sans-serif);
	color: var(--rmm-text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.rmm *, .rmm *::before, .rmm *::after,
.rmm-list *, .rmm-list *::before, .rmm-list *::after { box-sizing: border-box; }

/* Break out of the theme content column (block themes add .alignfull rules). */
div.rmm.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	margin-top: 0;
}
html:has(.rmm) body { overflow-x: clip; }

.rmm img { max-width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
.rmm p { margin: 0 0 1em; }
.rmm p:last-child { margin-bottom: 0; }

.rmm-wrap { width: 100%; max-width: calc(var(--rmm-max) + 48px); margin: 0 auto; padding: 0 24px; }
.rmm-sec { padding: clamp(64px, 9vw, 120px) 0; background: #fff; }
.rmm-sec--light { background: var(--rmm-light); }
.rmm-anchor { display: block; height: 0; scroll-margin-top: 60px; }

/* Headings */
.rmm-head { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 0 clamp(36px, 5vw, 64px); text-align: center; }
.rmm-pill {
	display: inline-block;
	padding: 3px 12px;
	color: var(--rmm-accent);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.5;
	border: 1px solid color-mix(in srgb, var(--rmm-accent) 55%, transparent);
	border-radius: 999px;
}
.rmm .rmm-h2 {
	margin: 0;
	color: var(--rmm-heading);
	font-family: inherit;
	font-size: clamp(28px, 3.3vw, 42px);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.15;
}
.rmm .rmm-h3 {
	margin: 0 0 18px;
	color: var(--rmm-accent);
	font-family: inherit;
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
}
.rmm-text { font-size: clamp(14px, 1.05vw, 15px); line-height: 1.75; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.rmm-hero {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 540px;
	overflow: hidden;
	isolation: isolate;
	background: #0d2230;
	color: #fff;
}
.rmm-hero--tall { height: 85vh; height: 85svh; }
.rmm-hero--medium { height: 70vh; height: 70svh; }

.rmm-hero__bg { position: absolute; inset: -6% 0 -6% 0; transform: translate3d(0, calc(var(--rmm-p, 0) * 6%), 0) scale(1.02); }
.rmm .rmm-hero__bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.rmm-hero__shade { position: absolute; inset: 0; background: #000; pointer-events: none; }

.rmm-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: max(108px, 13vh) 20px max(56px, 7vh);
}
.rmm .rmm-hero__title {
	margin: 0;
	font-family: inherit;
	font-size: clamp(44px, 7vw, 104px);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1;
	text-align: center;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.18);
}
.rmm-hero__boat {
	flex: 1;
	min-height: 0;
	width: calc(min(1300px, 100%) * var(--w, 80) / 100);
	max-width: 100vw;
	margin-top: clamp(8px, 2vh, 24px);
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translate3d(0, calc(var(--rmm-p, 0) * -4%), 0);
}
.rmm-hero__boat-float { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.rmm .rmm-hero__boat-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 30px 40px rgba(0, 10, 20, 0.25));
}
.rmm-hero--float .rmm-hero__boat-float { animation: rmm-float 6s ease-in-out 1.6s infinite; }
@keyframes rmm-float {
	0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
	50% { transform: translate3d(0, -9px, 0) rotate(-0.5deg); }
}

.rmm .rmm-hero__down {
	position: absolute;
	left: 50%;
	bottom: 22px;
	z-index: 3;
	padding: 10px;
	color: #fff;
	font-size: 30px;
	line-height: 0;
	text-decoration: none;
	opacity: 0.85;
	transform: translateX(-50%);
	animation: rmm-bob 2.4s ease-in-out infinite;
}
.rmm .rmm-hero__down svg { width: 1em; height: 0.55em; }
@keyframes rmm-bob {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 7px); }
}

/* Hero entrance */
.rm-js .rmm--anim .rmm-hero__bg-img { transform: scale(1.1); transition: transform 2.4s var(--rmm-ease); }
.rm-js .rmm--anim .rmm-hero__title { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1s ease 0.2s, transform 1.2s var(--rmm-ease) 0.2s; }
.rm-js .rmm--anim .rmm-hero__boat-img { opacity: 0; transform: translate3d(12%, 30px, 0) scale(0.96); transition: opacity 1.2s ease 0.45s, transform 1.8s var(--rmm-ease) 0.45s; }
.rm-js .rmm--anim .rmm-hero__down { opacity: 0; transition: opacity 0.8s ease 1.4s; }
.rm-js .rmm--anim.is-loaded .rmm-hero__bg-img { transform: scale(1); }
.rm-js .rmm--anim.is-loaded .rmm-hero__title,
.rm-js .rmm--anim.is-loaded .rmm-hero__boat-img { opacity: 1; transform: none; }
.rm-js .rmm--anim.is-loaded .rmm-hero__down { opacity: 0.85; }

/* --------------------------------------------------------------------------
   Image + text split
   -------------------------------------------------------------------------- */
.rmm-split {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
	gap: clamp(32px, 7vw, 104px);
	align-items: center;
}
.rmm-split--right .rmm-split__media { order: 2; }
.rmm-split--noimg { grid-template-columns: minmax(0, 720px); justify-content: center; text-align: center; }
.rmm-split__media { margin: 0; overflow: hidden; border-radius: 6px; background: #e9e9e6; }
.rmm .rmm-split__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rmm-split__body { max-width: 460px; }
.rmm-split--right .rmm-split__body { justify-self: end; }
.rmm-second + .rmm-top { padding-top: 0; }

/* --------------------------------------------------------------------------
   Main specifications band
   -------------------------------------------------------------------------- */
.rmm-specs {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(64px, 8vw, 104px) 0;
	color: #fff;
	text-align: center;
}
.rmm-specs__bg { position: absolute; inset: -8% 0; z-index: -2; transform: translate3d(0, calc(var(--rmm-sp, 0) * 8%), 0); }
.rmm .rmm-specs__bg-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rmm-specs__shade { position: absolute; inset: 0; z-index: -1; background: #000; }
.rmm .rmm-specs__title {
	margin: 0 0 clamp(36px, 5vw, 56px);
	color: #fff;
	font-family: inherit;
	font-size: clamp(22px, 2.4vw, 32px);
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-transform: uppercase;
}
.rmm-counters {
	display: grid;
	grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
	gap: 32px 24px;
	max-width: 960px;
	margin: 0 auto;
}
.rmm-counter { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rmm-counter__num {
	color: var(--num, #fff);
	font-size: clamp(40px, 5vw, 64px);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.03em;
	line-height: 1;
}
.rmm-counter__label {
	color: var(--lab, color-mix(in srgb, var(--rmm-accent) 70%, #fff));
	font-size: clamp(12px, 1.1vw, 14px);
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.rmm-specs__cta { margin-top: clamp(36px, 5vw, 56px); }

.rmm .rmm-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 4px;
	transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.rmm .rmm-btn--ghost { color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.85); }
.rmm .rmm-btn--ghost:hover,
.rmm .rmm-btn--ghost:focus-visible { color: #111; background: #fff; border-color: #fff; }

/* --------------------------------------------------------------------------
   Top view
   -------------------------------------------------------------------------- */
.rmm-top { padding-top: clamp(64px, 9vw, 120px); background: #fff; }
.rmm-top__head .rmm-head { margin-bottom: clamp(28px, 4vw, 48px); }
.rmm-top__band { overflow: hidden; padding: clamp(32px, 6vw, 96px) 0; }
.rmm-top__img { max-width: 1400px; margin: 0 auto; padding: 0 clamp(8px, 2vw, 24px); }
.rmm .rmm-top__image { display: block; width: 100%; height: auto; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Features & figures tabs
   -------------------------------------------------------------------------- */
.rmm-tabs { max-width: 1000px; margin: 0 auto; }
.rmm-tabs__bar {
	position: relative;
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 0 auto 18px;
	overflow-x: auto;
	scrollbar-width: none;
}
.rmm-tabs__bar::-webkit-scrollbar { display: none; }
.rmm-tabs__ind {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	border-radius: 6px;
	background: color-mix(in srgb, var(--rmm-accent) 18%, #fff);
	transition: transform 0.5s var(--rmm-ease), width 0.5s var(--rmm-ease);
	pointer-events: none;
}
.rmm .rmm-tabs__tab {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	min-width: 124px;
	padding: 11px 26px;
	color: #6b6b6b;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	background: none;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	transition: color 0.3s ease;
}
.rmm .rmm-tabs__tab:hover { color: var(--rmm-heading); background: none; }
.rmm .rmm-tabs__tab.is-active { color: var(--rmm-accent); }
.rmm .rmm-tabs__tab:focus-visible { outline: 2px solid var(--rmm-accent); outline-offset: 2px; }
.rmm-tabs:not(.is-ready) .rmm-tabs__tab.is-active { background: color-mix(in srgb, var(--rmm-accent) 18%, #fff); }

.rmm-tabs__card {
	padding: clamp(24px, 4vw, 48px) clamp(20px, 6vw, 72px);
	background: #fff;
	border: 1px solid #ececea;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.rmm-tabs__panel.is-active { animation: rmm-panel 0.5s var(--rmm-ease); }
@keyframes rmm-panel {
	from { opacity: 0; transform: translate3d(0, 10px, 0); }
	to { opacity: 1; transform: none; }
}

.rmm .rmm-specgrid { margin: 0; columns: 2; column-gap: clamp(32px, 6vw, 80px); }
.rmm-spec {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 11px 0;
	break-inside: avoid;
	border-bottom: 1px solid #f1f1ef;
	font-size: 13px;
}
.rmm .rmm-spec dt { margin: 0; color: var(--rmm-heading); font-weight: 500; }
.rmm .rmm-spec dd { margin: 0; color: var(--rmm-text); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

.rmm-info { position: relative; display: inline-flex; vertical-align: 1px; margin-left: 4px; cursor: help; outline: none; }
.rmm-info__i {
	display: inline-grid;
	place-items: center;
	width: 14px;
	height: 14px;
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	font-style: normal;
	line-height: 1;
	background: var(--rmm-heading);
	border-radius: 50%;
}
.rmm-info__tip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	z-index: 5;
	width: max-content;
	max-width: 240px;
	padding: 8px 11px;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
	background: #141414;
	border-radius: 6px;
	opacity: 0;
	visibility: hidden;
	transform: translate3d(-50%, 4px, 0);
	transition: opacity 0.2s ease, transform 0.25s var(--rmm-ease), visibility 0s linear 0.25s;
	pointer-events: none;
}
.rmm-info:hover .rmm-info__tip,
.rmm-info:focus .rmm-info__tip { opacity: 1; visibility: visible; transform: translate3d(-50%, 0, 0); transition-delay: 0s; }
.rmm-info:focus-visible .rmm-info__i { outline: 2px solid var(--rmm-accent); outline-offset: 2px; }

.rmm .rmm-features { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: clamp(32px, 6vw, 80px); }
.rmm .rmm-features li {
	position: relative;
	margin: 0;
	padding: 10px 0 10px 22px;
	break-inside: avoid;
	border-bottom: 1px solid #f1f1ef;
	font-size: 14px;
	color: var(--rmm-text);
}
.rmm .rmm-features li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: calc(10px + 0.62em);
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--rmm-accent);
}
.rmm-options { max-width: 720px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.rmm-gal { --cols: 3; --gap: 16px; --r: 8px; }
.rmm-gal--bento,
.rmm-gal--grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); }
.rmm-gal--grid .rmm-gal__item { aspect-ratio: 4 / 3; }
.rmm-gal--bento { grid-auto-rows: clamp(110px, 13vw, 200px); grid-auto-flow: dense; }
.rmm-gal--bento .rmm-gal__item { grid-row: span 2; }
.rmm-gal--bento .rmm-gal__item:nth-child(5n + 1) { grid-column: span 2; }
.rmm-gal--masonry { columns: var(--cols); column-gap: var(--gap); }
.rmm-gal--masonry .rmm-gal__item { margin-bottom: var(--gap); break-inside: avoid; }

.rmm .rmm-gal__item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--r);
	background: #ececea;
	cursor: zoom-in;
	isolation: isolate;
}
.rmm .rmm-gal__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--rmm-ease); }
.rmm-gal--masonry .rmm-gal__img { height: auto; }
.rmm-gal__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 55%);
	opacity: 0;
	transition: opacity 0.4s ease;
}
.rmm-gal__zoom {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	color: #111;
	font-size: 18px;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 50%;
	opacity: 0;
	transform: scale(0.7);
	transition: opacity 0.3s ease, transform 0.45s var(--rmm-ease);
}
.rmm .rmm-gal__item:hover .rmm-gal__img,
.rmm .rmm-gal__item:focus-visible .rmm-gal__img { transform: scale(1.05); }
.rmm-gal__item:hover::after,
.rmm-gal__item:focus-visible::after { opacity: 1; }
.rmm-gal__item:hover .rmm-gal__zoom,
.rmm-gal__item:focus-visible .rmm-gal__zoom { opacity: 1; transform: none; }
.rmm .rmm-gal__item:focus-visible { outline: 2px solid var(--rmm-accent); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.rmm-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	background: rgba(8, 10, 12, 0.94);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	opacity: 0;
	transition: opacity 0.35s ease;
}
.rmm-lb.is-open { opacity: 1; }
.rmm-lb[hidden] { display: none; }
.rmm-lb__stage { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 64px 72px 84px; touch-action: pan-y; }
.rmm-lb__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
	user-select: none;
	-webkit-user-drag: none;
}
.rmm-lb__img.is-swap { opacity: 0; transform: scale(0.97); }
.rmm-lb button {
	display: grid;
	place-items: center;
	padding: 0;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.25s ease;
}
.rmm-lb button:hover,
.rmm-lb button:focus-visible { background: rgba(255, 255, 255, 0.2); outline: none; }
.rmm-lb button svg { width: 20px; height: 20px; }
.rmm-lb__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; }
.rmm-lb__prev,
.rmm-lb__next { position: absolute; top: 50%; width: 52px; height: 52px; transform: translateY(-50%); }
.rmm-lb__prev { left: 16px; }
.rmm-lb__next { right: 16px; }
.rmm-lb__meta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 22px;
	display: flex;
	justify-content: center;
	gap: 16px;
	padding: 0 24px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
	text-align: center;
}
.rmm-lb__count { color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; }
html.rmm-lb-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.rm-js .rmm--anim [data-reveal] {
	opacity: 0;
	transform: translate3d(0, 34px, 0);
	transition: opacity 0.9s ease, transform 1.1s var(--rmm-ease);
	transition-delay: calc(var(--d, 0) * 90ms);
}
/* Image reveal: a cover panel slides away. The image itself is never clipped,
   so the browser always sees it (clip-path on the observed element stops
   IntersectionObserver and lazy-loading from firing in Chrome). */
.rmm-sec { --rmm-cover: #fff; }
.rmm-sec--light { --rmm-cover: var(--rmm-light); }
.rmm-split__media { position: relative; }
.rm-js .rmm--anim [data-reveal="img"] { opacity: 1; transform: none; }
.rm-js .rmm--anim [data-reveal="img"]::after {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: 1;
	background: var(--rmm-cover, #fff);
	transform-origin: 50% 0;
	transition: transform 1.3s var(--rmm-ease);
	pointer-events: none;
}
.rm-js .rmm--anim [data-reveal="img"] img { transform: scale(1.15); transition: transform 1.8s var(--rmm-ease); }
.rm-js .rmm--anim [data-reveal="slide"] { transform: translate3d(-8%, 0, 0); transition: opacity 1.2s ease, transform 1.8s var(--rmm-ease); }

.rm-js .rmm--anim [data-reveal].is-in { opacity: 1; transform: none; }
.rm-js .rmm--anim [data-reveal="img"].is-in::after { transform: scaleY(0); }
.rm-js .rmm--anim [data-reveal="img"].is-in img { transform: none; }

/* --------------------------------------------------------------------------
   [rib_models] listing
   -------------------------------------------------------------------------- */
.rmm-list { --cols: 3; }
.rmm-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 32px; }
.rmm-list .rmm-filter__btn {
	padding: 9px 18px;
	color: #555;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	background: #f2f2f0;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: color 0.25s ease, background-color 0.25s ease;
}
.rmm-list .rmm-filter__btn:hover { color: #111; background: #e9e9e6; }
.rmm-list .rmm-filter__btn.is-active { color: #fff; background: #141414; }
.rmm-cards { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 24px; }
.rmm-list .rmm-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	background: #fff;
	border: 1px solid #ececea;
	border-radius: 10px;
	transition: transform 0.5s var(--rmm-ease), box-shadow 0.5s var(--rmm-ease), opacity 0.4s ease;
}
.rmm-list .rmm-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.25); }
.rmm-list .rmm-card.is-filtered { display: none; }
.rmm-card__media { display: block; aspect-ratio: 16 / 10; padding: 6%; background: linear-gradient(180deg, #f6f6f4, #ecece9); }
.rmm-list .rmm-card__img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.8s var(--rmm-ease); }
.rmm-list .rmm-card:hover .rmm-card__img { transform: scale(1.04) translateX(1%); }
.rmm-card__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.rmm-card__cat { color: var(--rmm-accent); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; min-height: 1em; }
.rmm-card__title { color: #141414; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.rmm-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: #555; font-size: 13px; font-weight: 500; }
.rmm-card__more svg { transition: transform 0.4s var(--rmm-ease); }
.rmm-list .rmm-card:hover .rmm-card__more svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.rmm-cards { grid-template-columns: repeat(min(var(--cols), 2), minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.rmm-split,
	.rmm-split--right { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.rmm-split--right .rmm-split__media { order: 0; }
	.rmm-split__body,
	.rmm-split--right .rmm-split__body { max-width: none; justify-self: stretch; }
	.rmm-counters { grid-template-columns: repeat(min(var(--n, 4), 2), minmax(0, 1fr)); gap: 36px 16px; }
}
@media (max-width: 767px) {
	.rmm-wrap { padding: 0 20px; }
	.rmm-hero__inner { padding-top: max(100px, 14vh); padding-bottom: 64px; }
	.rmm-hero__boat { width: calc(100vw * var(--w, 80) / 80); max-width: 118vw; }
	.rmm .rmm-specgrid,
	.rmm .rmm-features { columns: 1; }
	.rmm-tabs__bar { justify-content: flex-start; margin-left: -20px; margin-right: -20px; padding: 0 20px; }
	.rmm .rmm-tabs__tab { min-width: 0; padding: 10px 18px; }
	.rmm-tabs__card { border-radius: 8px; }
	.rmm-gal { --cols: 2 !important; }
	.rmm-gal--bento { grid-auto-rows: 34vw; }
	.rmm-gal--bento .rmm-gal__item { grid-row: span 1; }
	.rmm-gal--bento .rmm-gal__item:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
	.rmm-gal__zoom { display: none; }
	.rmm-lb__stage { padding: 56px 8px 84px; }
	.rmm-lb__prev,
	.rmm-lb__next { top: auto; bottom: 14px; width: 44px; height: 44px; transform: none; }
	.rmm-lb__meta { bottom: 26px; padding: 0 72px; }
	.rmm-cards { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	.rmm *, .rmm-list *, .rmm-lb, .rmm-lb * { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
	.rm-js .rmm--anim [data-reveal],
	.rm-js .rmm--anim [data-reveal] img,
	.rm-js .rmm--anim .rmm-hero__title,
	.rm-js .rmm--anim .rmm-hero__boat-img,
	.rm-js .rmm--anim .rmm-hero__bg-img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.rmm-hero__bg, .rmm-hero__boat, .rmm-specs__bg { transform: none !important; }
	.rm-js .rmm--anim [data-reveal="img"]::after { display: none; }
}
