/* ==========================================================================
   Professional Window Cleaning — Portsmouth, NH
   Palette: ember orange / pine green / paper white / ink black
   Display: Archivo  ·  Body: Instrument Sans
   ========================================================================== */

:root {
  /* Color */
  --ink:      #101310;
  --ink-2:    #1B211C;
  --ink-3:    #2C332D;
  --paper:    #FFFFFF;
  --paper-2:  #F5F6F2;
  --paper-3:  #ECEEE7;
  --pine:     #1E5B3C;
  --pine-2:   #2A7A50;
  --pine-3:   #E7F0EA;
  --ember:    #E4611A;
  --ember-2:  #FF7A2F;
  --ember-3:  #FDEDE3;
  --haze:     #6E7A72;
  --line:     #DCE1D9;
  --line-dk:  rgba(255,255,255,.14);

  /* Type */
  --display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Space */
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --pad-x: clamp(1.15rem, 5vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --max: 1180px;
  --max-text: 68ch;

  /* Other */
  --radius: 4px;
  --shadow: 0 1px 2px rgba(16,19,16,.04), 0 8px 28px rgba(16,19,16,.07);
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --- Typography ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.06;
  letter-spacing: -.021em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.5rem + 3.9vw, 4.35rem); }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.3vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-stretch: 108%; letter-spacing: -.012em; }
h4 { font-size: 1.0625rem; font-stretch: 106%; }
p { margin: 0 0 1.15em; max-width: var(--max-text); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 650; }

.eyebrow {
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  font-stretch: 118%;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pine);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--ember);
  flex: none;
}
.eyebrow--light { color: var(--ember-2); }
.deck {
  font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 56ch;
}
.deck--light { color: rgba(255,255,255,.78); }

/* --- Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h2, .section--ink h3 { color: var(--paper); }
.section--pine { background: var(--pine); color: var(--paper); }
.section--pine h2, .section--pine h3 { color: var(--paper); }

/* The muntin rule — a window bar, used as a section divider */
.muntin-rule { height: 3px; background: var(--ink); border: 0; margin: 0; }
.muntin-rule--ember { background: var(--ember); }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 860px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .split--sidebar { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(2rem, 5vw, 4.5rem); }
}

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 62ch; }
.section-head p { color: var(--haze); }
.section--ink .section-head p, .section--pine .section-head p { color: rgba(255,255,255,.72); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: .95rem;
  letter-spacing: -.005em;
  padding: .92rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ember); color: #fff; border-color: var(--ember); }
.btn--primary:hover { background: var(--ember-2); border-color: var(--ember-2); }
.btn--pine { background: var(--pine); color: #fff; border-color: var(--pine); }
.btn--pine:hover { background: var(--pine-2); border-color: var(--pine-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

.textlink {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 108%;
  color: var(--pine);
  text-decoration: none;
  border-bottom: 2px solid var(--ember);
  padding-bottom: 1px;
  transition: color .16s ease, border-color .16s ease;
}
.textlink:hover { color: var(--ember); border-color: var(--pine); }

/* --- Header --------------------------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ember); color: #fff; padding: .8rem 1.2rem;
  font-family: var(--display); font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }

.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.82);
  font-size: .8rem;
  letter-spacing: .01em;
}
.topbar__inner { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; align-items: center; justify-content: center; padding-block: .55rem; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--ember-2); }
.topbar__dot { color: var(--ember); }
@media (min-width: 760px) { .topbar__inner { justify-content: space-between; } }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.02rem; line-height: 1.1; letter-spacing: -.02em; }
.brand__loc { display: block; font-family: var(--body); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--pine); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  font-family: var(--display); font-weight: 650; font-stretch: 106%; font-size: .9rem;
  text-decoration: none; padding: .5rem .62rem; border-radius: var(--radius);
  color: var(--ink-2); white-space: nowrap;
  transition: color .16s ease, background-color .16s ease;
}
.nav a:hover { color: var(--ember); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--pine); box-shadow: inset 0 -2px 0 var(--ember); }
.nav .btn { margin-left: .5rem; padding: .68rem 1.1rem; font-size: .88rem; }
.nav .btn:hover { color: #fff; background: var(--ember-2); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--ink); color: #fff; border: 0; border-radius: var(--radius);
  padding: .62rem .9rem; font-family: var(--display); font-weight: 700; font-size: .85rem; cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 3px; }
.nav-toggle__bars span { display: block; width: 16px; height: 2px; background: currentColor; }

@media (max-width: 1000px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 3px solid var(--ink);
    padding: .6rem var(--pad-x) 1.3rem; box-shadow: var(--shadow);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .8rem .2rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin: .9rem 0 0; }
}
@media (min-width: 1001px) { .nav-toggle { display: none; } }

/* --- Hero: the glass pane signature --------------------------------------- */
.hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.hero__inner {
  display: grid; gap: clamp(2.25rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-block: clamp(2.75rem, 6vw, 5rem);
}
@media (min-width: 940px) {
  .hero__inner { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); }
}
.hero h1 { color: #fff; }
.hero .deck { color: rgba(255,255,255,.76); }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem .55rem; margin-top: 1.9rem; padding: 0; list-style: none; }
.hero__trust li {
  font-family: var(--display); font-size: .74rem; font-weight: 700; font-stretch: 112%;
  letter-spacing: .07em; text-transform: uppercase;
  border: 1px solid var(--line-dk); border-radius: 100px;
  padding: .38rem .8rem; color: rgba(255,255,255,.8);
}
.hero__trust li::before { content: "✦ "; color: var(--ember); }

/* The pane */
.pane {
  position: relative;
  aspect-ratio: 4 / 3.35;
  border-radius: 3px;
  overflow: hidden;
  background: #0C0F0C;
  box-shadow: 0 26px 60px rgba(0,0,0,.5);
  --wipe: 12;
  touch-action: pan-y;
}
.pane__scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.pane__grime {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 calc(var(--wipe) * 1%));
  background: rgba(103,112,104,.60);
  backdrop-filter: grayscale(.85) contrast(.72) brightness(.9) blur(.6px);
  -webkit-backdrop-filter: grayscale(.85) contrast(.72) brightness(.9) blur(.6px);
  transition: clip-path .06s linear;
}
.pane__grime-tex { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }

/* squeegee */
.pane__squeegee {
  position: absolute; top: -2%; bottom: -2%;
  left: calc(var(--wipe) * 1%);
  width: 26px; margin-left: -13px;
  pointer-events: none;
  transition: left .06s linear;
}
.pane__blade {
  position: absolute; top: 0; bottom: 0; left: 11px;
  width: 4px; background: linear-gradient(180deg, #3A423B, #10130F);
  box-shadow: -7px 0 16px -4px rgba(255,255,255,.5), 1px 0 0 rgba(0,0,0,.5);
}
.pane__handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 34px; border-radius: 3px;
  background: var(--ember);
  border: 2px solid var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.pane__handle::after {
  content: ""; width: 22px; height: 3px; border-radius: 3px;
  background: rgba(16,19,16,.55);
  box-shadow: 0 6px 0 rgba(16,19,16,.55), 0 -6px 0 rgba(16,19,16,.55);
}
/* muntins — the window frame over the glass */
.pane__muntins { position: absolute; inset: 0; pointer-events: none; }
.pane__muntins::before, .pane__muntins::after {
  content: ""; position: absolute; background: var(--ink-2);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 2px 2px 5px rgba(0,0,0,.32);
}
.pane__muntins::before { top: 0; bottom: 0; left: 50%; width: 13px; margin-left: -6.5px; }
.pane__muntins::after { left: 0; right: 0; top: 46%; height: 13px; margin-top: -6.5px; }
.pane__frame {
  position: absolute; inset: 0; pointer-events: none;
  border: 15px solid var(--ink-2);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.55), inset 0 0 40px rgba(0,0,0,.3);
}
.pane__range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent;
}
.pane__range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; }
.pane__range::-moz-range-thumb { width: 44px; height: 100%; border: 0; background: transparent; }
.pane__hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 3; pointer-events: none;
  font-family: var(--display); font-size: .68rem; font-weight: 700; font-stretch: 114%;
  letter-spacing: .13em; text-transform: uppercase;
  background: rgba(16,19,16,.82); color: #fff;
  padding: .45rem .85rem; border-radius: 100px; white-space: nowrap;
  transition: opacity .3s ease;
}
.pane[data-touched="true"] .pane__hint { opacity: 0; }
.pane__caption {
  margin-top: .85rem; font-size: .8rem; color: rgba(255,255,255,.5); text-align: center; max-width: none;
}

/* --- Cards ---------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--pine);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover { border-top-color: var(--ember); transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--haze); font-size: .96rem; margin-bottom: 0; }
.card__more {
  display: inline-block; margin-top: 1rem;
  font-family: var(--display); font-weight: 700; font-size: .87rem; color: var(--ember);
}
.card__icon { width: 34px; height: 34px; margin-bottom: .95rem; color: var(--pine); }
.section--paper2 .card { background: var(--paper); }

/* --- Numbered process (real sequence, so numbers earn their place) --------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1.1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: 1.5rem;
  color: var(--ember); line-height: 1;
}
.steps h3 { margin-bottom: .3rem; }
.steps p { color: var(--haze); margin: 0; }
.section--ink .steps li { border-color: var(--line-dk); }
.section--ink .steps p { color: rgba(255,255,255,.68); }

/* --- Checklist ------------------------------------------------------------ */
.checks { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .7rem; }
.checks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .7rem; align-items: start; }
.checks li::before {
  content: ""; margin-top: .42rem; width: 13px; height: 13px; border-radius: 2px;
  background: var(--ember); box-shadow: inset 0 0 0 2px var(--paper), 0 0 0 2px var(--ember);
}
.section--ink .checks li::before, .section--pine .checks li::before { box-shadow: inset 0 0 0 2px currentColor, 0 0 0 2px var(--ember); }

/* --- Pills / town links --------------------------------------------------- */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.pills a {
  display: inline-block; text-decoration: none;
  font-family: var(--display); font-weight: 650; font-size: .88rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 100px;
  padding: .5rem 1rem; color: var(--ink-2);
  transition: all .16s ease;
}
.pills a:hover { border-color: var(--ember); color: var(--ember); background: var(--ember-3); }
.section--ink .pills a { background: transparent; border-color: var(--line-dk); color: rgba(255,255,255,.85); }
.section--ink .pills a:hover { border-color: var(--ember); color: #fff; background: var(--ember); }

/* --- Stats ---------------------------------------------------------------- */
.stats { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat__n { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: 1; color: var(--ember); }
.stat__l { font-size: .88rem; color: var(--haze); margin-top: .5rem; }
.section--ink .stat__l, .section--pine .stat__l { color: rgba(255,255,255,.7); }

/* --- FAQ ------------------------------------------------------------------ */
.faq { display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-family: var(--display); font-weight: 700; font-stretch: 108%;
  font-size: clamp(1.02rem, .98rem + .25vw, 1.16rem); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .35rem; top: 1.55rem;
  width: 14px; height: 14px;
  border-right: 3px solid var(--ember); border-bottom: 3px solid var(--ember);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.75rem; }
.faq summary:hover { color: var(--ember); }
.faq__a { padding: 0 1rem 1.5rem 0; color: var(--haze); }

/* --- Quote / review ------------------------------------------------------- */
.quote {
  border-left: 4px solid var(--ember);
  padding: .3rem 0 .3rem 1.4rem;
  margin: 0;
}
.quote p { font-family: var(--display); font-weight: 600; font-stretch: 105%; font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem); line-height: 1.42; letter-spacing: -.015em; }
.quote footer { font-size: .85rem; color: var(--haze); margin-top: .7rem; }
.section--ink .quote footer { color: rgba(255,255,255,.6); }

/* --- CTA band ------------------------------------------------------------- */
.cta { background: var(--pine); color: #fff; position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(255,255,255,.055) 118px 121px),
    repeating-linear-gradient(0deg, transparent 0 118px, rgba(255,255,255,.055) 118px 121px);
}
.cta__inner { position: relative; z-index: 1; text-align: center; }
.cta h2 { color: #fff; margin-inline: auto; }
.cta p { color: rgba(255,255,255,.8); margin-inline: auto; text-align: center; }
.cta .btn-row { justify-content: center; }

/* --- Breadcrumbs ---------------------------------------------------------- */
.crumbs { font-size: .82rem; color: var(--haze); padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; }
.crumbs li::after { content: "/"; margin-left: .45rem; color: var(--line); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--pine); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--ember); text-decoration: underline; }

/* --- Page hero (inner pages) ---------------------------------------------- */
.phero { background: var(--paper-2); border-bottom: 3px solid var(--ink); }
.phero__inner { padding-block: clamp(2.5rem, 5.5vw, 4.25rem); }
.phero .deck { margin-top: .3rem; }

/* --- Prose ---------------------------------------------------------------- */
.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; }
.prose ul { padding-left: 1.15rem; max-width: var(--max-text); }
.prose li { margin-bottom: .5rem; }
.prose a:not(.btn):not(.textlink) { color: var(--pine); text-decoration-color: var(--ember); text-underline-offset: 3px; }

/* --- Sidebar -------------------------------------------------------------- */
.aside {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ember);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky; top: 100px;
}
.aside h3 { font-size: 1.12rem; }
.aside p { font-size: .93rem; color: var(--haze); }
.aside__phone {
  display: block; font-family: var(--display); font-weight: 800; font-stretch: 112%;
  font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; margin: .3rem 0 .2rem;
}
.aside__phone:hover { color: var(--ember); }
.aside .btn { width: 100%; margin-top: .9rem; }

/* --- Form ----------------------------------------------------------------- */
.form { display: grid; gap: 1.05rem; max-width: 620px; }
.field { display: grid; gap: .38rem; }
.field label { font-family: var(--display); font-weight: 700; font-size: .84rem; font-stretch: 108%; letter-spacing: .02em; }
.field .req { color: var(--ember); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  padding: .78rem .9rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pine); outline: none; box-shadow: 0 0 0 3px var(--pine-3); }
.field textarea { min-height: 130px; resize: vertical; }
.field__hint { font-size: .8rem; color: var(--haze); }
.form__row { display: grid; gap: 1.05rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* --- Footer --------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255,255,255,.68); font-size: .92rem; }
.footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer a:hover { color: var(--ember-2); }
.footer__top {
  display: grid; gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  padding-block: clamp(2.75rem, 5vw, 4rem);
}
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; max-width: 300px; } }
.footer h4 {
  color: #fff; font-size: .74rem; letter-spacing: .15em; text-transform: uppercase;
  font-stretch: 116%; margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__nap { font-style: normal; line-height: 1.8; }
.footer__nap a { font-weight: 650; color: #fff; }
.footer__bottom {
  border-top: 1px solid var(--line-dk);
  padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.footer__social { display: flex; gap: .8rem; }
.footer__social a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-dk); border-radius: 50%; }
.footer__social a:hover { border-color: var(--ember); background: var(--ember); color: #fff; }
.footer__social svg { width: 16px; height: 16px; }

/* --- Sticky mobile call bar ----------------------------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 3px solid var(--ink);
  box-shadow: 0 -6px 24px rgba(0,0,0,.16);
}
.callbar a {
  padding: .95rem .5rem; text-align: center; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: .95rem;
}
.callbar a:first-child { background: var(--ember); color: #fff; }
.callbar a:last-child { background: var(--ink); color: #fff; }
@media (min-width: 760px) { .callbar { display: none; } }
@media (max-width: 759px) { body { padding-bottom: 56px; } }

/* --- Utilities ------------------------------------------------------------ */
.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;
}
.mt-0 { margin-top: 0; }
.center { text-align: center; }

/* --- Reviews --------------------------------------------------------------- */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.15rem; margin-bottom: 2.25rem; }
.rating__score {
  font-family: var(--display); font-weight: 800; font-stretch: 118%;
  font-size: clamp(2.6rem, 2rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -.03em;
}
.stars { display: inline-flex; gap: 3px; color: var(--ember); font-size: 1.18rem; line-height: 1; }
.rating__meta { font-size: .95rem; color: var(--haze); }
.section--ink .rating__meta { color: rgba(255,255,255,.68); }
.rating__meta a { color: var(--pine); font-weight: 650; }
.section--ink .rating__meta a { color: var(--ember-2); }

.reviews { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.review {
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--ember);
  border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column;
}
.section--ink .review { background: var(--ink-2); border-color: var(--line-dk); }
.review blockquote {
  margin: .8rem 0 0; font-family: var(--display); font-weight: 600; font-stretch: 105%;
  font-size: 1.06rem; line-height: 1.45; letter-spacing: -.012em;
}
.section--ink .review blockquote { color: #fff; }
.review figcaption { margin-top: auto; padding-top: 1.1rem; font-size: .84rem; color: var(--haze); }
.section--ink .review figcaption { color: rgba(255,255,255,.55); }
.review__name { display: block; font-family: var(--display); font-weight: 700; color: var(--ink); font-size: .93rem; }
.section--ink .review__name { color: #fff; }

.aside__rating {
  display: flex; align-items: center; gap: .55rem;
  padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.aside__rating b { font-family: var(--display); font-size: 1.15rem; font-stretch: 112%; }
.aside__rating span { font-size: .82rem; color: var(--haze); }

/* --- Add-on list (priced separately) --------------------------------------- */
.checks--add li::before {
  content: "+";
  background: none; box-shadow: none; border-radius: 0;
  width: auto; height: auto; margin-top: 0;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  color: var(--pine); line-height: 1.45;
}
.section--ink .checks--add li::before { color: var(--ember-2); }
.list-label {
  font-family: var(--display); font-weight: 700; font-stretch: 112%;
  font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
  margin: 0 0 .9rem; color: var(--ink);
}
.section--ink .list-label { color: #fff; }
.list-label span { color: var(--haze); letter-spacing: 0; text-transform: none; font-weight: 500; }
.section--ink .list-label span { color: rgba(255,255,255,.6); }
.pricing-split { display: grid; gap: clamp(1.6rem, 4vw, 3rem); grid-template-columns: minmax(0,1fr); }
@media (min-width: 720px) { .pricing-split { grid-template-columns: repeat(2, minmax(0,1fr)); } }


/* --- Named promise --------------------------------------------------------- */
.promise {
  border: 2px solid var(--ember); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem); background: var(--ember-3);
}
.section--ink .promise { background: transparent; }
.promise h3 { margin-bottom: .5rem; }
.promise p { margin-bottom: 0; color: var(--ink-3); }
.section--ink .promise p { color: rgba(255,255,255,.78); }

/* --- Compare table --------------------------------------------------------- */
.compare { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: .85rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th {
  font-family: var(--display); font-size: .74rem; font-stretch: 114%; letter-spacing: .1em;
  text-transform: uppercase; border-bottom: 3px solid var(--ink);
}
.compare tbody th { font-weight: 600; width: 30%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
@media (max-width: 620px) { .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { display: none; }
  .compare tr { border-bottom: 2px solid var(--ink); padding: .5rem 0; }
  .compare tbody th { width: auto; padding-bottom: .2rem; }
  .compare td { border: 0; padding: .15rem .9rem; }
  .compare td::before { content: attr(data-l) ": "; font-weight: 600; color: var(--pine); }
}

/* --- Photos ---------------------------------------------------------------- */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem .9rem .7rem;
  background: linear-gradient(to top, rgba(16,19,16,.88), transparent);
  color: #fff; font-family: var(--display); font-weight: 650; font-size: .84rem;
}
.photo-frame { border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.photo-frame img { width: 100%; display: block; aspect-ratio: 7 / 5; object-fit: cover; }
.photo-note {
  margin-top: .7rem; font-size: .78rem; color: var(--haze);
}

/* --- Before / after comparison --------------------------------------------- */
.ba {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; background: var(--ink-2); --x: 50; touch-action: pan-y;
  margin: 0;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 0 0 calc(var(--x) * 1%)); }
.ba__bar {
  position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 1%);
  width: 3px; margin-left: -1.5px; background: var(--ember); pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.35);
}
.ba__bar::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; border-radius: 50%; background: var(--ember);
  border: 3px solid #fff; box-shadow: 0 3px 12px rgba(0,0,0,.4);
}
.ba input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent;
}
.ba__tag {
  position: absolute; top: 12px; z-index: 2; pointer-events: none;
  font-family: var(--display); font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; background: rgba(16,19,16,.82); color: #fff;
  padding: .35rem .7rem; border-radius: 100px;
}
.ba__tag--b { left: 12px; }
.ba__tag--a { right: 12px; }
.ba-caption { margin-top: .7rem; font-size: .84rem; color: var(--haze); }

/* --- Optional inline photo (hides itself if the file is absent) ------------- */
.inline-photo { margin: 2rem 0; }
.inline-photo img {
  width: 100%; display: block; border-radius: var(--radius);
  aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-3);
}
.inline-photo figcaption { margin-top: .6rem; font-size: .84rem; color: var(--haze); }
