/**
 * Underwater Scooter Rentals — main stylesheet.
 *
 * Reference canvas: 1920px. Every desktop value below is the Figma value; the
 * fluid middle term of each clamp() is that value expressed as a percentage of
 * 1920 (e.g. 88px -> 4.583vw), so the layout scales proportionally between
 * breakpoints instead of only shrinking text.
 *
 * Contents
 *  1. Layout primitives
 *  2. Buttons
 *  3. Header + navigation
 *  4. Mobile navigation
 *  5. Hero
 *  6. What is an Underwater Scooter
 *  7. See It In Action
 *  8. Choose Your Adventure
 *  9. How It Works
 * 10. Ways to Enjoy
 * 11. Footer
 * 12. Blog, page, 404 and utility content
 * 13. Motion
 */

/* ===========================================================================
   1. LAYOUT PRIMITIVES
   =========================================================================== */

.site {
	position: relative;
	isolation: isolate;
}

.site-container {
	width: min(100% - (var(--container-gutter) * 2), var(--container-max));
	margin-inline: auto;
}

.site-container--narrow {
	width: min(100% - (var(--container-gutter) * 2), 900px);
}

.section {
	position: relative;
	padding-block: clamp(64px, 6.25vw, 120px);
}

.section--about {
	padding-block: clamp(56px, 5.2vw, 100px) clamp(64px, 6.25vw, 120px);
	background-color: var(--color-white);
}

.section--action {
	padding-block: clamp(56px, 5vw, 96px) clamp(64px, 6.25vw, 120px);
	background-color: var(--color-surface-muted);
}

.section--adventures {
	background-color: var(--color-white);
}

.section--how {
	padding-block: clamp(56px, 4.7vw, 90px) clamp(64px, 5.73vw, 110px);
	background-color: var(--color-surface-muted);
}

.section--ways {
	padding-block: clamp(56px, 5.2vw, 100px) clamp(64px, 6.25vw, 120px);
	background-color: var(--color-white);
}

/* Shared section heading ---------------------------------------------------- */

.section-heading {
	max-width: 1200px;
}

.section-heading--center {
	margin-inline: auto;
	text-align: center;
}

.section-heading__title {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(28px, 2.604vw, 50px); /* 50px @1920 */
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--color-heading);
}

.section-heading--primary .section-heading__title {
	color: var(--color-primary);
}

.section-heading__description {
	margin: clamp(12px, 1.04vw, 20px) auto 0;
	max-width: 1100px;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: clamp(15px, 1.458vw, 28px); /* 28px @1920 */
	line-height: 1.6;
	color: var(--color-body);
}

/* Section-specific heading sizes straight from the Figma. */
.section--action .section-heading__title,
.section--how .section-heading__title {
	font-size: clamp(28px, 2.5vw, 48px); /* 48px @1920 */
}

.section--how .section-heading__description {
	font-size: clamp(15px, 1.406vw, 27px); /* 27px @1920 */
}

/* ===========================================================================
   2. BUTTONS
   =========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 2px solid transparent;
	border-radius: var(--radius-pill);
	font-family: var(--font-heading);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--speed) var(--ease-soft),
		border-color var(--speed) var(--ease-soft),
		color var(--speed) var(--ease-soft),
		box-shadow var(--speed) var(--ease-soft),
		transform var(--speed) var(--ease-out);
}

.btn__label {
	display: block;
}

/* Variants ---------------------------------------------------------------- */

.btn--primary {
	background-color: var(--color-primary);
	color: var(--color-white);
	box-shadow: var(--shadow-button);
}

.btn--primary:hover,
.btn--primary:focus-visible {
	background-color: var(--color-primary-deep);
	color: var(--color-white);
	box-shadow: var(--shadow-button-hover);
	transform: translateY(-2px);
}

.btn--outline {
	background-color: var(--color-white);
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.btn--outline:hover,
.btn--outline:focus-visible {
	background-color: var(--color-primary);
	color: var(--color-white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-button);
}

.btn--ghost {
	background-color: transparent;
	color: var(--color-primary);
}

.btn--ghost:hover {
	color: var(--color-primary-deep);
}

.btn:active {
	transform: translateY(0);
}

/* Sizes ------------------------------------------------------------------- */

.btn--sm {
	padding: 18px 36px; /* 341 x 54 in the header */
	font-size: clamp(14px, 0.99vw, 19px);
	line-height: 1;
}

.btn--md {
	padding: 19px 40px;
	font-size: clamp(15px, 1.09vw, 21px);
	line-height: 1.1;
}

.btn--lg {
	padding: 24px 48px 26px; /* 101px tall at 32/1.6 */
	font-size: clamp(17px, 1.667vw, 32px);
	line-height: 1.6;
}

.btn--card {
	width: 100%;
	height: clamp(52px, 3.28vw, 63px);
	padding-inline: 24px;
	border-width: 3px;
	font-size: clamp(15px, 1.04vw, 20px);
	line-height: 1;
}

/* ===========================================================================
   3. HEADER + NAVIGATION
   =========================================================================== */

.site-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: var(--z-header);
	height: var(--header-height);
	background-color: #cfe4ec;
	background-image: var(--header-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition:
		height var(--speed) var(--ease-soft),
		box-shadow var(--speed) var(--ease-soft),
		background-color var(--speed) var(--ease-soft);
}

.site-header--sticky {
	position: fixed;
}

.site-header__veil {
	position: absolute;
	inset: 0;
	background-color: var(--color-header-veil); /* #FFFFFF8F */
	transition: background-color var(--speed) var(--ease-soft);
}

.site-header.is-scrolled {
	height: var(--header-height-scrolled);
	box-shadow: var(--shadow-header);
	-webkit-backdrop-filter: blur(16px) saturate(120%);
	backdrop-filter: blur(16px) saturate(120%);
}

.site-header.is-scrolled .site-header__veil {
	background-color: rgba(255, 255, 255, 0.74);
}

.site-header__spacer {
	height: var(--header-height);
}

.site-header__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(16px, 1.5vw, 32px);
	height: 100%;
}

/* Logo -------------------------------------------------------------------- */

.site-header__branding {
	flex: 0 0 auto;
}

.site-logo {
	display: block;
	line-height: 0;
}

.site-logo img,
.site-logo .custom-logo {
	width: clamp(112px, 10.1vw, 194px); /* 194px @1920 */
	height: auto;
	max-height: clamp(88px, 7.86vw, 151px);
	object-fit: contain;
	transition: width var(--speed) var(--ease-soft), max-height var(--speed) var(--ease-soft);
}

.site-header.is-scrolled .site-logo img,
.site-header.is-scrolled .site-logo .custom-logo {
	width: clamp(104px, 7.3vw, 140px);
	max-height: clamp(72px, 5.7vw, 110px);
}

/* Primary navigation ------------------------------------------------------ */

.main-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.5vw, 48px); /* 48px @1920 */
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav__list .menu-item {
	position: relative;
}

.main-nav__list a {
	position: relative;
	display: inline-block;
	padding-block: 8px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: clamp(13px, 0.938vw, 18px); /* 18px @1920 */
	line-height: 1.2;
	color: var(--color-heading);
	text-decoration: none;
	white-space: nowrap;
}

.main-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background-color: var(--color-primary);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform var(--speed) var(--ease-out);
}

.main-nav__list a:hover {
	color: var(--color-primary);
}

.main-nav__list a:hover::after {
	transform: scaleX(1);
}

.main-nav__list .current-menu-item > a,
.main-nav__list .current_page_item > a,
.main-nav__list .current-menu-ancestor > a {
	color: var(--color-primary);
}

.main-nav__list .current-menu-item > a::after,
.main-nav__list .current_page_item > a::after,
.main-nav__list .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

/* Header actions ---------------------------------------------------------- */

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
}

.site-header__cta {
	min-width: min(341px, 100%); /* exact Figma width on desktop */
}

/* Hamburger --------------------------------------------------------------- */

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 52px;
	height: 52px;
	padding: 0 12px;
	background-color: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(7, 59, 76, 0.1);
	border-radius: 14px;
	transition: background-color var(--speed-fast) var(--ease-soft);
}

.nav-toggle:hover {
	background-color: var(--color-white);
}

.nav-toggle__bar {
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--color-heading);
	border-radius: 2px;
	transition: transform var(--speed) var(--ease-out), opacity var(--speed-fast) linear;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ===========================================================================
   4. MOBILE NAVIGATION
   =========================================================================== */

.nav-overlay {
	position: fixed;
	inset: 0;
	z-index: calc(var(--z-nav-panel) - 1);
	background-color: rgba(0, 36, 49, 0.5);
	opacity: 0;
	transition: opacity var(--speed) var(--ease-soft);
}

.nav-overlay.is-visible {
	opacity: 1;
}

.mobile-nav {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: var(--z-nav-panel);
	display: flex;
	flex-direction: column;
	width: min(420px, 88vw);
	padding: 24px clamp(20px, 5vw, 36px) 36px;
	background-color: var(--color-white);
	box-shadow: -20px 0 60px rgba(0, 36, 49, 0.18);
	transform: translateX(100%);
	opacity: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	transition:
		transform var(--speed) var(--ease-out),
		opacity var(--speed) var(--ease-soft);
}

.mobile-nav.is-open {
	transform: translateX(0);
	opacity: 1;
}

.mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--color-line);
}

.site-logo--mobile img,
.site-logo--mobile .custom-logo {
	width: 120px;
	max-height: 94px;
}

.mobile-nav__close {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	background-color: var(--color-cream);
	border: 0;
	border-radius: 50%;
	color: var(--color-heading);
	transition: background-color var(--speed-fast) var(--ease-soft), color var(--speed-fast) var(--ease-soft);
}

.mobile-nav__close:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
}

.mobile-nav__nav {
	flex: 1;
	padding-block: 24px;
}

.mobile-nav__list {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-nav__list a {
	display: block;
	padding: 14px 4px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 19px;
	color: var(--color-heading);
	text-decoration: none;
	border-bottom: 1px solid rgba(7, 59, 76, 0.07);
	transition: color var(--speed-fast) var(--ease-soft), padding-left var(--speed-fast) var(--ease-soft);
}

.mobile-nav__list a:hover,
.mobile-nav__list .current-menu-item > a,
.mobile-nav__list .current_page_item > a {
	color: var(--color-primary);
	padding-left: 10px;
}

.mobile-nav__cta {
	width: 100%;
}

body.has-nav-open {
	overflow: hidden;
}

/* ===========================================================================
   5. HERO
   =========================================================================== */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(560px, 56.875vw, 1092px); /* 1092px @1920 */
	padding-block: clamp(72px, 7vw, 130px);
	overflow: hidden;
	isolation: isolate;
	background-color: var(--color-dark);
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -3;
	background-image: var(--hero-poster);
	background-size: cover;
	background-position: center;
}

.hero__video,
.hero__fallback-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-color: rgba(0, 36, 49, var(--hero-overlay-opacity, 0.3));
	mix-blend-mode: multiply;
}

/* A whisper of extra contrast behind the copy — keeps the headline legible on
   bright frames without darkening the footage. */
.hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse at 50% 48%, rgba(0, 36, 49, 0.28) 0%, rgba(0, 36, 49, 0) 68%);
}

.hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: var(--color-white);
}

/* Eyebrow pill ------------------------------------------------------------ */

.hero__eyebrow {
	margin: 0;
	padding: 12px 24px;
	background-color: rgba(255, 255, 255, 0.19); /* #FFFFFF30 */
	border: 1.5px solid rgba(255, 255, 255, 0.1); /* #FFFFFF1A */
	border-radius: var(--radius-pill);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.hero__eyebrow-text {
	display: block;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: clamp(10px, 0.885vw, 17px);
	line-height: 1.24;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-white);
}

/* Headline ---------------------------------------------------------------- */

.hero__title {
	max-width: 1600px;
	margin: clamp(18px, 1.67vw, 32px) 0 0;
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: clamp(30px, 4.583vw, 88px); /* 88px @1920 */
	line-height: 1.2; /* 105.6 / 88 */
	letter-spacing: -0.0218em; /* -1.92px @88px */
	text-transform: uppercase;
	text-wrap: balance;
	color: var(--color-white);
}

.hero__description {
	max-width: 1194px;
	margin: clamp(16px, 1.56vw, 30px) 0 0;
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: clamp(15px, 1.875vw, 36px); /* 36px @1920 */
	line-height: 1.156; /* 41.6 / 36 */
	text-wrap: balance;
	color: var(--color-white);
}

.hero__actions {
	margin-top: clamp(22px, 2.08vw, 40px);
}

.hero__cta {
	min-width: min(707px, 100%); /* exact Figma width on desktop */
}

/* ===========================================================================
   6. WHAT IS AN UNDERWATER SCOOTER
   =========================================================================== */

.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 965fr) minmax(0, 787fr);
	gap: clamp(32px, 2.7vw, 52px);
	align-items: start;
}

.about__media {
	margin: 0;
	border-radius: var(--radius-large);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	line-height: 0;
}

.about__image {
	width: 100%;
	aspect-ratio: 965 / 1027;
	object-fit: cover;
	object-position: center;
}

.about__content {
	padding-top: clamp(0px, 1.56vw, 30px);
}

.about__title {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(26px, 2.5vw, 48px); /* 48px @1920 */
	line-height: 1.3; /* 62.4 / 48 */
	color: var(--color-heading);
}

.about__text {
	margin: clamp(16px, 1.67vw, 32px) 0 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: clamp(15px, 1.406vw, 27px); /* 27px @1920 */
	line-height: 1.6; /* 43.2 / 27 */
	color: var(--color-body);
}

/* Feature rows ------------------------------------------------------------ */

.about__features {
	display: grid;
	gap: clamp(20px, 1.67vw, 32px);
	margin: clamp(26px, 2.4vw, 46px) 0 0;
	padding: 0;
	list-style: none;
}

.feature {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(12px, 1.04vw, 20px);
	align-items: start;
}

.feature__icon {
	display: grid;
	place-items: center;
	width: clamp(42px, 3.07vw, 59px); /* 59 x 64 */
	height: clamp(46px, 3.33vw, 64px);
	background-color: var(--color-icon-bg); /* #3964761A */
	border-radius: var(--radius-pill);
	color: var(--color-heading);
	flex-shrink: 0;
}

.feature__icon svg {
	width: clamp(16px, 1.15vw, 22px);
	height: auto;
}

.feature__title {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(18px, 1.875vw, 36px); /* 36px @1920 */
	line-height: 1.4; /* 50.4 / 36 */
	color: var(--color-dark);
}

.feature__text {
	margin: clamp(2px, 0.3vw, 6px) 0 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: clamp(14px, 1.25vw, 24px); /* 24px @1920 */
	line-height: 1.5; /* 36 / 24 */
	color: var(--color-body);
}

.about__actions {
	margin-top: clamp(26px, 2.4vw, 46px);
}

/* ===========================================================================
   7. SEE IT IN ACTION
   =========================================================================== */

.action__media {
	position: relative;
	margin: clamp(24px, 2.92vw, 56px) 0 0;
	aspect-ratio: 1804 / 779;
	border-radius: var(--radius-large);
	overflow: hidden;
	background-color: var(--color-dark);
	line-height: 0;
}

.action__image,
.action__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.action__media-overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(0, 36, 49, 0.08) 0%, rgba(0, 36, 49, 0) 45%);
}

.action__media--video .action__media-overlay {
	display: none;
}

.action__cta {
	margin-top: clamp(24px, 3.13vw, 60px);
	text-align: center;
}

.action__cta-text {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: clamp(20px, 2.5vw, 48px); /* 48px @1920 */
	line-height: 1.3; /* 62.4 / 48 */
	color: var(--color-heading);
}

.action__button {
	margin-top: clamp(18px, 2.08vw, 40px);
	min-width: min(440px, 100%); /* exact Figma width on desktop */
}

/* ===========================================================================
   8. CHOOSE YOUR ADVENTURE
   =========================================================================== */

.adventures__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 1.957vw, 37.57px); /* 37.57px @1920 */
	align-items: stretch;
	margin-top: clamp(30px, 2.92vw, 56px);
}

.rental-card {
	display: flex;
	flex-direction: column;
	background-color: rgba(255, 255, 255, 0.7); /* #FFFFFFB2 */
	border: 1.57px solid rgba(255, 255, 255, 0.3); /* #FFFFFF4D */
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
	-webkit-backdrop-filter: blur(31px);
	backdrop-filter: blur(31px);
	overflow: hidden;
	transition:
		transform var(--speed) var(--ease-out),
		box-shadow var(--speed) var(--ease-soft),
		border-color var(--speed) var(--ease-soft);
}

.rental-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 26px 60px rgba(7, 59, 76, 0.12);
}

.rental-card--popular {
	border: 2px solid var(--color-primary);
}

.rental-card__media {
	position: relative;
	aspect-ratio: 576 / 300;
	overflow: hidden;
	line-height: 0;
	background-color: var(--color-cream);
}

.rental-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform var(--speed-slow) var(--ease-out);
}

.rental-card:hover .rental-card__image {
	transform: scale(1.02);
}

.rental-card__badge {
	position: absolute;
	top: clamp(12px, 1.56vw, 30px);
	right: clamp(12px, 1.77vw, 34px);
	padding: 8px 14px;
	background-color: var(--color-badge);
	border-radius: 8px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: clamp(10px, 0.73vw, 14px);
	line-height: 1;
	letter-spacing: 0.08em;
	color: var(--color-heading);
}

.rental-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: clamp(20px, 1.957vw, 37.57px); /* 37.57px @1920 */
}

.rental-card__title {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(20px, 1.957vw, 37.57px);
	line-height: 1.4; /* 52.6 / 37.57 */
	color: var(--color-heading);
}

.rental-card__text {
	margin: clamp(8px, 0.73vw, 14px) 0 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: clamp(14px, 1.302vw, 25px);
	line-height: 1.5; /* 37.57 / 25 */
	color: var(--color-body);
}

.rental-card__pricing {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: clamp(18px, 1.77vw, 34px);
}

.rental-card__duration {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: clamp(13px, 1.302vw, 25px);
	line-height: 1.4;
	color: var(--color-body);
}

.rental-card__price {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(17px, 1.957vw, 37.57px);
	line-height: 1.4;
	color: var(--color-heading);
	text-align: right;
}

.rental-card__button {
	margin-top: clamp(16px, 1.46vw, 28px);
}

/* ===========================================================================
   9. HOW IT WORKS
   =========================================================================== */

.steps {
	position: relative;
	margin-top: clamp(34px, 3.65vw, 70px);
}

.steps__connector {
	position: absolute;
	top: clamp(42px, 3.75vw, 72px); /* centre of a 144px circle */
	left: 10%;
	right: 10%;
	height: 1px;
	background-color: var(--color-line-strong);
	z-index: 0;
}

.steps__list {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(10px, 1.25vw, 24px);
	max-width: 1730px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.step__circle {
	display: grid;
	place-items: center;
	width: clamp(84px, 7.5vw, 144px); /* 144px @1920 */
	aspect-ratio: 1;
	background-color: var(--color-cream);
	border: 6px solid var(--color-white);
	border-radius: 50%;
	box-shadow: var(--shadow-soft);
	color: var(--color-heading);
	transition: transform var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-soft);
}

.step__circle svg {
	width: clamp(24px, 2.08vw, 40px);
	height: auto;
}

.step--filled .step__circle {
	background-color: var(--color-primary);
	color: var(--color-white);
}

.step:hover .step__circle {
	transform: translateY(-3px);
	box-shadow: 0 20px 50px rgba(7, 59, 76, 0.14);
}

.step__title {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 6px;
	margin: clamp(12px, 1.3vw, 25px) 0 0;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(15px, 1.875vw, 36px); /* 36px @1920 */
	line-height: 1.4; /* 50.4 / 36 */
	color: var(--color-heading);
}

/* ===========================================================================
   10. WAYS TO ENJOY (BENTO)
   =========================================================================== */

.bento {
	display: grid;
	grid-template-columns: minmax(0, 1193fr) minmax(0, 584fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: clamp(14px, 1.3vw, 25px); /* 25px @1920 */
	height: clamp(520px, 42.03vw, 807px); /* 807px @1920 */
	margin-top: clamp(28px, 2.6vw, 50px);
}

.bento__tile {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius-tile);
	background-color: var(--color-dark);
	isolation: isolate;
	text-decoration: none;
}

.bento__tile--large {
	grid-row: span 2;
}

.bento__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform var(--speed-slow) ease;
}

.bento__gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 36, 49, 0.78) 0%,
		rgba(0, 36, 49, 0.34) 34%,
		rgba(0, 36, 49, 0) 64%
	);
	transition: opacity var(--speed) var(--ease-soft);
}

.bento__content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: clamp(20px, 1.875vw, 36px);
	transition: transform var(--speed) var(--ease-out);
}

.bento__tile--large .bento__content {
	padding: clamp(24px, 2.5vw, 48px);
}

.bento__title {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(19px, 1.956vw, 37.55px); /* 37.55px @1920 */
	line-height: 1.4; /* 52.56 / 37.55 */
	color: var(--color-white);
}

.bento__text {
	margin: clamp(4px, 0.42vw, 8px) 0 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: clamp(13px, 1.302vw, 25px); /* 25px @1920 */
	line-height: 1.5; /* 37.55 / 25 */
	color: rgba(255, 255, 255, 0.94);
}

.bento__tile--small .bento__title {
	font-size: clamp(18px, 1.72vw, 33px);
}

.bento__tile--small .bento__text {
	font-size: clamp(12px, 1.09vw, 21px);
}

@media (hover: hover) {
	.bento__tile:hover .bento__image {
		transform: scale(1.02);
	}

	.bento__tile:hover .bento__gradient {
		opacity: 1.08;
	}

	.bento__tile:hover .bento__content {
		transform: translateY(-3px);
	}
}

/* ===========================================================================
   11. FOOTER
   =========================================================================== */

.site-footer {
	background-color: var(--color-white);
	border-top: 1px solid var(--color-line);
	padding-block: clamp(44px, 4.17vw, 80px) clamp(22px, 2.08vw, 40px);
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 760px) minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 4.17vw, 80px);
	align-items: start;
}

.site-footer__logo {
	display: inline-block;
	line-height: 0;
}

.site-footer__logo-img {
	width: clamp(200px, 19.9vw, 382px); /* 382px @1920 */
	height: auto;
	object-fit: contain;
}

.site-footer__description {
	margin: clamp(14px, 1.15vw, 22px) 0 0;
	max-width: 672px;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: clamp(15px, 1.25vw, 24px); /* 24px @1920 */
	line-height: 1.5; /* 36 / 24 */
	color: var(--color-body);
}

.site-footer__col {
	padding-top: clamp(0px, 2.92vw, 56px);
}

.site-footer__heading {
	margin: 0 0 clamp(12px, 1.25vw, 24px);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: clamp(14px, 0.938vw, 18px); /* 18px @1920 */
	line-height: 1;
	letter-spacing: 1.8px;
	color: var(--color-heading);
}

.site-footer__list {
	display: grid;
	gap: clamp(8px, 0.63vw, 12px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__list a {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: clamp(15px, 1.25vw, 24px);
	line-height: 1.5;
	color: var(--color-body);
	text-decoration: none;
}

.site-footer__list a:hover {
	color: var(--color-primary);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.site-footer__widgets {
	margin-top: clamp(28px, 2.6vw, 50px);
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Bottom bar -------------------------------------------------------------- */

.site-footer__bottom {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	margin-top: clamp(28px, 3.02vw, 58px);
	padding-top: clamp(18px, 1.56vw, 30px);
	border-top: 1px solid var(--color-line);
}

.site-footer__copyright,
.site-footer__legal-list a,
.back-to-top {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: clamp(13px, 0.99vw, 19px);
	line-height: 1.5;
	color: var(--color-body);
}

.site-footer__copyright {
	margin: 0;
}

.site-footer__totop {
	justify-self: center;
}

.back-to-top {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color var(--speed-fast) var(--ease-soft);
}

.back-to-top:hover,
.back-to-top:focus-visible {
	color: var(--color-primary);
}

.back-to-top__icon {
	opacity: 0;
	transform: translateY(3px);
	transition: opacity var(--speed-fast) var(--ease-soft), transform var(--speed-fast) var(--ease-out);
}

.back-to-top:hover .back-to-top__icon,
.back-to-top:focus-visible .back-to-top__icon {
	opacity: 1;
	transform: translateY(0);
}

.site-footer__legal {
	justify-self: end;
}

.site-footer__legal-list {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__legal-list .menu-item + .menu-item {
	position: relative;
	padding-left: 18px;
}

.site-footer__legal-list .menu-item + .menu-item::before {
	content: "|";
	position: absolute;
	left: 0;
	color: var(--color-line-strong);
}

.site-footer__legal-list a {
	text-decoration: none;
}

.site-footer__legal-list a:hover {
	color: var(--color-primary);
}

/* ===========================================================================
   12. BLOG, PAGE, 404, UTILITY
   =========================================================================== */

.site-main--archive,
.site-main--single,
.site-main--search,
.site-main--404,
.site-main--page {
	padding-block: clamp(48px, 4.5vw, 86px) clamp(56px, 5.2vw, 100px);
}

.page-header {
	margin-bottom: clamp(28px, 2.6vw, 50px);
	text-align: center;
}

.page-header__title {
	margin: 0;
	font-size: clamp(28px, 2.5vw, 48px);
	line-height: 1.3;
	color: var(--color-heading);
}

.page-header__description {
	margin-top: 12px;
	color: var(--color-body);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: clamp(20px, 1.96vw, 37px);
}

.post-card {
	display: flex;
	flex-direction: column;
	background-color: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
	transition: transform var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-soft);
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 50px rgba(7, 59, 76, 0.12);
}

.post-card__media {
	display: block;
	aspect-ratio: 576 / 300;
	overflow: hidden;
	line-height: 0;
}

.post-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: clamp(18px, 1.5vw, 28px);
}

.post-card__title {
	margin: 0 0 8px;
	font-size: clamp(19px, 1.15vw, 24px);
	line-height: 1.35;
}

.post-card__title a {
	color: var(--color-heading);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--color-primary);
}

.post-card__excerpt {
	margin: 10px 0 0;
	color: var(--color-body);
}

.post-card__more {
	margin-top: auto;
	padding-top: 16px;
	font-weight: 600;
	text-decoration: none;
}

.post-card__more::after {
	content: " →";
}

.entry__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 15px;
	color: var(--color-body);
}

.entry__header {
	margin-bottom: clamp(20px, 1.8vw, 34px);
	text-align: center;
}

.entry__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 2.5vw, 48px);
	line-height: 1.25;
}

.entry__thumbnail {
	margin-bottom: clamp(20px, 1.8vw, 34px);
	border-radius: var(--radius-large);
	overflow: hidden;
	line-height: 0;
}

.entry__content {
	font-size: clamp(16px, 1.1vw, 20px);
	line-height: 1.75;
	color: var(--color-body);
}

.entry__content h2,
.entry__content h3,
.entry__content h4 {
	margin-top: 1.6em;
}

.entry__content--front {
	padding-block: clamp(40px, 4vw, 80px);
}

.entry__content img,
.entry__content .wp-block-image img {
	border-radius: var(--radius-large);
}

.entry__content blockquote {
	margin: 1.8em 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--color-primary);
	color: var(--color-heading);
	font-style: italic;
}

/* Alignment support for the block editor. */
.alignwide {
	width: min(100%, 1400px);
	margin-inline: auto;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
	display: block;
}

/* Pagination -------------------------------------------------------------- */

.usr-pagination {
	margin-top: clamp(32px, 3vw, 56px);
}

.usr-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.usr-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding-inline: 12px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-pill);
	color: var(--color-heading);
	text-decoration: none;
	transition: background-color var(--speed-fast) var(--ease-soft), color var(--speed-fast) var(--ease-soft);
}

.usr-pagination .page-numbers:hover,
.usr-pagination .page-numbers.current {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-white);
}

/* Search form ------------------------------------------------------------- */

.search-form {
	display: flex;
	gap: 10px;
	max-width: 520px;
	margin-inline: auto;
}

.search-form__field {
	flex: 1;
	padding: 15px 22px;
	background-color: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-pill);
	color: var(--color-heading);
}

.search-form__field:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(2, 143, 168, 0.15);
}

/* 404 --------------------------------------------------------------------- */

.error-404 {
	text-align: center;
}

.error-404__code {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: clamp(64px, 8vw, 150px);
	line-height: 1;
	color: var(--color-primary);
	opacity: 0.18;
}

.error-404__title {
	margin: 12px 0 0;
	font-size: clamp(26px, 2.3vw, 44px);
}

.error-404__text {
	margin: 14px auto 0;
	max-width: 620px;
	color: var(--color-body);
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 28px;
}

.error-404__search {
	margin-top: 34px;
}

/* No results / widgets ---------------------------------------------------- */

.no-results {
	max-width: 640px;
	margin-inline: auto;
	text-align: center;
}

.no-results__title {
	font-size: clamp(22px, 1.8vw, 34px);
}

.site-sidebar {
	padding-block: clamp(32px, 3vw, 56px);
	background-color: var(--color-cream);
}

.widget {
	margin-bottom: 32px;
}

.widget__title {
	font-size: 20px;
	color: var(--color-heading);
}

/* Comments ---------------------------------------------------------------- */

.comments {
	margin-top: clamp(40px, 3.6vw, 70px);
	padding-top: clamp(28px, 2.4vw, 46px);
	border-top: 1px solid var(--color-line);
}

.comments__list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.comments__list .comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var(--color-line);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 14px 18px;
	border: 1px solid var(--color-line);
	border-radius: 14px;
	background-color: var(--color-white);
}

.comment-form textarea {
	min-height: 160px;
	resize: vertical;
}

/* Post navigation --------------------------------------------------------- */

.post-navigation {
	margin-top: clamp(32px, 3vw, 56px);
	padding-top: 24px;
	border-top: 1px solid var(--color-line);
}

.post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-primary);
}

.post-navigation a {
	color: var(--color-heading);
	text-decoration: none;
	font-weight: 600;
}

.post-navigation a:hover {
	color: var(--color-primary);
}

/* ===========================================================================
   13. MOTION
   =========================================================================== */

/*
 * Animations are gated behind .usr-js, which an inline <head> script adds
 * before first paint. Without JavaScript nothing is ever hidden, and because
 * the class lands pre-paint there is no flash of visible-then-hidden content.
 */

.usr-js [data-reveal] {
	opacity: 0;
	transition:
		opacity var(--speed-slow) var(--ease-out),
		transform var(--speed-slow) var(--ease-out);
	transition-delay: var(--reveal-delay, 0ms);
}

.usr-js [data-reveal="fade-up"] {
	transform: translateY(26px);
}

.usr-js [data-reveal="scale-in"] {
	transform: scale(0.985);
}

.usr-js [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

/*
 * The hero entrance is a CSS animation rather than a JS-toggled class: it runs
 * on load with no script dependency, so a failed request can never leave the
 * headline invisible.
 */
.usr-js [data-hero-item] {
	opacity: 0;
	animation: usr-hero-in 700ms var(--ease-out) both;
	animation-delay: var(--hero-delay, 0ms);
}

@keyframes usr-hero-in {
	from {
		opacity: 0;
		transform: translateY(24px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/*
 * Failsafe: if main.js never boots, an inline timer adds .usr-no-anim and all
 * scroll-reveal content is shown. Declared last so it wins on equal
 * specificity — no !important needed.
 */
.usr-js.usr-no-anim [data-reveal] {
	opacity: 1;
	transform: none;
	transition: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.usr-js [data-reveal],
	.usr-js [data-hero-item],
	.usr-js [data-reveal="fade-up"],
	.usr-js [data-reveal="scale-in"] {
		opacity: 1;
		transform: none;
	}

	.rental-card:hover,
	.post-card:hover,
	.btn:hover,
	.step:hover .step__circle {
		transform: none;
	}

	.bento__tile:hover .bento__image {
		transform: none;
	}
}

/* ===========================================================================
   14. ADMIN BAR + PLUGIN GUARDS
   =========================================================================== */

body.admin-bar .site-header--sticky {
	top: 32px;
}

/* Elementor-built pages must never inherit theme spacing on the content root. */
body.usr-elementor-content .site-main--page,
body.usr-elementor-content .site-main--front,
body.usr-elementor-content .site-main--elementor {
	padding-block: 0;
}
