/* ==========================================================================
   Charley B Construction
   --------------------------------------------------------------------------
   All brand colors and fonts live in the :root block below. Change them
   there and the whole site follows. Nothing else needs editing.
   ========================================================================== */

:root {
  /* ---- Brand colors, sampled straight from the logo ---- */
  --plum:        #3D384F;   /* logo deep plum - headers, footer, body text */
  --plum-deep:   #2E2A3D;   /* darker plum for depth */
  --plum-soft:   #4C465F;   /* lighter plum for cards on dark */
  --orange:      #F28C2A;   /* logo orange - buttons, accents */
  --orange-dark: #D97916;   /* orange hover */
  --orange-text: #A2560A;   /* orange dark enough to read as text on white */
  --silver:      #E3E3E3;   /* logo light gray */

  --ink:      #2B2738;
  --muted:    #635C77;
  --line:     #E4E2EA;
  --bg:       #FFFFFF;
  --bg-alt:   #F7F6F9;

  /* ---- Type ---- */
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ---- Layout ---- */
  color-scheme: light;
  --wrap: 1160px;
  --radius: 6px;
  --shadow: 0 2px 4px rgba(45, 40, 62, .05), 0 14px 32px rgba(45, 40, 62, .09);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--orange-text); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-transform: uppercase;
  color: var(--plum);
}

h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: 0; }
h4 { font-size: 1.05rem; letter-spacing: .02em; }
p  { margin: 0 0 1.1em; }

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

.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 56px 0; }
.section--plum { background: var(--plum); color: rgba(255,255,255,.82); }
.section--plum h2, .section--plum h3 { color: #fff; }

.section-head { max-width: 700px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: .9em;
}

.section--plum .eyebrow, .hero .eyebrow { color: var(--orange); }

.lede { font-size: 1.12rem; color: var(--muted); }
.section--plum .lede { color: rgba(255,255,255,.78); }

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Orange button carries plum text - the logo's own pairing, and readable */
.btn--primary { background: var(--orange); color: var(--plum-deep); }
.btn--primary:hover { background: var(--orange-dark); color: var(--plum-deep); }

.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--plum-deep); color: #fff; }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.btn--outline { background: transparent; color: var(--plum); border-color: var(--line); }
.btn--outline:hover { border-color: var(--orange); color: var(--orange-text); }

.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 1.08rem; }

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */
.topbar { background: var(--plum-deep); color: rgba(255,255,255,.75); font-size: .88rem; }

.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 30px;
  align-items: center; justify-content: flex-end; min-height: 40px;
}

.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--orange); }
.topbar span { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--orange); flex: none; }

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50; background: #fff; border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 86px;
}

.logo { display: block; text-decoration: none; flex: none; }
.logo img { height: 56px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; }

.nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--plum);
  padding: 10px 15px;
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav a:hover { color: var(--orange-text); background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--orange-text); box-shadow: inset 0 -3px 0 var(--orange); }
.nav .btn { margin-left: 12px; }
.nav .btn:hover { box-shadow: none; }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--line);
  border-radius: var(--radius); padding: 9px 11px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--plum); margin: 4px 0; border-radius: 2px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(140deg, var(--plum-deep) 0%, var(--plum) 52%, #4A4460 100%);
  color: #fff;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Home hero: photo background that cross-fades, under a plum overlay
   -------------------------------------------------------------------------- */
.hero-media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
/* the blueprint grid and the orange glow sit over the photo, under the text */
.hero::before, .hero::after { z-index: 1; }

.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.6s ease, transform 9s linear;
}
.hero-img.is-active { opacity: 1; transform: scale(1); }

/* The overlay has to carry the text contrast on its own, because the photo
   underneath changes. Darkest on the left where the headline sits. */
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(94deg,
      rgba(35, 31, 48, .94) 0%,
      rgba(40, 36, 54, .88) 32%,
      rgba(45, 41, 60, .64) 60%,
      rgba(52, 47, 70, .40) 100%),
    linear-gradient(to top, rgba(32, 28, 44, .70) 0%, transparent 46%);
}

/* Blueprint grid texture, drawn in CSS - no image file to load */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 72% 28%, #000 18%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse at 72% 28%, #000 18%, transparent 76%);
}

.hero::after {
  content: "";
  position: absolute; right: -10%; top: -35%;
  width: 62%; height: 170%;
  background: radial-gradient(circle at center, rgba(242,140,42,.22), transparent 62%);
}

.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: .4em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { color: rgba(255,255,255,.85); font-size: 1.14rem; max-width: 57ch; }

/* Rotating trade line under the headline */
.hero-rotate {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: rgba(255,255,255,.9);
  margin: 0 0 .55em;
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0 .4em;
}
.hero-rotate .rot {
  color: var(--orange);
  display: inline-block;
  transition: opacity .32s ease, transform .32s ease;
  border-bottom: 3px solid rgba(242,140,42,.45);
  padding-bottom: 2px;
}
.hero-rotate .rot.is-out { opacity: 0; transform: translateY(-.35em); }

.hero--home .wrap { padding-top: 112px; padding-bottom: 112px; max-width: 1000px; }
.hero--home::before { opacity: .55; }
.hero--home::after { opacity: .75; }
.hero--page .wrap { padding-top: 66px; padding-bottom: 66px; }
.hero--page p { margin-bottom: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 12px 30px;
  list-style: none; margin: 42px 0 0; padding: 28px 0 0;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .95rem; color: rgba(255,255,255,.8);
}

.hero-badges li { display: flex; align-items: center; gap: 9px; }
.hero-badges svg { width: 17px; height: 17px; color: var(--orange); flex: none; }

/* --------------------------------------------------------------------------
   Orange strip
   -------------------------------------------------------------------------- */
.strip { background: var(--orange); color: var(--plum-deep); }

.strip .wrap {
  display: flex; flex-wrap: wrap; gap: 8px 36px;
  align-items: center; justify-content: center; text-align: center;
  padding-top: 15px; padding-bottom: 15px;
  font-family: var(--font-head); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; font-size: .97rem;
}

.strip a { color: var(--plum-deep); text-decoration: underline; }
.strip a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Grids + cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: start; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.card:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .97rem; }

.card--link { text-decoration: none; display: flex; flex-direction: column; color: inherit; }
.card--link p { flex: 1 1 auto; }
.card--link .more {
  display: inline-block; margin-top: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text);
}

.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgba(242,140,42,.14);
  color: var(--orange-text);
  margin-bottom: 18px;
}
.card-icon svg { width: 25px; height: 25px; }

/* Process steps */
.step { position: relative; padding-left: 72px; }
.step h3 { margin-bottom: .3em; }
.step p { color: var(--muted); margin-bottom: 0; font-size: .97rem; }

.step-num {
  position: absolute; left: 0; top: -4px;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange); color: var(--plum-deep);
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
}

/* --------------------------------------------------------------------------
   Services page blocks
   -------------------------------------------------------------------------- */
.service-block { padding: 34px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }

/* Service row with a blueprint drawing alongside the copy */
.service-block--art {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.service-art {
  width: 100%; height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.service-copy { min-width: 0; }

/* --------------------------------------------------------------------------
   Project gallery: before / after sliders
   -------------------------------------------------------------------------- */
.project { margin-bottom: 64px; }
.project:last-child { margin-bottom: 0; }

.project-head {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  align-items: baseline; justify-content: space-between;
  margin-bottom: 8px;
}
.project-head h3 { margin: 0; font-size: 1.5rem; }
.project-kind {
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text);
}
.project > p { color: var(--muted); max-width: 70ch; margin-bottom: 22px; }

.ba-row { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

/* A project with a single slider would otherwise stretch the full page width,
   which is far bigger than the photo needs. Cap it at roughly a half-width
   column so it matches the paired and staged rows. */
.ba-row > div:only-child { max-width: 620px; }
.ba-row--portrait > div:only-child { max-width: 430px; }

.ba {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

/* The "after" image sets the box height; "before" is layered over it and clipped */
.ba img { display: block; width: 100%; height: auto; }
.ba .ba-before {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 3px; margin-left: -1.5px;
  background: var(--orange);
  box-shadow: 0 0 0 1px rgba(46,42,61,.25);
  pointer-events: none;
}
.ba-handle::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(46,42,61,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E2A3D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 7 5 12l5 5M14 7l5 5-5 5'/%3E%3C/svg%3E");
  background-size: 24px; background-position: center; background-repeat: no-repeat;
}

.ba-tag {
  position: absolute; top: 12px;
  font-family: var(--font-head); font-weight: 700;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 3px;
  background: rgba(46,42,61,.82); color: #fff;
  pointer-events: none;
}
.ba-tag--before { left: 12px; }
.ba-tag--after  { right: 12px; background: rgba(242,140,42,.95); color: var(--plum-deep); }

/* The real control: a range input laid over the image, invisible but operable */
.ba input[type="range"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.ba input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 48px; height: 100vh; cursor: ew-resize;
}
.ba input[type="range"]::-moz-range-thumb {
  width: 48px; height: 100vh; border: 0; background: transparent; cursor: ew-resize;
}
.ba input[type="range"]:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; opacity: 1; }
.ba input[type="range"]:focus-visible + .ba-handle { box-shadow: 0 0 0 2px var(--plum); }

.ba-caption {
  font-size: .9rem; color: var(--muted); margin: 10px 0 0;
}

.ba-hint {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; color: var(--muted); margin: 0 0 24px;
}
.ba-hint svg { width: 17px; height: 17px; color: var(--orange-text); flex: none; }

/* Staged progress: a job shown in order rather than as two end points */
.stages {
  display: grid; gap: 22px;
  /* 250px lets a four-stage job sit on one row while three-stage jobs still
     spread to three equal columns, since auto-fit collapses the spare track. */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  counter-reset: stage;
}
.stages figure { margin: 0; position: relative; }
.stages img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.stages figcaption {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 11px; font-size: .92rem; color: var(--muted);
}
.stages figcaption::before {
  counter-increment: stage;
  content: counter(stage);
  flex: none;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange); color: var(--plum-deep);
  font-family: var(--font-head); font-weight: 800; font-size: .82rem;
  position: relative; top: 3px;
}
.stages figcaption b {
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--plum); display: block;
}

/* Blueprint cards on the What We Build page */
.build-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}
.build-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.build-card:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-2px); }
.build-card img { width: 100%; height: auto; display: block; }
.build-card figcaption { padding: 24px 26px 28px; }
.build-card h3 { margin-bottom: .4em; }
.build-card p { color: var(--muted); font-size: .97rem; margin: 0; }
.service-block:first-of-type { padding-top: 0; }
.service-block:last-child { border-bottom: 0; padding-bottom: 0; }
.service-block h3 { margin-bottom: .3em; font-size: 1.45rem; text-transform: uppercase; }
.service-block p { color: var(--muted); margin-bottom: .9em; max-width: 72ch; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tag-list li {
  font-size: .87rem; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 5px 14px; color: var(--muted);
}
.section--alt .tag-list li { background: #fff; }

/* Jump links */
.jumplinks { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.jumplinks a {
  display: inline-block; font-size: .9rem; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 7px 16px; color: var(--plum);
}
.jumplinks a:hover { border-color: var(--orange); color: var(--orange-text); }

/* --------------------------------------------------------------------------
   Check lists
   -------------------------------------------------------------------------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 33px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .4em;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E2A3D' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.gallery figure { margin: 0; }
.gallery img {
  /* height:auto is required, or the img height attribute wins over aspect-ratio
     and the photo renders at its full pixel height inside a narrow column. */
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); background: var(--bg-alt);
}

/* A plain row of finished-work photos, grouped under a heading */
.photo-row {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.photo-row figure { margin: 0; }
.photo-row img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg-alt);
}
.photo-row figcaption { margin-top: 11px; font-size: .92rem; color: var(--muted); }
.photo-row figcaption b {
  display: block;
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: var(--plum);
}

/* One photo on its own should not stretch the full page width */
.photo-row--solo { grid-template-columns: minmax(0, 620px); }
/* Four across stay compact rather than tall */
.photo-row--quad { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 18px; }
.gallery figcaption {
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: .98rem; margin-top: 12px; color: var(--plum);
}
.gallery figcaption small { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .88rem; }

/* Placeholder tile - replace with a real <img> when photos arrive */
.photo-slot {
  aspect-ratio: 4 / 3;
  border: 2px dashed #CFCBD9;
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #F7F6F9 0 13px, #EFEDF4 13px 26px);
  display: grid; place-items: center; text-align: center;
  padding: 20px; color: var(--muted);
}
.photo-slot svg { width: 30px; height: 30px; color: #B4AEC4; margin: 0 auto 10px; }
.photo-slot b {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; font-size: .92rem; display: block; color: var(--plum);
}
.photo-slot small { display: block; font-size: .8rem; margin-top: 5px; }

.notice {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(242,140,42,.1);
  border: 1px solid rgba(242,140,42,.4);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.notice svg { width: 22px; height: 22px; color: var(--orange-text); flex: none; margin-top: 3px; }
.notice p { margin: 0; font-size: .97rem; }
.notice strong { color: var(--plum); }

/* --------------------------------------------------------------------------
   Service area
   -------------------------------------------------------------------------- */
.area-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 2px 22px;
}
.area-list li { padding: 10px 0 10px 24px; position: relative; border-bottom: 1px solid var(--line); font-size: .97rem; }
.area-list li::before {
  content: ""; position: absolute; left: 2px; top: 1.12em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
}
.section--plum .area-list li { border-bottom-color: rgba(255,255,255,.14); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 38px;
}

.fieldset { border: 0; margin: 0 0 6px; padding: 0; }
.fieldset legend {
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--orange-text); padding: 0; margin-bottom: 16px;
}

.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: .92rem; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 7px; color: var(--plum);
}
.field .req { color: var(--orange-text); }

.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid #D5D1DE; border-radius: var(--radius);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,140,42,.22);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #C0392B; }

.field-hint { font-size: .86rem; color: var(--muted); margin: 7px 0 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 20px; }

/* Honeypot - invisible to people, catnip for bots */
.hp { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 11px 18px; }
.checkbox-grid label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 400; font-size: .96rem;
  text-transform: none; letter-spacing: 0; margin: 0; cursor: pointer; color: var(--ink);
}
.checkbox-grid input { width: auto; accent-color: var(--orange); }

.form-aside { display: grid; gap: 22px; align-content: start; }

.info-card { background: var(--plum); color: rgba(255,255,255,.82); border-radius: var(--radius); padding: 32px 30px; }
.info-card h3 { color: #fff; margin-bottom: 1.1em; }
.info-card dl { margin: 0; display: grid; gap: 20px; }
.info-card dt {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .76rem; color: var(--orange); margin-bottom: 3px;
}
.info-card dd { margin: 0; font-size: 1rem; }
.info-card dd a { color: #fff; text-decoration: none; font-weight: 600; }
.info-card dd a:hover { color: var(--orange); text-decoration: underline; }
.info-card .btn { margin-top: 22px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0 24px;
}
.faq details[open] { border-color: var(--orange); }
.faq summary {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--plum); cursor: pointer; padding: 20px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.6rem; line-height: 1; color: var(--orange); flex: none;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { color: var(--muted); margin: 0 0 20px; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta { background: var(--orange); color: var(--plum-deep); text-align: center; }
.cta .wrap { padding-top: 66px; padding-bottom: 66px; }
.cta h2 { color: var(--plum-deep); }
.cta p { color: rgba(46,42,61,.85); max-width: 58ch; margin-left: auto; margin-right: auto; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--plum-deep); color: rgba(255,255,255,.68); font-size: .96rem; padding: 62px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 42px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .09em; margin-bottom: 1.1em; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer p { font-size: .95rem; }
.footer-logo img { height: 74px; width: auto; margin-bottom: 20px; }

.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius);
}
.social a:hover { background: var(--orange); border-color: var(--orange); color: var(--plum-deep); }
.social svg { width: 19px; height: 19px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.13); padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .87rem; color: rgba(255,255,255,.5);
}

/* Sticky call bar on phones */
.call-bar { display: none; }

/* --------------------------------------------------------------------------
   Thank-you page
   -------------------------------------------------------------------------- */
.confirm { text-align: center; max-width: 660px; margin: 0 auto; }
.confirm-mark {
  width: 88px; height: 88px; margin: 0 auto 28px; border-radius: 50%;
  background: rgba(242,140,42,.16); color: var(--orange-text);
  display: grid; place-items: center;
}
.confirm-mark svg { width: 44px; height: 44px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .grid--split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; box-shadow: var(--shadow); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 10px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); }
  .nav .btn { margin: 10px 0 0; }
  .site-header .wrap { position: relative; min-height: 74px; }
  .logo img { height: 48px; }
  .topbar .wrap { justify-content: center; }
}

@media (max-width: 640px) {
  /* The sticky call bar covers calling on phones, so keep the top bar to one line */
  .topbar .wrap > span:not(:last-child) { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 56px; }
  .section { padding: 56px 0; }
  .hero--home .wrap { padding-top: 66px; padding-bottom: 66px; }
  .hero--page .wrap { padding-top: 48px; padding-bottom: 48px; }
  .form-card { padding: 26px 20px; }
  .step { padding-left: 0; padding-top: 64px; }
  .step-num { top: 0; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 240px; }
  .service-block--art { grid-template-columns: minmax(0, 1fr); gap: 22px; }

  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -2px 14px rgba(45,40,62,.22);
  }
  .call-bar a {
    padding: 15px 10px; text-align: center; text-decoration: none;
    font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em; font-size: 1rem;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .call-bar svg { width: 17px; height: 17px; }
  .call-bar .call { background: var(--orange); color: var(--plum-deep); }
  .call-bar .quote { background: var(--plum); color: #fff; }
}

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

@media print {
  .site-header, .topbar, .call-bar, .cta, .nav-toggle { display: none !important; }
  .hero::before, .hero::after { display: none; }
  body { color: #000; padding-bottom: 0; }
}
