/* ==============================================
   JULIAN WADDEN — DIGITAL BROCHURE
   ============================================== */

/* --- Keyframes --- */
@keyframes usp-in {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* --- Custom Properties --- */
:root {
	--burgundy:  #931a4a;
	--charcoal:  #454545;
	--grey:      #d8d9db;
	--white:     #ffffff;
	--font-display: 'Playfair Display', Georgia, serif;
	--font-body:    'Figtree', sans-serif;
	--transition:   400ms ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--charcoal); margin: 0 !important; padding: 0 !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ==============================================
   BROCHURE SHELL
   ============================================== */

.brochure-wrapper {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
}

/* --- Pages --- */
.brochure-page {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 500ms ease, transform 500ms ease;
	transform: translateX(0);
	will-change: opacity, transform;
}
.brochure-page.active {
	opacity: 1;
	pointer-events: all;
	z-index: 1;
}

/* Direction-aware page transitions */
.brochure-page.page-enter-forward  { transform: translateX(28px); }
.brochure-page.page-enter-backward { transform: translateX(-28px); }
.brochure-page.page-leave-forward  { transform: translateX(-28px); }
.brochure-page.page-leave-backward { transform: translateX(28px); }

/* --- Image fade-in --- */
.brochure-page img {
	transition: opacity 0.6s ease;
}
.brochure-page img:not(.img-loaded) {
	opacity: 0;
}
.brochure-page img.img-loaded {
	opacity: 1;
}
/* SVG icons are tiny — show them immediately without waiting */
.brochure-page img[src$=".svg"] {
	opacity: 1 !important;
	transition: none;
}

/* --- Navigation Arrows --- */
.nav-arrow {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 200;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid #ffffff;
	background: rgba(0,0,0,0.18);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, opacity 0.2s;
	backdrop-filter: blur(6px);
}
.nav-arrow:hover { background: rgba(0,0,0,0.35); }
.nav-arrow:focus-visible { outline: 2px solid rgba(255,255,255,0.6); outline-offset: 3px; }
.nav-prev { left: 14px; }
.nav-next { right: 14px; }
.nav-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.nav-arrow.hidden { opacity: 0; pointer-events: none; }

/* ==============================================
   SHARED LAYOUT HELPERS
   ============================================== */

/* Two-column split */
.split {
	display: grid;
	width: 100%;
	height: 100%;
}
.split--50-50 { grid-template-columns: 1fr 1fr; }
.split--45-55 { grid-template-columns: 45fr 55fr; }
.split--55-45 { grid-template-columns: 55fr 45fr; }

.col {
	position: relative;
	overflow: hidden;
}
.col--burgundy { background: var(--burgundy); color: var(--white); }
.col--charcoal  { background: var(--charcoal);  color: var(--white); }
.col--grey      { background: var(--grey);       color: var(--charcoal); }

/* Inner padding */
.col-inner {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 44px 40px;
}

/* --- Herringbone overlay (applies to any element) --- */
.herringbone::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('../../images/bg-pattern.svg');
	background-repeat: repeat;
	background-size: auto;
	mix-blend-mode: overlay;
	opacity: 0.25;
	pointer-events: none;
	z-index: 1;
}

/* --- JW Monogram Watermark --- */
.jw-watermark {
	position: absolute;
	pointer-events: none;
	z-index: 1;
}
.jw-watermark img { width: 100%; height: auto; }

/* --- Section label (bordered box) --- */
.section-label {
	font-family: var(--font-body);
	font-size: 13px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	padding: 12px 24px;
	display: inline-block;
	border: 1px solid currentColor;
	border-radius: 4px;
	line-height: 1;
	font-weight: 500;
}
.section-label--white { color: var(--white); border-color: rgba(255,255,255,0.65); }
.section-label--grey  { color: var(--grey);  border-color: rgba(216,217,219,0.65); }
.section-label--burgundy { color: var(--burgundy); border-color: var(--burgundy); }

/* Absolute-positioned label anchors */
.label-bl { position: absolute; bottom: 26px; left: 26px; z-index: 10; }
.label-br { position: absolute; bottom: 26px; right: 26px; z-index: 10; }
.label-tl { position: absolute; top: 26px; left: 26px; z-index: 10; }
.label-tr { position: absolute; top: 26px; right: 26px; z-index: 10; }

/* --- JW Pill / wordmark banner --- */
.jw-pill {
	display: inline-flex;
	align-items: center;
	background: var(--burgundy);
	padding: 9px 22px;
}
.jw-pill-text {
	font-family: var(--font-display);
	font-size: 13px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--white);
	font-weight: 400;
	white-space: nowrap;
}

/* --- Page header bar (Pages 5–8) --- */
.page-topbar {
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 26px;
	background: var(--grey);
	z-index: 20;
}
.page-topbar .section-label { font-size: 8px; }

/* --- Photo frame (thin border, inset) --- */
.photo-frame {
	position: absolute;
	border: 1.5px solid var(--burgundy);
	overflow: hidden;
}
.photo-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* --- Bottom strip (shared by several pages) --- */
.page-bottom-strip {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 62px;
	display: flex;
	z-index: 10;
}
.page-bottom-strip__left  { flex: 1; background: var(--charcoal); display: flex; align-items: center; padding: 0 26px; }
.page-bottom-strip__right { flex: 1; background: var(--burgundy); display: flex; align-items: center; padding: 0 26px; justify-content: flex-end; }
.page-bottom-strip__right.herringbone::after { opacity: 0.1; }

/* Utility: body copy */
.body-copy {
	font-family: var(--font-body);
	font-size: clamp(10.5px, 1.1vw, 13.5px);
	line-height: 1.65;
}
.body-copy + .body-copy { margin-top: 1em; }
.body-copy--justified { text-align: justify; }

/* ==============================================
   PAGE 1 — COVER / HERO
   ============================================== */

.page-1 {
	background: linear-gradient(to right, #454545 50%, #931a4a 50%);
}

/* Herringbone on the right (burgundy) half */
.page-1::before {
	content: '';
	position: absolute;
	top: 0; right: 0;
	width: 50%; height: 100%;
	background-image: url('../../images/bg-pattern.svg');
	background-repeat: repeat;
	background-size: auto;
	mix-blend-mode: overlay;
	opacity: 0.25;
	pointer-events: none;
	z-index: 0;
}

/* Photo frame spans both columns */
.page-1__frame {
	position: absolute;
	top: 48px; left: 48px; right: 48px; bottom: 90px;
	overflow: hidden;
	border-radius: 8px;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	z-index: 5;
}
.page-1__frame img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.page-1__frame-border {
	position: absolute;
	top: 48px; left: 48px; right: 48px; bottom: 90px;
	border-radius: 8px;
	box-shadow: 0 0 0 2px #ffffff, 0 8px 32px rgba(0,0,0,0.35);
	pointer-events: none;
	z-index: 20;
}

/* Text overlay on photo */
.page-1__overlay {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	opacity: 0;
}
.page-1.active .page-1__overlay {
	animation: fade-in 1400ms ease-out forwards;
	animation-delay: 400ms;
}
.page-1__logo {
	width: clamp(200px, 70vw, 1120px);
	max-width: none;
	height: auto;
	display: block;
}

/* Bottom label sits below photo frame */
.page-1__label {
	position: absolute;
	bottom: 0; left: 0;
	width: 50%;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

/* ==============================================
   PAGE 2 — WHY CHOOSE US
   ============================================== */

.page-2 { display: grid; grid-template-columns: 45fr 55fr; }

/* Left: for-sale board photo */
.page-2__left {
	background: #454545;
	position: relative;
}
.page-2__frame {
	position: absolute;
	top: 48px; left: 48px; right: 48px; bottom: 90px;
	overflow: hidden;
	border-radius: 8px;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	z-index: 5;
}
.page-2__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-2__frame-border {
	position: absolute;
	top: 48px; left: 48px; right: 48px; bottom: 90px;
	border-radius: 8px;
	box-shadow: 0 0 0 2px #ffffff, 0 8px 32px rgba(0,0,0,0.35);
	pointer-events: none;
	z-index: 20;
}
.page-2__label {
	position: absolute;
	bottom: 0; left: 0;
	width: 100%;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

/* Right: USP grid */
.page-2__right {
	background: var(--burgundy);
	position: relative;
	display: flex;
	align-items: stretch;
	padding: 48px 44px;
}
.page-2__right.herringbone::after { opacity: 0.09; }

/* JW monogram behind grid */
.page-2__watermark {
	position: absolute;
	width: 65%;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	pointer-events: none;
}
.page-2__watermark img { width: 100%; height: auto; }

.page-2__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 16px 40px;
	width: 100%;
	height: 100%;
}
.page-2__block {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	text-align: center;
	opacity: 0;
}
.page-2.active .page-2__block {
	animation: usp-in 700ms ease-out forwards;
}
.page-2.active .page-2__block:nth-child(1) { animation-delay: 300ms; }
.page-2.active .page-2__block:nth-child(2) { animation-delay: 550ms; }
.page-2.active .page-2__block:nth-child(3) { animation-delay: 800ms; }
.page-2.active .page-2__block:nth-child(4) { animation-delay: 1050ms; }
.page-2__block-heading {
	font-family: var(--font-display);
	font-size: clamp(16px, 1.8vw, 22px);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--white);
	font-weight: 700;
}
.page-2__block-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
}
.page-2__block-icon { width: clamp(90px, 10vw, 130px); height: clamp(90px, 10vw, 130px); }
.page-2__block-copy {
	font-family: var(--font-body);
	font-size: clamp(10px, 1vw, 12px);
	line-height: 1.7;
	color: var(--white);
	text-align: justify;
}

/* ==============================================
   PAGE 3 — CUSTOMER FEEDBACK
   ============================================== */

.page-3 {
	background: linear-gradient(to right, #454545 50%, #931a4a 50%);
}
.page-3::before {
	content: '';
	position: absolute;
	top: 0; right: 0;
	width: 50%; height: 100%;
	background-image: url('../../images/bg-pattern.svg');
	background-repeat: repeat;
	background-size: auto;
	mix-blend-mode: overlay;
	opacity: 0.25;
	pointer-events: none;
	z-index: 0;
}

/* Border overlay — higher z-index so white ring renders above content */
.page-3__frame-border {
	position: absolute;
	top: 48px; left: 48px; right: 48px; bottom: 90px;
	border-radius: 8px;
	box-shadow: 0 0 0 2px #ffffff, 0 8px 32px rgba(0,0,0,0.35);
	pointer-events: none;
	z-index: 20;
}

/* Photo frame — same treatment as pages 1 & 2 */
.page-3__frame {
	position: absolute;
	top: 48px; left: 48px; right: 48px; bottom: 90px;
	overflow: hidden;
	border-radius: 8px;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	z-index: 5;
}
.page-3__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Content layer sits above frame */
.page-3__content {
	position: absolute;
	top: 48px; left: 48px; right: 48px; bottom: 90px;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 16px 60px 24px;
}

/* REVIEWS label + icon */
.page-3__reviews-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-top: 32px;
	margin-bottom: 4px;
}
.page-3__reviews-title {
	font-family: var(--font-display);
	font-size: clamp(22px, 2.8vw, 36px);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--burgundy);
	font-weight: 700;
}
.page-3__reviews-icon { width: clamp(80px, 9vw, 110px); height: clamp(80px, 9vw, 110px); }

/* Decorative quote marks */
.page-3__quotes {
	width: 60%;
	max-width: 460px;
	margin-top: -110px;
	margin-bottom: 20px;
	z-index: 6;
}
.page-3__quote-mark {
	width: 100%;
	height: auto;
	display: block;
}

/* Testimonial card */
.page-3__panel {
	background: rgba(148,26,74,0.87);
	padding: 32px 40px;
	width: 62%;
	border-radius: 6px;
	z-index: 6;
	position: relative;
	margin-top: 56px;
	box-shadow: 0 12px 48px rgba(0,0,0,0.7);
	opacity: 0;
}
.page-3.active .page-3__panel {
	animation: usp-in 700ms ease-out forwards;
	animation-delay: 400ms;
}
.page-3__quote-text {
	font-family: var(--font-body);
	font-style: italic;
	font-size: clamp(13px, 1.5vw, 17px);
	line-height: 1.75;
	color: var(--white);
	text-align: justify;
	margin-bottom: 20px;
}
.page-3__attribution {
	display: flex;
	align-items: center;
	gap: 14px;
}
.page-3__attribution-name {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 15px;
	color: var(--white);
}
.page-3__tp-logo { height: 32px; width: auto; }

/* Trustpilot rating card */
.page-3__tp-card {
	display: block;
	width: 260px;
	margin-top: 20px;
	margin-left: auto;
	box-shadow: 0 4px 24px rgba(0,0,0,0.3);
	border-radius: 4px;
}

/* Bottom strip — charcoal left only; right half shows page gradient + herringbone */
.page-3__bottom {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 90px;
	display: flex;
	z-index: 10;
}
.page-3__bottom-left {
	width: 50%; background: var(--charcoal);
	display: flex; align-items: center; justify-content: center;
}
.page-3__bottom-right {
	width: 50%;
	display: flex; align-items: center; justify-content: flex-end;
	padding: 0 48px;
}
.page-3__jw-logo {
	height: clamp(24px, 3vw, 38px);
	width: auto;
	filter: brightness(0) invert(1);
}

/* ==============================================
   PAGE 4 — OUR SCALE / NETWORK
   ============================================== */

.page-4 { display: grid; grid-template-columns: 45fr 55fr; }

.page-4__left {
	background: var(--charcoal);
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px 36px 80px;
	gap: 18px;
}
.page-4__left .body-copy { font-size: clamp(10.5px, 1.05vw, 13px); }

.page-4__right {
	background: var(--grey);
	position: relative;
	padding: 36px 32px 80px;
	display: flex;
	flex-direction: column;
}

.page-4__logos {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: auto;
}
.page-4__lomond { height: 38px; width: auto; }
.page-4__crest  { width: 58px; height: 58px; }

/* Map overflows into left column */
.page-4__map {
	position: absolute;
	left: -18%;
	right: 16px;
	bottom: 68px;
	z-index: 5;
}
.page-4__map img { width: 100%; height: auto; }

/* Watermark behind map */
.page-4__watermark {
	position: absolute;
	width: 55%;
	top: 45%; left: 55%;
	transform: translate(-50%, -50%);
	z-index: 3;
	pointer-events: none;
}
.page-4__watermark img { width: 100%; height: auto; }

.page-4__bottom { height: 62px; }
.page-4__url {
	position: absolute;
	bottom: 18px; right: 26px;
	font-family: var(--font-body);
	font-size: 10px;
	letter-spacing: 0.04em;
	color: var(--white);
	z-index: 15;
}

/* ==============================================
   PAGE 5 — YOUR PROPERTY IN THE SPOTLIGHT
   ============================================== */

.page-5 {
	background: var(--grey);
	display: flex;
	flex-direction: column;
}

.page-5__grid {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	padding: 52px 20px 20px;
	gap: 2px;
}

.page-5__quad {
	position: relative;
	padding: 18px 20px 24px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 80px 1fr;
	grid-template-rows: auto auto;
	gap: 8px 14px;
	align-items: start;
}

.page-5__icon {
	width: 64px; height: 64px;
	grid-column: 1; grid-row: 1;
}
.page-5__heading {
	font-family: var(--font-display);
	font-size: clamp(10px, 1vw, 12.5px);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--burgundy);
	font-weight: 700;
	line-height: 1.3;
	grid-column: 2; grid-row: 1;
	display: flex;
	align-items: center;
}
.page-5__thumb {
	width: 100%; aspect-ratio: 3/2;
	object-fit: cover;
	grid-column: 1; grid-row: 2;
	display: block;
}
.page-5__copy {
	font-family: var(--font-body);
	font-size: clamp(9.5px, 0.95vw, 11.5px);
	line-height: 1.6;
	color: var(--charcoal);
	grid-column: 2; grid-row: 2;
}
.page-5__num {
	position: absolute;
	bottom: 4px; right: 14px;
	font-family: var(--font-display);
	font-size: clamp(72px, 9vw, 110px);
	color: var(--burgundy);
	opacity: 0.1;
	line-height: 1;
	pointer-events: none;
	user-select: none;
}

/* ==============================================
   PAGES 6–8 — PROPERTY SHOWCASES
   ============================================== */

/* Shared full-bleed photo page */
.page-showcase {
	background: var(--charcoal);
	display: flex;
	flex-direction: column;
	position: relative;
}
.page-showcase__topbar {
	flex-shrink: 0;
	height: 50px;
	background: var(--grey);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 26px;
	z-index: 10;
}
.page-showcase__frame {
	flex: 1;
	margin: 0 20px 20px;
	border: 1.5px solid rgba(148,26,74,0.5);
	overflow: hidden;
	position: relative;
}
.page-showcase__frame img {
	width: 100%; height: 100%; object-fit: cover;
}
/* Camera badge */
.page-showcase__badge {
	position: absolute;
	bottom: 16px; right: 16px;
	width: 52px; height: 52px;
	z-index: 5;
}

/* Page 8 collage */
.page-8 .page-showcase__frame {
	margin: 0;
	display: grid;
	grid-template-columns: 3fr 2fr;
	grid-template-rows: 1fr 1fr;
	gap: 3px;
}
.page-8 .page-showcase__frame > * { overflow: hidden; position: relative; }
.page-8 .page-showcase__frame img {
	width: 100%; height: 100%; object-fit: cover;
}
.page-8__jw {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 28%;
	z-index: 5;
	pointer-events: none;
}
.page-8__jw img { width: 100%; height: auto; }

/* Page 7 JW overlay */
.page-7__jw {
	position: absolute;
	bottom: 10%; left: 6%;
	width: 22%;
	z-index: 5;
	pointer-events: none;
}
.page-7__jw img { width: 100%; height: auto; }

/* ==============================================
   PAGE 9 — MAXIMUM EXPOSURE
   ============================================== */

.page-9 { display: grid; grid-template-columns: 45fr 55fr; }

.page-9__left {
	background: var(--charcoal);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 36px 32px;
	gap: 16px;
}
.page-9__photo { flex: 1; overflow: hidden; min-height: 0; }
.page-9__photo img { width: 100%; height: 100%; object-fit: cover; }
.page-9__social {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	padding: 8px 0;
}
.page-9__social-icon { width: 36px; height: 36px; }

.page-9__right {
	background: var(--burgundy);
	position: relative;
	padding: 36px 36px 36px 32px;
	display: flex;
	align-items: center;
}
.page-9__right.herringbone::after { opacity: 0.09; }
.page-9__watermark {
	position: absolute;
	width: 65%;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	pointer-events: none;
}
.page-9__watermark img { width: 100%; height: auto; }

.page-9__blocks {
	position: relative; z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
}
.page-9__block { display: flex; gap: 16px; align-items: flex-start; }
.page-9__block-icon { width: 52px; height: 52px; flex-shrink: 0; }
.page-9__block-body {}
.page-9__block-heading {
	font-family: var(--font-display);
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--white);
	font-weight: 700;
	margin-bottom: 4px;
}
.page-9__block-copy {
	font-family: var(--font-body);
	font-size: clamp(9.5px, 0.95vw, 11.5px);
	line-height: 1.6;
	color: var(--white);
	text-align: justify;
}

/* ==============================================
   PAGE 10 — MYJW PORTAL
   ============================================== */

.page-10 { display: grid; grid-template-columns: 1fr 1fr; }

.page-10__left {
	background: var(--burgundy);
	position: relative;
	padding: 36px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow-y: auto;
}
.page-10__left.herringbone::after { opacity: 0.09; }

.page-10__heading {
	font-family: var(--font-display);
	font-size: clamp(16px, 1.8vw, 22px);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--white);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 10px;
}
.page-10__intro {
	font-family: var(--font-body);
	font-size: clamp(10px, 1vw, 12px);
	line-height: 1.65;
	color: var(--white);
	margin-bottom: 14px;
}
.page-10__features-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-size: 9px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.8);
}
.page-10__features-label::before,
.page-10__features-label::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255,255,255,0.3);
}
.page-10__features { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.page-10__feature {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.page-10__feature-badge { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.page-10__feature-text {
	font-family: var(--font-body);
	font-size: clamp(9.5px, 0.95vw, 11px);
	line-height: 1.5;
	color: var(--white);
}

.page-10__right {
	background: var(--charcoal);
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 36px;
	gap: 12px;
}
.page-10__right-label {
	position: absolute;
	top: 26px; right: 26px;
}
.page-10__devices {
	position: relative;
	width: 100%;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.page-10__device {
	position: absolute;
	box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.page-10__device--desktop { width: 78%; top: 10%; left: 2%; z-index: 1; }
.page-10__device--tablet  { width: 52%; top: 15%; right: 0; z-index: 2; }
.page-10__device--mobile  { width: 28%; bottom: 10%; right: 8%; z-index: 3; }
.page-10__device img { width: 100%; height: auto; }
.page-10__url {
	font-family: var(--font-body);
	font-size: 10px;
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.6);
}

/* ==============================================
   PAGE 11 — SALES PROGRESSION
   ============================================== */

.page-11 { display: grid; grid-template-columns: 55fr 45fr; }

.page-11__left {
	background: var(--burgundy);
	position: relative;
	padding: 36px 36px 36px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.page-11__left.herringbone::after { opacity: 0.09; }
.page-11__heading {
	font-family: var(--font-display);
	font-size: clamp(18px, 2vw, 26px);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--white);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 10px;
}
.page-11__intro {
	font-family: var(--font-body);
	font-size: clamp(10px, 1vw, 12px);
	line-height: 1.65;
	color: var(--white);
	margin-bottom: 20px;
}
.page-11__steps {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	position: relative;
}
.page-11__step { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.page-11__step-icon { width: 72px; height: 72px; }
.page-11__step-label {
	font-family: var(--font-display);
	font-size: 9px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--white);
	font-weight: 700;
}

/* Dashed connector */
.page-11__connector {
	position: absolute;
	width: 60px;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}
.page-11__connector img { width: 100%; height: auto; }

.page-11__right {
	background: var(--charcoal);
	position: relative;
}
.page-11__right img {
	width: 100%; height: 100%; object-fit: cover;
}

/* ==============================================
   PAGE 12 — COMPLIANCE & SECURITY
   ============================================== */

.page-12 { display: grid; grid-template-columns: 45fr 55fr; }

.page-12__left {
	background: var(--charcoal);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	padding: 44px 32px 44px;
	position: relative;
}
.page-12__photo { overflow: hidden; }
.page-12__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-12__photo--tall { flex: 1; min-height: 0; }

.page-12__right {
	background: var(--burgundy);
	position: relative;
	padding: 40px 40px 40px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
}
.page-12__right.herringbone::after { opacity: 0.09; }
.page-12__watermark {
	position: absolute;
	width: 60%;
	bottom: 5%; right: -5%;
	pointer-events: none;
}
.page-12__watermark img { width: 100%; height: auto; }
.page-12__section-heading {
	font-family: var(--font-display);
	font-size: clamp(14px, 1.5vw, 18px);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--white);
	font-weight: 700;
	margin-bottom: 8px;
}
.page-12__subheading {
	font-family: var(--font-display);
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.8);
	font-weight: 700;
	margin-bottom: 6px;
}
.page-12__copy {
	font-family: var(--font-body);
	font-size: clamp(9.5px, 0.95vw, 11.5px);
	line-height: 1.65;
	color: var(--white);
	text-align: justify;
	position: relative;
	z-index: 2;
}

/* ==============================================
   PAGE 13 — TRUST & STRESS-FREE
   ============================================== */

.page-13 { display: grid; grid-template-columns: 55fr 45fr; }

.page-13__left {
	background: var(--burgundy);
	position: relative;
	padding: 36px 36px 36px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
}
.page-13__left.herringbone::after { opacity: 0.09; }
.page-13__section-heading {
	font-family: var(--font-display);
	font-size: clamp(14px, 1.5vw, 18px);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--white);
	font-weight: 700;
	margin-bottom: 4px;
}
.page-13__subheading {
	font-family: var(--font-display);
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.8);
	font-weight: 700;
	margin-bottom: 4px;
}
.page-13__copy {
	font-family: var(--font-body);
	font-size: clamp(9.5px, 0.95vw, 11.5px);
	line-height: 1.65;
	color: var(--white);
	text-align: justify;
}

.page-13__right {
	background: var(--charcoal);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	padding: 36px 32px;
}
.page-13__photo { overflow: hidden; flex: 1; min-height: 0; }
.page-13__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-13__movebutler { overflow: hidden; }
.page-13__movebutler img { width: 100%; height: auto; display: block; }

/* ==============================================
   PAGE 14 — PROPERTY SOURCING
   ============================================== */

.page-14 { display: grid; grid-template-columns: 45fr 55fr; }

.page-14__left {
	background: var(--charcoal);
	position: relative;
	padding: 44px 36px 44px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
}
.page-14__watermark {
	position: absolute;
	width: 65%;
	bottom: 0; left: -5%;
	pointer-events: none;
	z-index: 1;
}
.page-14__watermark img { width: 100%; height: auto; }
.page-14__copy {
	font-family: var(--font-body);
	font-size: clamp(10px, 1vw, 12px);
	line-height: 1.65;
	color: var(--white);
	position: relative;
	z-index: 2;
}

.page-14__right {
	background: var(--burgundy);
	position: relative;
	padding: 40px 36px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.page-14__right.herringbone::after { opacity: 0.09; }
.page-14__heading {
	font-family: var(--font-display);
	font-size: clamp(18px, 2vw, 26px);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--white);
	font-weight: 700;
}
.page-14__icon { width: 64px; height: 64px; }
.page-14__screenshot { width: 100%; overflow: hidden; flex: 1; min-height: 0; }
.page-14__screenshot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-14__url {
	font-family: var(--font-body);
	font-size: 10px;
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.7);
}

/* ==============================================
   PAGE 15 — MORTGAGE SERVICES
   ============================================== */

.page-15 { display: grid; grid-template-columns: 45fr 55fr; }

.page-15__left {
	background: var(--burgundy);
	position: relative;
	padding: 40px 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.page-15__left.herringbone::after { opacity: 0.09; }
.page-15__heading {
	font-family: var(--font-display);
	font-size: clamp(18px, 2vw, 26px);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--white);
	font-weight: 700;
	line-height: 1.2;
}
.page-15__icon { width: 64px; height: 64px; }
.page-15__photo { flex: 1; overflow: hidden; min-height: 0; }
.page-15__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-15__url {
	font-family: var(--font-body);
	font-size: 10px;
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.7);
}

.page-15__right {
	background: var(--charcoal);
	position: relative;
	padding: 44px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
}
.page-15__watermark {
	position: absolute;
	width: 65%;
	bottom: 0; right: -5%;
	pointer-events: none;
	z-index: 1;
}
.page-15__watermark img { width: 100%; height: auto; }
.page-15__copy {
	font-family: var(--font-body);
	font-size: clamp(10px, 1vw, 12px);
	line-height: 1.65;
	color: var(--white);
	text-align: center;
	position: relative;
	z-index: 2;
	max-width: 340px;
}
.page-15__lomond-logo { width: 110px; height: auto; position: relative; z-index: 2; }

/* ==============================================
   PAGE 16 — SELLING VIA AUCTION
   ============================================== */

.page-16 { display: grid; grid-template-columns: 55fr 45fr; }

.page-16__left {
	background: var(--burgundy);
	position: relative;
	padding: 36px 40px 36px 40px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	overflow-y: auto;
}
.page-16__left.herringbone::after { opacity: 0.09; }
.page-16__heading {
	font-family: var(--font-display);
	font-size: clamp(18px, 2vw, 26px);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--white);
	font-weight: 700;
	line-height: 1.2;
}
.page-16__icon { width: 64px; height: 64px; }
.page-16__copy {
	font-family: var(--font-body);
	font-size: clamp(9.5px, 0.95vw, 11.5px);
	line-height: 1.65;
	color: var(--white);
	text-align: justify;
}

.page-16__right {
	background: var(--charcoal);
	position: relative;
}
.page-16__right img { width: 100%; height: 100%; object-fit: cover; }

/* ==============================================
   PAGE 17 — THANK YOU
   ============================================== */

.page-17 {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.page-17__left  { background: var(--charcoal); }
.page-17__right { background: var(--burgundy); }
.page-17__right.herringbone::after { opacity: 0.11; }

.page-17__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 5;
	gap: 16px;
}
.page-17__rules {
	display: flex;
	align-items: center;
	gap: 24px;
	width: 70%;
}
.page-17__rule { flex: 1; height: 1px; background: rgba(255,255,255,0.45); }
.page-17__wordmark {
	font-family: var(--font-display);
	font-size: clamp(24px, 3.5vw, 46px);
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--white);
	font-weight: 400;
	white-space: nowrap;
}
.page-17__thankyou {
	font-family: var(--font-display);
	font-size: clamp(14px, 1.6vw, 20px);
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var(--white);
	font-weight: 400;
}

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 767px) {
	html, body { overflow: auto; }

	.brochure-wrapper { height: auto; position: static; }

	.brochure-page {
		position: relative;
		opacity: 1 !important;
		pointer-events: all !important;
		height: auto;
		min-height: 100svh;
		display: none;
	}
	.brochure-page.active { display: block; }

	/* Stack all splits */
	.page-1, .page-2, .page-3__bottom,
	.page-4, .page-5__grid,
	.page-9, .page-10, .page-11, .page-12,
	.page-13, .page-14, .page-15, .page-16, .page-17 {
		grid-template-columns: 1fr;
	}

	.page-5__grid { grid-template-rows: repeat(4, auto); padding: 58px 12px 12px; }

	.page-1__frame { top: 20px; left: 15px; right: 15px; bottom: 76px; }
	.page-1__overlay { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; }
	.page-1__logo { width: 100%; max-width: 100%; }
	.page-1__label { width: 100%; justify-content: center; height: 76px; padding: 0; }

	/* Page 1 & 2 frame-border hidden on mobile (box-shadow on frame instead) */
	.page-1__frame-border,
	.page-2__frame-border { display: none; }
	.page-1__frame { box-shadow: 0 0 0 2px #ffffff, 0 8px 32px rgba(0,0,0,0.35); }

	/* Page 2 mobile */
	.page-2__frame {
		position: relative;
		top: auto; left: auto; right: auto; bottom: auto;
		margin: 20px 15px 0;
		height: auto;
	}
	.page-2__frame img { height: auto; }
	.page-2__label {
		position: relative;
		bottom: auto;
		height: 76px;
		padding: 0;
	}
	.page-2__right { padding: 36px 24px 44px; align-items: center; }
	.page-2__grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
		height: auto;
		gap: 32px 20px;
	}
	.page-2__block { gap: 10px; }
	.page-2__block-icon { width: 72px; height: 72px; }
	.page-2__block-heading { font-size: 14px; }
	.page-2__block-copy { font-size: 11px; }

	/* Page 3 mobile */
	.page-3.active {
		display: flex;
		flex-direction: column;
	}
	.page-3__frame {
		position: relative;
		top: auto; left: auto; right: auto; bottom: auto;
		margin: 0 15px 20px;
		height: 55vw;
		order: 2;
		z-index: 10;
		box-shadow: 0 0 0 2px #ffffff, 0 8px 32px rgba(0,0,0,0.35);
	}
	.page-3__frame-border { display: none; }
	.page-3__content {
		position: relative;
		top: auto; left: auto; right: auto; bottom: auto;
		padding: 24px 15px;
		align-items: flex-start;
		order: 1;
	}
	.page-3__reviews-header { margin-top: 0; align-self: center; gap: 4px; margin-bottom: 2px; }
	.page-3__reviews-title { color: var(--white); font-size: 20px; }
	.page-3__reviews-icon { filter: brightness(0) invert(1); width: 90px; height: 90px; }
	.page-3__quotes { margin-top: -20px; margin-bottom: 10px; max-width: 50%; align-self: center; }
	.page-3__quote-mark { filter: brightness(0) invert(1); }
	.page-3__panel { width: 100%; padding: 24px; margin-top: 16px; }
	.page-3__attribution { justify-content: center; }
	.page-3__tp-card { width: 65%; margin-left: auto; margin-right: auto; }
	.page-3__bottom { position: relative; order: 3; }
	.page-3__bottom-left { justify-content: center; }
	.page-3__bottom-right { padding: 0 20px; }

	.col-inner { padding: 32px 24px; }

	.page-4__map { position: relative; left: auto; right: auto; bottom: auto; margin-top: 16px; }

	.nav-arrow { width: 36px; height: 36px; }
	.nav-prev  { left: 8px; }
	.nav-next  { right: 8px; }
}

@media (max-width: 420px) {
	.page-2__grid { grid-template-columns: 1fr; }
}
