/* WorkDigs: workwear look. Charcoal, hi-vis amber, off-white. */
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
}

:root {
	--ink: #1c1f22;
	--ink-2: #2a2e32;
	--line-dark: #3a3e42;
	--paper: #f6f5f1;
	--paper-2: #eceae4;
	--white: #fff;
	--amber: #f2a900;
	--muted: #5a5e5a;
	--body: #3a3e3a;
	--pale: #c9cbc6;
	--line: #e2dfd8;
	--stone: #d9d6ce;
	--radius: 10px;
	--wrap: 1240px;
	--display: "Archivo", "Arial Narrow", sans-serif;
	--sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-stretch: 80%; font-weight: 900; text-transform: uppercase; line-height: 1; margin: 0; letter-spacing: 0.2px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--amber); padding: 10px 16px; color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 6px; font: 700 16px/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #ffbb1a; color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line-amber { border-color: var(--amber); color: var(--amber); background: transparent; }
.btn-line-amber:hover { background: var(--amber); color: var(--ink); }
.btn-block { width: 100%; }

/* Header */
.site-header { background: var(--ink); color: var(--paper); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 36px; height: 36px; background: var(--amber); border-radius: 6px; display: grid; place-items: center; }
.brand-word { font-family: var(--display); font-stretch: 80%; font-weight: 900; font-size: 26px; letter-spacing: 0.5px; }
.main-nav { display: flex; gap: 22px; flex: 1 1 auto; font-weight: 500; font-size: 15px; }
.main-nav a, .header-phone { color: var(--paper); text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--amber); }
.header-phone { font-weight: 600; font-size: 15px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--line-dark); color: var(--paper); border-radius: 6px; width: 48px; height: 44px; cursor: pointer; }

@media (max-width: 960px) {
	.nav-toggle { display: grid; place-items: center; }
	.main-nav, .header-phone, .site-header .btn { display: none; }
	.site-header.is-open .main-nav { display: flex; flex-direction: column; gap: 0; order: 10; flex-basis: 100%; padding-bottom: 12px; }
	.site-header.is-open .main-nav a { padding: 12px 0; border-top: 1px solid var(--line-dark); font-size: 17px; }
	.site-header.is-open .header-phone, .site-header.is-open .btn { display: inline-flex; order: 11; margin-bottom: 16px; }
}

/* Hero */
.hero { background: var(--ink); color: var(--paper); padding: 56px 0 72px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; }
.hero-main { flex: 999 1 560px; min-width: 0; }
.eyebrow { color: var(--amber); font-weight: 600; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 16px; }
.hero h1 { font-size: clamp(44px, 6.5vw, 76px); line-height: 0.95; max-width: 840px; }
.hero-lede { font-size: 20px; line-height: 1.5; color: var(--pale); max-width: 620px; margin: 24px 0 0; }
.hero-aside { flex: 1 1 300px; background: var(--ink-2); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-aside h2 { font-size: 28px; font-weight: 800; }
.hero-aside p { color: var(--pale); margin: 0; }

.search-bar { margin-top: 36px; background: var(--paper); border-radius: var(--radius); padding: 10px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 860px; }
.search-bar label { flex: 1 1 170px; display: flex; flex-direction: column; padding: 6px 12px; color: var(--ink); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; }
.search-bar label + label { border-left: 1px solid var(--stone); }
.search-bar select, .search-bar input { border: 0; background: transparent; font: 500 16px var(--sans); padding: 6px 0 2px; color: var(--ink); min-height: 32px; }
.search-bar .btn { flex: 0 0 auto; min-height: 56px; padding-inline: 28px; }
@media (max-width: 640px) { .search-bar label + label { border-left: 0; border-top: 1px solid var(--stone); } .search-bar .btn { flex: 1 1 100%; } }

.strip { background: var(--amber); }
.strip .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 12px; padding-block: 18px; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.6px; }
.strip span::before { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--ink); margin-right: 10px; vertical-align: 1px; }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 48px 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-stone { background: var(--paper-2); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.section-head h2, .h2 { font-size: clamp(36px, 4.5vw, 52px); }
.section-head a { font-weight: 600; }
.lede { font-size: 19px; color: var(--body); max-width: 720px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-towns { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }

/* Cards */
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 0.15s ease, box-shadow 0.15s ease; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28, 31, 34, 0.1); color: var(--ink); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media .ph { position: absolute; inset: auto 12px 12px; font-size: 12px; color: var(--muted); }
.tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 4px; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 { font-size: 24px; font-weight: 800; }
.card-meta { font-size: 13px; color: var(--muted); font-weight: 500; }
.card-facts { font-size: 14px; color: var(--body); }
.card-price { margin-top: auto; padding-top: 10px; font-size: 15px; }
.card-price strong { font-size: 21px; }
.town-card .card-media { aspect-ratio: 3 / 2; }
.town-card h3 { font-size: 23px; overflow-wrap: anywhere; }

/* Value blocks, steps, chips */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }
.values h3 { font-size: 26px; color: var(--amber); margin-bottom: 10px; }
.values p { color: var(--pale); margin: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.step { border-top: 4px solid var(--ink); padding-top: 20px; }
.step-num { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1; }
.step h3 { font-size: 24px; margin: 10px 0 8px; }
.step p { color: var(--body); margin: 0; }
.split { display: flex; flex-wrap: wrap; gap: 40px; }
.split > :first-child { flex: 1 1 320px; }
.split > :last-child { flex: 2 1 560px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--white); border: 1px solid var(--stone); border-radius: 999px; padding: 10px 16px; font-weight: 500; }

/* FAQ */
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--stone); padding: 20px 0; }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 12px 0 0; color: var(--body); }

/* CTA band + footer */
.cta-band { background: var(--amber); padding: 64px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band h2 { font-size: clamp(34px, 4.5vw, 52px); max-width: 720px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { background: var(--ink); color: var(--pale); padding: 56px 0 40px; font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-cols strong { color: var(--paper); display: block; margin-bottom: 8px; }
.footer-cols a { color: var(--pale); display: block; padding: 3px 0; }
.footer-cols a:hover { color: var(--amber); }
.footer-base { border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 20px; font-size: 14px; }

/* Property page */
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; }
.crumbs a { color: var(--muted); }
.prop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 16px 0 24px; }
.prop-head h1 { font-size: clamp(40px, 5vw, 62px); }
.prop-sub { margin: 10px 0 0; font-size: 17px; color: var(--body); }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.badge { background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 4px; }
.badge-amber { background: var(--amber); color: var(--ink); font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 220px 220px; gap: 8px; border-radius: var(--radius); overflow: hidden; }
.gallery > * { background: var(--stone); position: relative; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; }
.gallery > :first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery .more { position: absolute; right: 12px; bottom: 12px; background: var(--white); padding: 8px 12px; border-radius: 6px; font-size: 14px; font-weight: 600; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; } .gallery > :nth-child(n+4) { display: none; } .gallery > :first-child { grid-row: span 1; } }
.prop-layout { display: flex; flex-wrap: wrap; gap: 48px; margin: 40px 0 88px; align-items: flex-start; }
.prop-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.prop-main h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.fact, .room { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.fact span { display: block; font-size: 13px; color: var(--muted); }
.fact strong { font-size: 17px; }
.prose { color: var(--body); }
.prose p:last-child { margin-bottom: 0; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 24px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 4px; }
.drive { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 24px; }
.drive div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--stone); }
.avail { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; max-width: 520px; }
.avail .d { text-align: center; padding: 6px 0; font-size: 13px; border-radius: 4px; background: var(--white); border: 1px solid var(--line); }
.avail .d.no { background: var(--paper-2); color: #8a8d88; text-decoration: line-through; }
.avail .wd { font-size: 12px; text-align: center; color: var(--muted); font-weight: 600; }
.avail .d.na { opacity: 0.45; }
.avail-head { display: flex; justify-content: space-between; align-items: center; max-width: 520px; margin-bottom: 10px; }
.avail-head button { min-width: 44px; min-height: 44px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; cursor: pointer; font-size: 18px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 300px; border: 0; display: block; }

.book { flex: 1 1 340px; position: sticky; top: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 8px 24px rgba(28, 31, 34, 0.08); }
@media (max-width: 960px) { .book { position: static; } }
.book-price strong { font-family: var(--display); font-size: 34px; }
.book-price p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.field { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; border: 1px solid var(--stone); border-radius: 6px; padding: 8px 10px; background: var(--white); }
.field input, .field select, .field textarea { border: 0; font: 500 16px var(--sans); padding: 4px 0 0; color: var(--ink); background: transparent; min-height: 30px; text-transform: none; letter-spacing: 0; }
.field:focus-within { border-color: var(--ink); }
.row2 { display: flex; gap: 8px; }
.row2 > * { flex: 1; min-width: 0; }
.pattern { border: 0; padding: 0; margin: 0; }
.pattern legend { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 8px; }
.pattern .opts { display: flex; gap: 8px; }
.pattern label { flex: 1; }
.pattern input { position: absolute; opacity: 0; }
.pattern span { display: grid; place-items: center; min-height: 44px; border-radius: 6px; border: 1px solid var(--stone); font-weight: 600; font-size: 14px; cursor: pointer; }
.pattern input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pattern input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.quote-out { font-size: 15px; border-radius: 6px; padding: 12px; background: var(--paper); display: none; }
.quote-out.show { display: block; }
.quote-out.bad { background: #fdecea; color: #8a1c12; }
.small { font-size: 13px; color: var(--muted); margin: 0; }

/* Enquiry form */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.form-grid .wide { grid-column: 1 / -1; }
.notice { padding: 14px 16px; border-radius: 6px; margin-bottom: 20px; font-weight: 500; }
.notice-ok { background: #e7f4e4; color: #1d4d16; }
.notice-bad { background: #fdecea; color: #8a1c12; }
.hp { position: absolute; left: -9999px; }

/* Lists, filters, pages */
.page-hero { background: var(--ink); color: var(--paper); padding: 56px 0; }
.page-hero h1 { font-size: clamp(40px, 5.5vw, 68px); max-width: 900px; }
.page-hero p { color: var(--pale); font-size: 19px; max-width: 720px; margin: 18px 0 0; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 28px; }
.filters .field { min-width: 200px; }
.count { color: var(--muted); margin: 0 0 20px; }
.empty { background: var(--white); border: 1px dashed var(--stone); border-radius: var(--radius); padding: 32px; }
.entry { max-width: 780px; }
.entry h2 { font-size: 34px; margin: 1.4em 0 0.5em; }
.entry h3 { font-size: 24px; margin: 1.2em 0 0.4em; }
.entry ul { padding-left: 1.2em; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(12, 13, 14, 0.94); z-index: 100; display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: var(--paper); border: 0; border-radius: 6px; min-width: 48px; min-height: 48px; font-size: 20px; cursor: pointer; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; }
.lb-next { right: 12px; top: 50%; }

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