/*
 * Iconic Kitchens & Joinery Group - "Editorial dark" design system.
 * Recreates design-reference-1b (Sydney custom joinery homepage).
 * Plain CSS, no build step. Values map to the handoff Design Tokens.
 */

/* ============================================================
   Tokens
   ============================================================ */
:root {
	--c-base: #101319;      /* page bg */
	--c-panel: #0b0e13;     /* process bg, quote-left, input bg */
	--c-raised: #141821;    /* quote-right, step-6 tile */
	--c-card: #171b23;      /* review cards */
	--c-gold: #dcb968;
	--c-gold-hover: #e6c979;
	--c-white: #ffffff;
	--c-body: #c3c6cf;
	--c-body-2: #b3b8c2;
	--c-muted: #9aa0ab;
	--c-faint: #6f7784;
	--c-hair: rgba(255, 255, 255, .09);
	--c-hair-2: rgba(255, 255, 255, .11);
	--c-hair-3: rgba(255, 255, 255, .16);
	--c-input-border: #2a2f39;

	--font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--maxw: 1280px;
	--pad-x: 52px;
	--radius: 2px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--c-base);
	color: #e7e9ee;
	font-family: var(--font);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--c-gold); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-gold-hover); }

h1, h2, h3 { margin: 0; }

.site-main { display: block; }

/* Layout helpers */
.wrap { max-width: var(--maxw); margin-inline: auto; }
.section-pad { padding: 80px var(--pad-x); }

/* Accessibility */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--c-gold); color: var(--c-base);
	padding: .6rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Shared eyebrow */
.eyebrow {
	display: inline-block;
	font-size: 12.5px; font-weight: 700; letter-spacing: .28em;
	color: var(--c-gold); text-transform: uppercase;
}

/* Buttons */
.btn {
	display: inline-block; border-radius: var(--radius);
	font-weight: 700; text-align: center; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--gold { background: var(--c-gold); color: var(--c-base); padding: 16px 26px; font-size: 14px; }
.btn--gold:hover { background: var(--c-gold-hover); color: var(--c-base); }
.btn--outline-gold {
	border: 1.5px solid rgba(220, 185, 104, .6); color: var(--c-gold);
	padding: 12px 20px; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
}
.btn--outline-gold:hover { border-color: var(--c-gold); background: rgba(220, 185, 104, .08); }
.btn--outline-light {
	border: 1.5px solid rgba(255, 255, 255, .28); color: #fff;
	padding: 16px 26px; font-size: 14px; font-weight: 600;
}
.btn--outline-light:hover { border-color: #fff; color: #fff; }

/* ============================================================
   Header (fixed, transparent over hero → solid on scroll)
   ============================================================ */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	display: flex; justify-content: space-between; align-items: center;
	padding: 26px var(--pad-x);
	transition: background-color .25s ease, padding .25s ease, border-color .25s ease;
	border-bottom: 1px solid transparent;
}
.site-header.is-solid {
	background: var(--c-base);
	padding-block: 16px;
	border-bottom-color: var(--c-hair);
}
.site-header__logo img { height: 44px; width: auto; }
.site-header.is-solid .site-header__logo img { height: 38px; }

.site-nav ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center; gap: 34px;
}
.site-nav a {
	font-size: 13px; font-weight: 600; letter-spacing: .04em;
	text-transform: uppercase; color: #e7e9ee;
}
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav a.is-active { color: var(--c-gold); }

.site-header__cta { margin-left: 8px; }

.nav-toggle {
	display: none; background: none; border: 0; cursor: pointer;
	width: 44px; height: 44px; padding: 10px; position: relative; z-index: 110;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	content: ''; position: absolute; left: 10px; width: 24px; height: 2px;
	background: #fff; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
/* <picture> is a layout no-op so `.container img` rules apply to the child. */
picture { display: contents; }

.hero { position: relative; }
.hero__media { height: 640px; overflow: hidden; position: relative; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(180deg,
		rgba(16, 19, 25, .72) 0%,
		rgba(16, 19, 25, .25) 34%,
		rgba(16, 19, 25, .55) 66%,
		#101319 100%);
}
.hero__content { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 64px; }
.hero__title {
	font-weight: 800; font-size: 88px; line-height: .96; letter-spacing: -.035em;
	color: #fff; margin: 20px 0 0; max-width: 900px;
}
.hero__row {
	display: flex; justify-content: space-between; align-items: flex-end;
	gap: 30px; margin-top: 30px;
}
.hero__lead { font-size: 16px; line-height: 1.6; color: var(--c-body); max-width: 440px; margin: 0; }
.hero__actions { display: flex; gap: 14px; flex-shrink: 0; }

/* ============================================================
   Stat ticker
   ============================================================ */
.stats {
	display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--c-hair); border-bottom: 1px solid var(--c-hair);
}
.stat { padding: 26px 40px; border-right: 1px solid var(--c-hair); }
.stat:last-child { border-right: 0; }
.stat b { font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -.02em; display: block; }
.stat--gold b { color: var(--c-gold); }
.stat span { font-size: 12.5px; color: var(--c-muted); display: block; margin-top: 2px; }

/* ============================================================
   Services - editorial rows
   ============================================================ */
.services { padding: 80px var(--pad-x) 40px; }
.section-head {
	display: flex; justify-content: space-between; align-items: flex-end;
	gap: 30px; margin: 0 0 48px;
}
.section-head h2 {
	font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -.03em; color: #fff;
}
.section-head__aside { font-size: 13px; color: var(--c-muted); max-width: 280px; text-align: right; }

.service-row {
	display: grid; grid-template-columns: 64px 1fr 340px 200px; gap: 28px;
	align-items: center; padding: 24px 0; border-top: 1px solid var(--c-hair-2);
	transition: background-color .2s ease;
}
.services .service-row:last-child { border-bottom: 1px solid var(--c-hair-2); }
.service-row:hover { background: rgba(255, 255, 255, .02); }
.service-row__num { font-size: 15px; font-weight: 800; color: var(--c-gold); }
.service-row__title { font-weight: 700; font-size: 30px; letter-spacing: -.02em; color: #fff; }
.service-row__desc { font-size: 13.5px; line-height: 1.55; color: var(--c-muted); margin: 0; }
.service-row__thumb { height: 96px; border-radius: var(--radius); overflow: hidden; }
.service-row__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-row:hover .service-row__thumb img { transform: scale(1.05); }

/* ============================================================
   Feature split
   ============================================================ */
.feature-split {
	display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; margin-top: 40px;
}
.feature-split__text { padding: 80px var(--pad-x); display: flex; flex-direction: column; justify-content: center; }
.feature-split__text h2 {
	font-weight: 800; font-size: 44px; line-height: 1.04; letter-spacing: -.03em;
	color: #fff; margin: 16px 0 20px;
}
.feature-split__text p { font-size: 15px; line-height: 1.7; color: var(--c-body-2); margin: 0 0 30px; max-width: 480px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; }
.feature-tick { border-left: 2px solid var(--c-gold); padding-left: 16px; }
.feature-tick b { font-size: 15px; color: #fff; }
.feature-tick p { font-size: 13px; line-height: 1.5; color: var(--c-muted); margin: 5px 0 0; }
.feature-split__media { overflow: hidden; min-height: 520px; }
.feature-split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   Process
   ============================================================ */
.process { padding: 80px var(--pad-x); background: var(--c-panel); }
.process h2 { font-weight: 800; font-size: 44px; letter-spacing: -.03em; color: #fff; margin: 0 0 8px; }
.process__intro { font-size: 14px; color: var(--c-muted); margin: 0 0 44px; }
.process__grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
	background: var(--c-hair); border: 1px solid var(--c-hair);
}
.process-step { background: var(--c-panel); padding: 30px 28px; }
.process-step--last { background: var(--c-raised); }
.process-step__label { font-size: 13px; font-weight: 800; color: var(--c-gold); }
.process-step h3 { font-size: 20px; font-weight: 700; color: #fff; margin: 10px 0 6px; }
.process-step p { font-size: 13px; line-height: 1.55; color: var(--c-muted); margin: 0; }

/* ============================================================
   Full-bleed gallery
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.gallery__item { position: relative; height: 280px; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__caption {
	position: absolute; left: 16px; bottom: 14px; color: #fff;
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}

/* ============================================================
   Reviews
   ============================================================ */
.reviews { padding: 80px var(--pad-x); }
.reviews__rating { color: var(--c-gold); font-size: 18px; letter-spacing: 2px; white-space: nowrap; }
.reviews__rating small { color: var(--c-muted); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
	background: var(--c-card); border: 1px solid rgba(255, 255, 255, .08);
	border-radius: var(--radius); padding: 30px 28px; transition: border-color .2s ease;
}
.review-card:hover { border-color: var(--c-hair-3); }
.review-card__stars { color: var(--c-gold); font-size: 15px; letter-spacing: 2px; }
.review-card__quote { font-size: 16px; line-height: 1.6; color: #dfe2e8; margin: 16px 0 20px; }
.review-card__name { font-size: 14px; color: #fff; font-weight: 700; }
.review-card__meta { font-size: 12.5px; color: var(--c-muted); }

/* ============================================================
   Suppliers
   ============================================================ */
.suppliers { padding: 0 0 40px; }
.suppliers__label { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--c-faint); text-transform: uppercase; margin: 0 0 24px; padding-inline: var(--pad-x); }

/* Infinite logo marquee: two identical groups slid left by exactly one group
   width for a seamless loop. Faded edges via a mask; pauses on hover. */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee-scroll 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
	list-style: none; margin: 0; padding: 0 64px 0 0;
	display: flex; align-items: center; gap: 64px; flex: none;
}
.marquee__group > li { display: flex; align-items: center; }
.marquee__logo {
	height: 30px; width: auto; opacity: .58; filter: brightness(0) invert(1);
	transition: opacity .2s ease;
}
.marquee__group:not([aria-hidden]) .marquee__logo:hover { opacity: 1; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ============================================================
   Quote CTA
   ============================================================ */
.quote { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--c-hair); }
.quote__info { padding: 70px var(--pad-x); background: var(--c-panel); }
.quote__info h2 { font-weight: 800; font-size: 44px; line-height: 1.04; letter-spacing: -.03em; color: #fff; margin: 16px 0 20px; }
.area-pills { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; }
.area-pill { border: 1px solid var(--c-hair-3); color: var(--c-body); font-size: 12.5px; padding: 7px 13px; border-radius: var(--radius); }
.contact-block { font-size: 14.5px; line-height: 1.8; color: var(--c-body); }
.contact-block b { color: var(--c-gold); }
.contact-block a { color: var(--c-body); }
.contact-block a:hover { color: var(--c-gold); }

.quote__form-wrap { padding: 70px var(--pad-x); background: var(--c-raised); }
.quote__form-wrap h3 { font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: #fff; margin: 0 0 22px; }
.quote-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: span 2; }
.field label { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.field input,
.field select,
.field textarea {
	background: var(--c-panel); border: 1px solid var(--c-input-border);
	border-radius: var(--radius); color: #fff; font-family: var(--font); font-size: 14px;
	padding: 0 14px; height: 46px; width: 100%; transition: border-color .15s ease;
}
.field textarea { height: 100px; padding: 12px 14px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--c-gold); }
.field select { appearance: none; color: #6f7784; background-image: none; }
.field select:valid { color: #fff; }
.field ::placeholder { color: #6f7784; }

/* Honeypot - hidden from humans */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.quote-form__submit { width: 100%; margin-top: 20px; padding: 16px; font-size: 14.5px; letter-spacing: .02em; border: 0; }
.quote-form__error { color: #ff8f8f; font-size: 12.5px; margin: 4px 0 0; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #ff8f8f; }
.quote-form__status { margin-top: 16px; font-size: 14px; }
.quote-form__status.is-success { color: var(--c-gold); }
.quote-form__status.is-fail { color: #ff8f8f; }
.quote-form.is-submitting .quote-form__submit { opacity: .6; pointer-events: none; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { padding: 40px var(--pad-x) 26px; border-top: 1px solid var(--c-hair); }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 26px; }
.site-footer__logo img { height: 40px; width: auto; }
.footer-cols { display: flex; gap: 46px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-col b { color: #fff; }
.footer-col a { color: var(--c-muted); }
.footer-col a:hover, .footer-col a.is-active { color: var(--c-gold); }
.footer-col__phone { color: var(--c-gold); font-weight: 700; }
.footer-col__phone a { color: var(--c-gold); }
.footer-col span { color: var(--c-muted); }
.site-footer__bottom { padding-top: 18px; border-top: 1px solid var(--c-hair); font-size: 12px; color: var(--c-faint); }

/* ============================================================
   Generic inner-page content (non-homepage templates)
   ============================================================ */
.body-not-front .site-header { position: sticky; background: var(--c-base); border-bottom-color: var(--c-hair); }
.container { max-width: 820px; margin: 0 auto; padding: 60px var(--pad-x) 80px; }
.page-title, .entry-title { font-weight: 800; font-size: clamp(30px, 5vw, 48px); letter-spacing: -.03em; color: #fff; margin: 0 0 16px; }
.entry-content { color: var(--c-body); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content a { color: var(--c-gold); text-decoration: underline; }
.page-header { margin-bottom: 32px; }
.post-meta { color: var(--c-muted); font-size: 13px; }
.post-list { display: grid; gap: 28px; }
.post-card { border: 1px solid var(--c-hair); border-radius: var(--radius); overflow: hidden; }
.post-card__body { padding: 24px; }
.post-card__title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.post-card__title a { color: #fff; }
.post-card__title a:hover { color: var(--c-gold); }
.entry-thumbnail { margin: 24px 0; border-radius: var(--radius); overflow: hidden; }
.error-404 .search-form, .no-results .search-form { margin-top: 20px; }

/* ============================================================
   Inner-page hero (Services / Gallery / Areas / Book / Legal)
   ============================================================ */
.page-hero { background: var(--c-panel); padding-block: 66px 52px; padding-inline: max(var(--pad-x), calc((100% - var(--maxw)) / 2)); }
.page-hero__title {
	font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1;
	letter-spacing: -.035em; color: #fff; margin: 18px 0 16px;
}
.page-hero__intro { font-size: 16px; line-height: 1.65; color: var(--c-body-2); max-width: 600px; margin: 0; }
.page-hero--legal .page-hero__title { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.03em; margin: 16px 0 10px; }
.page-hero--legal .page-hero__meta { font-size: 14px; color: var(--c-muted); margin: 0; }

/* Reusable padded section + CTA band (Services, Areas) */
.section-x { padding-block: 56px; padding-inline: max(var(--pad-x), calc((100% - var(--maxw)) / 2)); }
.cta-band {
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	background: var(--c-raised); border: 1px solid var(--c-hair); padding: 36px 40px;
}
.cta-band h3 { font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: #fff; margin: 0 0 6px; }
.cta-band p { font-size: 14px; color: var(--c-muted); margin: 0; }
.cta-band .btn { flex: none; }

/* Services-page rows reuse .service-row; centre the content within --maxw so it
   aligns with the page hero above and leaves no awkward gap on wide screens. */
.svc-section { padding-block: 56px 40px; padding-inline: max(var(--pad-x), calc((100% - var(--maxw)) / 2)); }
.svc-section .service-row:first-child { border-top: 1px solid var(--c-hair-2); }
.svc-section .service-row:last-child { border-bottom: 1px solid var(--c-hair-2); }

/* Services page: number, then title + paragraph, then a large uncropped image.
   The text column fills to the image so there is no dead space between them, and
   the image box matches the photos' native 4:3 ratio so nothing is cropped. */
.svc-section .service-row { grid-template-columns: 56px minmax(0, 1fr) clamp(380px, 40%, 520px); column-gap: 44px; padding: 40px 0; }
.svc-section .service-row__body { min-width: 0; }
.svc-section .service-row__desc { margin-top: 14px; }
.svc-section .service-row__thumb { height: auto; aspect-ratio: 4 / 3; }

/* ============================================================
   Gallery page - filterable grid + lightbox
   ============================================================ */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.filter-chip {
	border: 1px solid var(--c-hair-3); color: #c3c6cf; background: transparent;
	font-family: var(--font); font-size: 12.5px; font-weight: 600;
	padding: 9px 17px; border-radius: var(--radius); cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.filter-chip:hover { border-color: var(--c-gold); color: #fff; }
.filter-chip.is-active { background: var(--c-gold); color: var(--c-base); font-weight: 700; border-color: var(--c-gold); }

.gallery-grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 230px; gap: 2px; background: var(--c-base);
}
.gallery-tile { position: relative; overflow: hidden; cursor: pointer; background: var(--c-panel); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile--2x2 { grid-column: span 2; grid-row: span 2; }
.gallery-tile--2x1 { grid-column: span 2; }
.gallery-tile--1x2 { grid-row: span 2; }
.gallery-tile.is-hidden { display: none; }
.gallery-more { text-align: center; padding: 36px var(--pad-x) 60px; }

/* Lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 200; display: none;
	align-items: center; justify-content: center; background: rgba(8, 10, 14, .94);
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 88vw; max-height: 86vh; object-fit: contain; border-radius: var(--radius); }
.lightbox__btn {
	position: absolute; background: rgba(255, 255, 255, .06); border: 1px solid var(--c-hair-3);
	color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
	font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center;
	transition: background-color .15s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .14); }
.lightbox__btn--prev { left: 24px; }
.lightbox__btn--next { right: 24px; }
.lightbox__btn--close { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 20px; }

/* ============================================================
   Book a Quote page
   ============================================================ */
.book { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; padding: 56px var(--pad-x) 70px; }
.book-card { background: var(--c-raised); border: 1px solid var(--c-hair); padding: 40px 38px; }
.book-card h2 { font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: #fff; margin: 0 0 4px; }
.book-card__hint { font-size: 13px; color: var(--c-muted); margin: 0 0 26px; }
.book-consent { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 0; }
.book-consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--c-gold); }
.book-consent label { font-size: 12.5px; line-height: 1.55; color: var(--c-muted); }
.book-consent a { text-decoration: underline; }
.book-consent.has-error label { color: #ff8f8f; }
.book-consent.has-error input { outline: 1px solid #ff8f8f; }

.book-rail { display: flex; flex-direction: column; gap: 20px; }
.rail-card { background: var(--c-panel); border: 1px solid var(--c-hair); padding: 32px 30px; }
.rail-card--raised { background: var(--c-raised); padding: 28px 26px; }
.rail-card h3 { font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: #fff; margin: 0 0 20px; }
.rail-card--raised h3 { font-size: 20px; margin-bottom: 18px; }
.rail-group + .rail-group { margin-top: 18px; }
.rail-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--c-gold); text-transform: uppercase; }
.rail-value { font-size: 14px; line-height: 1.6; color: var(--c-body); margin-top: 5px; }
.rail-value--big { font-size: 19px; font-weight: 800; color: #fff; }
.rail-value--big a { color: #fff; }
.rail-value--big a:hover { color: var(--c-gold); }
.next-step { display: flex; gap: 12px; }
.next-step + .next-step { margin-top: 16px; }
.next-step__num { flex: none; font-size: 12px; font-weight: 800; color: var(--c-gold); padding-top: 1px; }
.next-step__text { font-size: 13.5px; line-height: 1.5; color: var(--c-muted); }
.rail-photo { overflow: hidden; height: 200px; }
.rail-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   Areas We Service - directory
   ============================================================ */
.areas-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
	background: var(--c-hair); border: 1px solid var(--c-hair);
}
.area-group { background: var(--c-base); padding: 28px 26px; }
.area-group__head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px; }
.area-group__head h2 { font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: #fff; margin: 0; }
.area-group__tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--c-gold); }
.suburb-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.suburb-chip { font-size: 12.5px; color: #c3c6cf; border: 1px solid rgba(255, 255, 255, .14); padding: 6px 11px; border-radius: var(--radius); }

/* ============================================================
   Legal pages (Privacy / Terms)
   ============================================================ */
.legal { display: grid; grid-template-columns: 250px 1fr; gap: 50px; align-items: start; padding: 52px var(--pad-x) 70px; }
.legal-toc { background: var(--c-raised); border: 1px solid var(--c-hair); padding: 24px 22px; position: sticky; top: 96px; }
.legal-toc__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--c-faint); text-transform: uppercase; display: block; margin: 0 0 14px; }
.legal-toc__links { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.legal-toc__links a { color: var(--c-muted); }
.legal-toc__links a:hover, .legal-toc__links a.is-active { color: var(--c-gold); font-weight: 700; }

.legal-article { max-width: 760px; }
.legal-article .lead { font-size: 16px; line-height: 1.75; color: var(--c-body); margin: 0 0 34px; }
.legal-article h2 { font-weight: 800; font-size: 24px; letter-spacing: -.02em; color: #fff; margin: 34px 0 12px; scroll-margin-top: 96px; }
.legal-article h2:first-of-type { margin-top: 0; }
.legal-article h3 { font-size: 15px; color: #fff; font-weight: 700; margin: 0 0 8px; }
.legal-article p { font-size: 15px; line-height: 1.7; color: var(--c-muted); margin: 0 0 14px; }
.legal-article ul { font-size: 15px; line-height: 1.75; color: var(--c-muted); margin: 0 0 16px; padding-left: 22px; }
.legal-article b { color: #fff; }
.legal-callout { background: var(--c-raised); border-left: 3px solid var(--c-gold); padding: 24px 26px; }
.legal-callout b { font-size: 16px; color: #fff; display: block; margin: 0 0 10px; }
.legal-callout div { font-size: 15px; line-height: 1.8; color: var(--c-muted); }

/* Terms - numbered clause blocks */
.terms-wrap { padding: 52px var(--pad-x) 70px; }
.terms-intro { font-size: 16px; line-height: 1.75; color: var(--c-body); margin: 0 0 38px; max-width: 860px; }
.clauses { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--c-hair); border: 1px solid var(--c-hair); }
.clause { background: var(--c-base); padding: 28px; }
.clause--raised { background: var(--c-raised); }
.clause--full { grid-column: span 2; background: var(--c-panel); }
.clause__num { font-size: 13px; font-weight: 800; color: var(--c-gold); }
.clause h2 { font-size: 19px; font-weight: 700; color: #fff; margin: 8px 0 10px; }
.clause p { font-size: 14px; line-height: 1.65; color: var(--c-muted); margin: 0; }
.clause p + p { margin-top: 10px; }
.clause ul { font-size: 14px; line-height: 1.7; color: var(--c-muted); margin: 0; padding-left: 20px; }
.clause b { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1023px) {
	:root { --pad-x: 32px; }
	.hero__title { font-size: 64px; }
	.section-head h2 { font-size: 40px; }

	/* Nav collapses to a hamburger drawer from tablet down: the wordmark logo,
	   five links and the CTA do not fit the header below ~1024px. */
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); z-index: 105;
		background: var(--c-panel); border-left: 1px solid var(--c-hair);
		transform: translateX(100%); transition: transform .25s ease;
		padding: 96px 28px 28px; display: flex;
	}
	.site-nav.is-open { transform: translateX(0); }
	.site-nav ul { flex-direction: column; align-items: flex-start; gap: 8px; }
	.site-nav a { font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }
	/* Hide the inline CTA so the header is just logo + hamburger (booking lives
	   in the drawer); otherwise space-between strands the toggle in the centre. */
	.site-header__cta { display: none; }

	.service-row { grid-template-columns: 48px 1fr; }
	.service-row__desc, .service-row__thumb { display: none; }

	/* Services page: number + title/paragraph on top, full-width image beneath. */
	.svc-section .service-row { grid-template-columns: 48px 1fr; column-gap: 20px; row-gap: 18px; padding: 30px 0; align-items: start; }
	.svc-section .service-row__desc { display: block; margin-top: 8px; }
	.svc-section .service-row__thumb { display: block; grid-column: 1 / -1; height: auto; aspect-ratio: 4 / 3; max-width: 560px; }

	.process__grid { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--c-hair); }

	.gallery { grid-template-columns: repeat(2, 1fr); }
	.reviews__grid { grid-template-columns: 1fr; }
	.feature-split { grid-template-columns: 1fr; }
	.feature-split__media { min-height: 360px; order: -1; }
	.quote { grid-template-columns: 1fr; }

	/* Inner pages @ tablet */
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.gallery-tile--2x2, .gallery-tile--2x1, .gallery-tile--1x2 { grid-column: span 1; grid-row: span 1; }
	.book { grid-template-columns: 1fr; }
	.areas-grid { grid-template-columns: repeat(2, 1fr); }
	.clauses { grid-template-columns: 1fr; }
	.clause--full { grid-column: span 1; }
	.legal { grid-template-columns: 1fr; gap: 28px; }
	.legal-toc { position: static; }
	.legal-toc__links { flex-flow: row wrap; gap: 8px 18px; }
	.cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
	:root { --pad-x: 20px; }

	/* Solid header bar on mobile; nav drawer + CTA hiding are defined at the
	   tablet breakpoint above and inherited here. */
	.site-header { padding: 16px 20px; background: var(--c-base); border-bottom: 1px solid var(--c-hair); }

	.hero__media { height: 520px; }
	.hero__title { font-size: clamp(34px, 10vw, 44px); }
	.hero__row { flex-direction: column; align-items: flex-start; }
	.hero__actions { width: 100%; }
	.hero__actions .btn { flex: 1; }

	.section-pad, .services, .feature-split__text, .process, .reviews,
	.quote__info, .quote__form-wrap { padding-inline: 20px; }
	.services { padding-top: 100px; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.section-head h2 { font-size: 30px; }
	.section-head__aside { text-align: left; }

	.feature-grid { grid-template-columns: 1fr; }
	.process__grid { grid-template-columns: 1fr; }
	.process h2, .quote__info h2, .feature-split__text h2 { font-size: 30px; }
	.feature-split__text h2 { overflow-wrap: break-word; }
	.stats { grid-template-columns: 1fr; }
	.stat { border-right: 0; border-bottom: 1px solid var(--c-hair); }
	.gallery { grid-template-columns: 1fr; }
	.quote-form__grid { grid-template-columns: 1fr; }
	.field--full { grid-column: span 1; }

	/* Inner pages @ mobile */
	.gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
	.areas-grid { grid-template-columns: 1fr; }
	.section-x, .svc-section, .book, .terms-wrap, .legal { padding-inline: 20px; }
	.svc-section .service-row { grid-template-columns: 38px 1fr; column-gap: 14px; padding: 26px 0; }
	.svc-section .service-row__title { font-size: 26px; }
	.svc-section .service-row__thumb { max-width: none; }
	.book-card { padding: 28px 22px; }
	.book-consent input { width: 22px; height: 22px; }
	.lightbox__btn--prev { left: 10px; }
	.lightbox__btn--next { right: 10px; }

	.site-footer__top { flex-direction: column; gap: 28px; }
	.footer-cols { flex-wrap: wrap; gap: 28px 40px; }
	.footer-col a { min-height: 40px; display: inline-flex; align-items: center; }

	.marquee__logo { height: 24px; }
	.marquee__group { gap: 44px; padding-right: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
	/* Stop the logo marquee; let it scroll manually instead. */
	.marquee__track { animation: none; }
	.marquee { overflow-x: auto; }
}
