/* ==========================================================================
   RDI-style base system — shared by the Attic Retail & Adapt Displays rebuilds
   Theme tokens are defined per client in theme.css (appended after this file).
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 200; font-display: swap; src: url("../fonts/montserrat-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }

/* ---------- Default tokens (overridden by theme.css) ---------- */
:root {
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --brand-1: #008bac; --brand-1-fg: #ffffff;
  --brand-2: #b03575; --brand-2-fg: #ffffff;
  --brand-3: #7c4784; --brand-3-fg: #ffffff;
  --brand-4: #54b8b8; --brand-4-fg: #0f2a2b;

  --accent: #008bac;
  --accent-fg: #ffffff;
  --accent-strong: #006279;

  --ink: #1f2429;
  --ink-soft: #4f5862;
  --line: #d9dde2;
  --surface: #ffffff;
  --surface-alt: #f4f5f7;

  --overlay: rgba(12, 18, 28, 0.55);
  --header-solid-bg: rgba(255, 255, 255, 0.97);
  --header-solid-fg: #1f2429;
  --header-overlay-fg: #ffffff;
  --footer-bg: #5c6470;
  --footer-fg: #ffffff;
  --dark-bg: #16191d;
  --dark-fg: #ffffff;
  --dark-accent: #ffffff;
  --menu-bg: #008bac;
  --menu-fg: #ffffff;

  --logo-h: 56px;
  --logo-h-solid: 44px;
  --header-h: 92px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 599px) {
  :root { --logo-h: 40px; --logo-h-solid: 34px; --header-h: 76px; }
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg, video, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; }
strong, b { font-weight: 500; }
address { font-style: normal; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.15; letter-spacing: 0.01em; font-weight: 300; }
h1 { font-size: clamp(2.3rem, 6vw, 4.25rem); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.7rem); text-transform: uppercase; }
h4 { font-size: 0.95rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-fg); }

.skip-link {
  position: absolute; left: 12px; top: -120px; z-index: 300;
  background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block; margin: 0 0 1rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.center .btn-row { justify-content: center; }
.measure { max-width: 68ch; }
.center .measure { margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }
.container--wide { max-width: calc(1440px + 2 * var(--gutter)); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--alt { background: var(--surface-alt); }
.section--dark {
  background: var(--dark-bg); color: var(--dark-fg);
  --ink: var(--dark-fg); --ink-soft: rgba(255, 255, 255, 0.76); --line: rgba(255, 255, 255, 0.2);
  --accent: var(--dark-accent); --accent-fg: var(--dark-bg);
}
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head > *:last-child { margin-bottom: 0; }
.section__head h2 { margin: 0; }
.section__intro { max-width: 720px; color: var(--ink-soft); }
.center .section__intro, .section__intro.center { margin-inline: auto; }
.stack > * + * { margin-top: 1.25rem; }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid--center { align-items: center; }

/* Colour bands: set the band variables and re-point the accent so buttons/icons adapt */
.band-1 { --band-bg: var(--brand-1); --band-fg: var(--brand-1-fg); }
.band-2 { --band-bg: var(--brand-2); --band-fg: var(--brand-2-fg); }
.band-3 { --band-bg: var(--brand-3); --band-fg: var(--brand-3-fg); }
.band-4 { --band-bg: var(--brand-4); --band-fg: var(--brand-4-fg); }
.band-1:not(.showcase):not(.chat):not(.card__label), .band-2:not(.showcase):not(.chat):not(.card__label),
.band-3:not(.showcase):not(.chat):not(.card__label), .band-4:not(.showcase):not(.chat):not(.card__label) {
  background: var(--band-bg); color: var(--band-fg);
  --accent: var(--band-fg); --accent-fg: var(--band-bg);
  --ink: var(--band-fg); --ink-soft: var(--band-fg); --line: color-mix(in srgb, var(--band-fg) 30%, transparent);
}

/* ---------- Bracket buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 28px; }
.btn {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  padding: 8px 74px 8px 14px;
  color: var(--accent); background: transparent;
  border: 0; border-top: 1px solid currentColor; border-left: 1px solid currentColor;
  font-size: 0.88rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg); transition: transform 0.25s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--accent); color: var(--accent-fg); }
.btn:hover::after, .btn:focus-visible::after { transform: translateY(-50%) translateX(4px) rotate(45deg); }
@media (max-width: 419px) { .btn { padding-right: 44px; padding-left: 12px; font-size: 0.84rem; letter-spacing: 0.05em; } .btn::after { right: 13px; } }
.btn--light { color: #fff; --accent: #fff; --accent-fg: var(--ink); }
.btn--solid { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-fg); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.text-link { color: var(--accent); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link:hover { border-bottom-width: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--header-overlay-fg);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}
.site-header::before { /* soft top gradient keeps white nav legible over bright photos */
  content: ""; position: absolute; inset: 0 0 -30px 0; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0)); transition: opacity 0.35s;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height 0.35s var(--ease); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { height: var(--logo-h); width: auto; transition: height 0.35s var(--ease); }
.brand .logo--dark { display: none; }
.site-header.is-solid { background: var(--header-solid-bg); color: var(--header-solid-fg); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 12px 32px -20px rgba(0, 0, 0, 0.45); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-solid .site-header__inner { height: calc(var(--header-h) - 16px); }
.site-header.is-solid .brand img { height: var(--logo-h-solid); }
.site-header.is-solid .logo--light { display: none; }
.site-header.is-solid .logo--dark { display: block; }
body.header-solid main { padding-top: var(--header-h); }

.nav { display: none; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 7px 12px; text-decoration: none;
  font-size: 0.86rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase;
  border-left: 2px solid transparent; border-bottom: 2px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.nav a:hover { border-bottom-color: currentColor; }
.nav a[aria-current="page"] { border-left-color: currentColor; border-bottom-color: currentColor; }
.site-header.is-solid .nav a[aria-current="page"], .site-header.is-solid .nav a:hover { border-left-color: var(--accent); border-bottom-color: var(--accent); }
.site-header.is-solid .nav a:hover:not([aria-current="page"]) { border-left-color: transparent; }
.nav .nav__phone { margin-left: 14px; font-weight: 500; letter-spacing: 0.04em; white-space: nowrap; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -8px;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 26px; height: 1.5px; background: currentColor; position: relative; content: "";
}
.nav-toggle__bars::before { position: absolute; top: -8px; }
.nav-toggle__bars::after { position: absolute; top: 8px; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; overflow-y: auto;
  display: flex; flex-direction: column;
  background: var(--menu-bg); color: var(--menu-fg);
  padding: 0 var(--gutter) 40px;
  transform: translateY(-102%); visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
.mobile-menu.is-open { transform: none; visibility: visible; transition: transform 0.5s var(--ease); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.mobile-menu__top img { height: var(--logo-h-solid); width: auto; }
.mobile-menu__close { width: 48px; height: 48px; margin-right: -8px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.mobile-menu__close::before, .mobile-menu__close::after { content: ""; position: absolute; left: 11px; top: 23px; width: 26px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.mobile-menu__close::after { transform: rotate(-45deg); }
.mobile-menu nav { margin: auto 0; padding-block: 32px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu nav a {
  display: inline-block; padding: 8px 0; text-decoration: none;
  font-size: clamp(1.7rem, 7.5vw, 2.6rem); font-weight: 200; letter-spacing: 0.03em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.mobile-menu nav a[aria-current="page"] { font-weight: 400; border-bottom-color: currentColor; }
.mobile-menu__contact { display: grid; gap: 8px; font-weight: 400; border-top: 1px solid color-mix(in srgb, var(--menu-fg) 30%, transparent); padding-top: 24px; }
.mobile-menu__contact a { text-decoration: none; display: inline-flex; gap: 12px; align-items: center; }

/* ---------- Floating side contact tab ---------- */
.side-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90; display: none; flex-direction: column; gap: 8px; }
.side-tab a {
  display: flex; align-items: center; justify-content: flex-start; padding-left: 15px;
  width: 50px; height: 42px; background: #fff; color: var(--accent);
  border-radius: 21px 0 0 21px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  transition: width 0.25s var(--ease), background-color 0.25s, color 0.25s;
}
.side-tab a:hover, .side-tab a:focus-visible { width: 60px; background: var(--accent); color: var(--accent-fg); }
.side-tab svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .side-tab { display: flex; } }

/* ---------- Corner-bracket frame (hero motif) ---------- */
.frame { position: relative; padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 72px); }
.frame::before, .frame::after {
  content: ""; position: absolute; width: clamp(44px, 7vw, 96px); height: clamp(44px, 7vw, 96px);
  border: 0 solid currentColor; opacity: 0.9; pointer-events: none;
}
.frame::before { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.frame::after { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero__media, .banner__media { position: absolute; inset: 0; z-index: -2; background: var(--dark-bg); }
.hero__media img, .banner__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { transform: scale(1.06); transition: transform 9s ease-out; }
.hero__slide.is-active img { transform: scale(1); }
.hero::after, .banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--overlay); }
.hero__content { text-align: center; padding: calc(var(--header-h) + 24px) var(--gutter) 130px; width: min(100%, 1120px); }
.hero__title { font-size: clamp(2.3rem, 7vw, 4.6rem); margin: 0 0 0.3em; }
.hero__subtitle { font-size: clamp(1.1rem, 2.3vw, 1.65rem); font-weight: 200; letter-spacing: 0.01em; margin: 0; }
.hero .btn-row { justify-content: center; margin-top: 36px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; width: 52px; height: 52px; margin-left: -26px;
  display: grid; place-items: center; color: #fff; text-decoration: none;
}
.hero__scroll::before {
  content: ""; width: 18px; height: 18px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-4px, -4px); animation: nudge 2.2s ease-in-out infinite;
}
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }
.hero__pause {
  position: absolute; right: var(--gutter); bottom: 30px; width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(0, 0, 0, 0.2); color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.hero__pause svg { width: 14px; height: 14px; }
.hero__dots { position: absolute; left: var(--gutter); bottom: 42px; display: flex; gap: 8px; }
.hero__dots span { width: 10px; height: 10px; border: 1px solid #fff; }
.hero__dots span.is-active { background: #fff; }

/* ---------- Banner (inner pages) ---------- */
.banner { position: relative; min-height: clamp(400px, 64vh, 620px); display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; isolation: isolate; }
.banner__content { padding: calc(var(--header-h) + 40px) var(--gutter) 72px; width: min(100%, 1000px); }
.banner__title { margin: 0 0 0.25em; }
.banner__subtitle { font-size: clamp(1.05rem, 2vw, 1.45rem); font-weight: 300; margin: 0 auto; max-width: 46ch; }
.banner--short { min-height: clamp(320px, 46vh, 460px); }

/* ---------- Intro split (photo + overlapping title box) ---------- */
.split { display: grid; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split__media { position: relative; margin-top: 64px; }
.split__media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media--landscape > img { aspect-ratio: 4 / 3; }
.split__titlebox {
  position: absolute; top: -64px; left: clamp(16px, 7%, 48px); right: 16px;
  background: rgba(255, 255, 255, 0.9); color: var(--ink);
  padding: clamp(20px, 3vw, 34px); box-shadow: 0 20px 40px -32px rgba(0, 0, 0, 0.5);
}
.split__titlebox h2 { margin: 0; }
.split__titlebox.band-1, .split__titlebox.band-2, .split__titlebox.band-3, .split__titlebox.band-4 { background: color-mix(in srgb, var(--band-bg) 92%, transparent); }
.split__body { max-width: 600px; }
.split--flush { gap: 0; }
.split--flush .split__media { margin-top: 0; }
.split__body[class*="band-"] { max-width: none; padding: clamp(28px, 5vw, 64px); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 6fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  /* The title box reaches into the column gap but stops 16px short of the body text */
  .split__titlebox { right: calc(16px - clamp(36px, 6vw, 88px)); }
  .split--reverse .split__titlebox { left: calc(16px - clamp(36px, 6vw, 88px)); right: clamp(16px, 7%, 48px); }
  .split--flush { align-items: stretch; }
  .split--flush .split__media > img { height: 100%; aspect-ratio: auto; min-height: 420px; }
}

/* ---------- Showcase: colour band + overlapping-panel carousel ---------- */
.showcase { position: relative; isolation: isolate; padding-top: var(--section-y); padding-bottom: var(--section-y); color: var(--band-fg); }
.showcase::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 64%; background: var(--band-bg); z-index: -1; }
.showcase .section__head { color: var(--band-fg); }
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 0;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { scroll-snap-align: start; min-width: 0; }
.carousel--cards .carousel__track { grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; }
@media (max-width: 899px) { .carousel--cards .carousel__track { grid-auto-columns: 82%; gap: 16px; } }
.pager { display: flex; flex-wrap: wrap; gap: 6px; }
.pager button { width: 12px; height: 12px; padding: 0; border: 1px solid currentColor; background: transparent; cursor: pointer; color: inherit; }
.pager button[aria-current="true"] { background: currentColor; }
.carousel__btn {
  position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px;
  display: grid; place-items: center; background: transparent; border: 0; color: inherit; cursor: pointer;
}
.carousel__btn::before { content: ""; width: 16px; height: 16px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; }
.carousel__btn--prev { left: -8px; } .carousel__btn--prev::before { transform: translateX(3px) rotate(-45deg); }
.carousel__btn--next { right: -8px; } .carousel__btn--next::before { transform: translateX(-3px) rotate(135deg); }
.showcase .carousel__btn { top: 32%; color: var(--band-fg); }
@media (min-width: 1300px) { .showcase .carousel__btn--prev { left: -64px; } .showcase .carousel__btn--next { right: -64px; } }

.showcase__slide { position: relative; display: grid; align-content: start; }
/* The band only covers the top of a showcase, so a plain section after it needs no extra top padding */
.showcase + .section:not(.section--alt):not(.section--dark):not([class*="band-"]) { padding-top: 0; }
.showcase__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.showcase__panel {
  position: relative; margin: -48px 16px 0; padding: clamp(24px, 4vw, 48px);
  background: color-mix(in srgb, color-mix(in srgb, var(--band-bg) 80%, #000) 93%, transparent); color: var(--band-fg);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.6);
  --accent: var(--band-fg); --accent-fg: var(--band-bg);
}
.showcase__panel h3 { margin-bottom: 0.7em; }
.showcase__panel p { font-size: 1rem; }
@media (min-width: 900px) {
  .showcase__slide { grid-template-columns: repeat(12, 1fr); align-items: center; padding-inline: 4px; }
  .showcase__img { grid-column: 6 / 13; grid-row: 1; aspect-ratio: 5 / 4; }
  .showcase__panel { grid-column: 1 / 8; grid-row: 1; margin: 0; z-index: 1; align-self: center; }
}

/* ---------- Cards (photo + overlapping colour label) ---------- */
.cards { display: grid; gap: clamp(20px, 2.6vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
a.card:hover .card__media img, a.card:focus-visible .card__media img { transform: scale(1.05); }
.card__label {
  position: absolute; left: 18px; bottom: 18px; max-width: calc(100% - 36px);
  background: var(--band-bg, var(--brand-1)); color: var(--band-fg, var(--brand-1-fg));
  padding: 12px 18px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 300; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.02em; margin: 0;
}
.card__body { padding: 20px 2px 0; }
.card__body p { color: var(--ink-soft); font-size: 1rem; }
.card__more { margin-top: auto; padding-top: 14px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--accent); }

/* ---------- Feature list (line icon + title + text) ---------- */
.features { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.feature { border-top: 1px solid var(--line); padding-top: 26px; }
.feature__icon { width: 42px; height: 42px; color: var(--accent); margin-bottom: 18px; }
.feature__icon svg { width: 100%; height: 100%; }
.feature__title { font-size: 1rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 0.6em; }
.feature__text { color: var(--ink-soft); margin: 0; font-size: 1rem; }

/* ---------- Numbered steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.step { position: relative; padding: 28px 0; border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-size: 2.6rem; font-weight: 200; line-height: 1; color: var(--accent); margin-bottom: 16px; }
.step h3 { font-size: 1rem; font-weight: 500; letter-spacing: 0.1em; margin: 0 0 0.6em; }
.step p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* ---------- "Let's chat" CTA box with offset frame ---------- */
.chat .chat__wrap { position: relative; max-width: 1000px; margin-inline: auto; padding: 0 0 26px 26px; }
.chat .chat__wrap::before { content: ""; position: absolute; left: 0; bottom: 0; width: calc(100% - 52px); height: calc(100% - 52px); border: 1px solid var(--band-bg); }
.chat__box { position: relative; z-index: 1; background: var(--band-bg); color: var(--band-fg); padding: clamp(28px, 4.5vw, 52px); text-align: center; --accent: var(--band-fg); --accent-fg: var(--band-bg); }
.chat__box p { font-size: 1.1rem; }
.chat__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 14px; font-weight: 400; }
.chat__links a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.chat__links a:hover { text-decoration: underline; }
.chat__box .btn-row { justify-content: center; }
@media (max-width: 599px) {
  .chat .chat__wrap { padding: 0 0 14px 14px; }
  .chat .chat__wrap::before { width: calc(100% - 28px); height: calc(100% - 28px); }
  .chat__box { padding: 26px 18px; }
}

/* ---------- Edge-to-edge photo strip ---------- */
.strip { display: grid; grid-template-columns: repeat(var(--strip-n, 5), 1fr); }
.strip > a, .strip > figure { position: relative; display: block; overflow: hidden; margin: 0; aspect-ratio: 3 / 4; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.5s; }
.strip > a:hover img { transform: scale(1.06); }
@media (max-width: 899px) { .strip { grid-template-columns: repeat(2, 1fr); } .strip > :nth-child(n + 5) { display: none; } }

/* ---------- Gallery + filters + lightbox ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button {
  padding: 8px 16px; background: transparent; color: var(--ink); cursor: pointer;
  border: 0; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}
.filters button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery__item { break-inside: avoid; display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: var(--surface-alt); position: relative; overflow: hidden; cursor: zoom-in; text-align: left; color: #fff; }
.gallery__item img { width: 100%; height: auto; transition: transform 0.8s var(--ease); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.04); }
.gallery__item figcaption, .gallery__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  opacity: 0; transition: opacity 0.3s;
}
.gallery__item:hover .gallery__caption, .gallery__item:focus-visible .gallery__caption { opacity: 1; }
.gallery__item[hidden] { display: none; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 10, 13, 0.95); color: #fff; }
.lightbox::backdrop { background: rgba(8, 10, 13, 0.95); }
.lightbox__figure { position: absolute; inset: 64px 72px 72px; margin: 0; display: grid; place-items: center; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: -46px; text-align: center; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lightbox button { position: absolute; width: 52px; height: 52px; background: transparent; border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__close::before, .lightbox__close::after { content: ""; position: absolute; width: 26px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.lightbox__close::after { transform: rotate(-45deg); }
.lightbox__prev { left: 8px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 8px; top: 50%; margin-top: -26px; }
.lightbox__prev::before, .lightbox__next::before { content: ""; width: 16px; height: 16px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; }
.lightbox__prev::before { transform: rotate(-45deg); }
.lightbox__next::before { transform: rotate(135deg); }
@media (max-width: 700px) { .lightbox__figure { inset: 60px 12px 80px; } }
@media (hover: none) { .gallery__item figcaption, .gallery__caption { opacity: 1; } }  /* no hover on touch screens */
@media (max-width: 599px) { .gallery { columns: 2; column-gap: 10px; } .gallery__item { margin-bottom: 10px; } .gallery__caption { font-size: 0.7rem; padding: 20px 10px 10px; } }

/* ---------- Client logo wall ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 28px 40px; align-items: center; justify-items: center; list-style: none; margin: 0; padding: 0; }
.logos img { max-height: 60px; max-width: 150px; width: auto; filter: grayscale(1); opacity: 0.72; transition: filter 0.3s, opacity 0.3s; }
.logos li:hover img { filter: none; opacity: 1; }
/* Client logo files have opaque white backgrounds, so on dark bands they sit on white tiles */
.logos--on-dark img { box-sizing: content-box; padding: 10px 16px; background: #fff; filter: grayscale(1); opacity: 0.9; }
.logos--on-dark li:hover img { filter: none; opacity: 1; }

/* ---------- Quote ---------- */
.quote { max-width: 900px; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 200; line-height: 1.5; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 5.5rem; line-height: 0.7; color: var(--accent); font-weight: 200; margin-bottom: 10px; }
.quote figcaption { margin-top: 22px; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.stat { border-left: 1px solid var(--line); padding-left: 20px; }
.stat__num { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 200; line-height: 1; margin-bottom: 10px; color: var(--accent); }
.stat__label { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }

/* ---------- Values row (single words, thin dividers) ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, max-content)); justify-content: center; gap: 12px 40px; list-style: none; margin: 0; padding: 0; text-align: center; }
.values li { font-size: clamp(1.05rem, 1.5vw, 1.45rem); font-weight: 200; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.2; padding: 4px 0; white-space: nowrap; }
@media (min-width: 1024px) {
  .values { display: flex; flex-wrap: nowrap; justify-content: center; gap: 0; }
  .values li { padding: 4px clamp(14px, 2vw, 32px); border-left: 1px solid var(--line); }
  .values li:first-child { border-left: 0; }
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.1em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.checklist--2col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 32px; }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0; text-transform: uppercase; font-weight: 400; letter-spacing: 0.04em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--accent); transition: transform 0.3s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details > div { padding: 0 0 24px; color: var(--ink-soft); max-width: 72ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 3px; }
.contact-list a { font-weight: 500; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; }
.social-links a { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.social-links a:hover { border-bottom-width: 2px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin: 0; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; }

/* Form band */
.form { display: grid; gap: 26px 32px; margin-top: clamp(28px, 3.5vw, 44px); }
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 2px; border: 0; border-bottom: 1px solid currentColor;
  border-radius: 0; background: transparent; color: inherit; font-weight: 300; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; padding: 12px; border: 1px solid currentColor; resize: vertical; }
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field select option { color: #1f2429; }
/* Native controls (date picker icon, dropdowns) follow the band: dark bands get light controls */
.band-1, .band-3, .section--dark { color-scheme: dark; }
.band-4 { color-scheme: light; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.field ::placeholder { color: currentColor; opacity: 0.6; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.form__note { font-size: 0.85rem; opacity: 0.9; margin: 0; max-width: 60ch; }
.form__note a { color: inherit; }
.form__status { grid-column: 1 / -1; min-height: 1.6em; font-weight: 500; margin: 0; }
.form .btn { margin: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Location / map link block */
.location { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .location { grid-template-columns: 1fr 1fr; } }
.location__map { position: relative; aspect-ratio: 4 / 3; background: var(--surface-alt); overflow: hidden; }
.location__map img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Prose (policy pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { position: relative; color: var(--footer-fg); }
.footer-divider { display: block; height: 64px; overflow: hidden; background: var(--surface); }
.footer-divider svg { width: 100%; height: 100%; }
.footer-band { position: relative; background: var(--footer-bg); }
.to-top {
  position: absolute; left: 50%; top: 0; width: 56px; height: 44px; margin-left: -28px;
  display: grid; place-items: center; color: inherit; text-decoration: none;
}
.to-top::before { content: ""; width: 20px; height: 20px; margin-top: 12px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; transform: rotate(45deg); }
.footer__inner { display: grid; gap: 40px; padding-top: clamp(64px, 7vw, 96px); padding-bottom: 40px; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.footer__title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 200; margin-bottom: 0.7em; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; padding: 0; margin: 0 0 24px; }
.footer__nav a { text-decoration: none; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.1em; }
.footer__nav a:hover { text-decoration: underline; }
.footer__contact { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 24px 0 18px; font-weight: 400; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.footer__contact a:hover { text-decoration: underline; }
.footer__address { opacity: 0.92; font-size: 0.95rem; }
.footer__brand { justify-self: start; }
.footer__brand img { width: min(340px, 100%); height: auto; opacity: 0.96; }
@media (min-width: 900px) { .footer__brand { justify-self: end; } }
.footer__legal { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; font-size: 0.84rem; }
.footer__legal::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(255, 255, 255, 0.25); }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.footer__legal p { margin: 0; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { text-decoration: underline; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 0.12s; }
.js .reveal-delay-2 { transition-delay: 0.24s; }
.js .reveal-delay-3 { transition-delay: 0.36s; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.notfound__code { font-size: clamp(5rem, 18vw, 11rem); font-weight: 200; line-height: 1; color: var(--accent); margin: 0 0 16px; }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .side-tab, .mobile-menu, .footer-divider, .hero__scroll, .carousel__btn, .pager { display: none !important; }
  .hero, .banner { min-height: 0; color: #000; }
  .hero::after, .banner::after, .hero__media, .banner__media { display: none; }
}


/* ===== Client theme ===== */
/* Adapt Displays — brand theme on the RDI-style system.
   Charcoal + orange from the Adapt Displays logo and current site (#FAAE58).
   #FAAE58 is only used as a fill or on dark backgrounds; on white we use #A85A0A (AA contrast). */
:root {
  --brand-1: #1c1c1c; --brand-1-fg: #ffffff;   /* charcoal */
  --brand-2: #faae58; --brand-2-fg: #1c1c1c;   /* Adapt orange */
  --brand-3: #3a3a3a; --brand-3-fg: #ffffff;   /* graphite */
  --brand-4: #efe9e1; --brand-4-fg: #1c1c1c;   /* warm sand */

  --accent: #a85a0a;
  --accent-fg: #ffffff;
  --accent-strong: #7e4307;

  --ink: #1c1c1c;
  --ink-soft: #55524d;
  --line: #e2ddd5;
  --surface: #ffffff;
  --surface-alt: #f6f3ef;

  --overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.62) 100%);
  --header-solid-bg: rgba(20, 20, 20, 0.97);
  --header-solid-fg: #ffffff;
  --footer-bg: #141414;
  --footer-fg: #ffffff;
  --dark-bg: #141414;
  --dark-fg: #ffffff;
  --dark-accent: #faae58;
  --menu-bg: #141414;
  --menu-fg: #ffffff;

  --logo-h: 64px;
  --logo-h-solid: 50px;
}
@media (max-width: 599px) {
  :root { --logo-h: 50px; --logo-h-solid: 42px; }
}
/* The header turns charcoal when solid, so its accent lines use the bright orange */
.site-header, .mobile-menu { --accent: #faae58; --accent-fg: #1c1c1c; }
/* Orange bands: dark text and dark bracket buttons */
.band-2 .btn, .showcase.band-2 .btn { --accent: #1c1c1c; --accent-fg: #faae58; }

/* Orange band is light */
.band-2 { color-scheme: light; }

/* Hero eyebrow in brand orange over the photo */
.hero .eyebrow { color: var(--brand-2); }
