/* =====================================================================
   STYLES.CSS — HOW THE WEBSITE LOOKS
   ---------------------------------------------------------------------
   To re-brand for a new client, you usually only change SECTION 1
   (colours and fonts). Everything else adjusts automatically.
   ===================================================================== */


/* =====================================================================
   1. BRAND SETTINGS — colours & fonts (change these for each client)
   ===================================================================== */
:root {
  --ink: #0b0c0e;          /* main background: deep charcoal */
  --ink-2: #111316;        /* alternate dark sections */
  --ink-3: #181a1e;        /* form fields, raised bits */
  --paper: #efebe5;        /* warm off-white: text on dark, light section background */
  --muted: #9d998f;        /* secondary text on dark */
  --muted-dark: #5a564f;   /* secondary text on the light section */
  --accent: #8ab9d4;       /* soft ice blue: used in very few places */

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}


/* =====================================================================
   2. LAYOUT SETTINGS (rarely need changing)
   ===================================================================== */
:root {
  color-scheme: dark;
  --container: 1260px;
  --gutter: clamp(1.25rem, 4.5vw, 3.25rem);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --line: rgba(239, 235, 229, 0.12);
  --line-strong: rgba(239, 235, 229, 0.28);
  --section: clamp(5.5rem, 12vw, 10rem);
}


/* =====================================================================
   3. BASICS
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }

/* Without the intro, the page fades in once the text is filled in */
.js.intro-off body { opacity: 0; animation: show-page 0s 2.5s forwards; }
.js.intro-off body.is-ready { opacity: 1; transition: opacity 0.5s ease; animation: none; }
@keyframes show-page { to { opacity: 1; } }

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.noscript { padding: 1rem; text-align: center; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }


/* =====================================================================
   4. TYPE, BUTTONS, LINKS
   ===================================================================== */
.h2 {
  font-size: clamp(2.1rem, 3.4vw + 0.8rem, 3.9rem);
  font-stretch: 112%;
  letter-spacing: -0.035em;
}
.h2--xl { font-size: clamp(2.6rem, 5.6vw + 0.6rem, 6rem); line-height: 0.96; }

.lead {
  max-width: 44ch;
  text-wrap: pretty;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 0.35vw + 1rem, 1.2rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 600 0.95rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { transition: translate 0.45s var(--ease); }
.btn:hover [data-icon="arrow"] .icon { translate: 4px 0; }

/* Solid: off-white, inverts on hover */
.btn-solid { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-solid:hover { background: transparent; color: var(--paper); }

/* Line: thin outline */
.btn-line { border-color: var(--line-strong); color: var(--paper); background: rgba(11, 12, 14, 0.2); }
.btn-line:hover { border-color: var(--paper); }

.btn-sm { min-height: 40px; padding: 0 1rem; font-size: 0.88rem; }
.btn-lg { min-height: 56px; padding: 0 1.75rem; font-size: 1rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--paper);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}
.text-link > span:first-child {
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.45s var(--ease);
}
.text-link:hover > span:first-child { background-size: 0 1px; background-position: 100% 100%; }
.text-link .icon { transition: translate 0.45s var(--ease); }
.text-link:hover .icon { translate: 4px 0; }

/* Honest demo labels: small, quiet, but always readable */
.demo-tag {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  padding: 0.2rem 0.5rem;
  background: rgba(11, 12, 14, 0.62);
  color: rgba(239, 235, 229, 0.85);
  font-size: 0.72rem;
  line-height: 1.4;
  pointer-events: none;
}
.disclosure {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.disclosure .icon { margin-top: 0.2em; width: 1em; height: 1em; }


/* =====================================================================
   5. INTRO (first visit per session, about 1.8 s, skipped with reduced motion)
   ===================================================================== */
.intro { display: none; }
.intro-on .intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--ink);
  pointer-events: none;
  clip-path: inset(0 0 0 0);
  animation: intro-lift 0.65s cubic-bezier(0.7, 0, 0.25, 1) 1.2s forwards;
}
.intro-done .intro { display: none; }
.intro-inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.intro-mark { width: 60px; height: 60px; overflow: visible; }
.intro-mark rect {
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.3;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: intro-draw 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.1s forwards;
}
.intro-mark text {
  fill: var(--paper);
  font: 700 28px var(--font-display);
  font-stretch: 125%;
  opacity: 0;
  animation: intro-fade 0.5s ease 0.45s forwards;
}
.intro-word {
  padding-left: 0.34em;
  font: 700 0.9rem/1 var(--font-display);
  font-stretch: 125%;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(100deg, var(--paper) 0 42%, #fff 50%, rgba(239, 235, 229, 0.25) 58% 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  animation: intro-fade 0.4s ease 0.5s forwards, intro-sweep 0.9s var(--ease) 0.55s forwards;
}
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-fade { to { opacity: 1; } }
@keyframes intro-sweep { to { background-position: 0 0; } }
@keyframes intro-lift { to { clip-path: inset(0 0 100% 0); } }


/* =====================================================================
   6. HEADER & NAVIGATION
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(11, 12, 14, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 2.25rem; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(239, 235, 229, 0.55);
  font: 700 0.85rem/1 var(--font-display);
  font-stretch: 125%;
}
.brand-name {
  font: 700 0.95rem/1 var(--font-display);
  font-stretch: 125%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 1.9rem; }
.nav-list a {
  position: relative;
  display: inline-block;
  padding-block: 0.6rem;
  color: rgba(239, 235, 229, 0.72);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.3s;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.3rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--paper); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-footer { display: none; }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.lang-switch { display: inline-flex; }
.lang-switch button {
  min-width: 38px;
  height: 44px;
  padding: 0 0.3rem;
  border: 0;
  background: transparent;
  color: rgba(239, 235, 229, 0.45);
  font: 600 0.8rem/1 var(--font-body);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.3s;
}
.lang-switch button:hover { color: var(--paper); }
.lang-switch button[aria-pressed="true"] {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  height: 44px;
  padding: 0 0 0 0.5rem;
  border: 0;
  background: transparent;
  color: var(--paper);
  font: 600 0.88rem/1 var(--font-body);
  cursor: pointer;
}
.menu-toggle-icon { display: grid; gap: 6px; width: 22px; }
.menu-toggle-icon span { display: block; height: 1.5px; background: currentColor; transition: transform 0.45s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* Phone & tablet menu (must match MOBILE_NAV_BREAKPOINT in script.js) */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    display: block;
    padding: 0.55rem 0;
    color: var(--paper);
    font: 650 clamp(2rem, 8vw, 2.8rem)/1.15 var(--font-display);
    font-stretch: 112%;
    letter-spacing: -0.03em;
  }
  .nav-list a::after { display: none; }
  .site-nav.is-open .nav-list li { animation: menu-in 0.6s var(--ease) both; }
  .site-nav.is-open .nav-list li:nth-child(2) { animation-delay: 0.04s; }
  .site-nav.is-open .nav-list li:nth-child(3) { animation-delay: 0.08s; }
  .site-nav.is-open .nav-list li:nth-child(4) { animation-delay: 0.12s; }
  .site-nav.is-open .nav-list li:nth-child(5) { animation-delay: 0.16s; }
  .nav-footer { display: block; }
  .nav-call { width: 100%; }
}
@keyframes menu-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 700px) {
  .header-cta { display: none; }
  .header-inner { gap: 1rem; }
  .header-actions { gap: 0.5rem; }
}
@media (max-width: 480px) {
  /* Icon only on phones; the word stays available to screen readers */
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-toggle { width: 44px; justify-content: center; padding: 0; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 0.82rem; letter-spacing: 0.04em; }
  .brand { gap: 0.55rem; }
  .brand-mark { width: 28px; height: 28px; }
}


/* =====================================================================
   7. HERO
   ===================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 3rem) clamp(4.5rem, 11vh, 7rem);
  overflow: hidden;
}
@media (min-height: 1100px) { .hero { min-height: 980px; } }

.hero-media { position: absolute; inset: -8% 0; z-index: -2; }
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  scale: 1.03;
  animation: hero-settle 2.6s var(--ease) both;
}
@keyframes hero-settle { from { scale: 1.1; opacity: 0.4; } to { scale: 1.03; opacity: 1; } }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 12, 14, 0.9) 0%, rgba(11, 12, 14, 0.62) 38%, rgba(11, 12, 14, 0.08) 72%),
    linear-gradient(0deg, rgba(11, 12, 14, 0.96) 0%, rgba(11, 12, 14, 0) 48%),
    linear-gradient(180deg, rgba(11, 12, 14, 0.55) 0%, rgba(11, 12, 14, 0) 22%);
}

.hero-where {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
  color: rgba(239, 235, 229, 0.82);
  font-size: 0.98rem;
}
.hero-where .icon { color: var(--accent); }

.hero-title {
  max-width: 11.5ch;
  font-size: clamp(2.7rem, 6.6vw + 0.4rem, 7rem);
  font-weight: 700;
  font-stretch: 115%;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.hero-lead {
  max-width: 38ch;
  margin-top: 1.6rem;
  color: rgba(239, 235, 229, 0.78);
  font-size: clamp(1.06rem, 0.4vw + 1rem, 1.22rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

.hero-demo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.4rem;
  color: rgba(239, 235, 229, 0.45);
  font-size: 0.74rem;
  text-align: right;
}

/* Hero text enters gently (after the intro, if it plays) */
.hero-inner > * { animation: rise 0.9s var(--ease) both; animation-delay: var(--hd, 0.15s); }
.hero-inner > :nth-child(2) { --hd: 0.25s; }
.hero-inner > :nth-child(3) { --hd: 0.35s; }
.hero-inner > :nth-child(4) { --hd: 0.45s; }
.intro-on .hero-inner > * { animation-delay: calc(var(--hd, 0.15s) + 1.3s); }
.intro-on .hero-img { animation-delay: 1.1s; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 760px) {
  .hero { padding-bottom: 4.25rem; }
  .hero-img { object-position: 70% 50%; }
  .hero-shade {
    background: linear-gradient(0deg, rgba(11, 12, 14, 0.97) 0%, rgba(11, 12, 14, 0.82) 38%, rgba(11, 12, 14, 0.3) 70%, rgba(11, 12, 14, 0.55) 100%);
  }
  .hero-title { font-stretch: 108%; }
  .hero-demo { text-align: left; bottom: 1.25rem; }
}
@media (max-width: 560px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}


/* =====================================================================
   8. STORY (why detailing matters in Ottawa)
   ===================================================================== */
.story { padding-block: var(--section); }
.story-grid { display: grid; gap: 2.5rem; }
.story-big {
  max-width: 24ch;
  font: 500 clamp(1.75rem, 3.3vw + 0.5rem, 3.7rem)/1.12 var(--font-display);
  font-stretch: 104%;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}
.story-text { max-width: 40ch; color: var(--muted); font-size: 1.1rem; }
.story-side .text-link { margin-top: 1.5rem; }
.story-figure { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 3; }
.story-figure img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .story-grid { grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; row-gap: clamp(4rem, 8vw, 7rem); }
  .story-big { grid-column: 1 / 11; }
  .story-side { grid-column: 1 / 5; grid-row: 2; align-self: end; }
  .story-figure { grid-column: 6 / 13; grid-row: 2; aspect-ratio: 16 / 11; }
}


/* =====================================================================
   9. SERVICES (a service menu with a changing photo)
   ===================================================================== */
.services { padding-block: var(--section); background: var(--ink-2); }
.section-head { max-width: 760px; margin-bottom: clamp(3rem, 6vw, 5rem); }

.menu { display: grid; gap: 3rem; }
.menu-visual { display: none; }

.menu-list { border-top: 1px solid var(--line); }
.menu-item { border-bottom: 1px solid var(--line); }
.menu-heading { font: inherit; letter-spacing: 0; }
.menu-trigger {
  display: grid;
  grid-template-columns: 3rem 1fr 20px;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 72px;
  padding: 1.25rem 0;
  border: 0;
  background: none;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
}
.menu-num { color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.menu-title {
  font: 650 clamp(1.45rem, 1.9vw + 0.85rem, 2.35rem)/1.05 var(--font-display);
  font-stretch: 110%;
  letter-spacing: -0.03em;
  color: rgba(239, 235, 229, 0.5);
  transition: color 0.45s var(--ease), translate 0.45s var(--ease);
}
.menu-trigger:hover .menu-title { color: rgba(239, 235, 229, 0.85); }
.menu-item.is-active .menu-title { color: var(--paper); }

.menu-toggle-mark { position: relative; width: 14px; height: 14px; justify-self: end; }
.menu-toggle-mark::before,
.menu-toggle-mark::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.menu-toggle-mark::after { transform: rotate(90deg); }
.menu-item.is-active .menu-toggle-mark::after { transform: rotate(0deg); opacity: 0; }

.menu-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.menu-item.is-active .menu-panel { grid-template-rows: 1fr; }
.menu-panel-inner {
  overflow: hidden;
  padding-left: 3.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.6s;
}
.menu-item.is-active .menu-panel-inner { opacity: 1; visibility: visible; transition-delay: 0.1s, 0s; }
.menu-panel-inner > :last-child { margin-bottom: 1.75rem; }

.menu-panel-img { overflow: hidden; margin-bottom: 1.25rem; border-radius: 2px; aspect-ratio: 16 / 10; }
.menu-panel-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-desc { max-width: 46ch; color: rgba(239, 235, 229, 0.82); }
.menu-includes {
  display: grid;
  gap: 0.35rem 1.5rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.menu-includes li { display: flex; align-items: baseline; gap: 0.65rem; }
.menu-includes li::before { content: ""; width: 4px; height: 4px; flex-shrink: 0; translate: 0 -0.2em; background: var(--muted); }
.menu-panel .text-link { margin-top: 1rem; }

@media (min-width: 560px) { .menu-includes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) {
  .menu-trigger { grid-template-columns: 2.25rem 1fr 18px; }
  .menu-panel-inner { padding-left: 0; }
}

@media (min-width: 1000px) {
  .menu { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .menu-visual {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - var(--header-h) - 4rem);
    border-radius: 2px;
    background: var(--ink-3);
  }
  .menu-visual-frame { position: absolute; inset: 0; }
  .menu-visual-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    scale: 1.05;
    transition: opacity 0.8s var(--ease), scale 1.2s var(--ease);
  }
  .menu-visual-frame img.is-active { opacity: 1; scale: 1; }
  .menu-panel-img { display: none; }
  .menu-trigger:hover .menu-title { translate: 6px 0; }
}


/* =====================================================================
   10. RESULTS (before/after + editorial gallery)
   ===================================================================== */
.results { padding-block: var(--section); }
.results-head { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .results-head { grid-template-columns: 1fr auto; align-items: end; gap: 4rem; }
}

.compare-figure { margin-top: clamp(3rem, 6vw, 5rem); }
.compare {
  --pos: 50%;
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink-3);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y; /* sideways drags move the divider, up/down still scrolls */
  cursor: ew-resize;
}
@media (max-width: 760px) { .compare { aspect-ratio: 4 / 4.2; } }
.compare:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }

.compare-layer { position: absolute; inset: 0; }
.compare-layer img { width: 100%; height: 100%; object-fit: cover; }
.compare-after { clip-path: inset(0 0 0 var(--pos)); }
.compare.is-simulated .compare-before img { filter: grayscale(0.7) sepia(0.4) brightness(0.6) contrast(0.7) blur(1px); }
.compare.is-simulated .compare-before::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 35% at 30% 40%, rgba(140, 120, 90, 0.28), transparent 70%),
    radial-gradient(35% 30% at 70% 70%, rgba(120, 100, 80, 0.25), transparent 70%),
    linear-gradient(rgba(150, 135, 110, 0.18), rgba(90, 80, 65, 0.22));
}
.compare::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 30%;
  background: linear-gradient(0deg, rgba(11, 12, 14, 0.6), transparent);
  pointer-events: none;
}
.compare-tag {
  position: absolute;
  bottom: 1.1rem;
  z-index: 3;
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 600;
  pointer-events: none;
}
.compare-tag--before { left: 1.25rem; }
.compare-tag--after { right: 1.25rem; }

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 4;
  width: 1px;
  background: rgba(239, 235, 229, 0.9);
  transform: translateX(-50%);
  pointer-events: none;
}
.compare-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(239, 235, 229, 0.85);
  border-radius: 50%;
  background: rgba(11, 12, 14, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--paper);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background-color 0.35s;
}
.compare:hover .compare-handle span { background: rgba(11, 12, 14, 0.5); }
.compare.is-dragging .compare-handle span { transform: translate(-50%, -50%) scale(0.9); }
.compare-handle .icon { width: 18px; height: 18px; }
.compare-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none; /* dragging is handled in script.js; this slider is for keyboard users */
  -webkit-appearance: none;
  appearance: none;
}
.compare-caption { margin-top: 1rem; color: var(--muted); font-size: 0.9rem; }

/* Placeholders (only shown if a photo is missing) */
.ph { display: grid; place-items: center; width: 100%; height: 100%; padding: 1rem; text-align: center; background: var(--ink-3); }
.ph-inner { display: grid; justify-items: center; gap: 0.4rem; color: var(--muted); }
.ph-inner .icon { width: 28px; height: 28px; }
.ph-note { font-size: 0.8rem; }

/* Editorial gallery: different sizes, loose alignment */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 2vw, 1.75rem);
  margin-top: clamp(5rem, 10vw, 8rem);
}
.g-item { grid-column: span 6; }
.g-media { position: relative; overflow: hidden; border-radius: 2px; background: var(--ink-3); }
.g-media img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.9s var(--ease); }
.g-item:hover .g-media img { scale: 1.03; }
.g-item figcaption { margin-top: 0.8rem; color: var(--muted); font-size: 0.9rem; }

.g-1 { grid-column: 1 / 9; }
.g-1 .g-media { aspect-ratio: 16 / 10; }
.g-2 { grid-column: 9 / 13; align-self: end; }
.g-2 .g-media { aspect-ratio: 3 / 4; }
.g-3 { grid-column: 2 / 6; }
.g-3 .g-media { aspect-ratio: 4 / 5; }
.g-4 { grid-column: 7 / 13; align-self: center; }
.g-4 .g-media { aspect-ratio: 16 / 10; }

@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 2rem 0.75rem; }
  .g-1, .g-4 { grid-column: 1 / -1; }
  .g-1 .g-media, .g-4 .g-media { aspect-ratio: 4 / 3; }
  .g-2, .g-3 { grid-column: span 1; align-self: start; }
  .g-2 .g-media, .g-3 .g-media { aspect-ratio: 3 / 4; }
  .g-item figcaption { font-size: 0.84rem; }
}


/* =====================================================================
   11. PROCESS (light section)
   ===================================================================== */
.process { padding-block: var(--section); background: var(--paper); color: var(--ink); }
.process .h2 { max-width: 14ch; }
.process :focus-visible { outline-color: var(--ink); }

.steps { display: grid; gap: 0 clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(3rem, 7vw, 5.5rem); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step { position: relative; padding-block: 1.75rem 2.5rem; }
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
}
.step-num {
  display: block;
  font: 300 clamp(2.8rem, 4.2vw, 4rem)/1 var(--font-display);
  font-stretch: 125%;
  letter-spacing: -0.04em;
}
.step h3 { margin-top: 1.25rem; font-size: 1.2rem; font-stretch: 106%; letter-spacing: -0.01em; }
.step p { max-width: 30ch; margin-top: 0.55rem; color: var(--muted-dark); font-size: 0.98rem; }

@media (max-width: 699px) {
  .step { display: grid; grid-template-columns: 4.25rem 1fr; column-gap: 0.5rem; padding-block: 1.5rem 1.75rem; }
  .step-num { grid-row: span 2; font-size: 2.4rem; }
  .step h3 { margin-top: 0.1rem; }
}


/* =====================================================================
   12. TRUST (large statements; the one in the middle of the screen is lit)
   ===================================================================== */
.trust { padding-block: var(--section); }
.trust-grid { display: grid; gap: 2rem; }
.trust-title { color: var(--muted); font: 500 1rem/1.4 var(--font-body); letter-spacing: 0; }
@media (min-width: 900px) {
  .trust-grid { grid-template-columns: 3fr 9fr; gap: 3rem; align-items: start; }
  .trust-title { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.trust-list { border-top: 1px solid var(--line); }
.trust-item { padding-block: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--line); }
.trust-line {
  font: 650 clamp(1.9rem, 3.8vw + 0.3rem, 4.1rem)/1.02 var(--font-display);
  font-stretch: 112%;
  letter-spacing: -0.035em;
}
.trust-sub { max-width: 46ch; margin-top: 0.7rem; color: var(--muted); font-size: 1.04rem; }
.trust-line { transition: color 0.6s var(--ease); }
.trust-list.has-focus .trust-line { color: rgba(239, 235, 229, 0.45); }
.trust-list.has-focus .trust-item.is-current .trust-line { color: var(--paper); }


/* =====================================================================
   13. REVIEWS
   ===================================================================== */
.reviews { padding-block: var(--section); background: var(--ink-2); }
.reviews-head { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .reviews-head { grid-template-columns: 1fr auto; align-items: end; gap: 4rem; }
}
.review blockquote { margin: 0; }
.review figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.stars { display: inline-flex; gap: 2px; color: #c9b58c; }
.stars .icon { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.review-tag { padding: 0.1rem 0.45rem; border: 1px solid var(--line-strong); font-size: 0.76rem; }

.review--lead { margin-top: clamp(3rem, 6vw, 5rem); }
.review--lead blockquote p {
  max-width: 28ch;
  font: 400 clamp(1.6rem, 2.9vw + 0.6rem, 3.3rem)/1.18 var(--font-display);
  font-stretch: 102%;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}
.reviews-more { display: grid; gap: 2.5rem; margin-top: clamp(3rem, 6vw, 5rem); }
@media (min-width: 760px) {
  .reviews-more { grid-template-columns: 1fr 1fr; gap: 3.5rem; max-width: 820px; margin-left: auto; }
}
.reviews-more .review { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.reviews-more blockquote p { font-size: 1.15rem; line-height: 1.5; color: rgba(239, 235, 229, 0.9); }


/* =====================================================================
   14. SERVICE AREA
   ===================================================================== */
.area { padding-top: var(--section); }
.area-layout { display: grid; }
.area-text { padding-inline: var(--gutter); padding-bottom: clamp(3rem, 7vw, 5rem); }
.area-names {
  display: flex;
  flex-wrap: wrap;
  max-width: 620px;
  margin-top: 2.5rem;
  font: 600 clamp(1.45rem, 2.2vw + 0.7rem, 2.5rem)/1.2 var(--font-display);
  font-stretch: 108%;
  letter-spacing: -0.025em;
}
.area-names li { white-space: nowrap; }
.area-names li:not(:last-child)::after { content: ","; margin-right: 0.35em; }
.area-names li:last-child { color: var(--muted); }

.area-map { position: relative; min-height: 420px; overflow: hidden; background: var(--ink-3); }
.area-map iframe {
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: calc(100% + 80px);
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.85) brightness(0.9);
}
.area-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, transparent 20%, transparent 80%, rgba(11, 12, 14, 0.85) 100%);
  pointer-events: none;
}
.map-note { position: absolute; left: var(--gutter); bottom: 1rem; z-index: 2; color: rgba(239, 235, 229, 0.7); font-size: 0.8rem; pointer-events: none; }

@media (min-width: 1000px) {
  .area { padding-bottom: var(--section); }
  .area-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
  .area-text {
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
    padding-right: 4rem;
    padding-bottom: 0;
  }
  .area-map { min-height: 600px; }
  .area-map::after { background: linear-gradient(90deg, var(--ink) 0%, transparent 28%), linear-gradient(0deg, rgba(11, 12, 14, 0.8) 0%, transparent 25%); }
  .map-note { left: 30%; }
}


/* =====================================================================
   15. FAQ
   ===================================================================== */
.faq { padding-block: var(--section); background: var(--ink-2); }
.faq-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 4fr 7fr; gap: 5rem; align-items: start; }
  .faq-side { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.faq-more { display: grid; justify-items: start; gap: 0.25rem; margin-top: 1.75rem; color: var(--muted); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
  padding: 1.2rem 0;
  list-style: none;
  cursor: pointer;
  font: 600 clamp(1.08rem, 0.6vw + 0.95rem, 1.3rem)/1.3 var(--font-display);
  font-stretch: 104%;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover > span:first-child { color: rgba(239, 235, 229, 0.8); }
.faq-mark { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-mark::before, .faq-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.faq-mark::after { transform: rotate(90deg); }
.faq-item[open] .faq-mark::after { transform: rotate(0); opacity: 0; }
.faq-answer p { max-width: 60ch; padding-bottom: 1.5rem; color: var(--muted); }
.faq-item[open] .faq-answer { animation: rise 0.5s var(--ease) both; }


/* =====================================================================
   16. CLOSING CALL TO ACTION
   ===================================================================== */
.cta-band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(520px, 82vh, 780px);
  padding-block: clamp(4rem, 9vw, 6.5rem);
  overflow: hidden;
}
.cta-media { position: absolute; inset: -10% 0; z-index: -2; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(11, 12, 14, 0.95) 0%, rgba(11, 12, 14, 0.45) 55%, rgba(11, 12, 14, 0.6) 100%),
    linear-gradient(90deg, rgba(11, 12, 14, 0.55) 0%, transparent 65%);
}
.cta-title {
  max-width: 12ch;
  font-size: clamp(2.6rem, 6vw + 0.3rem, 6.2rem);
  font-weight: 700;
  font-stretch: 115%;
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.cta-text { margin-top: 1.25rem; color: rgba(239, 235, 229, 0.8); font-size: 1.15rem; }
@media (max-width: 760px) {
  .cta-band::before { background: linear-gradient(0deg, rgba(11, 12, 14, 0.96) 0%, rgba(11, 12, 14, 0.78) 55%, rgba(11, 12, 14, 0.7) 100%); }
}
@media (max-width: 560px) {
  .cta-band .hero-actions { flex-direction: column; }
  .cta-band .hero-actions .btn { width: 100%; }
}


/* =====================================================================
   17. CONTACT
   ===================================================================== */
.contact { padding-block: var(--section); }
.contact-grid { display: grid; gap: clamp(3rem, 6vw, 4rem); }
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: 5fr 6fr; gap: clamp(4rem, 7vw, 7rem); align-items: start; }
}

.contact-call { display: grid; justify-items: start; gap: 0.2rem; margin-top: 2.5rem; color: var(--muted); }
.contact-phone {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--paper);
  font: 650 clamp(2rem, 3.2vw + 0.6rem, 3.1rem)/1 var(--font-display);
  font-stretch: 112%;
  letter-spacing: -0.03em;
  text-decoration: none;
  transition: color 0.3s;
}
.contact-phone:hover { color: var(--accent); }

.contact-facts { margin: 2.5rem 0 0; }
.contact-facts > div {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}
.contact-facts dt { color: var(--muted); font-size: 0.9rem; }
.contact-facts dd { margin: 0; }
.contact-facts a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -0.6rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-facts a:hover { color: var(--accent); }

.hours { display: grid; gap: 0.25rem; margin: 0; font-size: 0.95rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; }
.hours dt { color: var(--paper); font-size: inherit; }
.hours dd { margin: 0; color: var(--muted); text-align: right; white-space: nowrap; }

@media (max-width: 420px) {
  .contact-facts > div { grid-template-columns: 1fr; gap: 0.35rem; }
}

.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field label { display: block; margin-bottom: 0.45rem; color: rgba(239, 235, 229, 0.88); font-size: 0.9rem; }
.optional { color: var(--muted); }
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 0.85rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 2px 2px 0 0;
  background: var(--ink-3);
  color: var(--paper);
  font: inherit;
  font-size: 16px; /* 16px stops iPhones from zooming in */
  transition: border-color 0.3s, background-color 0.3s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(157, 153, 143, 0.75); }
.field select {
  padding-right: 2.75rem;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239d998f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  cursor: pointer;
}
.field select option { background: var(--ink-3); color: var(--paper); }
.field input:hover, .field select:hover, .field textarea:hover { background-color: #1c1f23; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); background-color: #1c1f23; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field [aria-invalid="true"] { border-bottom-color: #ff9a8f; }
.field-error { display: block; margin-top: 0.4rem; color: #ffaba2; font-size: 0.86rem; }
.field-error:empty { display: none; }

.form-submit { width: 100%; margin-top: 1.75rem; }
.form-note { margin-top: 1rem; color: var(--muted); font-size: 0.85rem; text-align: center; }

.form-success { padding: 2.5rem 0.5rem; text-align: center; }
.form-success:focus { outline: none; }
.success-icon { width: 56px; height: 56px; margin: 0 auto 1.25rem; border: 1px solid var(--line-strong); border-radius: 50%; }
.success-icon .icon { width: 24px; height: 24px; }
.form-success h3 { font-size: 1.8rem; font-stretch: 110%; }
.form-success p { max-width: 42ch; margin: 0.8rem auto 1.75rem; color: var(--muted); }


/* =====================================================================
   18. FOOTER
   ===================================================================== */
.site-footer { padding-block: clamp(3rem, 6vw, 4rem) 2rem; background: #08090a; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1.3fr 1.6fr auto; gap: 3rem; align-items: start; } }
.footer-brand { display: grid; gap: 0.4rem; }
.footer-name { font: 700 1rem/1.3 var(--font-display); font-stretch: 112%; }
.footer-tagline { color: var(--muted); font-size: 0.92rem; }
.footer-col { display: grid; gap: 0.3rem; justify-items: start; color: var(--muted); font-size: 0.92rem; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--paper); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.hours--compact { width: 100%; max-width: 300px; margin-bottom: 0.4rem; font-size: 0.88rem; }
.site-footer .lang-switch { margin-left: -0.3rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}


/* =====================================================================
   19. STICKY CALL / QUOTE BAR (phones only)
   ===================================================================== */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(11, 12, 14, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 50px; padding: 0 0.8rem; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  .site-footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
}


/* =====================================================================
   20. SCROLL REVEALS (one motion language for the whole page)
   ===================================================================== */
.js [data-reveal] {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.8s var(--ease), translate 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; }

.js .step[data-reveal]::before { transform: scaleX(0); transition: transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .step[data-reveal].is-visible::before { transform: scaleX(1); }

.js [data-reveal-img] { clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal-img].is-visible { clip-path: inset(0 0 0 0); }
.js .g-media[data-reveal-img] img, .js .story-figure[data-reveal-img] img { scale: 1.08; transition: scale 1.4s var(--ease); }
.js .g-media[data-reveal-img].is-visible img, .js .story-figure[data-reveal-img].is-visible img { scale: 1; }
.js .g-item:hover .g-media[data-reveal-img].is-visible img { scale: 1.03; transition-duration: 0.9s; }


/* =====================================================================
   21. REDUCED MOTION (respects the visitor's device setting)
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal], .js [data-reveal-img] { opacity: 1; translate: 0 0; clip-path: none; }
  .js .step[data-reveal]::before { transform: none; }
  .intro { display: none !important; }
}
