/* ==========================================================================
   GPL Interior Linings — site styles
   Palette: charcoal / black / white / light grey, with the GPL brand orange
   used sparingly as an accent (taken from the logo).
   ========================================================================== */

:root {
  --black: #0b0b0c;
  --charcoal: #18191b;
  --charcoal-2: #222427;
  --charcoal-3: #2e3034;
  --grey-1: #f4f4f2;
  --grey-2: #e7e7e4;
  --grey-3: #c9cac7;
  --grey-text: #6a6d71;
  --grey-text-light: #a4a7ab;
  --white: #ffffff;
  --accent: #fc3302;          /* GPL brand orange */
  --accent-dark: #d92a00;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--white); padding: 10px 16px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 880px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.015em;
  font-stretch: 112%;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); text-transform: uppercase; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-stretch: 105%; letter-spacing: -.005em; line-height: 1.2; }
h4 { font-size: 1rem; font-stretch: 100%; text-transform: uppercase; letter-spacing: .08em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--grey-text);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--accent); flex: none; }
.on-dark .eyebrow, .eyebrow--light { color: var(--grey-text-light); }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--charcoal-3); }
.on-dark .lead { color: var(--grey-3); }
.muted { color: var(--grey-text); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--charcoal); --fg: var(--white); --bd: var(--charcoal);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); border-radius: var(--radius);
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--accent { --bg: var(--accent); --bd: var(--accent); }
.btn--accent:hover { --bg: var(--accent-dark); --bd: var(--accent-dark); }
.btn--dark:hover { --bg: var(--black); --bd: var(--black); }
.btn--light { --bg: var(--white); --fg: var(--charcoal); --bd: var(--white); }
.btn--light:hover { --bg: var(--grey-2); --bd: var(--grey-2); }
.btn--ghost { --bg: transparent; --fg: var(--charcoal); --bd: var(--charcoal); }
.btn--ghost:hover { --bg: var(--charcoal); --fg: var(--white); }
.on-dark .btn--ghost, .btn--ghost-light { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.55); }
.on-dark .btn--ghost:hover, .btn--ghost-light:hover { --bg: var(--white); --fg: var(--charcoal); --bd: var(--white); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .74rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 4px;
}
.text-link:hover { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(24, 25, 27, .96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  color: var(--white);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-transparent { background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0)); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { --header-h: 70px; background: rgba(24, 25, 27, .97); box-shadow: 0 1px 0 rgba(255,255,255,.06); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1440px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { height: 50px; width: auto; transition: height .35s var(--ease); }
.site-header.is-scrolled .brand img { height: 42px; }
.brand-text { display: none; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 10px 11px;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,.82); transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; gap: 10px; flex: none; }
.header-cta .btn { min-height: 42px; padding: 10px 16px; font-size: .72rem; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border: 1.5px solid rgba(255,255,255,.3); background: transparent; border-radius: var(--radius);
  cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 20px; height: 2px; background: var(--white); margin-left: -10px;
  transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-cta { display: none; }

@media (max-width: 1240px) {
  .main-nav a { padding: 10px 8px; font-size: .72rem; letter-spacing: .08em; }
  .main-nav a::after { left: 8px; right: 8px; }
}
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px; margin: 0;
    background: var(--charcoal); overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s linear .4s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; transition: transform .4s var(--ease); }
  .main-nav a { padding: 18px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--accent); }
  .main-nav .mobile-cta { display: grid; gap: 12px; margin-top: 24px; }
  .main-nav .mobile-cta a { border: 1.5px solid; padding: 16px; font-size: .82rem; color: var(--white); }
  /* backdrop-filter would trap the fixed menu inside the header, so drop it while open */
  body.nav-open .site-header { background: var(--charcoal); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Media placeholders / photo slots ----------
   Each photo slot is a <div class="media" data-img="images/...jpg">.
   Until a photo exists at that path, an architectural placeholder is shown
   with the file name, so you know where to drop the image. */
.media {
  position: relative; overflow: hidden;
  background-color: var(--charcoal-2);
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(135deg, #2a2c30 0%, #17181a 100%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  aspect-ratio: 4 / 3;
}
.media::before {
  /* subtle perspective lines suggesting a ceiling / room corner */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(155deg, transparent 49.6%, rgba(255,255,255,.07) 50%, transparent 50.4%),
    linear-gradient(25deg, transparent 49.6%, rgba(255,255,255,.05) 50%, transparent 50.4%);
  pointer-events: none;
}
.media > .media-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s var(--ease), transform 1.2s var(--ease);
}
.media.is-loaded > .media-img { opacity: 1; }
.media.is-loaded::before, .media.is-loaded .media-label { display: none; }
.media-label {
  position: absolute; left: 14px; bottom: 12px; right: 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: .68rem; letter-spacing: .08em; color: rgba(255,255,255,.42);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.media-label::before { content: ""; width: 8px; height: 8px; border: 1.5px solid rgba(252,51,2,.7); flex: none; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1; }
.media--fill { aspect-ratio: auto; position: absolute; inset: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--grey { background: var(--grey-1); }
.section--dark, .on-dark { background: var(--charcoal); color: var(--white); }
.section--black { background: var(--black); color: var(--white); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { max-width: 52ch; margin: 0; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); background: var(--black); overflow: hidden;
}
.hero .media { position: absolute; inset: 0; aspect-ratio: auto; }
.hero .media.is-loaded > .media-img { animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,8,9,.85) 0%, rgba(8,8,9,.55) 45%, rgba(8,8,9,.15) 100%),
              linear-gradient(0deg, rgba(8,8,9,.7) 0%, rgba(8,8,9,0) 45%);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.hero-video.is-on { display: block; }
.hero-video-toggle {
  position: absolute; z-index: 3; right: var(--gutter); top: calc(var(--header-h) + 20px);
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(8,8,9,.45); color: var(--white); border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  cursor: pointer; transition: background .2s, border-color .2s;
}
.hero-video-toggle:hover { background: var(--accent); border-color: var(--accent); }
.hero-video-toggle svg { width: 16px; height: 16px; }
.hero-video-toggle .i-play, .hero-video-toggle.is-paused .i-pause { display: none; }
.hero-video-toggle.is-paused .i-play { display: block; }
.hero .media-label { bottom: auto; top: calc(var(--header-h) + 16px); left: auto; right: 20px; width: auto; z-index: 2; }
.hero-content { position: relative; z-index: 2; padding: calc(var(--header-h) + 60px) 0 clamp(56px, 9vh, 110px); width: 100%; }
.hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-size: .8rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--grey-3); }
.hero-kicker::before { content: ""; width: 14px; height: 14px; background: var(--accent); }
.hero h1 { max-width: 14ch; margin-bottom: 18px; }
.hero h1 .thin { display: block; font-weight: 300; font-stretch: 100%; text-transform: none; letter-spacing: -.01em; font-size: .52em; margin-top: .35em; color: var(--grey-2); }
.hero .lead { max-width: 46ch; color: var(--grey-3); margin-bottom: 14px; }
.hero-est { display: inline-block; margin-bottom: 36px; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--white); border-top: 2px solid var(--accent); padding-top: 10px; }
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 2;
  writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--grey-text-light);
  display: flex; align-items: center; gap: 14px;
}
.hero-scroll::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--grey-text-light), transparent); }
@media (max-width: 700px) { .hero-scroll { display: none; } .hero .btn-row .btn { flex: 1 1 100%; } }

/* Inner page hero */
.page-hero {
  position: relative; color: var(--white); background: var(--black); overflow: hidden;
  padding: calc(var(--header-h) + clamp(70px, 10vw, 130px)) 0 clamp(60px, 8vw, 100px);
}
.page-hero .media { position: absolute; inset: 0; aspect-ratio: auto; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,9,.9) 0%, rgba(8,8,9,.6) 55%, rgba(8,8,9,.35) 100%); }
.page-hero .media-label { bottom: 14px; left: auto; right: 20px; width: auto; z-index: 2; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); max-width: 18ch; }
.page-hero .lead { max-width: 56ch; color: var(--grey-3); }
.page-hero--plain { background: var(--charcoal); }
.page-hero--plain::after { display: none; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 26px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-text-light); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Stats / ticker ---------- */
.stat-bar { background: var(--black); color: var(--white); border-top: 1px solid rgba(255,255,255,.07); }
.stat-bar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px 34px 0; border-right: 1px solid rgba(255,255,255,.08); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 800; font-stretch: 112%; line-height: 1.1; }
.stat span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-text-light); }
@media (max-width: 820px) {
  .stat-bar .wrap { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 24px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat:nth-child(2) { border-right: 0; }
}

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split--60 { grid-template-columns: 1.2fr 1fr; }
.split--40 { grid-template-columns: 1fr 1.2fr; }
@media (max-width: 900px) { .split, .split--60, .split--40 { grid-template-columns: 1fr; } }

.media-stack { position: relative; padding: 0 0 60px 60px; }
.media-stack .media:first-of-type { aspect-ratio: 4 / 5; }
.media-stack .media:last-of-type { position: absolute; left: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 8px solid var(--white); }
.media-stack .badge-square { position: absolute; top: -18px; right: -18px; width: 72px; height: 72px; background: var(--accent); z-index: 1; }
@media (max-width: 600px) { .media-stack { padding: 0 0 40px 30px; } .media-stack .badge-square { width: 44px; height: 44px; top: -10px; right: -10px; } }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--grey-2); border: 2px solid var(--grey-2); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .card-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid, .card-grid--4 { grid-template-columns: 1fr; } }

.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); text-decoration: none; color: var(--charcoal);
  transition: background .3s var(--ease);
}
.service-card .media { aspect-ratio: 16 / 10; }
.service-card .media-img { transform: scale(1.02); }
.service-card:hover .media-img { transform: scale(1.07); }
.service-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card .num { font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: var(--grey-text); margin-bottom: 10px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: .95rem; color: var(--grey-text); margin-bottom: 22px; }
.service-card .more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.service-card .more .arrow { transition: transform .3s var(--ease); }
.service-card:hover .more { color: var(--accent); }
.service-card:hover .more .arrow { transform: translateX(5px); }
.service-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .45s var(--ease); z-index: 2; }
.service-card:hover::after { width: 100%; }

/* ---------- Why choose / numbered list ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.why-item { padding: 34px 28px 34px 0; border-bottom: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: 52px 1fr; gap: 6px 14px; }
.why-item .n { font-size: .8rem; font-weight: 700; color: var(--accent); letter-spacing: .1em; padding-top: 4px; }
.why-item h3 { margin: 0 0 6px; font-size: 1.15rem; }
.why-item p { grid-column: 2; margin: 0; font-size: .95rem; color: var(--grey-text-light); }
.section:not(.on-dark):not(.section--dark) .why-grid { border-top-color: var(--grey-2); }
.section:not(.on-dark):not(.section--dark) .why-item { border-bottom-color: var(--grey-2); }
.section:not(.on-dark):not(.section--dark) .why-item p { color: var(--grey-text); }

/* ---------- Feature list (residential / commercial) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { padding: 32px 28px; background: var(--white); border: 1px solid var(--grey-2); position: relative; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.feature:hover { border-color: var(--charcoal); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.feature .icon { width: 44px; height: 44px; margin-bottom: 22px; color: var(--accent); }
.feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature p { font-size: .95rem; color: var(--grey-text); margin: 0; }
.on-dark .feature, .section--dark .feature { background: var(--charcoal-2); border-color: var(--charcoal-3); }
.on-dark .feature:hover, .section--dark .feature:hover { border-color: var(--grey-text); }
.on-dark .feature p, .section--dark .feature p { color: var(--grey-text-light); }

.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; background: var(--accent); }
.check-list--2col { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
@media (max-width: 600px) { .check-list--2col { grid-template-columns: 1fr; } }

/* ---------- Gallery strip ---------- */
.photo-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.photo-strip .media:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
@media (max-width: 760px) { .photo-strip { grid-template-columns: 1fr 1fr; } .photo-strip .media:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; } }

/* ---------- Service detail rows (services page) ---------- */
.service-index { display: flex; flex-wrap: wrap; gap: 8px; }
.service-index a { padding: 9px 14px; border: 1px solid var(--grey-3); font-size: .78rem; font-weight: 600; text-decoration: none; letter-spacing: .04em; transition: all .2s; }
.service-index a:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--grey-2); }
.service-row:nth-child(even) .media { order: 2; }
.service-row .num { font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--accent); margin-bottom: 14px; display: block; }
.service-row h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.service-row .check-list { margin: 22px 0 28px; font-size: .97rem; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.media-pair figure { margin: 0; }
.media-pair .media { aspect-ratio: 3 / 4; }
.media-pair figcaption { margin-top: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .03em; color: var(--grey-text); }

/* ---------- Home: Residential / Light Commercial panels ---------- */
.sector-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--black); }
.sector-tile { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(320px, 36vw, 480px); color: var(--white); text-decoration: none; }
.sector-tile .media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -2; transition: transform .9s var(--ease); }
.sector-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,8,9,.9) 0%, rgba(8,8,9,.5) 50%, rgba(8,8,9,.2) 100%); transition: background .3s var(--ease); }
.sector-tile:hover .media, .sector-tile:focus-visible .media { transform: scale(1.04); }
.sector-tile:hover::after { background: linear-gradient(0deg, rgba(8,8,9,.92) 0%, rgba(8,8,9,.55) 55%, rgba(8,8,9,.3) 100%); }
.sector-body { padding: clamp(28px, 4vw, 56px); max-width: 560px; }
.sector-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-3); }
.sector-kicker::before { content: ""; width: 10px; height: 10px; background: var(--accent); }
.sector-tile h2 { color: var(--white); margin-bottom: 12px; }
.sector-tile p { color: var(--grey-3); margin-bottom: 24px; max-width: 44ch; }
.sector-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; background: var(--accent); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sector-cta .arrow { transition: transform .25s var(--ease); }
.sector-tile:hover .sector-cta .arrow { transform: translateX(4px); }
@media (max-width: 760px) { .sector-split { grid-template-columns: 1fr; } .sector-tile { min-height: 300px; } }
.service-row:nth-child(even) .media-pair { order: 2; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; } .service-row:nth-child(even) .media, .service-row:nth-child(even) .media-pair { order: 0; } }
.before-after { display: grid; grid-template-columns: 0.758fr 1.311fr; gap: 16px; align-items: start; }
.before-after figure { margin: 0; }
.before-after figcaption { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: .9rem; color: rgba(255,255,255,.7); }
.ba-tag { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 6px 10px; background: rgba(255,255,255,.12); color: var(--white); }
.ba-tag--accent { background: var(--accent); }
@media (max-width: 700px) { .before-after { grid-template-columns: 1fr; gap: 28px; } }
.feature-strip { grid-column: 1 / -1; order: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-strip .media { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .feature-strip { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ---------- Projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn {
  padding: 11px 18px; background: transparent; border: 1.5px solid var(--grey-3); border-radius: var(--radius);
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--charcoal); }
.filter-btn[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.on-dark .filter-btn { border-color: var(--charcoal-3); color: var(--grey-3); }
.on-dark .filter-btn:hover { border-color: var(--grey-text-light); }
.on-dark .filter-btn[aria-pressed="true"] { background: var(--white); color: var(--charcoal); border-color: var(--white); }
@media (max-width: 620px) {
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px 0; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; }
}
.filter-sub {display: flex; align-items: center; gap: 10px; margin: -20px 0 36px; font-size: .85rem; color: var(--grey-text); flex-wrap: wrap; }
.filter-sub .filter-btn { padding: 7px 12px; font-size: .68rem; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-grid--home { grid-template-columns: repeat(12, 1fr); }
.project-grid--home .project-card { grid-column: span 4; }
.project-grid--home .project-card:nth-child(1) { grid-column: span 8; }
.project-grid--home .project-card:nth-child(1) .media { aspect-ratio: auto; height: 100%; min-height: 340px; }
@media (max-width: 1000px) { .project-grid { grid-template-columns: repeat(2, 1fr); } .project-grid--home .project-card, .project-grid--home .project-card:nth-child(1) { grid-column: span 6; } }
@media (max-width: 620px) { .project-grid { grid-template-columns: 1fr; } .project-grid--home .project-card, .project-grid--home .project-card:nth-child(1) { grid-column: span 12; } }

.project-card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: transparent; border: 0; padding: 0; cursor: pointer; color: inherit; text-decoration: none; overflow: hidden;
}
.project-card .media { aspect-ratio: 4 / 3; }
.project-card .media-label { display: none; }
.project-card .media-img { transition: transform 1s var(--ease), opacity .8s var(--ease); }
.project-card:hover .media-img { transform: scale(1.05); }
.project-card .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: var(--white);
  background: linear-gradient(0deg, rgba(8,8,9,.88) 0%, rgba(8,8,9,.15) 55%, rgba(8,8,9,0) 100%);
}
.project-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { display: inline-block; padding: 4px 9px; font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.14); color: var(--white); backdrop-filter: blur(4px); }
.tag--accent { background: var(--accent); }
.tag--outline { background: transparent; border: 1px solid rgba(255,255,255,.4); }
.project-card h3 { margin: 0 0 4px; font-size: 1.2rem; }
.project-card .loc { font-size: .85rem; color: var(--grey-3); }
.project-card .view {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--white); color: var(--charcoal); opacity: 0; transform: translateY(-6px); transition: all .35s var(--ease);
}
.project-card:hover .view, .project-card:focus-visible .view { opacity: 1; transform: none; }
.project-card .count { position: absolute; top: 18px; left: 18px; }
.empty-state { padding: 60px 0; text-align: center; color: var(--grey-text); grid-column: 1 / -1; }

/* Project modal */
.modal { position: fixed; inset: 0; z-index: 300; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,8,9,.88); animation: fadeIn .3s var(--ease); }
.modal-panel {
  position: relative; z-index: 1; height: 100%; overflow-y: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
  max-width: 1440px; margin: 0 auto; background: var(--white);
  animation: slideUp .45s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } }
.modal-close {
  position: fixed; top: 18px; right: 18px; z-index: 5; width: 52px; height: 52px;
  background: var(--charcoal); color: var(--white); border: 0; cursor: pointer; font-size: 1.6rem; line-height: 1;
}
.modal-close:hover { background: var(--accent); }
.modal-gallery { background: var(--black); padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 100%; }
.modal-main { position: relative; }
.modal-main .media { aspect-ratio: 3 / 2; background: var(--black); }
.modal-main .media-img { object-fit: contain; }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; background: rgba(255,255,255,.9); color: var(--charcoal); cursor: pointer; font-size: 1.2rem; z-index: 3; }
.modal-nav:hover { background: var(--white); }
.modal-nav.prev { left: 12px; } .modal-nav.next { right: 12px; }
.modal-caption { color: var(--grey-text-light); font-size: .85rem; min-height: 1.4em; }
.modal-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.modal-thumbs button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.modal-thumbs button[aria-current="true"], .modal-thumbs button:hover { opacity: 1; border-color: var(--accent); }
.modal-thumbs .media { aspect-ratio: 1; }
.modal-thumbs .media-label { display: none; }
.modal-info { padding: clamp(28px, 4vw, 56px); }
.modal-info h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 14px 0 6px; }
.modal-info .loc { color: var(--grey-text); margin-bottom: 28px; }
.modal-info h4 { margin: 32px 0 14px; color: var(--grey-text); font-size: .78rem; }
.modal-info .tags .tag { background: var(--grey-1); color: var(--charcoal); backdrop-filter: none; }
.modal-info .tags .tag--accent { background: var(--accent); color: var(--white); }
.modal-info .btn { margin-top: 36px; }
@media (max-width: 960px) { .modal-panel { display: block; height: 100%; } .modal-gallery { min-height: 0; } }

/* Before / after slider */
.ba { position: relative; aspect-ratio: 3 / 2; overflow: hidden; user-select: none; touch-action: pan-y; }
.ba .media { position: absolute; inset: 0; aspect-ratio: auto; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--white); transform: translateX(-1px); z-index: 3; pointer-events: none; }
.ba-handle::after { content: "\2039  \203A"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; display: grid; place-items: center; background: var(--white); color: var(--charcoal); font-weight: 700; border-radius: 50%; font-size: 1.1rem; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba-label { position: absolute; top: 14px; z-index: 2; padding: 5px 10px; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(8,8,9,.75); color: var(--white); }
.ba-label.before { left: 14px; } .ba-label.after { right: 14px; }
.ba-title { color: var(--grey-text-light); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin: 16px 0 0; }

/* ---------- CTA blocks ---------- */
.cta-dual { display: grid; grid-template-columns: 1fr 1fr; }
.cta-panel { position: relative; padding: clamp(56px, 7vw, 110px) clamp(28px, 5vw, 80px); color: var(--white); overflow: hidden; }
.cta-panel--dark { background: var(--charcoal); }
.cta-panel--black { background: var(--black); }
.cta-panel h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); max-width: 14ch; }
.cta-panel p { color: var(--grey-3); max-width: 46ch; margin-bottom: 34px; }
.cta-panel .corner { position: absolute; top: 0; right: 0; width: 64px; height: 64px; background: var(--accent); }
.cta-panel--black .corner { background: transparent; border-left: 1px solid var(--charcoal-3); border-bottom: 1px solid var(--charcoal-3); }
@media (max-width: 860px) { .cta-dual { grid-template-columns: 1fr; } }

.cta-band { background: var(--accent); color: var(--white); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 52px; padding-bottom: 52px; }
.cta-band h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 22ch; }
.cta-band .btn--light:hover { --bg: var(--charcoal); --fg: var(--white); --bd: var(--charcoal); }

/* ---------- Area list ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255,255,255,.08); }
.area { background: var(--charcoal); padding: 30px 24px; }
.area h3 { font-size: 1.1rem; margin-bottom: 6px; }
.area p { font-size: .88rem; color: var(--grey-text-light); margin: 0; }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .areas { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--grey-text-light); padding: clamp(64px, 8vw, 100px) 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; }
.footer-brand img { width: 120px; margin-bottom: 24px; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { color: var(--white); font-size: .74rem; letter-spacing: .2em; margin-bottom: 20px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.footer-contact li { display: grid; gap: 2px; }
.footer-contact small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-text); }
.footer-contact a, .footer-contact span { color: var(--grey-2); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--charcoal-3); color: var(--grey-3); transition: all .2s; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--charcoal-2); padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .8rem; color: var(--grey-text); }
.footer-bottom a { color: var(--grey-text); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--grey-2); margin-bottom: 36px; }
.contact-list li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--grey-2); }
.contact-list small { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-text); padding-top: 4px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--accent); }
@media (max-width: 480px) { .contact-list li { grid-template-columns: 1fr; gap: 4px; } }
.contact .social a { border-color: var(--grey-3); color: var(--charcoal); }

/* ---------- Forms ---------- */
.form-shell { background: var(--white); border: 1px solid var(--grey-2); padding: clamp(24px, 4vw, 56px); }
.form-section { border: 0; margin: 0 0 44px; padding: 0; min-width: 0; }
.form-section:last-of-type { margin-bottom: 32px; }
.form-section legend {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 0 0 16px; margin-bottom: 24px;
  border-bottom: 2px solid var(--charcoal);
  font-size: 1.05rem; font-weight: 800; font-stretch: 108%; letter-spacing: .02em; text-transform: uppercase;
}
.form-section legend .step { display: grid; place-items: center; width: 30px; height: 30px; background: var(--accent); color: var(--white); font-size: .8rem; flex: none; }
.form-hint { margin: -10px 0 22px; font-size: .9rem; color: var(--grey-text); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 22px; }
.field-grid--3 { grid-template-columns: repeat(3, 1fr); }
.field-grid--4 { grid-template-columns: 2fr 1fr 1fr 1fr; }
.span-2 { grid-column: span 2; }
.span-all { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .field-grid, .field-grid--3, .field-grid--4 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field .label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--charcoal-3); }
.req { color: var(--accent); margin-left: 2px; }
.optional { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--grey-text); }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px;
  background: var(--grey-1); border: 1.5px solid var(--grey-2); border-radius: var(--radius);
  font-size: 1rem; /* 16px+ stops iOS zoom */
  transition: border-color .2s, background .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2318191b' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field textarea.lg { min-height: 220px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--charcoal); box-shadow: 0 0 0 3px rgba(24,25,27,.08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--accent); background: #fff6f3; }
.field-error { font-size: .82rem; color: var(--accent-dark); font-weight: 600; display: none; }
.field.has-error .field-error { display: block; }
.choice-group.has-error .field-error { display: block; }

/* Selectable chips (checkbox / radio cards) */
.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-group > .label { display: block; margin-bottom: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--charcoal-3); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.choices--compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; gap: 12px; min-height: 54px; height: 100%; padding: 12px 14px;
  background: var(--grey-1); border: 1.5px solid var(--grey-2); border-radius: var(--radius);
  font-size: .95rem; font-weight: 500; line-height: 1.3; transition: all .2s;
}
.choice span::before {
  content: ""; flex: none; width: 20px; height: 20px; border: 1.5px solid var(--grey-3); background: var(--white);
  transition: all .2s;
}
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice:hover span { border-color: var(--grey-3); }
.choice input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.choice input:checked + span::before {
  background: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' stroke='white' stroke-width='2.2' fill='none'/%3E%3C/svg%3E");
}
.choice input[type="radio"]:checked + span::before { background-image: none; box-shadow: inset 0 0 0 4px var(--charcoal); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--grey-1); border: 1.5px solid var(--grey-2); cursor: pointer; font-size: .92rem; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent.has-error { border-color: var(--accent); }

/* Dropzone */
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 44px 24px; text-align: center;
  border: 2px dashed var(--grey-3); background: var(--grey-1); border-radius: var(--radius);
  cursor: pointer; transition: all .2s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--charcoal); background: var(--white); }
.dropzone.is-over { border-color: var(--accent); }
.dropzone svg { width: 40px; height: 40px; color: var(--charcoal); }
.dropzone strong { font-size: 1.05rem; }
.dropzone small { color: var(--grey-text); font-size: .85rem; }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-list { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.file-item { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; background: var(--white); border: 1px solid var(--grey-2); }
.file-item .ext { width: 40px; height: 40px; display: grid; place-items: center; background: var(--charcoal); color: var(--white); font-size: .62rem; font-weight: 800; letter-spacing: .06em; }
.file-item .meta { min-width: 0; }
.file-item .name { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-item .size { font-size: .78rem; color: var(--grey-text); }
.file-item .bar { height: 4px; background: var(--grey-2); margin-top: 6px; overflow: hidden; display: none; }
.file-item .bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.is-uploading .file-item .bar { display: block; }
.file-item .remove { width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; font-size: 1.3rem; color: var(--grey-text); }
.file-item .remove:hover { color: var(--accent); }
.file-item.is-invalid { border-color: var(--accent); background: #fff6f3; }
.file-summary { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .82rem; color: var(--grey-text); flex-wrap: wrap; }
.file-summary.is-over { color: var(--accent-dark); font-weight: 600; }
.notice { display: flex; gap: 14px; padding: 18px 20px; background: var(--charcoal); color: var(--grey-2); font-size: .9rem; margin-top: 18px; }
.notice::before { content: ""; width: 10px; height: 10px; background: var(--accent); margin-top: .5em; flex: none; }
.notice strong { color: var(--white); }
.notice--light { background: var(--grey-1); color: var(--charcoal-3); border-left: 3px solid var(--accent); }
.notice--light::before { display: none; }
.notice--light strong { color: var(--charcoal); }

.form-actions { display: flex; flex-direction: column; gap: 16px; }
.form-actions .btn { min-height: 60px; font-size: .88rem; }
.form-status { display: none; padding: 16px 18px; font-size: .92rem; }
.form-status.is-error { display: block; background: #fff6f3; border-left: 3px solid var(--accent); color: var(--accent-dark); }
.upload-progress { display: none; }
.upload-progress.is-active { display: block; }
.upload-progress .track { height: 8px; background: var(--grey-2); overflow: hidden; }
.upload-progress .track i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.upload-progress .txt { display: flex; justify-content: space-between; margin-top: 8px; font-size: .82rem; color: var(--grey-text); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Confirmation */
.confirmation { display: none; text-align: left; padding: clamp(32px, 5vw, 64px); background: var(--charcoal); color: var(--white); }
.confirmation.is-visible { display: block; animation: slideUp .5s var(--ease); }
.confirmation .tick { width: 64px; height: 64px; background: var(--accent); display: grid; place-items: center; margin-bottom: 28px; }
.confirmation .tick svg { width: 32px; height: 32px; }
.confirmation h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.confirmation p { color: var(--grey-3); max-width: 60ch; }
.confirmation .fine { font-size: .88rem; color: var(--grey-text-light); border-top: 1px solid var(--charcoal-3); padding-top: 20px; margin-top: 28px; }
.confirmation .ref { display: inline-block; margin: 6px 0 22px; padding: 8px 14px; background: var(--charcoal-2); font-family: ui-monospace, Consolas, monospace; font-size: .9rem; color: var(--white); }

/* Form page layout with sidebar */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 60px); align-items: start; }
.form-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-card { padding: 28px; background: var(--charcoal); color: var(--grey-3); font-size: .92rem; }
.aside-card h3 { color: var(--white); font-size: 1.1rem; }
.aside-card ol { padding-left: 18px; display: grid; gap: 10px; margin: 0; }
.aside-card a { color: var(--white); font-weight: 600; }
.aside-card--light { background: var(--grey-1); color: var(--charcoal-3); }
.aside-card--light h3 { color: var(--charcoal); }
.aside-card--light a { color: var(--charcoal); }
@media (max-width: 1000px) { .form-layout { grid-template-columns: 1fr; } .form-aside { position: static; } }

/* Mobile-first booking form tweaks */
.booking-form .form-shell { border: 0; padding: 0; background: transparent; }
@media (max-width: 600px) {
  .booking-form .choices { grid-template-columns: 1fr; }
  .form-shell { padding: 22px 18px; margin: 0 calc(var(--gutter) * -1); border-left: 0; border-right: 0; }
  .booking-form .form-shell { margin: 0; padding: 0; }
}

/* Prose (privacy etc.) */
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose ul { padding-left: 20px; margin-bottom: 1.1em; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(32px, 4vw, 56px); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.divider-square { display: inline-block; width: 12px; height: 12px; background: var(--accent); }
