/* CDA Property Services — cdaps.co.uk
   Palette taken from the work itself: RAL 7016 anthracite frames, plaster, mortar, van orange. */
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-wdth.woff2') format('woff2-variations'), url('/fonts/archivo-wdth.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/newsreader-italic.woff2') format('woff2');
  font-weight: 200 800; font-style: italic; font-display: swap;
}

:root {
  --anthracite: #383E42;
  --ink: #1F2326;
  --ink-2: #4A5156;
  --plaster: #F4F5F3;
  --white: #FFFFFF;
  --mortar: #D6D5CF;
  --orange: #EE7F1B;
  --orange-ink: #B85A07; /* orange dark enough for text on light backgrounds */
  --on-dark: #F4F5F3;
  --on-dark-2: #C9CDD0;

  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --r: 3px;

  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-quote: 'Newsreader', Georgia, serif;

  /* modular scale ~1.25 */
  --t-sm: 0.889rem;
  --t-base: 1.125rem;   /* 18px */
  --t-md: 1.333rem;
  --t-lg: 1.777rem;
  --t-xl: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
  --t-xxl: clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--plaster); color: var(--ink); font: 400 var(--t-base)/1.6 var(--f); font-stretch: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f); font-stretch: 118%; font-weight: 760; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: var(--t-xxl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-md); }
p { margin: 0 0 1em; max-width: 68ch; }
address { font-style: normal; }
ul, ol { padding: 0; margin: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 820px; }
.muted { color: var(--ink-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--r); }
.skip:focus { top: 12px; }
.lead { font-size: var(--t-md); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.section-h { font-size: var(--t-lg); margin-bottom: 1.1em; }
.text-link { font-weight: 650; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

/* ── Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.55em; min-height: 52px; padding: 0.7em 1.25em; border-radius: var(--r); border: 2px solid transparent; font: 650 var(--t-base)/1 var(--f); font-stretch: 108%; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #F4973F; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--plaster); border-color: var(--ink); }
.btn svg { flex: none; }

/* ── Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--anthracite); color: var(--on-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; color: inherit; line-height: 1; padding-block: 8px; }
.wm-cda { font-weight: 850; font-stretch: 125%; font-size: 1.9rem; letter-spacing: 0.32em; margin-right: -0.32em; }
.wm-ps { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; margin-top: 6px; padding-top: 5px; border-top: 3px solid var(--orange); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; }
.nav-list > li > a { display: block; padding: 12px 14px; text-decoration: none; font-weight: 600; font-stretch: 108%; border-radius: var(--r); }
.nav-list > li > a:hover, .nav-list > li > a[aria-current] { background: rgba(255,255,255,0.09); }
.nav-list > li > a[aria-current] { box-shadow: inset 0 -3px 0 var(--orange); }
.has-sub { position: relative; }
.sub { position: absolute; left: 0; top: 100%; min-width: 280px; background: var(--white); color: var(--ink); padding: 8px; border-radius: var(--r); box-shadow: 0 12px 32px rgba(31,35,38,0.22); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 12px; text-decoration: none; border-radius: var(--r); }
.sub a:hover { background: var(--plaster); }
.btn-call { background: var(--orange); color: var(--ink); min-height: 48px; }
.btn-call:hover { background: #F4973F; }
.nav-toggle { display: none; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 2px solid rgba(255,255,255,0.4); color: inherit; font: 600 1rem var(--f); padding: 10px 14px; border-radius: var(--r); cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .site-nav { position: fixed; inset: 80px 0 auto 0; max-height: calc(100dvh - 80px); overflow: auto; background: var(--anthracite); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 28px; border-top: 1px solid rgba(255,255,255,0.12); display: none; }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list > li > a { padding: 14px 0; font-size: 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: 0; }
  .nav-list > li > a[aria-current] { box-shadow: none; color: var(--orange); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; color: var(--on-dark-2); box-shadow: none; padding: 4px 0 8px 14px; min-width: 0; }
  .sub a { padding: 8px 0; }
  .sub a:hover { background: none; color: #fff; }
  .btn-call { margin-top: 20px; justify-content: center; }
}

/* ── Home hero */
.hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); min-height: min(86vh, 820px); background: var(--plaster); }
.hero-copy { padding: clamp(40px, 6vw, 88px) var(--gut) clamp(40px, 5vw, 72px) max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(2rem, 1.1rem + 2.1vw, 3.1rem); max-width: 17ch; }
.taglines { margin: 8px 0 36px; border-top: 1px solid var(--mortar); }
.taglines li { padding: 12px 0; border-bottom: 1px solid var(--mortar); color: var(--ink-2); font-size: var(--t-md); }
.taglines span { color: var(--ink); font-weight: 700; font-stretch: 112%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { margin: 0; position: relative; min-height: 360px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.hero-media figcaption, .svc-hero-media figcaption, .about-media figcaption { position: absolute; left: 0; bottom: 0; background: var(--anthracite); color: var(--on-dark); font-size: var(--t-sm); padding: 10px 16px; max-width: 90%; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .hero-copy { padding: 36px var(--gut) 48px; }
}

/* ── Intro */
.intro { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: clamp(24px, 4vw, 64px); padding-block: clamp(64px, 9vw, 120px); align-items: start; }
.intro h2 { font-size: var(--t-lg); }
.facts { margin: 0; display: grid; gap: 24px; }
.facts div { border-left: 4px solid var(--orange); padding-left: 16px; }
.facts dt { font-weight: 760; font-stretch: 115%; font-size: var(--t-md); line-height: 1.2; }
.facts dd { margin: 4px 0 0; color: var(--ink-2); }
@media (max-width: 960px) { .intro { grid-template-columns: 1fr; } }

/* ── Services index (the big type list) */
.svc-index { background: var(--white); padding-block: clamp(64px, 8vw, 112px); position: relative; overflow: hidden; }
.svc-list { border-top: 2px solid var(--ink); }
.svc-row { border-bottom: 1px solid var(--mortar); position: relative; }
.svc-row a { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: baseline; padding: 22px 0; text-decoration: none; }
.svc-name { font-size: clamp(1.6rem, 0.9rem + 2.6vw, 3.4rem); font-weight: 780; font-stretch: 122%; line-height: 1.02; letter-spacing: -0.015em; transition: color .2s; }
.svc-sum { color: var(--ink-2); max-width: 44ch; }
.svc-row a:hover .svc-name, .svc-row a:focus-visible .svc-name { color: var(--orange-ink); }
.svc-thumb { display: none; }
.svc-preview { position: absolute; top: 0; left: 0; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; transition: opacity .18s; z-index: 2; }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 18px 40px rgba(31,35,38,0.3); }
.svc-preview.on { opacity: 1; }
@media (max-width: 760px) {
  .svc-row a { grid-template-columns: 1fr; gap: 6px; padding: 18px 96px 18px 0; }
  .svc-thumb { display: block; position: absolute; right: 0; top: 18px; width: 80px; height: 60px; object-fit: cover; }
  .svc-preview { display: none; }
}
@media (hover: none) { .svc-preview { display: none; } }

/* ── Work mosaic (home) */
.work-teaser { padding-block: clamp(64px, 8vw, 112px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 1.1em; }
.section-head .section-h { margin: 0; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 10px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: var(--mortar); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption, .work-grid figcaption, .gallery-grid figcaption { font-size: var(--t-sm); color: var(--ink-2); padding-top: 8px; }
.mosaic figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: rgba(31,35,38,0.78); color: #fff; }
.m1 { grid-column: span 2; grid-row: span 2; }
.m4, .m7 { grid-column: span 2; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .m1 { grid-column: span 2; grid-row: span 1; }
  .m4 { grid-column: span 1; }
  .m7 { grid-column: span 2; }
}

/* ── Testimonial */
.quote-band { background: var(--anthracite); color: var(--on-dark); padding-block: clamp(64px, 9vw, 120px); }
.quote-inner figure { margin: 0 auto; max-width: 980px; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p { font-family: var(--f-quote); font-style: italic; font-weight: 380; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem); line-height: 1.32; max-width: none; text-wrap: pretty; }
.quote-band blockquote p::before { content: '“'; color: var(--orange); }
.quote-band blockquote p::after { content: '”'; color: var(--orange); }
.quote-band figcaption { margin-top: 28px; color: var(--on-dark-2); }
.quote-band figcaption strong { display: block; color: var(--on-dark); font-stretch: 112%; font-size: var(--t-md); }

/* ── Enquiry band + form */
.cta-band { padding-block: clamp(64px, 8vw, 112px); }
.cta-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cta-copy h2 { font-size: var(--t-xl); }
.big-phone { display: inline-block; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; font-stretch: 118%; text-decoration: none; color: var(--ink); border-bottom: 4px solid var(--orange); line-height: 1.15; }
.big-phone:hover { color: var(--orange-ink); }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

.enquiry { background: var(--white); padding: clamp(22px, 3vw, 36px); border: 1px solid var(--mortar); border-radius: var(--r); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--plaster); border: 1px solid #A9ACA9; border-radius: var(--r); padding: 12px 14px; min-height: 52px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--ink); background: #fff; }
.field [aria-invalid="true"] { border-color: #B3261E; background: #FFF4F3; }
.field .err { color: #B3261E; font-size: var(--t-sm); margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--t-sm); color: var(--ink-2); }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status.ok { color: #1E6B3A; }
.form-status.bad { color: #B3261E; }

/* ── Page heads */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.crumbs { font-size: var(--t-sm); color: var(--ink-2); margin-bottom: 22px; }
.crumbs a { color: var(--ink-2); }

/* ── Service page */
.svc-head, .about-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); background: var(--white); }
.svc-head-copy, .about-head-copy { padding: clamp(40px, 6vw, 88px) var(--gut) clamp(40px, 5vw, 72px) max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); display: flex; flex-direction: column; justify-content: center; }
.svc-head h1 { font-size: clamp(2.1rem, 1.2rem + 2.8vw, 3.8rem); }
.svc-hero-media, .about-media { margin: 0; position: relative; min-height: 420px; }
.svc-hero-media img, .about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-wall { background: var(--anthracite); color: var(--on-dark); display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 72px); }
.brand-wall-h { color: var(--on-dark-2); margin-bottom: 18px; }
.brand-wall ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.brand-wall li { font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); font-weight: 760; font-stretch: 122%; line-height: 1.25; border-bottom: 1px solid rgba(255,255,255,0.14); padding: 8px 0; }
@media (max-width: 960px) {
  .svc-head, .about-head { grid-template-columns: 1fr; }
  .svc-hero-media, .about-media { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .brand-wall { order: 0; }
}
.svc-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 7vw, 96px); }
.prose p { font-size: 1.2rem; line-height: 1.65; }
.prose h2 { font-size: var(--t-lg); margin-top: 1.4em; }
.svc-list-box { border-top: 4px solid var(--orange); padding-top: 22px; }
.svc-list-box h2 { font-size: var(--t-md); }
.ticks li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--mortar); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.95em; width: 14px; height: 8px; border-left: 3px solid var(--orange-ink); border-bottom: 3px solid var(--orange-ink); transform: rotate(-45deg); }
.freefoam-note { margin-top: 22px; font-size: var(--t-sm); color: var(--ink-2); }
@media (max-width: 860px) { .svc-body { grid-template-columns: 1fr; } }
.svc-gallery { padding-bottom: clamp(56px, 7vw, 96px); }
.gallery-grid, .work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
.gallery-grid figure, .work-grid figure { margin: 0; }
.gallery-grid a, .work-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mortar); }
.gallery-grid img, .work-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img, .work-grid a:hover img { transform: scale(1.03); }
@media (max-width: 960px) { .gallery-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery-grid, .work-grid { grid-template-columns: 1fr; } }
.other-svcs { padding-block: clamp(56px, 7vw, 96px) 0; }
.other-svcs ul { display: flex; flex-wrap: wrap; gap: 10px; }
.other-svcs a { display: inline-block; padding: 10px 16px; border: 1px solid var(--ink); border-radius: var(--r); text-decoration: none; font-weight: 600; }
.other-svcs a:hover { background: var(--ink); color: var(--plaster); }

/* ── Services index page tiles */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; padding-bottom: clamp(56px, 7vw, 96px); }
.svc-tile { text-decoration: none; display: block; }
.svc-tile img, .svc-tile-type { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; margin-bottom: 16px; }
.svc-tile-type { background: var(--anthracite); color: var(--on-dark); display: flex; align-items: flex-end; padding: 18px; font-weight: 760; font-stretch: 122%; font-size: 1.3rem; line-height: 1.2; }
.svc-tile h2 { font-size: var(--t-md); margin-bottom: 0.3em; }
.svc-tile p { color: var(--ink-2); font-size: 1rem; }
.svc-tile:hover h2 { color: var(--orange-ink); text-decoration: underline; text-decoration-thickness: 2px; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }

/* ── Our work */
.work { padding-bottom: clamp(56px, 7vw, 96px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { font: 600 1rem var(--f); font-stretch: 106%; padding: 10px 16px; min-height: 46px; background: transparent; border: 1px solid var(--ink); color: var(--ink); border-radius: var(--r); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--plaster); }
.filters .count { opacity: 0.65; font-weight: 400; margin-left: 2px; }
.work-grid figure[hidden] { display: none; }

/* ── About */
.about-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); padding-block: clamp(56px, 7vw, 96px); }
.about-sec h2 { font-size: var(--t-md); border-top: 4px solid var(--orange); padding-top: 18px; }
@media (max-width: 900px) { .about-body { grid-template-columns: 1fr; } }
.steps-band { background: var(--white); padding-block: clamp(56px, 7vw, 96px); }
.steps-intro { font-size: var(--t-md); color: var(--ink-2); max-width: 52ch; margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-size: 3rem; font-weight: 800; font-stretch: 125%; line-height: 1; color: var(--orange-ink); margin-bottom: 14px; }
.steps h3 { font-size: var(--t-md); }
.steps p { color: var(--ink-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ── Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.contact-details h2 { font-size: 1rem; font-stretch: 100%; font-weight: 600; color: var(--ink-2); margin: 24px 0 4px; letter-spacing: 0; }
.contact-details h2:first-child { margin-top: 0; }
.contact-details p, .contact-details address { font-size: var(--t-md); margin-bottom: 0; }
.contact-form-wrap h2 { font-size: var(--t-lg); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Footer */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding-top: clamp(56px, 7vw, 88px); font-size: 1rem; }
.site-footer a { color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .wordmark { color: var(--on-dark); }
.footer-tag { margin-top: 16px; }
.site-footer .muted { color: var(--on-dark-2); }
.freefoam { display: inline-block; border: 1px solid rgba(255,255,255,0.3); padding: 8px 12px; border-radius: var(--r); color: var(--on-dark); font-weight: 600; font-size: var(--t-sm); }
.footer-h { font-size: 1rem; font-stretch: 112%; color: var(--on-dark); margin-bottom: 12px; letter-spacing: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 28px; margin-top: 48px; border-top: 1px solid rgba(255,255,255,0.12); font-size: var(--t-sm); }
.footer-base p { margin: 0; }
.sep { opacity: 0.5; margin-inline: 6px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Lightbox */
.lightbox { border: 0; padding: 0; background: rgba(20,22,24,0.96); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(20,22,24,0.94); }
.lb-inner { display: grid; grid-template-rows: 1fr auto; height: 100%; padding: 56px 16px 16px; }
.lb-img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; padding-top: 12px; }
.lb-bar p { margin: 0; }
.lightbox button { font: 600 1rem var(--f); background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.35); border-radius: var(--r); padding: 10px 16px; min-height: 46px; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,0.24); }
.lb-close { position: absolute; top: 10px; right: 16px; }
.lb-nav { display: flex; gap: 8px; }

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