/*
 * StorageBox design standard, shared by Home 2 and every site view
 * (Our Units, How It Works, About Us, unit booking, My Account). Loads after home-2.css.
 *
 * Brand     Brand Guide 2026 (SB_2026): navy #0d253d, deep blue #16587b, light blue #84b3ce, cream #f5eedd.
 * Type      Unbounded for headings (h1, h2, h3), Avenir Next for everything else (Metropolis, OFL, is the hosted fallback).
 *           h1 hero · h2 section title · h3 card title. Eyebrow + title + lead open every section.
 * Spacing   4px grid. Every section: --sbx-section top and bottom; heading to content: --sbx-head-gap.
 * Grid      One 1360px container (header, sections, footer). Cards in 3 or 4 columns, 24px gap.
 *           Text + media sections split 50/50. Section headings are left-aligned (the CTA band is centered).
 * Surfaces  White and --sbx-surface sections alternate. Cards: white, 1px neutral line, 16px radius, flat.
 * Buttons   One shape (12px radius, 600 weight): small 40px (in cards), default 48px, large 56px (heroes, CTA).
 *           Primary deep blue, ghost (white + line), light and outline-light on dark backgrounds.
 * Color     Navy for text and dark backgrounds, deep blue for actions, links and selected states,
 *           light blue for details only (never text on light backgrounds: 2.2:1), cream for tinted sections.
 */

@font-face {
	font-family: "Metropolis";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/metropolis/Metropolis-Regular.woff2") format("woff2"), url("../fonts/metropolis/Metropolis-Regular.woff") format("woff");
}

@font-face {
	font-family: "Metropolis";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/metropolis/Metropolis-RegularItalic.woff2") format("woff2"), url("../fonts/metropolis/Metropolis-RegularItalic.woff") format("woff");
}

@font-face {
	font-family: "Metropolis";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/metropolis/Metropolis-Medium.woff2") format("woff2"), url("../fonts/metropolis/Metropolis-Medium.woff") format("woff");
}

@font-face {
	font-family: "Metropolis";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/metropolis/Metropolis-SemiBold.woff2") format("woff2"), url("../fonts/metropolis/Metropolis-SemiBold.woff") format("woff");
}

@font-face {
	font-family: "Metropolis";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/metropolis/Metropolis-Bold.woff2") format("woff2"), url("../fonts/metropolis/Metropolis-Bold.woff") format("woff");
}

:root {
	/* Color: Brand Guide 2026 */
	--sbx-navy: #0d253d;
	--sbx-deep-blue: #16587b;
	--sbx-light-blue: #84b3ce;
	--sbx-cream: #f5eedd;
	--sbx-cream-light: #fdfbed;

	--sbx-ink: var(--sbx-navy);
	--sbx-ink-deep: #0a1c30;
	--sbx-ink-rgb: 13, 37, 61;
	--sbx-primary: var(--sbx-deep-blue);
	--sbx-primary-hover: #104762;
	--sbx-primary-rgb: 22, 88, 123;
	--sbx-ink-hover: var(--sbx-primary-hover);
	--sbx-accent: var(--sbx-light-blue);
	--sbx-accent-rgb: 132, 179, 206;
	--sbx-cream-rgb: 245, 238, 221;
	--sbx-blue: var(--sbx-primary); /* text links */
	--sbx-text: #33475a;
	--sbx-muted: #556a7d;
	--sbx-subtle: #5f7184;
	--sbx-line: #e5e3dc;
	--sbx-line-strong: #c9c9c2;
	--sbx-surface: #faf6ea;
	--sbx-surface-strong: #e6eff4;
	--sbx-success: #1f7a53;
	--sbx-success-soft: #e6f4ec;
	--sbx-danger: #b42318;
	--sbx-danger-soft: #fdecea;
	--sbx-warning: #8a5a00;
	--sbx-warning-soft: #fff6e5;
	--sbx-on-dark: rgba(var(--sbx-cream-rgb), 0.86);
	--sbx-line-on-dark: rgba(var(--sbx-cream-rgb), 0.16);

	/* Elevation (neutral) */
	--sbx-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.04);
	--sbx-shadow: 0 4px 12px rgba(16, 24, 40, 0.08), 0 1px 3px rgba(16, 24, 40, 0.05);
	--sbx-shadow-lg: 0 16px 40px rgba(16, 24, 40, 0.14), 0 2px 6px rgba(16, 24, 40, 0.06);
	--sbx-focus: 0 0 0 3px rgba(var(--sbx-primary-rgb), 0.28);

	/* Shape */
	--sbx-radius-sm: 8px;
	--sbx-radius: 12px;
	--sbx-radius-lg: 16px;
	--sbx-radius-xl: 20px;

	/* Spacing (4px grid) */
	--sbx-space-1: 4px;
	--sbx-space-2: 8px;
	--sbx-space-3: 12px;
	--sbx-space-4: 16px;
	--sbx-space-5: 20px;
	--sbx-space-6: 24px;
	--sbx-space-8: 32px;
	--sbx-space-10: 40px;
	--sbx-space-12: 48px;
	--sbx-space-16: 64px;
	--sbx-section: clamp(64px, 8vw, 112px);
	--sbx-head-gap: clamp(32px, 4vw, 48px);
	--sbx-split-gap: clamp(40px, 6vw, 80px);
	--sbx-card-pad: 24px;
	--sbx-grid-gap: 24px;
	--sbx-gutter: 32px;
	--sbx-container: min(1360px, calc(100% - var(--sbx-gutter) * 2));

	/* Type */
	--sbx-font-body: "Avenir Next", "Avenir", "Metropolis", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--sbx-font-display: "Unbounded", "Metropolis", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--sbx-ls-display: -0.02em;
	--sbx-fs-xs: 12px;
	--sbx-fs-sm: 14px;
	--sbx-fs-md: 16px;
	--sbx-fs-lg: 18px;
	--sbx-fs-h3: 18px;
	--sbx-fs-h3-lg: clamp(20px, 1.8vw, 24px); /* title of a large feature panel */
	--sbx-fs-h2-sm: 22px; /* h2 inside a content column or card */
	--sbx-fs-h2: clamp(26px, 2.8vw, 40px);
	--sbx-fs-h1: clamp(34px, 4.2vw, 56px);
	--sbx-lh-tight: 1.15;
	--sbx-lh-body: 1.6;
}

/* Brand Guide logo: cream over the photo heroes, deep blue once the header turns white. */
.sbx-home-2 .sbx-home-2__header .sbx-home-2__brand img.sbx-brand-logo {
	width: auto;
	height: 40px;
	filter: none;
}

.sbx-home-2 .sbx-home-2__header .sbx-home-2__brand img.sbx-brand-logo--on-light,
.sbx-home-2 .sbx-home-2__header:is(.is-scrolled, .is-menu-open, .sbx-home-2__header--solid) .sbx-home-2__brand img.sbx-brand-logo--on-dark {
	display: none;
}

.sbx-home-2 .sbx-home-2__header:is(.is-scrolled, .is-menu-open, .sbx-home-2__header--solid) .sbx-home-2__brand img.sbx-brand-logo--on-light {
	display: block;
}

@media (max-width: 1100px) {
	.sbx-home-2 .sbx-home-2__header .sbx-home-2__brand img.sbx-brand-logo {
		height: 32px;
	}

	.sbx-home-2 .sbx-home-2__header .sbx-home-2__brand {
		margin-right: var(--sbx-space-6);
	}
}

@media (max-width: 760px) {
	.sbx-home-2 .sbx-home-2__header .sbx-home-2__brand img.sbx-brand-logo {
		height: 34px;
	}
}

/* Footer: below 1180px the support block takes its own row, so the email never breaks mid-word. */
@media (max-width: 1180px) and (min-width: 981px) {
	body.sbx-home-2-page .sbx-home-2__footer-main {
		grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
	}

	body.sbx-home-2-page .sbx-home-2__footer-support {
		grid-column: 1 / -1;
		padding: var(--sbx-space-5) 0 0;
		border-top: 1px solid var(--sbx-line-on-dark);
		border-left: 0;
	}
}

/* Footer: cream logo and the Brand Guide tagline. */
/* The Home 2 footer sits outside .sbx-home-2, so these rules key on the body class. */
body.sbx-home-2-page .sbx-home-2__footer-brand img {
	width: 190px;
	height: auto;
	filter: none;
}

body.sbx-home-2-page .sbx-home-2__footer-brand .sbx-home-2__footer-tagline {
	margin-top: var(--sbx-space-5);
	color: var(--sbx-cream);
	font-family: var(--sbx-font-display);
	font-size: var(--sbx-fs-md);
	font-weight: 500;
	letter-spacing: var(--sbx-ls-display);
}

body.sbx-home-2-page .sbx-home-2__footer-brand .sbx-home-2__footer-tagline + p {
	margin-top: var(--sbx-space-2);
	color: var(--sbx-on-dark);
}

body.sbx-home-2-page .sbx-home-2__footer a {
	text-decoration: none;
}

body.sbx-home-2-page .sbx-home-2__footer a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Hero eyebrow: cream text (it can sit over the light container photo), light-blue dot. */
.sbx-home-2 .sbx-home-2__eyebrow {
	color: var(--sbx-cream);
	text-shadow: 0 1px 12px rgba(var(--sbx-ink-rgb), 0.55);
}

/* Header: solid from the first pixel on views without a dark hero.
 * Prefixed with .sbx-site.sbx-home-2 to outrank home-2.css's `:not(.is-scrolled)` rules. */
.sbx-home-2__header.sbx-home-2__header--solid {
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 1px 0 var(--sbx-line);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.sbx-site.sbx-home-2 .sbx-home-2__header.sbx-home-2__header--solid .sbx-home-2__brand img {
	filter: none;
}

.sbx-site.sbx-home-2 .sbx-home-2__header.sbx-home-2__header--solid .sbx-home-2__nav {
	color: var(--sbx-ink);
}

.sbx-site.sbx-home-2 .sbx-home-2__header.sbx-home-2__header--solid .sbx-home-2__nav-links > a:hover,
.sbx-site.sbx-home-2 .sbx-home-2__header.sbx-home-2__header--solid .sbx-home-2__nav-links > a[aria-current="page"] {
	color: var(--sbx-blue);
}

.sbx-home-2__nav-links > a[aria-current="page"]::after {
	transform: scaleX(1);
}

@media (max-width: 760px) {
	.sbx-home-2__header.sbx-home-2__header--solid .sbx-home-2__menu-toggle {
		border-color: var(--sbx-line) !important;
		background: #fff;
		color: var(--sbx-ink);
	}
}

/* Layout */
/* home-2.css clips the wrapper with overflow: hidden, which disables position: sticky inside it.
 * `clip` keeps the horizontal clipping without creating a scroll container. */
.sbx-home-2.sbx-site {
	overflow: clip;
}

.sbx-site__main {
	min-height: 60vh;
	padding-top: var(--sbx-home-2-header-height);
	background: #fff;
	color: var(--sbx-text);
	font-size: var(--sbx-fs-md);
	line-height: var(--sbx-lh-body);
}

.sbx-container {
	width: var(--sbx-container);
	margin: 0 auto;
}

.sbx-section {
	padding: var(--sbx-section) 0;
	scroll-margin-top: var(--sbx-home-2-header-height);
}

.sbx-section--tint {
	background: var(--sbx-surface);
}

/* Section heading: eyebrow, title and lead; controls (toggle, button, prices) sit on the right. */
.sbx-section-head {
	margin-bottom: var(--sbx-head-gap);
}

.sbx-section-head:last-child {
	margin-bottom: 0;
}

.sbx-section-head__copy {
	max-width: 760px;
}

.sbx-section-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sbx-space-6) var(--sbx-space-12);
}

.sbx-section-head--split .sbx-section-head__copy {
	min-width: 0;
	flex: 1 1 520px;
}

.sbx-section-head__aside {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sbx-space-3);
}

/* Card grids */
.sbx-grid {
	display: grid;
	margin: 0;
	padding: 0;
	gap: var(--sbx-grid-gap);
	list-style: none;
}

.sbx-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sbx-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Text and media side by side */
.sbx-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: var(--sbx-split-gap);
}

.sbx-split .sbx-section-head {
	margin-bottom: var(--sbx-space-6);
}

.sbx-split + .sbx-grid {
	margin-top: var(--sbx-space-16);
}

.sbx-media {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--sbx-radius-lg);
	background: var(--sbx-surface-strong);
}

.sbx-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sbx-prose p {
	margin: 0 0 var(--sbx-space-4);
	color: var(--sbx-text);
	font-size: var(--sbx-fs-md);
	line-height: 1.7;
}

.sbx-nowrap {
	white-space: nowrap;
}

.sbx-prose p:last-child {
	margin-bottom: 0;
}

/* Type */
body.sbx-home-2-page {
	font-family: var(--sbx-font-body);
}

/* Icon glyphs keep one stroke weight everywhere, even inside bold buttons and labels. */
body.sbx-home-2-page .hgi-stroke {
	font-weight: 400;
}

.sbx-home-2 :is(h1, h2, h3, h4):not(.sbx-faq__question) {
	font-family: var(--sbx-font-display);
	letter-spacing: var(--sbx-ls-display);
}

/* Small footer labels stay in the body font (the footer sits inside .sbx-home-2 on the site views). */
.sbx-home-2__footer h2,
.sbx-home-2 .sbx-home-2__footer h2 {
	font-family: var(--sbx-font-body);
	letter-spacing: 0;
}

.sbx-home-2 .sbx-home-2__copy h1 {
	font-size: var(--sbx-fs-h1);
	font-weight: 600;
	line-height: 1.08;
	text-wrap: balance;
}

.sbx-eyebrow {
	display: block;
	margin: 0 0 var(--sbx-space-3);
	color: var(--sbx-muted);
	font-family: var(--sbx-font-body);
	font-size: var(--sbx-fs-xs);
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
}

.sbx-home-2 .sbx-title {
	margin: 0;
	color: var(--sbx-ink);
	font-size: var(--sbx-fs-h2);
	font-weight: 600;
	line-height: var(--sbx-lh-tight);
	text-wrap: balance;
}

/* Brand Guide: a short light-blue rule under every section title. */
.sbx-section-head .sbx-title::after,
.sbx-cta-band .sbx-title::after {
	display: block;
	width: 56px;
	height: 3px;
	margin-top: var(--sbx-space-4);
	border-radius: 2px;
	background: var(--sbx-accent);
	content: "";
}

.sbx-cta-band .sbx-title::after {
	margin-right: auto;
	margin-left: auto;
}

.sbx-lead {
	max-width: 640px;
	text-wrap: pretty;
	margin: var(--sbx-space-4) 0 0;
	color: var(--sbx-text);
	font-size: var(--sbx-fs-lg);
	line-height: var(--sbx-lh-body);
}

.sbx-site h3 {
	color: var(--sbx-ink);
	font-size: var(--sbx-fs-h3);
	font-weight: 600;
	line-height: 1.3;
}

.sbx-home-2 .sbx-card__title {
	margin: 0;
	color: var(--sbx-ink);
	font-size: var(--sbx-fs-h3);
	font-weight: 600;
	line-height: 1.3;
}

.sbx-card__text {
	margin: var(--sbx-space-2) 0 0;
	color: var(--sbx-muted);
	font-size: 15px;
	line-height: var(--sbx-lh-body);
}

.sbx-site p {
	line-height: var(--sbx-lh-body);
}

.sbx-site a.sbx-link,
.sbx-site .sbx-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--sbx-blue);
	font-weight: 600;
	text-decoration: none;
}

.sbx-site a.sbx-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sbx-site a:focus-visible,
.sbx-site button:focus-visible,
.sbx-site summary:focus-visible,
.sbx-site [tabindex]:focus-visible {
	outline: 2px solid var(--sbx-ink);
	outline-offset: 2px;
	border-radius: var(--sbx-radius-sm);
}

.sbx-photo-hero a:focus-visible,
.sbx-photo-hero button:focus-visible,
.sbx-cta-band a:focus-visible {
	outline-color: #fff;
}

/* Buttons */
body.sbx-home-2-page .sbx-site .sbx-btn {
	display: inline-flex;
	min-height: 48px;
	padding: 0 var(--sbx-space-6);
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 1px solid var(--sbx-primary);
	border-radius: var(--sbx-radius);
	background: var(--sbx-primary);
	color: #fff;
	cursor: pointer;
	font-size: var(--sbx-fs-md);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

body.sbx-home-2-page .sbx-site .sbx-btn:hover {
	border-color: var(--sbx-primary-hover);
	background: var(--sbx-primary-hover);
	color: #fff;
}

body.sbx-home-2-page .sbx-site .sbx-btn:focus-visible {
	outline: 2px solid var(--sbx-primary);
	outline-offset: 3px;
}

body.sbx-home-2-page .sbx-site .sbx-btn[disabled],
body.sbx-home-2-page .sbx-site .sbx-btn[aria-disabled="true"] {
	border-color: var(--sbx-surface-strong);
	background: var(--sbx-surface-strong);
	color: var(--sbx-subtle);
	cursor: not-allowed;
}

body.sbx-home-2-page .sbx-site .sbx-btn--block {
	width: 100%;
}

body.sbx-home-2-page .sbx-site .sbx-btn--large {
	min-height: 56px;
	padding: 0 var(--sbx-space-8);
	font-size: 17px;
}

body.sbx-home-2-page .sbx-site .sbx-btn--small {
	min-height: 40px;
	padding: 0 var(--sbx-space-4);
	gap: 6px;
	font-size: var(--sbx-fs-sm);
	white-space: nowrap;
}

body.sbx-home-2-page .sbx-site .sbx-btn--ghost {
	border-color: var(--sbx-line-strong);
	background: #fff;
	color: var(--sbx-ink);
}

body.sbx-home-2-page .sbx-site .sbx-btn--ghost:hover {
	border-color: var(--sbx-primary);
	background: #fff;
	color: var(--sbx-primary);
}

body.sbx-home-2-page .sbx-site .sbx-btn--light {
	border-color: #fff;
	background: #fff;
	color: var(--sbx-ink);
}

body.sbx-home-2-page .sbx-site .sbx-btn--light:hover {
	border-color: var(--sbx-surface-strong);
	background: var(--sbx-surface-strong);
	color: var(--sbx-ink);
}

body.sbx-home-2-page .sbx-site .sbx-btn--outline-light {
	border-color: rgba(255, 255, 255, 0.4);
	background: transparent;
	color: #fff;
}

body.sbx-home-2-page .sbx-site .sbx-btn--outline-light:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

body.sbx-home-2-page .sbx-site .sbx-btn svg,
body.sbx-home-2-page .sbx-site .sbx-btn i {
	flex: 0 0 auto;
	font-size: 18px;
	line-height: 1;
}

body.sbx-home-2-page .sbx-site .sbx-btn svg {
	width: 18px;
	height: 18px;
}

body.sbx-home-2-page .sbx-site .sbx-btn--small svg {
	width: 16px;
	height: 16px;
}

/* Header button: same shape, small size. */
body.sbx-home-2-page .sbx-home-2 .sbx-home-2__nav-cta {
	min-width: 0;
	min-height: 40px;
	padding: 0 var(--sbx-space-5);
	border-radius: var(--sbx-radius);
	box-shadow: none;
	font-size: 15px;
}

body.sbx-home-2-page .sbx-home-2 .sbx-home-2__nav-cta:hover {
	transform: none;
	background: var(--sbx-primary-hover);
	box-shadow: none;
}

/* Status chips */
.sbx-chip {
	display: inline-flex;
	min-height: 28px;
	padding: 0 10px;
	align-items: center;
	gap: 7px;
	border-radius: 999px;
	background: var(--sbx-surface-strong);
	color: var(--sbx-muted);
	font-size: var(--sbx-fs-xs);
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.sbx-chip::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}

.sbx-chip--available {
	background: var(--sbx-success-soft);
	color: var(--sbx-success);
}

.sbx-chip--danger {
	background: var(--sbx-danger-soft);
	color: var(--sbx-danger);
}

.sbx-chip--plain::before {
	display: none;
}

/* Cards: white, 1px neutral line, 16px radius, flat. */
.sbx-card {
	border: 1px solid var(--sbx-line);
	border-radius: var(--sbx-radius-lg);
	background: #fff;
}

.sbx-card.sbx-feature {
	padding: var(--sbx-card-pad);
}

.sbx-card--media {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
}

.sbx-card__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--sbx-surface-strong);
}

.sbx-card__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sbx-card__body {
	padding: var(--sbx-card-pad);
}

/* Icon tile used by features and cards */
.sbx-icon-tile {
	display: inline-grid;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	place-items: center;
	border-radius: var(--sbx-radius);
	background: var(--sbx-surface-strong);
	color: var(--sbx-ink);
	font-size: 22px;
	font-weight: 400; /* icon glyphs never inherit bold from their label */
	line-height: 1;
}

.sbx-section--tint .sbx-feature:not(.sbx-card) .sbx-icon-tile {
	background: #fff;
}

/* Feature: icon, title, text. Stacked in grids, inline in lists. */
.sbx-feature {
	min-width: 0;
}

.sbx-feature .sbx-card__title {
	margin-top: var(--sbx-space-5);
}

.sbx-feature--inline {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	column-gap: var(--sbx-space-4);
	align-items: start;
}

.sbx-feature--inline .sbx-card__title {
	margin-top: 10px;
}

.sbx-feature-list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sbx-feature-list > li + li {
	margin-top: var(--sbx-space-6);
	padding-top: var(--sbx-space-6);
	border-top: 1px solid var(--sbx-line);
}

/* Segmented control (two or three views of the same content) */
.sbx-segmented {
	display: inline-flex;
	padding: 4px;
	gap: 4px;
	border: 1px solid var(--sbx-line);
	border-radius: var(--sbx-radius);
	background: #fff;
}

.sbx-segmented[hidden] {
	display: none;
}

body.sbx-home-2-page .sbx-home-2 .sbx-segmented__option {
	display: inline-flex;
	min-height: 40px;
	padding: 0 var(--sbx-space-4);
	align-items: center;
	justify-content: center;
	gap: var(--sbx-space-2);
	border: 0;
	border-radius: var(--sbx-radius-sm);
	background: transparent;
	color: var(--sbx-muted);
	cursor: pointer;
	font-family: var(--sbx-font-body);
	font-size: var(--sbx-fs-sm);
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition: background 150ms ease, color 150ms ease;
}

body.sbx-home-2-page .sbx-home-2 .sbx-segmented__option:hover {
	background: var(--sbx-surface);
	color: var(--sbx-ink);
}

body.sbx-home-2-page .sbx-home-2 .sbx-segmented__option[aria-pressed="true"] {
	background: var(--sbx-primary);
	color: #fff;
}

.sbx-segmented__option svg {
	width: 16px;
	height: 16px;
}

/* Rental steps (partials/steps.php) */
.sbx-steps__panel-title {
	margin: 0 0 var(--sbx-space-4);
}

.sbx-steps__panel + .sbx-steps__panel {
	margin-top: var(--sbx-space-12);
}

.sbx-steps.is-enhanced .sbx-steps__panel + .sbx-steps__panel {
	margin-top: 0;
}

.sbx-steps.is-enhanced .sbx-steps__panel-title {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.sbx-steps__panel.is-entering {
	animation: sbx-fade-up 320ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.sbx-step .sbx-card__media {
	aspect-ratio: 1 / 1;
}

/* Closing call to action */
.sbx-cta-band {
	position: relative;
	overflow: hidden;
	padding: var(--sbx-section) 0;
	/* Brand Guide gradient; the navy veil keeps white text at 7:1 even over its lightest area. */
	background-color: var(--sbx-ink);
	background-image:
		linear-gradient(rgba(var(--sbx-ink-rgb), 0.45), rgba(var(--sbx-ink-rgb), 0.45)),
		url("../images/brand/gradient.webp");
	background-position: center;
	background-size: cover;
	color: #fff;
	text-align: center;
}

.sbx-cta-band::before {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, transparent 30%, rgba(var(--sbx-ink-rgb), 0.35) 100%);
	content: "";
	pointer-events: none;
}

.sbx-cta-band__inner {
	position: relative;
	display: grid;
	justify-items: center;
}

.sbx-cta-band .sbx-eyebrow {
	color: var(--sbx-accent);
}

.sbx-home-2 .sbx-cta-band .sbx-title {
	max-width: 760px;
	color: var(--sbx-cream);
}

.sbx-cta-band .sbx-lead {
	color: rgba(255, 255, 255, 0.94);
}

.sbx-cta-band__actions {
	display: flex;
	margin-top: var(--sbx-space-8);
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--sbx-space-3);
}

/* Mission panel (About): the Brand Guide gradient with the statement and the five brand attributes. */
.sbx-mission {
	position: relative;
	display: grid;
	overflow: hidden;
	padding: clamp(40px, 5vw, 72px);
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
	border-radius: var(--sbx-radius-xl);
	background:
		linear-gradient(rgba(var(--sbx-ink-rgb), 0.5), rgba(var(--sbx-ink-rgb), 0.5)),
		url("../images/brand/gradient.webp") center / cover no-repeat var(--sbx-ink);
	color: #fff;
}

.sbx-mission::after {
	position: absolute;
	right: -120px;
	bottom: -160px;
	width: 420px;
	height: 420px;
	background: url("../images/brand/orb.webp") center / contain no-repeat;
	content: "";
	opacity: 0.55;
	pointer-events: none;
}

.sbx-mission__copy {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.sbx-mission .sbx-eyebrow {
	color: var(--sbx-accent);
}

.sbx-home-2 .sbx-mission .sbx-title {
	color: var(--sbx-cream);
}

.sbx-mission .sbx-title::after {
	display: block;
	width: 56px;
	height: 3px;
	margin-top: var(--sbx-space-4);
	border-radius: 2px;
	background: var(--sbx-accent);
	content: "";
}

.sbx-mission .sbx-lead {
	color: var(--sbx-on-dark);
}

.sbx-mission__voice {
	margin: var(--sbx-space-6) 0 0;
	color: var(--sbx-cream);
	font-family: var(--sbx-font-display);
	font-size: var(--sbx-fs-h3-lg);
	font-weight: 500;
	letter-spacing: var(--sbx-ls-display);
	line-height: 1.3;
}

.sbx-mission__attributes {
	position: relative;
	z-index: 1;
	display: grid;
	margin: 0;
	padding: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sbx-space-3);
	list-style: none;
}

.sbx-mission__attributes li {
	display: flex;
	padding: var(--sbx-space-3) var(--sbx-space-4);
	align-items: center;
	gap: var(--sbx-space-3);
	border: 1px solid var(--sbx-line-on-dark);
	border-radius: var(--sbx-radius);
	background: rgba(var(--sbx-ink-rgb), 0.35);
	color: var(--sbx-cream);
	font-size: 15px;
	font-weight: 600;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.sbx-mission__attributes li:last-child {
	grid-column: 1 / -1;
}

/* Same icon tile as every other section, so size, color and stroke match. */
.sbx-mission__attributes .sbx-icon-tile {
	background: var(--sbx-cream);
}

@media (max-width: 900px) {
	.sbx-mission {
		grid-template-columns: minmax(0, 1fr);
	}

	.sbx-mission::after {
		right: -160px;
		bottom: -200px;
	}
}

@media (max-width: 600px) {
	.sbx-mission {
		padding: var(--sbx-space-6);
		border-radius: var(--sbx-radius-lg);
	}

	.sbx-mission__attributes {
		grid-template-columns: minmax(0, 1fr);
	}

	.sbx-mission__attributes li:last-child {
		grid-column: auto;
	}
}

@keyframes sbx-fade-up {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Notices (WooCommerce markup) */
.sbx-site .woocommerce-message,
.sbx-site .woocommerce-info,
.sbx-site .woocommerce-error {
	margin: 0 0 var(--sbx-space-5);
	padding: var(--sbx-space-4) var(--sbx-space-5);
	border: 1px solid var(--sbx-line);
	border-radius: var(--sbx-radius);
	background: var(--sbx-surface);
	color: var(--sbx-ink);
	font-size: 15px;
	font-weight: 500;
	list-style: none;
}

.sbx-site .woocommerce-error {
	background: var(--sbx-danger-soft);
	color: var(--sbx-danger);
}

.sbx-site .woocommerce-message::before,
.sbx-site .woocommerce-info::before,
.sbx-site .woocommerce-error::before {
	display: none;
}

.sbx-site .woocommerce-message li,
.sbx-site .woocommerce-info li,
.sbx-site .woocommerce-error li {
	margin: 0;
}

/* Duration picker (booking panel and rental extensions).
 * Desktop: four visible options. Phones: a swipeable row that snaps, with a clear selected state. */
.sbx-duration {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.sbx-duration__legend {
	display: block;
	margin: 0 0 var(--sbx-space-3);
	padding: 0;
	color: var(--sbx-ink);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.sbx-duration__options {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.sbx-duration__option {
	position: relative;
	display: block;
	min-width: 0;
	cursor: pointer;
}

.sbx-duration__option input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.sbx-duration__card {
	display: flex;
	min-height: 104px;
	padding: 14px;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	border: 1px solid var(--sbx-line);
	border-radius: var(--sbx-radius);
	background: #fff;
	transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.sbx-duration__option:hover .sbx-duration__card {
	border-color: var(--sbx-line-strong);
}

.sbx-duration__name {
	display: block;
	color: var(--sbx-ink);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.sbx-duration__hint {
	display: block;
	margin-top: 3px;
	color: var(--sbx-subtle);
	font-size: var(--sbx-fs-xs);
	line-height: 1.3;
}

.sbx-duration__price {
	display: block;
	color: var(--sbx-ink);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

.sbx-duration__option input:checked + .sbx-duration__card {
	border-color: var(--sbx-primary);
	background: var(--sbx-primary);
}

.sbx-duration__option input:checked + .sbx-duration__card .sbx-duration__name,
.sbx-duration__option input:checked + .sbx-duration__card .sbx-duration__price {
	color: #fff;
}

.sbx-duration__option input:checked + .sbx-duration__card .sbx-duration__hint {
	color: var(--sbx-on-dark);
}

.sbx-duration__option input:focus-visible + .sbx-duration__card {
	outline: 2px solid var(--sbx-primary);
	outline-offset: 3px;
}

.sbx-duration__option input:disabled + .sbx-duration__card {
	opacity: 0.45;
	cursor: not-allowed;
}

.sbx-duration__option input:disabled {
	cursor: not-allowed;
}

.sbx-duration__swipe-hint {
	display: none;
}

@media (max-width: 600px) {
	.sbx-duration__options {
		display: flex;
		margin: 0 calc(var(--sbx-card-pad) * -1);
		padding: 4px var(--sbx-card-pad) 8px;
		overflow-x: auto;
		gap: 10px;
		scroll-padding: 0 var(--sbx-card-pad);
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.sbx-duration__options::-webkit-scrollbar {
		display: none;
	}

	.sbx-duration__option {
		flex: 0 0 40%;
		scroll-snap-align: start;
	}

	.sbx-duration__card {
		min-height: 108px;
	}

	.sbx-duration__swipe-hint {
		display: flex;
		margin: var(--sbx-space-1) 0 0;
		align-items: center;
		gap: 6px;
		color: var(--sbx-subtle);
		font-size: var(--sbx-fs-xs);
	}
}

/* Form controls inside the views */
.sbx-site input[type="text"],
.sbx-site input[type="email"],
.sbx-site input[type="password"],
.sbx-site input[type="tel"],
.sbx-site select,
.sbx-site textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--sbx-line-strong);
	border-radius: var(--sbx-radius-sm);
	background: #fff;
	box-shadow: none;
	color: var(--sbx-ink);
	font: inherit;
	font-size: var(--sbx-fs-md);
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.sbx-site input[type="text"]:focus,
.sbx-site input[type="email"]:focus,
.sbx-site input[type="password"]:focus,
.sbx-site input[type="tel"]:focus,
.sbx-site select:focus,
.sbx-site textarea:focus {
	border-color: var(--sbx-primary);
	outline: 0;
	box-shadow: var(--sbx-focus);
}

.sbx-site label {
	color: var(--sbx-ink);
	font-size: var(--sbx-fs-sm);
	font-weight: 600;
}

/* The location search keeps its own borderless field (home-2.css). */
.sbx-site .sbx-home-2__search-field input[type="text"] {
	min-height: 0;
	padding: 0;
	border-radius: 0;
	font-size: 17px;
	font-weight: 500;
}

.sbx-site .sbx-home-2__search-field label {
	color: var(--sbx-muted);
	font-size: 11px;
	letter-spacing: 0.045em;
}

/* Photo hero: same family as the approved Home 2 hero (photo, fade to navy, rounded bottom corners,
 * transparent header) but with its own photo per page, lower, and the copy on the left of the grid.
 * Markup: .sbx-photo-hero[style="--sbx-photo-hero-image; --sbx-photo-hero-image-mobile"
 *   (+ optional --sbx-photo-hero-set / -set-mobile AVIF image-sets, used where image-set type() works)]
 *   > .sbx-photo-hero__inner > .sbx-home-2__copy (eyebrow, h1, description) + optional actions / search. */
.sbx-photo-hero {
	--sbx-photo-hero-veil:
		linear-gradient(180deg, rgba(var(--sbx-ink-rgb), 0.42) 0%, rgba(var(--sbx-ink-rgb), 0.08) 22%, rgba(var(--sbx-ink-rgb), 0.08) 45%, rgba(var(--sbx-ink-rgb), 0.62) 78%, var(--sbx-ink-deep) 100%),
		linear-gradient(90deg, rgba(var(--sbx-ink-rgb), 0.72) 0%, rgba(var(--sbx-ink-rgb), 0.46) 40%, rgba(var(--sbx-ink-rgb), 0.08) 72%, rgba(var(--sbx-ink-rgb), 0.04) 100%);

	position: relative;
	isolation: isolate;
	display: flex;
	min-height: max(560px, 74svh);
	align-items: stretch;
	overflow: hidden;
	border-radius: 0 0 30px 30px;
	background-color: var(--sbx-ink-deep);
	background-image: var(--sbx-photo-hero-veil), var(--sbx-photo-hero-image, url("../images/home-2/hero-desktop.webp"));
	background-position: center, center, center right;
	background-repeat: no-repeat;
	background-size: 100% 100%, 100% 100%, cover;
	color: #fff;
	text-align: left;
}

.sbx-photo-hero__inner {
	display: flex;
	width: var(--sbx-container);
	min-height: inherit;
	margin: 0 auto;
	padding: calc(var(--sbx-home-2-header-height) + clamp(96px, 14vh, 160px)) 0 clamp(48px, 6vh, 72px);
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
}

.sbx-photo-hero .sbx-home-2__copy {
	width: min(100%, 680px);
}

.sbx-photo-hero .sbx-home-2__eyebrow {
	justify-content: flex-start;
}

.sbx-photo-hero .sbx-home-2__description {
	margin-right: 0;
	margin-left: 0;
	text-wrap: pretty;
}

.sbx-photo-hero .sbx-home-2__search-wrap {
	width: min(680px, 100%);
}

.sbx-photo-hero__actions {
	display: flex;
	margin-top: var(--sbx-space-8);
	flex-wrap: wrap;
	gap: 12px;
}

body.sbx-home-2-page .sbx-site .sbx-photo-hero .sbx-btn:focus-visible {
	outline-color: #fff;
}

.sbx-photo-hero__stats {
	display: flex;
	margin: var(--sbx-space-8) 0 0;
	padding: var(--sbx-space-6) 0 0;
	flex-wrap: wrap;
	gap: var(--sbx-space-6) var(--sbx-space-12);
	border-top: 1px solid var(--sbx-line-on-dark);
	list-style: none;
}

.sbx-photo-hero__stats li {
	display: grid;
	gap: var(--sbx-space-1);
}

.sbx-photo-hero__stats strong {
	color: #fff;
	font-family: var(--sbx-font-display);
	font-size: clamp(28px, 2.6vw, 36px);
	font-weight: 600;
	letter-spacing: var(--sbx-ls-display);
	line-height: 1;
}

.sbx-photo-hero__stats span {
	color: var(--sbx-on-dark);
	font-size: var(--sbx-fs-sm);
	font-weight: 500;
}

/* The location autocomplete must escape the rounded, clipped hero. */
/* Above the sticky filter bar of Our Units (z-index 30), below the header (100). */
.sbx-photo-hero:has(.sbx-home-2__search-wrap.is-open) {
	z-index: 40;
	overflow: visible;
}

/* Views with a photo hero start under the transparent header, like Home 2. */
.sbx-site__main--photo-hero {
	padding-top: 0;
}

@media (max-width: 760px) {
	.sbx-photo-hero {
		/* Darker at the very top so the white logo and menu read over a bright sky. */
		--sbx-photo-hero-veil:
			linear-gradient(180deg, rgba(var(--sbx-ink-rgb), 0.6) 0%, rgba(var(--sbx-ink-rgb), 0.04) 18%, rgba(var(--sbx-ink-rgb), 0.04) 30%, rgba(var(--sbx-ink-rgb), 0.5) 48%, rgba(var(--sbx-ink-rgb), 0.92) 66%, var(--sbx-ink-deep) 100%),
			linear-gradient(90deg, rgba(var(--sbx-ink-rgb), 0.1), transparent 24%, transparent 76%, rgba(var(--sbx-ink-rgb), 0.1));

		min-height: max(600px, 88svh);
		background-image: var(--sbx-photo-hero-veil), var(--sbx-photo-hero-image-mobile, url("../images/home-2/hero-mobile.webp"));
		background-position: center, center, center top;
		background-size: 100% 100%, 100% 100%, 100% auto;
	}

	.sbx-photo-hero__inner {
		padding: clamp(280px, 40vh, 360px) 0 var(--sbx-space-10);
	}

	body.sbx-home-2-page .sbx-site .sbx-photo-hero__actions .sbx-btn {
		flex: 1 1 200px;
	}
}

/* AVIF where image-set() with type() works; elsewhere the WebP above (an unsupported image-set inside var()
 * would leave the hero with no photo at all, so it is only used behind this check). */
@supports (background-image: image-set(url("x.avif") type("image/avif"))) {
	.sbx-photo-hero[style*="--sbx-photo-hero-set:"] {
		background-image: var(--sbx-photo-hero-veil), var(--sbx-photo-hero-set);
	}

	@media (max-width: 760px) {
		.sbx-photo-hero[style*="--sbx-photo-hero-set-mobile:"] {
			background-image: var(--sbx-photo-hero-veil), var(--sbx-photo-hero-set-mobile);
		}
	}
}

@media (max-width: 1023px) {
	.sbx-grid--3,
	.sbx-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Three steps would leave one card alone on two columns: one column of horizontal cards instead. */
	.sbx-steps .sbx-grid--3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.sbx-step.sbx-card--media {
		display: grid;
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	}

	.sbx-step .sbx-card__media {
		min-height: 200px;
		aspect-ratio: auto;
	}

	.sbx-step .sbx-card__body {
		align-self: center;
	}
}

@media (max-width: 900px) {
	.sbx-split {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 768px) {
	:root {
		--sbx-gutter: 18px;
		--sbx-card-pad: 20px;
		--sbx-grid-gap: 16px;
	}

	.sbx-section-head__aside {
		width: 100%;
	}

	.sbx-segmented {
		display: flex;
		width: 100%;
	}

	body.sbx-home-2-page .sbx-home-2 .sbx-segmented__option {
		flex: 1 1 0;
		padding: 0 var(--sbx-space-2);
	}

	.sbx-lead {
		font-size: var(--sbx-fs-md);
	}

	body.sbx-home-2-page .sbx-site .sbx-btn--large {
		min-height: 52px;
		font-size: var(--sbx-fs-md);
	}
}

@media (max-width: 600px) {
	.sbx-grid--3,
	.sbx-grid--4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.sbx-cta-band__actions {
		width: 100%;
	}

	body.sbx-home-2-page .sbx-site .sbx-cta-band__actions .sbx-btn {
		flex: 1 1 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sbx-site *,
	.sbx-site *::before,
	.sbx-site *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* WooCommerce's show/hide password button (added by its script next to password fields: account, checkout login). */
.sbx-site .password-input {
	position: relative;
	display: block;
}

.sbx-site .password-input input {
	padding-right: 52px;
}

body.sbx-home-2-page .sbx-site .show-password-input {
	position: absolute;
	top: 50%;
	right: 8px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: var(--sbx-radius-sm);
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363778d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat;
	cursor: pointer;
	transform: translateY(-50%);
}

body.sbx-home-2-page .sbx-site .show-password-input.display-password {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363778d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18M10.6 5.1A10.7 10.7 0 0 1 12 5c6.4 0 10 7 10 7a17.6 17.6 0 0 1-3.2 4.1M6.6 6.6A17.4 17.4 0 0 0 2 12s3.6 7 10 7a9.7 9.7 0 0 0 5.4-1.6M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
}

body.sbx-home-2-page .sbx-site .show-password-input:hover {
	background-color: var(--sbx-surface);
}

.sbx-site .show-password-input:focus-visible {
	outline: 2px solid var(--sbx-ink);
	outline-offset: 1px;
}
