/* ==================================================================
   Brand layer – matches the SDS printed brochure (2024):
   DIN-style condensed headings on black / blue / green label blocks,
   green outline frame, line-drawn houses. Loaded after style.css.
   ================================================================== */
:root {
  --ink: #231f20;          /* brochure black */
  --blue: #0e6699;         /* brochure blue */
  --blue-dark: #0a4f78;
  --green: #91c73e;
  --green-dark: #7aae2c;
  --display: "Barlow", "Poppins", system-ui, sans-serif;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .btn, .chip, .main-nav a, .mm-nav a, .stat strong, .skill-val, .news-tag, .work-cat { font-family: var(--display); }
h1, h2, h3 { font-weight: 700; letter-spacing: -.005em; }
.btn { font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.main-nav a { font-weight: 600; font-size: 15.5px; }

/* Section titles become brochure label blocks */
.title-green, .title-blue {
  display: inline; color: #fff; background: var(--ink);
  padding: .02em .32em .08em; line-height: 1.5;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.title-blue { background: var(--blue); }
.section-head h2, .works-head h2, .news-head h2, .faq-intro h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.about-text h2.title-blue { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.55; }
.members h3.title-green { background: none; color: var(--ink); padding: 0; font-size: clamp(22px, 2.6vw, 28px); }
.label { display: inline; color: #fff; background: var(--ink); padding: .02em .3em .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.label--blue { background: var(--blue); }
.label--green { background: var(--green); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn-green { color: var(--ink); }
.btn-green:hover { background: var(--ink); color: #fff; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

/* ---------- Header: always solid white (brochure look) ---------- */
.site-header, .site-header.scrolled {
  padding: 12px 0; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .logo-light { display: none; }
.site-header .logo-dark { display: block; }
.site-header .main-nav a { color: var(--ink); }
.site-header .main-nav a:hover, .site-header .main-nav a.active { color: var(--blue); }
.site-header .nav-toggle span { background: var(--ink); }
.header-cta { background: var(--green); color: var(--ink); }

/* ---------- Hero ---------- */
.hero-brand { position: relative; padding: 130px 0 0; background: #fff; overflow: hidden; }
.hero-brand-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-kicker { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.hero-kicker span { font-weight: 600; font-size: 16px; color: var(--blue); padding-left: 14px; border-left: 3px solid var(--green); }
/* tagline sized to its own text (inline-block) so the green frame lines up with the words, not the column */
.hero-tagline { position: relative; display: inline-block; margin: 0 0 18px; padding: .5em .35em 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.12; letter-spacing: 0; }
.hero-tagline .tl { display: table; padding: .08em .3em .16em; margin-bottom: .14em; position: relative; z-index: 1; }
.tl--blue { background: var(--blue); color: #fff; }
.tl--green { background: var(--green); color: var(--ink); }
.tl--ink { background: var(--ink); color: #fff; }
.hero-tagline .frame { position: absolute; z-index: 0; top: 0; right: 0; width: 62%; height: 1.15em; border: .1em solid var(--green); }
.hero-footnote { margin: 6px 0 22px; color: var(--ink); font-size: 15px; letter-spacing: .01em; }
.hero-lead { max-width: 520px; font-size: 16px; margin-bottom: 28px; }
.hero-brand .hero-actions { justify-content: flex-start; }
.hero-media { position: relative; z-index: 0; } /* own stacking context so the blue frame sits behind the image */
.hero-media > img:not(.hero-badge), .hero-media video { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; box-shadow: 0 30px 60px rgba(35, 31, 32, .18); display: block; }
.hero-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 4px solid var(--blue); z-index: -1; }
.hero-media .hero-badge { position: absolute; width: 170px; height: auto; left: -40px; bottom: -36px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .18)); }
.hero-houses { height: 150px; margin-top: 70px; background: url(../img/house-elevations-illustration.png) bottom center / auto 100% repeat-x; opacity: .9; }
.hero-members { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 44px; padding: 26px 24px 30px; border-top: 1px solid var(--line); }
.hero-members span { font-family: var(--display); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.hero-members img { height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: all .3s; }
.hero-members img:hover { filter: none; opacity: 1; }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--ink); color: #fff; }
.stats-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 34px 20px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .1); }
.stat-item:last-child { border-right: 0; }
.stat-item strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1; color: var(--green); }
.stat-item span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .75); letter-spacing: .02em; }

/* ---------- Main service tiles ---------- */
.svc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-tile { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: box-shadow .3s, transform .3s; }
.svc-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.svc-tile-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.svc-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-tile:hover .svc-tile-img img { transform: scale(1.05); }
.svc-tile-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-tile h3 { font-size: 23px; margin-bottom: 8px; }
.svc-tile h3 span { background: var(--ink); color: #fff; padding: 0 .25em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.svc-tile p { font-size: 14.5px; margin-bottom: 16px; }
.svc-tile .more { margin-top: auto; font-family: var(--display); font-weight: 700; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; }
.svc-tile .more svg { width: 16px; height: 16px; transition: transform .3s; }
.svc-tile:hover .more svg { transform: translateX(4px); }
.svc-tile.is-feature { grid-column: span 1; }
.also-list { margin-top: 44px; padding: 28px; border: 4px solid var(--green); display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.also-list h3 { font-size: 22px; }
.also-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.also-list li { padding: 6px 12px; background: var(--bg-soft); font-size: 14px; font-weight: 500; color: var(--ink); }

/* ---------- Process flow (10 steps) ---------- */
.process { background: var(--bg-soft); }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; }
.process-steps li { position: relative; padding: 0 14px 30px; }
.process-steps .num { display: flex; align-items: center; justify-content: center; height: 64px; font-family: var(--display); font-weight: 800; font-size: 30px; color: #fff; background: var(--blue); margin: 0 -14px 18px; }
.process-steps li:nth-child(even) .num { background: var(--green); color: var(--ink); }
.process-steps .num::after { content: ""; position: absolute; top: 64px; left: 50%; width: 2px; height: 16px; background: currentColor; opacity: .0; }
.process-steps h3 { font-size: 18px; margin-bottom: 6px; }
.process-steps p { font-size: 13.5px; line-height: 1.6; margin: 0; }

/* ---------- Brand CTA band ---------- */
.cta-brand { background: var(--green); color: var(--ink); padding: 54px 0; }
.cta-brand .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-brand h2 { font-size: clamp(26px, 3.2vw, 38px); }
.cta-brand h2 span { background: var(--ink); color: #fff; padding: 0 .25em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cta-brand p { margin: 8px 0 0; font-size: 16px; }
.cta-brand .btn-dark:hover { background: var(--blue); }

/* ---------- Quote block ---------- */
.brand-quote { margin: 0; padding: 26px 28px; border-left: 6px solid var(--green); background: var(--bg-soft); }
.brand-quote p { font-size: 18px; line-height: 1.7; color: var(--ink); margin: 0 0 10px; }
.brand-quote cite { font-style: normal; font-family: var(--display); font-weight: 700; color: var(--blue); }

/* ---------- Service detail pages ---------- */
.svc-hero { padding: 140px 0 0; }
.svc-hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.1; margin-bottom: 18px; }
.svc-hero h1 span { background: var(--ink); color: #fff; padding: 0 .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.svc-hero .kicker { display: inline; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); background: var(--blue); color: #fff; padding: .05em .3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.svc-hero-img { margin-top: 40px; aspect-ratio: 21 / 9; overflow: hidden; }
.svc-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.svc-body .prose p { font-size: 16.5px; }
.svc-help { background: var(--ink); color: rgba(255, 255, 255, .85); padding: 30px; }
.svc-help h2 { color: #fff; font-size: 26px; margin-bottom: 12px; }
.svc-help h2 span { background: var(--green); color: var(--ink); padding: 0 .2em; }
.svc-help .btn { margin-top: 10px; }
.svc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--line); }
.svc-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-gallery a:hover img { transform: scale(1.05); }

/* ---------- Office / about extras ---------- */
.office-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.office-block img { width: 100%; border-radius: 4px; box-shadow: var(--shadow-lg); }
.practice-cols { columns: 2; column-gap: 48px; }
.practice-cols p { break-inside: avoid; }

/* ---------- Video section ---------- */
.video-block { position: relative; background: var(--ink); }
.video-block video { width: 100%; display: block; max-height: 80vh; background: #000; }

/* Page hero heading as a label */
.page-hero h1 { display: inline; background: var(--ink); color: #fff; padding: .02em .25em .08em; line-height: 1.5; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.page-hero h1 + p { margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .process-steps { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 991px) {
  .hero-brand { padding-top: 110px; }
  .hero-brand-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media .hero-badge { width: 120px; left: auto; right: -8px; bottom: -34px; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .svc-tiles { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .svc-body, .office-block { grid-template-columns: 1fr; gap: 30px; }
  .also-list { grid-template-columns: 1fr; }
  .practice-cols { columns: 1; }
}
@media (max-width: 640px) {
  .hero-brand { padding-top: 96px; }
  .hero-kicker { font-size: 17px; margin-bottom: 18px; }
  .hero-tagline { font-size: clamp(34px, 10.5vw, 48px); }
  .hero-media::before { inset: 12px -10px -12px 12px; border-width: 3px; }
  .hero-houses { height: 90px; margin-top: 50px; }
  .hero-members { gap: 14px 26px; }
  .hero-members { gap: 12px 18px; }
  .hero-members img { height: 30px; }
  .hero-members span { width: 100%; text-align: center; }
  .svc-tiles { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; padding: 0 0 18px; }
  .process-steps .num { grid-row: span 2; height: 56px; margin: 0; font-size: 24px; }
  .svc-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .svc-hero { padding-top: 110px; }
  .cta-brand { padding: 40px 0; }
}

/* Spacing below inline label headings */
.section-head h2 + p, .news-head h2 + p, .about-text h2 + p, .faq-intro h2 + p { margin-top: 20px; }
/* Homepage works preview: caption always visible on a dark gradient (also works on touch screens) */
.works-preview .work-item::after { opacity: 1; background: linear-gradient(to top, rgba(35, 31, 32, .85), transparent 55%); }
.works-preview .work-info { opacity: 1; transform: none; }

/* Four membership logos */
.member-logos--4 { grid-template-columns: repeat(4, 1fr); max-width: 1000px; }
.member-logos--4 .member img { max-height: 100px; }
@media (max-width: 640px) { .member-logos--4 { grid-template-columns: repeat(2, 1fr); } }

/* Footer: brand | contact | services | quick links */
.footer-grid { grid-template-columns: 1.1fr 1.3fr 1fr 1fr; gap: 40px; }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-links { columns: 1; }
.section-foot{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ---------- 3D walkthrough video section ---------- */
.video-section { background: var(--ink); color: rgba(255, 255, 255, .8); padding: 100px 0; position: relative; overflow: hidden; }
.video-section::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 14px solid rgba(145, 199, 62, .18); }
.video-grid { position: relative; display: grid; grid-template-columns: 1fr 1.55fr; gap: 64px; align-items: center; }
.video-copy h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.25; margin-bottom: 22px; }
.video-copy h2 span { background: #fff; color: var(--ink); padding: 0 .22em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.video-copy h2 span.alt { background: var(--green); }
.video-copy > p { font-size: 16px; margin-bottom: 20px; }
.video-points { list-style: none; margin: 0 0 30px; padding: 0; }
.video-points li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; }
.video-points li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.video-frame { position: relative; z-index: 0; }
.video-frame::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 4px solid var(--green); z-index: -1; }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; border-radius: 4px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 0; cursor: pointer; border-radius: 4px; color: #fff;
  background: linear-gradient(to top, rgba(35, 31, 32, .65), rgba(35, 31, 32, .1) 60%); transition: background .3s; }
.video-play:hover { background: linear-gradient(to top, rgba(35, 31, 32, .75), rgba(35, 31, 32, .25) 60%); }
.video-play-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(145, 199, 62, .25); transition: transform .3s var(--ease), box-shadow .3s; }
.video-play-icon svg { width: 34px; height: 34px; margin-left: 4px; }
.video-play:hover .video-play-icon { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(145, 199, 62, .2); }
.video-play-label { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .02em; }
.video-play-label small { font-weight: 600; opacity: .75; margin-left: 6px; }
.video-frame.playing .video-play { display: none; }
@media (max-width: 991px) {
  .video-section { padding: 70px 0; }
  .video-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 640px) {
  .video-frame::before { inset: 10px -8px -10px 10px; border-width: 3px; }
  .video-play-icon { width: 64px; height: 64px; box-shadow: 0 0 0 7px rgba(145, 199, 62, .25); }
  .video-play-icon svg { width: 26px; height: 26px; }
  .video-play-label { font-size: 15px; }
}
@media (max-width: 640px) { .video-section::before { display: none; } }

/* ==================================================================
   Tablet & phone enhancements
   ================================================================== */
/* Hero "watch" button over the looping video */
.hero-watch { position: absolute; right: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(35, 31, 32, .78); color: #fff; font-family: var(--display); font-weight: 700; font-size: 14.5px; letter-spacing: .02em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .25s, transform .25s; }
.hero-watch:hover { background: var(--ink); transform: translateY(-2px); }
.hero-watch-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; }
.hero-watch-icon svg { width: 14px; height: 14px; margin-left: 2px; }

/* ---------- Tablets (700–991px): use the width instead of stacking everything ---------- */
@media (min-width: 700px) and (max-width: 991px) {
  .hero-brand-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero-tagline { font-size: 40px; }
  .hero-kicker { font-size: 16px; }
  .hero-kicker span { font-size: 14px; }
  .hero-lead { font-size: 15px; }
  .hero-media::before { inset: 14px -14px -14px 14px; }
  .hero-media .hero-badge { width: 110px; left: -20px; right: auto; bottom: -28px; }
  .hero-watch { font-size: 13px; padding: 6px 12px 6px 6px; }
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 36px; }
  .about-media { padding: 0 34px 50px 0; }
  .works-preview { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .testi-grid, .news-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .testi-card { padding: 22px; }
  .news-body { padding: 18px; }
  .video-grid { grid-template-columns: 1fr 1.2fr; gap: 36px; }
  .office-block { grid-template-columns: 1fr 1fr; }
  .svc-body { grid-template-columns: 1.3fr 1fr; gap: 32px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
  .works-preview .work-title { display: none; }
  .works-preview .work-cat { font-size: 11px; }
}

/* ---------- Phones ---------- */
@media (max-width: 699px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head p { font-size: 15px; }
  .also-list { padding: 20px; margin-top: 30px; }
  .also-list li { font-size: 12.5px; padding: 5px 9px; }
  .hero-watch { top: 10px; right: 10px; font-size: 13px; padding: 5px 12px 5px 5px; }
  .hero-watch-icon { width: 26px; height: 26px; }

  /* Swipeable rows: next card peeks in from the edge */
  .process-steps,
  .home .svc-tiles, .home .testi-grid, .home .news-grid {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 4px 16px 20px; scroll-padding: 0 16px; scrollbar-width: none;
  }
  .process-steps::-webkit-scrollbar, .home .svc-tiles::-webkit-scrollbar,
  .home .testi-grid::-webkit-scrollbar, .home .news-grid::-webkit-scrollbar { display: none; }
  .process-steps > li, .home .svc-tiles > *, .home .testi-grid > *, .home .news-grid > * { flex: 0 0 82%; scroll-snap-align: start; }
  .process-steps > li { display: block; background: #fff; border-radius: 4px; padding: 0 18px 20px; box-shadow: var(--shadow); }
  .process-steps .num { margin: 0 -18px 16px; height: 54px; font-size: 24px; border-radius: 4px 4px 0 0; }
  .process-steps p { font-size: 14px; }
  .swipe-hint { display: flex; }
}
.swipe-hint { display: none; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.swipe-hint svg { width: 16px; height: 16px; }

/* ---------- Phone hero: centred, tagline blocks one even width ---------- */
@media (max-width: 699px) {
  .hero-copy { text-align: center; }
  .hero-kicker { flex-direction: column; align-items: center; gap: 4px; }
  .hero-kicker span { border-left: 0; padding-left: 0; }
  .hero-kicker span::before, .hero-kicker span::after { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--green); vertical-align: middle; margin: 0 8px; }
  .hero-tagline { display: table; margin: 0 auto 16px; padding: .5em .45em 0; }
  .hero-tagline .tl { display: block; text-align: center; }
  .hero-tagline .frame { right: 0; width: 70%; }
  .hero-footnote, .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-brand .hero-actions { justify-content: center; }
  .hero-brand .hero-actions { flex-direction: column; align-items: stretch; max-width: 360px; margin: 0 auto; }
  .hero-actions .btn { justify-content: center; white-space: nowrap; }
}

/* Article sidebar: related service */
.side-service { display: block; padding: 0; overflow: hidden; transition: box-shadow .3s; }
.side-service:hover { box-shadow: var(--shadow-lg); }
.side-service img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.side-service-label { display: block; margin: 16px 20px 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.side-service strong { display: block; margin: 0 20px 6px; font-family: var(--display); font-size: 20px; color: var(--ink); }
.side-service-more { display: block; margin: 0 20px 18px; font-family: var(--display); font-weight: 700; color: var(--blue); }

/* Phone carousel controls (added by main.js under each swipeable row) */
.carousel-nav { display: none; }
@media (max-width: 699px) {
  .carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 6px; }
  .cn-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
  .cn-btn svg { width: 20px; height: 20px; }
  .cn-btn:not(:disabled):active, .cn-btn:not(:disabled):hover { background: var(--ink); color: #fff; }
  .cn-btn:disabled { opacity: .25; cursor: default; }
  .cn-dots { display: flex; align-items: center; gap: 4px; }
  .cn-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
  .cn-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #c9ced3; transition: width .25s, background .25s; }
  .cn-dots button.active::before { width: 22px; background: var(--green); }
  .cn-count { min-width: 64px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
  .process-steps, .home .svc-tiles, .home .testi-grid, .home .news-grid { padding-bottom: 12px; }
}

/* Footer on phones/tablets: the generic .container padding rule was removing the footer's top/bottom spacing */
@media (max-width: 991px) {
  .footer-grid { padding-top: 64px; padding-bottom: 44px; }
}
@media (max-width: 640px) {
  .footer-grid { padding-top: 52px; padding-bottom: 36px; gap: 34px; }
  .footer-brand img { height: 46px; }
  .footer-badges { flex-wrap: wrap; }
}

/* Contact form: multi-select service tags show a tick when chosen */
.pick-label small { font-weight: 400; color: var(--muted); }
.pick input:checked + span::before { content: "✓"; margin-right: 6px; font-weight: 700; }

/* Memberships: centre however many logos there are (3 since TRADA was removed) */
.member-logos--4 { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 980px; margin: 0 auto; }
.member-logos--4 .member { flex: 0 1 280px; display: flex; align-items: center; justify-content: center; min-height: 150px; }
.members h3.title-green { display: block; margin-bottom: 30px; }
@media (max-width: 640px) {
  .member-logos--4 { gap: 12px; }
  .member-logos--4 .member { flex: 1 1 0; min-height: 96px; padding: 10px; }
}
/* Memberships: keep all three logos on one row on tablets too */
@media (min-width: 641px) and (max-width: 991px) { .member-logos--4 .member { flex: 1 1 0; } }

/* "To illustrate your desire" band: London phone, email, WhatsApp */
.cta-contacts { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-contacts .cta-mail { gap: 12px; padding: 10px 18px; font-size: 16px; line-height: 1.25; }
.cta-contacts .cta-mail span { display: flex; flex-direction: column; text-align: left; }
.cta-contacts .cta-mail small { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.cta-contacts .cta-mail svg { width: 22px; height: 22px; flex-shrink: 0; }
.cta-contacts .cta-wa svg { color: #25d366; }
.cta-contacts .cta-mail:hover small, .cta-contacts .cta-wa:hover svg { color: var(--ink); }
.cta-band--alt h3 { font-size: clamp(24px, 3vw, 34px); }
@media (max-width: 991px) { .cta-band--alt .cta-inner { flex-direction: column; text-align: center; } .cta-contacts { justify-content: center; } }
@media (max-width: 640px) { .cta-contacts { flex-direction: column; width: 100%; } .cta-contacts .cta-mail { justify-content: flex-start; } }

/* Google review links */
.btn-review svg { width: 18px; height: 18px; color: var(--ink); }
.btn-review:hover svg { color: #f5b301; transform: none; }
.footer-review { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 18px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 4px; font-size: 13.5px; color: rgba(255, 255, 255, .75); transition: border-color .25s, background .25s; }
.footer-review strong { color: #fff; font-weight: 600; }
.footer-review-stars { display: flex; gap: 2px; color: #f5b301; }
.footer-review-stars svg { width: 15px; height: 15px; }
.site-footer a.footer-review:hover { border-color: var(--green); background: rgba(145, 199, 62, .08); color: #fff; }

/* Cookie banner (assets/js/analytics.js) */
.cookie-banner { position: fixed; z-index: 300; left: 20px; bottom: 20px; max-width: 440px; padding: 20px 22px; background: #fff; color: var(--ink); border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22); border-top: 4px solid var(--green); animation: cookieIn .35s var(--ease); }
.cookie-banner p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; }
.cookie-banner p strong { display: block; font-family: var(--display); font-size: 17px; margin-bottom: 4px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; justify-content: center; padding: 11px 16px; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(16px); } }
.cookie-link { margin-left: 10px; color: rgba(255, 255, 255, .6) !important; text-decoration: underline; }
@media (max-width: 640px) { .cookie-banner { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
/* while the cookie banner is open, hide the floating WhatsApp / back-to-top buttons it would cover */
.cookie-open .wa-float, .cookie-open .to-top { opacity: 0; visibility: hidden; pointer-events: none; }

/* Article header: category label on its own line above the title, space before the meta line */
.article-hero .news-tag.static { display: table; margin: 0 0 16px; padding: 5px 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.article-hero h1 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.45; }
.article-hero h1 + .article-meta { margin-top: 20px; }
@media (max-width: 640px) { .article-hero h1 { font-size: 28px; line-height: 1.5; } }
@media (max-width: 640px) {
  .article-meta { gap: 4px 16px; font-size: 14px; }
  .article-meta > * + *::before { display: none; }
}

/* Phone breadcrumb: drop the (truncated) current page – it's the heading right below – and give links room to tap */
@media (max-width: 640px) {
  .breadcrumb { gap: 2px; font-size: 14px; margin-bottom: 16px; align-items: center; }
  .breadcrumb a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 6px; margin: 0 -6px; color: var(--blue); font-weight: 500; }
  .breadcrumb > span[aria-hidden] { font-size: 0; width: 18px; display: inline-flex; justify-content: center; }
  .breadcrumb > span[aria-hidden]::before { content: "›"; font-size: 18px; color: var(--muted); line-height: 1; }
  .breadcrumb [aria-current], .breadcrumb > span[aria-hidden]:has(+ [aria-current]) { display: none; }
}

/* Gallery captions: category as a solid tag (green text on photos was hard to read) + stronger shade */
.work-info { align-items: flex-start; }
.work-cat { display: inline-block; background: var(--green); color: var(--ink); padding: 3px 8px 2px; border-radius: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; line-height: 1.3; margin-bottom: 6px; }
.work-title { text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.work-item::after, .works-preview .work-item::after { background: linear-gradient(to top, rgba(20, 18, 19, .88) 0%, rgba(20, 18, 19, .45) 38%, transparent 68%); }
@media (max-width: 640px) { .work-cat { font-size: 9.5px; padding: 2px 6px 1px; } }

/* Logo: one size on every page and in both header states (homepage starts "unscrolled", other pages "scrolled") */
.site-header .brand img, .site-header.scrolled .brand img { height: 44px; transition: none; }
@media (max-width: 640px) { .site-header .brand img, .site-header.scrolled .brand img { height: 38px; } }

/* Footer: Google review badge */
.footer-review { display: inline-flex; align-items: center; gap: 14px; margin-top: 20px; padding: 12px 18px 12px 14px; background: #fff; color: #3c4043; border: 0; border-radius: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.site-footer a.footer-review:hover { background: #fff; color: #3c4043; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.gr-logo { width: 34px; height: 34px; flex-shrink: 0; }
.gr-logo svg { width: 100%; height: 100%; display: block; }
.gr-body { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.gr-top { font-size: 13px; color: #5f6368; } .gr-top b { color: #202124; font-weight: 600; }
.footer-review .footer-review-stars { display: flex; gap: 1px; color: #fbbc05; }
.footer-review .footer-review-stars svg { width: 15px; height: 15px; }
.gr-cta { font-size: 13px; font-weight: 600; color: #1a73e8; }
.site-footer a.footer-review:hover .gr-cta { text-decoration: underline; }

/* WhatsApp button: plain soft shadow instead of the green glow */
.wa-float { box-shadow: 0 3px 8px rgba(0, 0, 0, .22); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }
.footer-review { flex-direction: row; }

/* Phones: leave room under the footer so the floating WhatsApp / back-to-top buttons don't cover the credit line */
@media (max-width: 640px) {
  .footer-bottom { padding-top: 18px; padding-bottom: 80px; }   /* just clears the floating buttons (bottom 22px + 54px) */
  .footer-bottom-inner { gap: 4px; }
  .footer-bottom a.credit { padding: 8px; }
}

/* Phones: a breadcrumb that would only say "Home" is hidden; tighter space above page headings */
@media (max-width: 640px) {
  .breadcrumb:not(:has(> a ~ a)) { display: none; }
  .page-hero { padding-top: 100px; padding-bottom: 32px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero h1 + p { margin-top: 14px; font-size: 16px; }
  .svc-hero { padding-top: 96px; }
}

/* Hero "Member of" logos: trimmed files (no white border), so they read at a proper size */
.hero-members img { height: 64px; opacity: 1; }
@media (max-width: 991px) { .hero-members img { height: 54px; } }
@media (max-width: 640px) {
  .hero-members { gap: 12px 22px; padding: 22px 16px 26px; }
  .hero-members img { height: 46px; max-width: 28%; }
}
