/* Homiq theme: layout, colours and type follow the Homiq smart home template kit. */
:root {
  --ink: #0d1418;
  --sub: #27292c;
  --text: #4f5357;
  --light: #797d80;
  --brand: #2281db;
  --dark: #13416c;
  --lighter: #64a6e4;
  --subtle: #d2e6f9;
  --border: #e4e4e4;
  --wash: #ebeff1;
  --overlay: rgba(13, 20, 24, 0.65);
  --radius: 10px;
  --display: 'DM Sans', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lighter); outline-offset: 3px; }
p { margin: 0 0 1em; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--ink); margin: 0 0 0.4em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.3vw, 76px); line-height: 1.1; letter-spacing: -1.3px; }
h2 { font-size: clamp(32px, 3.9vw, 56px); line-height: 1.2; letter-spacing: -1.3px; }
h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -0.8px; color: var(--sub); }
.accent { color: var(--brand); }
.eyebrow { font: 700 12px/1.5 var(--body); text-transform: uppercase; letter-spacing: 1px; color: var(--brand); margin: 0 0 16px; }
.text { color: var(--text); max-width: 62ch; }
.meta { color: var(--light); font-size: 14px; }

.wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 40; background: #fff; padding: 8px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 76px; height: 76px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; color: var(--brand); flex: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; border: 0; border-radius: 5px; background: var(--brand); color: #fff; font: 600 14px/24px var(--body); text-decoration: none; cursor: pointer; transition: background 0.2s ease; }
.button:hover { background: var(--dark); }
.button-light { background: #fff; color: var(--dark); }
.button-light:hover { background: var(--subtle); }
.button-block { width: 100%; text-transform: uppercase; }
.arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin: 0; }

/* Header sits over the hero photo. */
.header { position: absolute; inset: 0 0 auto; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.logo { display: inline-flex; align-items: flex-end; gap: 4px; color: #fff; text-decoration: none; font: 600 30px/1 var(--display); letter-spacing: -0.5px; }
.logo-mark { width: 48px; height: 44px; color: var(--brand); }
.logo span { padding-bottom: 2px; }
.nav { display: flex; align-items: center; }
.nav a { padding: 16px; color: #fff; font: 600 12px/24px var(--body); letter-spacing: 0.8px; text-transform: uppercase; text-decoration: none; transition: color 0.2s ease; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--brand); }
.nav .nav-quote { margin-left: 12px; padding: 10px 20px; border-radius: 5px; background: var(--brand); color: #fff; }
.nav .nav-quote:hover, .nav .nav-quote[aria-current='page'] { background: #fff; color: var(--dark); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 5px; background: var(--brand); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }

/* Photo backgrounds with the kit's dark overlay. */
.hero, .banner { position: relative; background: var(--dark) center / cover no-repeat; color: #fff; isolation: isolate; }
.hero::before, .banner::before { content: ''; position: absolute; inset: 0; background: var(--overlay); z-index: -1; }
.no-photo { background-image: radial-gradient(60% 80% at 80% 20%, rgba(34, 129, 219, 0.45), transparent 70%), linear-gradient(135deg, #1b2b38, var(--dark)); }
.hero { min-height: 712px; display: flex; align-items: center; padding-block: 120px 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.hero-kicker { font: 400 16px/1.5 var(--display); color: #fff; margin-bottom: 24px; }
.hero h1 { color: #fff; margin-bottom: 40px; }
.hero-copy p:not(.hero-kicker) { font-size: 14px; font-weight: 500; line-height: 1.6; max-width: 440px; margin-bottom: 30px; }
.hero-proof { list-style: none; margin: 120px 0 0; padding: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border: 2px solid #fff; border-radius: var(--radius); }
.hero-proof li { font: 400 clamp(16px, 1.4vw, 20px)/1.3 var(--display); text-align: center; color: #fff; }

.banner { min-height: 390px; display: grid; place-items: center; padding-block: 120px 56px; text-align: center; }
.banner h1 { color: #fff; font-size: clamp(36px, 4.4vw, 64px); max-width: 1000px; margin-inline: auto; }
.banner-lede { font-size: 15px; font-weight: 500; max-width: 720px; margin: 0 auto; color: rgba(255, 255, 255, 0.9); }
.banner-meta { color: var(--lighter); font-size: 14px; margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 24px 0 0; padding: 0; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.crumbs li + li::before { content: '/'; margin: 0 10px; opacity: 0.6; }
.crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: var(--lighter); }

/* Sections */
.section { padding-block: clamp(56px, 7vw, 100px); }
.section-tight { padding-block: 0 clamp(56px, 7vw, 100px); }
.section + .section { padding-top: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.center-head { text-align: center; max-width: 960px; margin: 0 auto 40px; }
.center-head .text { margin-inline: auto; }
.split-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; margin-bottom: 20px; }
.split-head h2 { margin: 0; }
.split-head .text { margin-bottom: 36px; }

.photo-empty { display: grid; place-items: center; min-height: 180px; border-radius: var(--radius); background: linear-gradient(135deg, var(--subtle), var(--wash)); }
.photo-empty .icon { width: 64px; height: 64px; opacity: 0.6; }

.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.collage > * { width: 100%; height: 216px; object-fit: cover; border-radius: var(--radius); }
.collage > :first-child { grid-column: 1 / -1; height: 256px; }
.two-col > div:last-child:not(.stacked-photos) { padding-left: clamp(0px, 1.5vw, 20px); }
.mini-features { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mini-features .icon { width: 90px; height: 90px; margin-bottom: 20px; }
.mini-features h3 { margin-bottom: 8px; }
.mini-features p { margin: 0; }

.feature-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-cards li { border: 2px solid var(--border); border-radius: var(--radius); padding: 20px; }
.feature-cards h3 { margin: 16px 0 8px; }
.feature-cards h3 a { text-decoration: none; }
.feature-cards h3 a:hover { color: var(--brand); }
.feature-cards p { margin: 0; }

.services-feature { align-items: start; }
.services-feature h2 { margin-bottom: 24px; }
.outline-feature { display: flex; gap: 20px; align-items: flex-start; margin-top: 40px; padding: 30px; border: 2px solid var(--border); border-radius: var(--radius); }
.outline-feature .icon { width: 96px; height: 96px; }
.outline-feature h3 { color: var(--brand); font-size: clamp(22px, 2.2vw, 32px); }
.outline-feature p { color: var(--brand); margin: 0; }
.stacked-photos { display: grid; gap: 20px; }
.stacked-photos > * { width: 100%; height: 323px; object-fit: cover; border-radius: var(--radius); }
.stacked-photos > :last-child:not(:first-child) { height: 184px; }
.blue-cards { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.blue-cards a { display: block; height: 100%; padding: 20px; border-radius: var(--radius); background: var(--brand); color: #fff; text-decoration: none; box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); transition: background 0.2s ease; }
.blue-cards a:hover { background: var(--dark); }
.blue-cards .icon { width: 64px; height: 64px; color: #fff; margin-bottom: 16px; }
.blue-cards h3 { color: #fff; margin-bottom: 8px; }
.blue-cards p { margin: 0; }

.steps-layout { align-items: start; }
.steps-layout h2 { margin-bottom: 40px; }
.steps-photo { width: 100%; height: 256px; object-fit: cover; border-radius: var(--radius); margin-top: 60px; }
.icon-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.icon-steps li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 30px; align-items: center; }
.icon-steps h3 { margin-bottom: 4px; }
.icon-steps p { margin: 0; }

.dark-band { background: var(--dark); color: #fff; border-radius: var(--radius); padding-block: clamp(56px, 6vw, 80px); }
.dark-band h2 { color: #fff; }
.dark-band .eyebrow { color: var(--lighter); }
.dark-band .text { color: #fff; }
.plan-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.plan-cards > li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 32px 32px; border-radius: var(--radius); background: #fff; }
.round-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--dark); margin-bottom: 30px; }
.round-icon .icon { width: 40px; height: 40px; color: #fff; stroke-width: 1.8; }
.plan-cards h3 { margin-bottom: 12px; }
.plan-cards ul { list-style: none; margin: 0 0 28px; padding: 0; color: var(--text); }
.plan-cards ul li { padding: 4px 0; }
.plan-cards ul a { text-decoration: none; }
.plan-cards ul a:hover { color: var(--brand); text-decoration: underline; }
.plan-cards .button { margin-top: auto; }
.cta-row { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 60px; align-items: end; }
.cta-row h2 { margin-bottom: 16px; }
.cta-row .text { margin: 0; }

.quote-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.quote-cards li { position: relative; padding: 24px 32px 40px; border: 2px solid var(--border); border-radius: var(--radius); text-align: center; }
.quote-mark { position: absolute; top: 24px; right: 20px; width: 32px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.4; }
.avatar { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 30px; border-radius: 50%; background: var(--subtle); color: var(--brand); font: 500 28px/1 var(--display); }
.quote-cards h3 { color: var(--ink); margin-bottom: 4px; }
.role { font: 700 12px/1.5 var(--body); letter-spacing: 1px; text-transform: uppercase; color: var(--light); margin-bottom: 24px; }
.quote-cards blockquote { margin: 0; color: var(--light); }

.project-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.project-cards a { display: block; height: 100%; border-radius: var(--radius); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); text-decoration: none; text-align: center; padding-bottom: 32px; overflow: hidden; }
.project-cards img, .project-cards .photo-empty { width: 100%; height: 265px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; margin-bottom: 52px; }
.project-cards h3, .project-cards p { padding-inline: 32px; }
.project-cards a:hover h3 { color: var(--brand); }

.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 30px; }
.guide-cards a { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--dark); color: #fff; text-decoration: none; box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); }
.guide-cards img, .guide-cards .photo-empty { width: 100%; height: 210px; object-fit: cover; border-radius: 0; }
.guide-cards a > div { padding: 32px 28px; }
.guide-cards time { display: block; font-size: 13px; color: var(--subtle); margin-bottom: 14px; }
.guide-cards h3 { color: #fff; font-size: 22px; margin-bottom: 20px; }
.guide-cards .more { font: 600 13px/1 var(--body); color: var(--lighter); }
.guide-cards a:hover .more { text-decoration: underline; }

.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.05fr); gap: 20px; align-items: stretch; }
.faq-layout > img, .faq-layout > .photo-empty { width: 100%; height: 0; min-height: 100%; object-fit: cover; border-radius: var(--radius); }
.faq-layout { min-height: 420px; }
.accordion details { margin-bottom: 10px; }
.accordion summary { position: relative; padding: 14px 64px 14px 30px; border-radius: var(--radius); background: var(--subtle); color: #000; font: 700 16px/26px var(--body); cursor: pointer; list-style: none; transition: background 0.2s ease; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ''; position: absolute; right: 32px; top: 50%; width: 9px; height: 9px; border: solid #000; border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.accordion details[open] summary { background: var(--lighter); }
.accordion details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.accordion details p { padding: 24px 30px 14px; margin: 0; }

/* Inner pages */
.prose { max-width: 800px; margin-inline: auto; color: var(--text); font-size: 16px; line-height: 1.7; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin: 1.4em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand); }
.cover { max-width: 800px; margin: 0 auto 40px; }
.cover img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); }
.tag-row { max-width: 800px; margin: 40px auto 0; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 14px; color: var(--light); }
.tag-row a { color: var(--dark); font-weight: 500; text-decoration: none; }
.tag-row a:hover { color: var(--brand); text-decoration: underline; }

.related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.related a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 20px; border: 2px solid var(--border); border-radius: var(--radius); color: var(--sub); text-decoration: none; font: 500 20px/1.2 var(--display); letter-spacing: -0.5px; transition: border-color 0.2s ease, color 0.2s ease; }
.related a:hover { border-color: var(--brand); color: var(--brand); }
.related .icon { width: 48px; height: 48px; }

.empty { text-align: center; padding: 20px 0; }
.empty p { margin-inline: auto; max-width: 56ch; }

/* Catalog */
/* Quote builder */
.quote-steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.quote-steps li { counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 16px; align-items: center; padding: 20px; border: 2px solid var(--border); border-radius: var(--radius); }
.quote-steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--wash); color: var(--dark); font: 500 22px/1 var(--display); }
.quote-steps .is-current { border-color: var(--brand); }
.quote-steps .is-current::before { background: var(--brand); color: #fff; }
.quote-steps span { font: 500 20px/1.2 var(--display); color: var(--sub); letter-spacing: -0.5px; }
.quote-steps small { font-size: 14px; color: var(--light); }
.quote-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 32px; }
.quote-tools input { flex: 1 1 360px; max-width: 640px; padding: 16px 20px; font-size: 16px; }
.quote-tools .meta { margin: 0; }
.quote-tools a, .catalog-section header p a { color: var(--brand); }
.quote-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.quote-summary { position: sticky; top: 24px; padding: 28px; border-radius: var(--radius); background: var(--dark); color: #fff; box-shadow: 0 10px 30px rgba(19, 65, 108, 0.25); }
.quote-summary h2 { color: #fff; font-size: 28px; letter-spacing: -0.8px; margin-bottom: 8px; }
.quote-summary .meta { color: var(--subtle); font-size: 13px; }
.quote-total { margin-bottom: 12px; }
.quote-total strong { font: 500 40px/1 var(--display); color: var(--lighter); margin-right: 6px; }
.quote-list { list-style: none; margin: 0 0 20px; padding: 0; max-height: 40vh; overflow-y: auto; }
.quote-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); font-size: 14px; }
.quote-remove { flex: none; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); cursor: pointer; position: relative; }
.quote-remove::before, .quote-remove::after { content: ''; position: absolute; left: 7px; top: 11px; width: 10px; height: 2px; background: #fff; transform: rotate(45deg); }
.quote-remove::after { transform: rotate(-45deg); }
.quote-remove:hover { background: #e22d2d; }
.quote-summary .button { margin-bottom: 16px; }
.quote-summary .button:hover { background: #fff; color: var(--dark); }
.catalog-section header h2 { margin: 0 0 4px; font-size: 24px; letter-spacing: -0.8px; color: var(--sub); }

/* Services page */
.theme-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.theme-tiles a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 16px; align-items: center; height: 100%; padding: 20px; border: 2px solid var(--border); border-radius: var(--radius); text-decoration: none; transition: border-color 0.2s ease; }
.theme-tiles a:hover { border-color: var(--brand); }
.theme-tiles .icon { grid-row: span 2; width: 48px; height: 48px; }
.theme-tiles strong { font: 500 22px/1.2 var(--display); letter-spacing: -0.6px; color: var(--sub); }
.theme-tiles span { font-size: 14px; color: var(--light); }
.theme { padding-block: clamp(56px, 7vw, 100px); scroll-margin-top: 0; }
.theme-wash { background: var(--wash); }
.theme-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr); gap: clamp(32px, 4vw, 60px); align-items: start; }
.theme-head { position: sticky; top: 32px; }
.theme-head .round-icon { width: 88px; height: 88px; margin-bottom: 24px; }
.theme-head .round-icon .icon { width: 44px; height: 44px; }
.theme-head .text { margin-bottom: 28px; }
.line-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.line-cards > li { display: flex; flex-direction: column; padding: 28px; border: 2px solid var(--border); border-radius: var(--radius); background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.line-cards > li:hover { border-color: var(--brand); box-shadow: 0 10px 30px rgba(19, 65, 108, 0.1); }
.line-cards > li:only-child { grid-column: 1 / -1; }
.line-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.line-card-top .icon { width: 64px; height: 64px; }
.line-meta { padding: 6px 12px; border-radius: 100px; background: var(--subtle); color: var(--dark); font-size: 12px; font-weight: 600; white-space: nowrap; }
.line-cards h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.8px; }
.line-cards h3 a { text-decoration: none; }
.line-cards h3 a:hover { color: var(--brand); }
.line-cards p { margin-bottom: 20px; }
.line-cards .check-list { margin-bottom: 24px; }
.line-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--brand); font-weight: 600; font-size: 14px; text-decoration: none; }
.line-link:hover { text-decoration: underline; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); }
.check-list li::after { content: ''; position: absolute; left: 7px; top: 7px; width: 8px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.check-list-light li::before { width: 20px; height: 20px; background: var(--subtle); }
.check-list-light li::after { left: 6px; top: 7px; border-color: var(--brand); }
.capability-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.capability-grid li { padding: 28px; border: 2px solid var(--border); border-radius: var(--radius); }
.capability-grid li:first-child { background: var(--brand); border-color: var(--brand); color: #fff; }
.capability-grid li:first-child .icon, .capability-grid li:first-child h3 { color: #fff; }
.capability-grid .icon { width: 56px; height: 56px; margin-bottom: 16px; }
.capability-grid h3 { margin-bottom: 8px; }
.capability-grid p { margin: 0; }
.line-story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.line-photo { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; }
.plan-card { position: sticky; top: 32px; padding: 36px; border-radius: var(--radius); background: var(--dark); color: #fff; text-align: center; }
.plan-card .round-icon { margin: 0 auto 20px; background: var(--brand); }
.plan-card h2 { color: #fff; font-size: 30px; letter-spacing: -0.8px; }
.plan-card p { color: var(--subtle); margin-bottom: 24px; }
.plan-card .button { margin-top: 10px; }
.behind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.behind-grid h3 { color: #fff; margin-bottom: 16px; }
.behind-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.behind-grid a { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px; border-radius: var(--radius); background: #fff; color: var(--text); font-size: 14px; text-decoration: none; }
.behind-grid .icon { width: 40px; height: 40px; stroke-width: 1.6; }
.behind-grid strong { display: block; margin-bottom: 2px; font: 500 17px/1.25 var(--display); color: var(--sub); letter-spacing: -0.3px; }
.behind-grid a:hover strong { color: var(--brand); }
.catalog-nav { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 24px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 14px; }
.catalog-nav p { margin: 18px 0 6px; font: 700 12px/1.5 var(--body); letter-spacing: 1px; text-transform: uppercase; color: var(--brand); }
.catalog-nav p:first-child { margin-top: 0; }
.catalog-nav ul { list-style: none; margin: 0; padding: 0; }
.catalog-nav a { display: block; padding: 5px 0; color: var(--text); text-decoration: none; }
.catalog-nav a:hover, .catalog-nav a.is-current { color: var(--brand); }
.catalog-nav a.is-current { font-weight: 600; }
.catalog-group + .catalog-group { margin-top: 64px; }
.catalog-group > h2 { margin-bottom: 4px; font-size: clamp(28px, 3vw, 40px); }
.catalog-section { margin-top: 20px; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 24px; }
.catalog-section header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 24px; background: var(--wash); }
.catalog-section header .icon { width: 56px; height: 56px; }
.catalog-section header h3 { margin: 0 0 4px; }
.catalog-section header h3 a { text-decoration: none; }
.catalog-section header h3 a:hover { color: var(--brand); }
.catalog-section header p { margin: 0; font-size: 14px; }
.catalog-section .count { color: var(--light); font-size: 13px; white-space: nowrap; }
.service-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-items li { border-top: 1px solid var(--border); }
.service-items li:nth-child(odd) { border-right: 1px solid var(--border); }
.service-items label { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; height: 100%; padding: 18px 24px; cursor: pointer; transition: background 0.15s ease; }
.service-items label:hover { background: #f6f9fc; }
.service-items input { position: absolute; opacity: 0; }
.item-text strong { display: block; font: 500 17px/1.3 var(--display); color: var(--sub); letter-spacing: -0.3px; }
.item-text span { display: block; font-size: 14px; color: var(--text); margin-top: 4px; }
.item-toggle { display: grid; place-items: center; width: 26px; height: 26px; margin-top: 2px; border: 2px solid var(--border); border-radius: 5px; transition: background 0.15s ease, border-color 0.15s ease; }
.item-toggle::after { content: ''; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.service-items input:checked ~ .item-toggle { background: var(--brand); border-color: var(--brand); }
.service-items input:checked ~ .item-toggle::after { opacity: 1; }
.service-items li:has(input:checked) label { background: #eef5fc; }
.service-items input:focus-visible ~ .item-toggle { outline: 3px solid var(--lighter); outline-offset: 2px; }
.item-more { display: block; padding: 0 24px 16px; margin-top: -8px; font-size: 13px; font-weight: 600; color: var(--brand); }
[data-item][hidden], [data-section][hidden], [data-group][hidden] { display: none; }
.quote-bar { position: fixed; inset: auto 0 0; z-index: 15; background: var(--dark); color: #fff; box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15); transition: transform 0.3s ease; }
.quote-bar.is-empty { transform: translateY(110%); }
@media (min-width: 1025px) { .quote-bar-mobile { display: none; } }
.quote-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.quote-bar p { margin: 0; }
.quote-bar strong { font: 500 22px/1 var(--display); color: var(--lighter); }

/* Forms: grey fields like the kit's contact form */
input:not([type='checkbox']), select, textarea { width: 100%; font: 500 14px/1.5 var(--body); color: var(--ink); background: #f7f7f7; border: 1px solid var(--border); border-radius: 5px; padding: 14px 16px; }
textarea { min-height: 140px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 0; background: #fff; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px 60px; align-items: start; }
.contact-list { list-style: none; margin: 32px 0; padding: 0; display: grid; gap: 14px; font-size: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list svg, .footer-contact svg { width: 20px; height: 20px; flex: none; fill: var(--brand); }
.contact-list a { color: var(--sub); text-decoration: none; }
.contact-list a:hover { color: var(--brand); }
.contact-list address { font-style: normal; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.field label, .service-picker legend, .picked-items legend { display: block; margin-bottom: 6px; font: 600 13px/1.5 var(--body); color: var(--sub); }
.field-wide { grid-column: 1 / -1; }
.service-picker { border: 0; margin: 0; padding: 0; min-width: 0; }
.service-picker legend { padding: 0; margin-bottom: 10px; }
.picker { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-block; padding: 9px 16px; border: 1px solid var(--border); border-radius: 5px; background: #f7f7f7; font-size: 14px; font-weight: 500; transition: background 0.15s ease, border-color 0.15s ease; }
.pick:hover span { border-color: var(--brand); }
.pick input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pick input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.picked-items { margin: 0; padding: 16px 18px; min-width: 0; border: 1px solid var(--border); border-radius: 5px; }
.picked-items ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.picked-items label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.picked-items input { width: 18px; height: 18px; accent-color: var(--brand); }
.picked-items .meta { margin: 0; }
.picked-items .meta a { color: var(--brand); }
.field-error, .form-error { color: #e22d2d; font-size: 13px; margin: 6px 0 0; }
.trap { position: absolute; left: -9999px; }
.map { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(1); }
.notices p { margin: 20px 0 0; padding: 14px 20px; border-left: 4px solid var(--brand); border-radius: 5px; background: var(--subtle); }

.not-found { min-height: 100vh; }
.not-found .banner-inner > p:first-child { font: 400 16px/1.5 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.not-found .actions { justify-content: center; margin-top: 30px; }

.feature-cards-light li { background: #fff; border-color: #fff; color: var(--text); }
main > .dark-band:last-child { border-radius: var(--radius) var(--radius) 0 0; }
.brand-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 20px; }
.brand-row li { display: grid; place-items: center; min-height: 96px; padding: 20px; border: 2px solid var(--border); border-radius: var(--radius); font: 600 22px/1.2 var(--display); letter-spacing: -0.5px; color: var(--light); text-align: center; }
.prose-left { margin-inline: 0; margin-bottom: 32px; }
.prose .lede { font-size: 19px; color: var(--sub); }
.button-outline { border: 2px solid var(--brand); color: var(--brand); padding-block: 14px; }
.actions-center { justify-content: center; margin-top: 32px; }
.sticky { position: sticky; top: 24px; }
.carousel { position: relative; margin: 40px auto 0; max-width: 1000px; }
.carousel-track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > li { flex: 0 0 100%; scroll-snap-align: start; }
.carousel figure { margin: 0; }
.carousel img, .carousel video { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--ink); }
.carousel video { object-fit: contain; }
.carousel figcaption { font-size: 14px; color: var(--light); margin-top: 8px; }
.carousel-step { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--dark); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(13, 20, 24, 0.2); }
.carousel-step:hover { background: #fff; color: var(--brand); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-count { position: absolute; top: 12px; right: 12px; margin: 0; padding: 2px 10px; border-radius: 999px; background: var(--overlay); color: #fff; font-size: 13px; }
.icon-steps-small { gap: 20px; margin-top: 16px; }
.icon-steps-small li { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
.icon-steps-small .icon { width: 48px; height: 48px; }
.icon-steps-small h3 { font-size: 18px; }
.icon-steps-small p { font-size: 14px; }
.banner .actions { margin-top: 30px; }

/* Footer */
.footer { background: var(--dark); color: #fff; padding-block: 100px 40px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.logo-large { font-size: 56px; gap: 12px; margin-bottom: 30px; }
.logo-large .logo-mark { width: 76px; height: 70px; color: #fff; }
.footer-brand p { max-width: 470px; margin: 0; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 30px; }
.footer-links h2 { font-size: 24px; letter-spacing: -0.8px; text-transform: uppercase; color: #fff; margin-bottom: 24px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; margin-top: 56px; padding-top: 20px; border-top: 1px solid #fff; }
.footer-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; align-content: start; }
.footer-contact li { display: flex; align-items: center; gap: 16px; font-size: 20px; }
.footer-contact svg { width: 40px; height: 40px; fill: #fff; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact address { font-style: normal; }
.social { gap: 6px !important; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.social svg { width: 24px; height: 24px; fill: var(--dark); }
.legal { margin: 40px 0 0; font-size: 13px; color: var(--subtle); }

/* Guides: article with sidebar, contents, tag cloud, archive, pagination, comments */
.section + .theme-wash { padding-top: clamp(56px, 7vw, 100px); }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; align-items: start; }
.split-head + .blog-layout { margin-top: 50px; }
.blog-main .prose { max-width: 760px; }
.blog-main .cover { margin-inline: 0; }
.prose h3 { font-size: 22px; margin: 1.3em 0 0.4em; }
.prose h2, .prose h3 { scroll-margin-top: 100px; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); }
.prose figure { margin: 1.6em 0; }
.prose figure.image-style-side, .prose figure.image-style-align-right { float: right; max-width: 45%; margin: 0.3em 0 1em 1.6em; }
.prose figure.image-style-align-left { float: left; max-width: 45%; margin: 0.3em 1.6em 1em 0; }
.prose figcaption { font-size: 13px; color: var(--light); margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--brand); color: var(--sub); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { background: var(--wash); color: var(--ink); }
.tag-row-left { margin: 24px 0 0; max-width: 760px; }
.blog-aside { position: sticky; top: 110px; display: grid; gap: 22px; }
.aside-box { padding: 26px; border-radius: var(--radius); background: var(--wash); }
.aside-box h2 { font-size: 18px; margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.toc .toc-3 { padding-left: 14px; }
.toc a, .archive-list a { color: var(--sub); text-decoration: none; }
.toc a:hover, .archive-list a:hover { color: var(--brand); text-decoration: underline; }
.tag-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { display: inline-flex; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--dark); font-size: 13px; font-weight: 500; text-decoration: none; }
.tag-cloud a span { color: var(--light); }
.tag-cloud a:hover, .tag-cloud a[aria-current] { background: var(--brand); color: #fff; }
.tag-cloud a:hover span, .tag-cloud a[aria-current] span { color: var(--subtle); }
.archive-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.archive-list span { color: var(--light); }
.aside-feed { margin: 0; font-size: 14px; }
.aside-feed a { color: var(--brand); }
.guide-cards-two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.guide-cards p { color: var(--subtle); font-size: 14px; line-height: 1.6; margin: -8px 0 18px; }
.pagination { display: flex; gap: 20px; align-items: center; justify-content: center; margin-top: 40px; font-size: 14px; color: var(--light); }
.pagination a { padding: 10px 18px; border-radius: 5px; background: var(--wash); color: var(--dark); font-weight: 600; text-decoration: none; }
.pagination a:hover { background: var(--brand); color: #fff; }
.comments { max-width: 760px; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border); }
.comments > h2 { font-size: 28px; margin-bottom: 24px; }
.comment { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment p { margin: 0; color: var(--text); line-height: 1.6; }
.comment .comment-meta { display: flex; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.comment-meta strong { color: var(--ink); }
.comment-meta time { font-size: 13px; color: var(--light); }
.comment-form { margin-top: 30px; }
.comment-form h3 { font-size: 22px; margin-bottom: 6px; }
.comments .notice { margin: 24px 0 0; padding: 14px 20px; border-left: 4px solid var(--brand); border-radius: 5px; background: var(--subtle); color: var(--ink); }

@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: minmax(0, 1fr); }
  .blog-aside { position: static; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: calc(100% - 4px); left: 20px; right: 20px; flex-direction: column; align-items: stretch; padding: 8px 0; border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
  .nav.is-open { display: flex; }
  .nav a { color: var(--ink); padding: 12px 24px; }
  .hero-grid, .two-col, .split-head, .faq-layout, .contact-layout, .footer-top, .cta-row { grid-template-columns: minmax(0, 1fr); }
  .hero-proof { margin-top: 20px; }
  .feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blue-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-layout, .theme-grid, .line-story { grid-template-columns: minmax(0, 1fr); }
  .theme-head, .plan-card { position: static; }
  .quote-summary { display: none; }
  .catalog-nav { position: static; max-height: none; display: flex; gap: 8px; overflow-x: auto; padding: 0 0 8px; border: 0; }
  .catalog-nav p { display: none; }
  .catalog-nav ul { display: contents; }
  .catalog-nav a { white-space: nowrap; padding: 8px 14px; border: 1px solid var(--border); border-radius: 5px; }
  .two-col > div:last-child:not(.stacked-photos) { padding-left: 0; }
}

@media (max-width: 767px) {
  h2 { letter-spacing: -0.8px; }
  .hero { min-height: 0; padding-top: 110px; }
  .quote-steps, .line-cards { grid-template-columns: minmax(0, 1fr); }
  .hero-proof, .feature-cards, .blue-cards, .mini-features, .service-items, .fields, .footer-contact, .footer-links { grid-template-columns: minmax(0, 1fr); }
  .service-items li:nth-child(odd) { border-right: 0; }
  .catalog-section header { grid-template-columns: auto minmax(0, 1fr); }
  .catalog-section .count { grid-column: 2; }
  .icon-steps li { grid-template-columns: 56px minmax(0, 1fr); gap: 20px; }
  .icon-steps .icon { width: 56px; height: 56px; }
  .outline-feature { flex-direction: column; }
  .logo-large { font-size: 40px; }
  .footer-contact li { font-size: 16px; }
  .footer-contact svg { width: 28px; height: 28px; }
}

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

/* Sister site: Homes / Buildings switch and the other brand's matching projects. */
.sister-bar { background: rgba(13, 20, 24, 0.55); font-size: 13px; }
.sister-bar nav { display: flex; justify-content: flex-end; gap: 4px; padding: 6px 0; }
.sister-bar a, .sister-bar span { padding: 2px 12px; border-radius: 999px; color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.sister-bar span { background: rgba(255, 255, 255, 0.14); color: #fff; }
.sister-bar a:hover { color: #fff; }
.sister { padding: 72px 0; background: var(--wash); }
.sister-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.sister-eyebrow { margin: 0 0 8px; color: var(--sister-accent); font: 600 14px/1.4 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.sister-head h2 { margin: 0; }
.sister-cards { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.sister-cards li { flex: 0 1 min(100%, 320px); }
.sister-cards a { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border-top: 4px solid var(--sister-accent); border-radius: var(--radius); color: var(--text); text-decoration: none; box-shadow: 0 8px 24px rgba(13, 20, 24, 0.08); transition: transform 0.2s, box-shadow 0.2s; }
.sister-cards a:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(13, 20, 24, 0.14); }
.sister-cards img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sister-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.sister-brand { color: var(--sister-accent); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.sister-body strong { color: var(--ink); font: 600 19px/1.3 var(--display); }
.sister-meta { color: var(--light); font-size: 14px; }
.sister-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sister-skills span { padding: 3px 10px; border-radius: 999px; background: var(--wash); color: var(--sub); font-size: 12px; }
.sister-more { margin: 28px 0 0; text-align: center; }
.sister-more a { color: var(--brand); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .sister-cards a { transition: none; } .sister-cards a:hover { transform: none; } }

/* Sliders: the home hero and the service, project and guide rows. */
.slider { --per: 3; --gap: 20px; position: relative; }
.slider.hero-slider { --per: 1; --gap: 0px; }
.slider .slider-track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin: -10px -6px; padding: 10px 6px; scroll-padding-inline: 6px; }
.hero-slider .slider-track { margin: 0; padding: 0; scroll-padding-inline: 0; }
.slider-track::-webkit-scrollbar { display: none; }
.slider .slider-track > li { position: relative; flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; scroll-snap-align: start; }
.hero-slider .slider-track > li { display: flex; }
.hero-slider .slider-track > li > .hero { flex: 1; min-width: 0; }
.hero-photo { overflow: hidden; }
.hero-photo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-photo::before { background: linear-gradient(90deg, rgba(13, 20, 24, 0.85), rgba(13, 20, 24, 0.55) 55%, rgba(13, 20, 24, 0.25)); }
.hero-photo h2 { color: #fff; font-size: clamp(32px, 4vw, 56px); max-width: 16ch; margin-bottom: 24px; }
.slider-step { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--dark); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(13, 20, 24, 0.2); }
.slider-step:hover { color: var(--brand); }
.slider-prev { left: -22px; }
.slider-next { right: -22px; }
.hero-slider .slider-prev { left: 20px; }
.hero-slider .slider-next { right: 20px; }
.slider-bar { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; }
.hero-slider .slider-bar { position: absolute; inset: auto 0 24px; margin: 0; }
.slider-dots { display: flex; }
.slider-dots button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.slider-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--border); transition: width 0.3s ease, background 0.3s ease; }
.slider-dots button[aria-current='true'] { width: 36px; }
.slider-dots button[aria-current='true']::before { width: 26px; background: var(--brand); }
.hero-slider .slider-dots button::before { background: rgba(255, 255, 255, 0.5); }
.hero-slider .slider-dots button[aria-current='true']::before { background: #fff; }
.slider-play { width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; background: rgba(13, 20, 24, 0.35); color: #fff; font-size: 10px; cursor: pointer; }
.slider.is-static .slider-step, .slider.is-static .slider-bar { display: none; }
@media (max-width: 1024px) { .slider { --per: 2; } .slider-step { display: none; } }
@media (max-width: 640px) { .slider { --per: 1.12; --gap: 14px; } .hero-photo h2 { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { .slider-dots button::before { transition: none; } }

/* Areas page: stats, regions, service map and the "anywhere" band. */
.area-stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 auto 48px; padding: 0; max-width: 960px; }
.area-stats li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 16px; border: 2px solid var(--border); border-radius: var(--radius); text-align: center; }
.area-stats strong { font: 500 clamp(26px, 2.6vw, 36px)/1 var(--display); color: var(--brand); letter-spacing: -1px; }
.area-stats span { color: var(--light); font-size: 14px; }
.areas-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 40px; align-items: start; }
.area-regions { display: grid; gap: 28px; }
.area-region h2 { font: 700 12px/1.5 var(--body); text-transform: uppercase; letter-spacing: 1px; color: var(--brand); margin: 0 0 12px; }
.area-region ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.area-region a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 2px solid var(--border); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.area-region a:hover { border-color: var(--brand); box-shadow: 0 10px 24px -14px rgba(19, 65, 108, 0.45); transform: translateY(-2px); }
.area-name { font: 500 16px/1.3 var(--display); }
.area-km { margin-left: auto; color: var(--light); font-size: 13px; white-space: nowrap; }
.area-chip { padding: 2px 8px; border-radius: 999px; background: var(--subtle); color: var(--dark); font-size: 12px; font-weight: 600; white-space: nowrap; }
.area-chip-home { background: var(--brand); color: #fff; }
.area-map { --accent: var(--brand); --night: var(--dark); --on-night: #fff; --on-night-muted: rgba(255, 255, 255, 0.72); position: sticky; top: 110px; margin: 0; padding: 20px; border-radius: var(--radius); background: linear-gradient(160deg, #0e2f50, var(--dark) 60%, #0b2742); }
.area-map svg { display: block; width: 100%; height: auto; }
.area-map figcaption { color: rgba(255, 255, 255, 0.72); font-size: 13px; margin-top: 10px; }
.area-lake { fill: rgba(100, 166, 228, 0.22); stroke: rgba(100, 166, 228, 0.45); stroke-width: 1; }
.area-ring { fill: none; stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.4; stroke-dasharray: 5 6; }
.area-ring-label { fill: rgba(255, 255, 255, 0.75); font-size: 12px; font-family: var(--body); paint-order: stroke; stroke: var(--dark); stroke-width: 4px; }
.area-dot circle { fill: #fff; stroke: var(--dark); stroke-width: 2; }
.area-dot text { fill: rgba(255, 255, 255, 0.8); font-size: 13px; font-family: var(--body); }
.area-dot:hover circle, .area-dot:focus circle, .area-dot-home circle { fill: var(--lighter); }
.area-dot:hover text, .area-dot:focus text, .area-dot-home text { fill: #fff; }
.area-dot-home text { font-weight: 700; font-size: 14px; }
.areas-anywhere { background: var(--wash); padding-top: clamp(56px, 7vw, 100px) !important; }
.areas-anywhere-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.areas-anywhere h2 { margin: 0; }
@media (max-width: 1024px) { .areas-layout, .areas-anywhere-grid { grid-template-columns: minmax(0, 1fr); } .area-map { position: static; order: -1; } .area-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .area-region ul { grid-template-columns: minmax(0, 1fr); } .area-stats strong { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .area-region a { transition: none; } .area-region a:hover { transform: none; } }
.areas-anywhere .button-outline { background: transparent; color: var(--brand); } .areas-anywhere .button-outline:hover { background: var(--brand); color: #fff; }
