/*
 * 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
   ============================================================ */
.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 var(--pad-x) 20px; }
.suppliers__label { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--c-faint); text-transform: uppercase; margin: 0 0 18px; }
.suppliers__row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 40px; }
.chip {
	border: 1px dashed rgba(220, 185, 104, .4); color: #c9c2ac;
	font-weight: 700; font-size: 13.5px; padding: 11px 20px; border-radius: var(--radius);
}

/* ============================================================
   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: 44px var(--pad-x); border-top: 1px solid var(--c-hair);
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.site-footer__logo img { height: 40px; width: auto; }
.site-footer__copy { 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; }

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

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

	.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; }
}

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

	/* Mobile nav drawer */
	.nav-toggle { display: block; }
	.site-header { padding: 16px 20px; background: var(--c-base); border-bottom: 1px solid var(--c-hair); }
	.site-nav {
		position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
		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: 22px; }
	.site-nav a { font-size: 16px; }
	.site-header__cta { display: none; }

	.hero__media { height: 520px; }
	.hero__title { font-size: 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 { font-size: 30px; }
	.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; }

	.site-footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
