/* D&D Windows UK — one shared stylesheet. Tokens from the design system (claude.ai artifact BQAYF4tUvxNbpZffTeNUsw, v3 "light and bright").
   No inline styles anywhere (strict CSP). Font self-hosted (§1.45). */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-var-2.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --sky: #eef7ff;
  --sky-strong: #d3ebfd;
  --sky-line: #a9cdea;
  --glass: #1aa1fd;
  --glass-deep: #0067c0;
  --glass-deeper: #004f94;
  --silver: #d5d5d7;
  --ink: #15171a;
  --ink-soft: #3c4047;
  --ink-muted: #50555c;
  --line: #d9dde2;
  --line-strong: #868c94;
  --whatsapp: #25d366;
  --danger: #b42318;
  --success: #1d6b37;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --gutter: 16px;
  --section: 56px;
}
@media (min-width: 760px) { :root { --gutter: 32px; --section: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (max-width: 759px) { html { scroll-padding-bottom: 80px; } }  /* clear of the fixed call bar */
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--glass-deep); text-underline-offset: 3px; }
a:hover { color: var(--glass-deeper); }
:focus-visible { outline: 3px solid var(--glass-deep); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0; }  /* text-wrap: balance dropped: ~25% of style/layout time on mobile Lighthouse (A/B, 11 Oct) */
.hero h1, .page-hero h1 { text-wrap: balance; }
h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.01em; }  /* one size for every section heading */
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0; }
.wide { font-stretch: 125%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-md); font-weight: 700; }
.skip:focus { top: 8px; color: var(--paper); }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--glass-deep); }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-soft); }
.muted { color: var(--ink-muted); }
.bar { width: 104px; height: 7px; background: var(--glass); }
.section { padding-block: var(--section); }
.section-sky { background: var(--sky); }
.section-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 36px; }
.section-intro > div { display: grid; gap: 10px; }
.section-intro > p { max-width: 460px; color: var(--ink-muted); }
.todo { display: inline-block; padding: 8px 12px; border: 2px dashed var(--line-strong); border-radius: var(--r-md); color: var(--ink-muted); font-size: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: var(--r-md); font: 700 16px/1.2 var(--font); text-decoration: none; cursor: pointer; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 18px; }
.btn-call { background: var(--glass); color: var(--ink); }
.btn-call:hover { background: #4db6fd; color: var(--ink); }
.btn-whatsapp { background: var(--whatsapp); color: var(--ink); }
.btn-whatsapp:hover { background: #4ade80; color: var(--ink); }
.btn-primary { background: var(--glass-deep); color: var(--paper); }
.btn-primary:hover { background: var(--glass-deeper); color: var(--paper); }
.btn-outline { background: transparent; color: var(--glass-deep); border-color: var(--glass-deep); }
.btn-outline:hover { background: var(--sky); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--paper); border-top: 5px solid var(--glass); border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.brand { display: grid; gap: 2px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-name { font-size: 24px; line-height: 26px; font-weight: 800; font-stretch: 125%; letter-spacing: -0.01em; white-space: nowrap; }
.brand-name .amp { color: var(--glass-deep); }
.brand-tag { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
.head-actions { display: flex; align-items: center; gap: 8px; }
.head-actions .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
.head-actions .btn-whatsapp, .head-actions .long { display: none; }
.nav-toggle { width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--paper); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(21, 23, 26, 0.08); max-height: calc(100vh - 80px); overflow-y: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; display: grid; }
.site-nav a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--glass-deep); }
@media (max-width: 374px) { .brand-name { font-size: 21px; line-height: 24px; } .brand-tag { font-size: 10px; letter-spacing: 0.1em; } }
@media (min-width: 1000px) { .brand-name { font-size: 26px; line-height: 28px; } }
@media (max-width: 759px) { .head-actions .btn-call { display: none; } }  /* phones have the fixed Call/WhatsApp bar */
@media (min-width: 900px) { .head-actions .btn-whatsapp { display: inline-flex; } }
@media (min-width: 1280px) {
  .head-inner { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; box-shadow: none; border: 0; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; gap: 20px; padding: 0; }
  .site-nav a, .head-actions .btn { white-space: nowrap; }
  .site-nav a { padding: 6px 0; border: 0; font-size: 15px; }
  .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--glass); text-decoration-thickness: 3px; text-underline-offset: 8px; }
  .head-actions .long { display: inline; }
  .site-nav .nav-mobile { display: none; }
  .head-actions .short { display: none; }
  .head-actions { order: 3; }
}

/* Breadcrumbs */
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--glass-deep); text-decoration: underline; }
.crumbs [aria-current] { display: inline-block; padding-block: 4px; color: var(--ink); font-weight: 600; }  /* same box as the links so they line up */
/* Stand-alone small links: at least 24px tall to tap (WCAG 2.5.8); links inside sentences are exempt */
.crumbs a, .foot-grid ul a, .foot-grid address a, .section-intro p a, .foot-base a { display: inline-block; padding-block: 4px; }

/* Hero (home) */
.hero { background: var(--sky); }
.hero-grid { display: grid; gap: 44px; align-items: center; padding-block: 44px 56px; }
.hero-copy { display: grid; gap: 20px; max-width: 580px; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.04; font-weight: 800; font-stretch: 125%; letter-spacing: -0.015em; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 10px; height: 10px; background: var(--glass); flex: none; }
.hero-photo { margin: 0; position: relative; }
.hero-photo::before { content: ""; position: absolute; top: -12px; right: -12px; width: 46%; height: 46%; background: var(--sky-strong); }
.hero-photo::after { content: ""; position: absolute; bottom: -12px; left: -12px; width: 110px; height: 110px; border-left: 7px solid var(--glass); border-bottom: 7px solid var(--glass); }
.hero-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1080 / 1008; object-fit: cover; border-radius: var(--r-sm); }
.hero-photo figcaption { position: absolute; z-index: 2; left: 16px; bottom: 16px; background: var(--paper); padding: 7px 12px; font-size: 14px; font-weight: 600; border-radius: var(--r-sm); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; padding-block: 72px 88px; } }

/* Page hero (inner pages) */
.page-hero { background: var(--sky); padding-block: 32px 48px; }
.page-hero-grid { display: grid; gap: 36px; align-items: center; }
.page-hero-copy { display: grid; gap: 18px; max-width: 640px; }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.06; font-weight: 800; font-stretch: 125%; letter-spacing: -0.012em; }
.page-hero .hero-photo img { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .page-hero { padding-block: 40px 72px; } .page-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }

/* Window-pane motif: the "glazing bars" detail used on the quote band */
.panes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 132px; }
.panes span { aspect-ratio: 5 / 4; background: var(--paper); border: 2px solid var(--glass); }
.panes span:nth-child(2), .panes span:nth-child(7) { background: var(--sky-strong); }

/* Service cards */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color 0.15s; }
.card:hover { color: var(--ink); border-color: var(--glass-deep); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 20px 22px 22px; display: grid; gap: 8px; }
.card-body p { color: var(--ink-muted); font-size: 16px; line-height: 1.5; }
.card-more { font-size: 15px; font-weight: 700; color: var(--glass-deep); }
@media (max-width: 559px) {
  .cards { gap: 14px; }
  .card { display: grid; grid-template-columns: 118px 1fr; }
  .card picture, .card img { height: 100%; }
  .card img { aspect-ratio: auto; min-height: 118px; }
  .card-body { padding: 12px 14px; gap: 4px; align-content: center; }
  .card-body h3 { font-size: 18px; }
  .card-body p { font-size: 14px; line-height: 1.4; }
  .card-more { display: none; }
}

/* Quote + steps */
.split { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.pull { margin: 0; display: grid; gap: 20px; }
.pull p { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; font-weight: 700; }
.pull footer { font-size: 16px; color: var(--ink-muted); }
.pull footer strong { color: var(--ink); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; counter-increment: step; }
.steps li::before { content: counter(step); font-size: 30px; line-height: 1; font-weight: 800; color: var(--glass-deep); }
.steps strong { display: block; font-size: 18px; margin-bottom: 4px; }
.steps span { color: var(--ink-muted); font-size: 16px; line-height: 1.5; }

/* Photos */
.photo-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.photo-card { margin: 0; display: grid; gap: 8px; align-content: start; }
.photo-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.photo-card figcaption { font-size: 15px; line-height: 1.4; color: var(--ink-muted); }
.photo-card button { all: unset; display: block; cursor: zoom-in; border-radius: var(--r-sm); }
.photo-card button:focus-visible { outline: 3px solid var(--glass-deep); outline-offset: 2px; }
.lightbox { border: 0; padding: 0; max-width: min(96vw, 1100px); background: transparent; }
.lightbox::backdrop { background: rgba(21, 23, 26, 0.86); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--r-sm); }
.lightbox p { color: var(--paper); text-align: center; margin-top: 10px; font-weight: 600; }
.lightbox-close { position: fixed; top: 14px; right: 14px; min-height: 46px; padding: 0 16px; border: 0; border-radius: var(--r-md); background: var(--paper); color: var(--ink); font: 700 16px var(--font); cursor: pointer; }
.gallery-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.gallery-group + .gallery-group { margin-top: 56px; }
.gallery-group h2 { margin-bottom: 20px; }

/* Panels: areas */
.panels { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.panel { border-radius: var(--r-md); padding: 32px 28px; display: grid; gap: 16px; align-content: start; border: 1px solid var(--line); background: var(--paper); }
.panel-sky { background: var(--sky-strong); border-color: var(--sky-strong); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-md); color: var(--ink); text-decoration: none; font-weight: 600; background: var(--paper); }
.chips a:hover { border-color: var(--glass-deep); color: var(--glass-deep); }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); font-weight: 600; background: var(--paper); }
.chips a[aria-current="page"] { border-color: var(--glass-deep); background: var(--sky); }

/* Long-form content (service, area, about pages) */
.prose { display: grid; gap: 18px; max-width: 68ch; }
.prose h2 { margin-top: 18px; }
.prose h3 { margin-top: 8px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.prose li::marker { color: var(--glass-deep); }
.prose .chips { display: flex; padding-left: 0; }
/* Photo sets inside text columns: columns match the count so none sits alone */
.prose .photo-grid { gap: 12px; }
.prose .photo-grid-n2, .prose .photo-grid-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose .photo-grid-n3, .prose .photo-grid-n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose .photo-grid figcaption { font-size: 14px; }
.content-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .content-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; } }
.aside { display: grid; gap: 20px; }
@media (min-width: 1000px) { .aside { position: sticky; top: 110px; } }
.aside-box { background: var(--sky); border-radius: var(--r-md); padding: 24px; display: grid; gap: 14px; }
.aside-box h2 { font-size: 22px; }
.aside-phone { font-size: 28px; font-weight: 800; color: var(--ink); text-decoration: none; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.check-list li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; background: var(--glass); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq h2 { margin-bottom: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--glass-deep); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 20px; color: var(--ink-soft); }

/* Enquiry */
.enquiry { background: var(--sky); border-top: 5px solid var(--glass); padding-block: var(--section); }
.enquiry-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 900px) { .enquiry-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.enquiry-side { display: grid; gap: 18px; }
.enquiry-phone { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; font-weight: 800; color: var(--ink); text-decoration: none; }
.enquiry-phone:hover { color: var(--glass-deep); }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 18px; }
@media (min-width: 560px) { .form { padding: 32px; } }
.form-fields { display: grid; gap: 18px; }
.form-row-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.optional { font-weight: 400; color: var(--ink-muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 12px; }
.field input[type="file"] { padding: 10px; font-size: 15px; }
.field textarea { min-height: 120px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
.form-note { font-size: 14px; color: var(--ink-muted); }
.form .btn-primary { justify-self: start; min-height: 52px; padding: 0 34px; font-size: 18px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--success); }
.form-status.is-err { color: var(--danger); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 48px 28px; background: var(--paper); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.foot-grid h2 { font-size: 15px; margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-grid ul a { color: var(--ink); text-decoration: none; }
.foot-grid li:not(:has(a)) { padding-block: 4px; }  /* plain-text area names line up with the link lists */
.foot-grid ul a:hover { color: var(--glass-deep); text-decoration: underline; }
.foot-grid address { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--ink-muted); }
.foot-grid address a { color: var(--ink); font-weight: 700; text-decoration: none; }
.foot-grid address a:hover { color: var(--glass-deep); text-decoration: underline; }
.foot-base a { color: var(--ink-muted); text-decoration: none; }
.foot-base a:hover { color: var(--glass-deep); text-decoration: underline; }
.foot-brand { display: grid; gap: 12px; grid-column: 1 / -1; }  /* own row until 1280px: the wordmark is wider than a 200px column */
@media (min-width: 1280px) { .foot-grid { grid-template-columns: minmax(300px, 1.3fr) repeat(3, 1fr); } .foot-brand { grid-column: auto; } }
.foot-brand p { font-size: 15px; color: var(--ink-muted); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 18px; font-size: 14px; color: var(--ink-muted); }

/* Mobile call bar */
.callbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; background: var(--paper); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.callbar .btn { min-height: 48px; }
body { padding-bottom: 72px; }
@media (min-width: 760px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* 404 */
.notfound { padding-block: var(--section); display: grid; gap: 20px; max-width: 720px; }

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