/* =========================================================================
   Celso's Painting and Improvements LLC
   Palette taken straight off the logo: lion brass on a near-black ground.
   ========================================================================= */

:root {
  --ink: #0D0C0C;
  --ink-2: #171614;
  --ink-3: #201E1B;
  --brass: #C1892D;
  --brass-lt: #DFAB57;
  --brass-dim: #8B6320;
  --paper: #FBFAF8;
  --bone: #EFEBE3;
  --muted: #6B655D;
  --muted-light: rgba(255, 255, 255, 0.62);
  --line: rgba(13, 12, 12, 0.13);
  --line-light: rgba(255, 255, 255, 0.14);

  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --shell: 1260px;
  --gut: clamp(20px, 5vw, 72px);
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

.shell {
  width: min(var(--shell), 100% - (var(--gut) * 2));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--brass);
  color: #171004;
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 14px; }

/* ---------------------------------------------------------------- type */

.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 115%;
  font-size: clamp(1.85rem, 3.9vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0.42em 0 0;
  max-width: 17ch;
  text-wrap: balance;
}
.h2--light { color: #fff; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--brass);
}
.eyebrow--brass { color: var(--brass-lt); }

.lede {
  font-size: clamp(1rem, 1.25vw, 1.09rem);
  color: var(--muted);
  max-width: 46ch;
  margin: 1.1em 0 0;
}
.lede--right { margin-top: 0; align-self: end; }
.lede--light { color: rgba(255, 255, 255, 0.68); }

.section { padding-block: clamp(74px, 9vw, 136px); }

.section__head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(38px, 4.5vw, 66px);
}
.section__head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.section__head--center .h2 { max-width: 22ch; }

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--mono);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn--brass { background: var(--brass); color: #171004; }
.btn--brass:hover { background: var(--brass-lt); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.34); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.btn--sm { padding: 11px 16px; font-size: 0.73rem; }
.btn--block { width: 100%; padding-block: 18px; }

/* ------------------------------------------------------------- masthead */

.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.masthead::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(193, 137, 45, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.masthead.is-stuck {
  background: rgba(13, 12, 12, 0.9);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
}
.masthead.is-stuck::after { opacity: 1; }

.masthead__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  height: 84px;
}
.masthead.is-stuck .masthead__inner { height: 70px; }
.masthead__inner { transition: height 0.35s var(--ease); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand__mark { width: auto; height: 38px; }
.brand__type { display: flex; flex-direction: column; line-height: 1; }
.brand__top {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.brand__bottom {
  font-family: var(--mono);
  font-size: 0.545rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 4px;
  white-space: nowrap;
}

.masthead__nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.masthead__nav a {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
.masthead__nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.masthead__nav a:hover { color: #fff; }
.masthead__nav a:hover::after { transform: scaleX(1); }

.masthead__side { display: flex; align-items: center; gap: 16px; }

.langswitch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}
.langswitch a { text-decoration: none; color: rgba(255, 255, 255, 0.55); transition: color 0.2s; }
.langswitch a:hover { color: #fff; }
.langswitch a.is-on { color: var(--brass); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger[aria-expanded='true'] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------------------------------------------------------------- drawer */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--ink);
  padding: 108px var(--gut) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.drawer[hidden] { display: none; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: clamp(1.5rem, 7vw, 2.1rem);
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  animation: drawer-in 0.5s var(--ease) forwards;
  animation-delay: calc(var(--i) * 0.055s + 0.05s);
}
.drawer__cta { color: var(--brass); }
.drawer__num { font-family: var(--mono); font-size: 0.68rem; color: var(--brass); letter-spacing: 0.1em; }
.drawer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: #fff;
}
.drawer__foot a { text-decoration: none; }
@keyframes drawer-in { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ hero */

/* Every job photo is a portrait shot, so the hero puts the picture in a tall
   column of its own instead of cropping it into a letterbox. */
.hero {
  position: relative;
  background: var(--ink);
  min-height: clamp(600px, 94svh, 980px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 40%; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  animation: hero-settle 1.8s var(--ease) both;
}
@keyframes hero-settle { from { transform: scale(1.07); } to { transform: none; } }

.hero__seam { position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--brass); z-index: 2; }
.hero__fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(13, 12, 12, 0.82) 0px, rgba(13, 12, 12, 0.34) 90px, rgba(13, 12, 12, 0) 190px),
    linear-gradient(90deg, rgba(13, 12, 12, 0.62) 0%, rgba(13, 12, 12, 0.06) 34%, rgba(13, 12, 12, 0) 60%);
}

.hero__inner { position: relative; z-index: 3; padding-block: 112px clamp(48px, 6vh, 76px); }
.hero__copy { max-width: min(59%, 760px); }

.hero__eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  opacity: 0;
  animation: fade-up 0.7s var(--ease) 0.05s forwards;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero__title {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(2.3rem, 4.7vw, 4.05rem);
  line-height: 0.96;
  letter-spacing: -0.022em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.hero__title .wipe { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .wipe > span {
  display: block;
  transform: translateY(108%);
  animation: wipe-up 0.95s var(--ease) forwards;
  animation-delay: var(--d);
}
.hero__title .wipe:last-child > span { color: var(--brass); }
@keyframes wipe-up { to { transform: none; } }

.hero__lead {
  color: rgba(255, 255, 255, 0.72);
  max-width: 48ch;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding-top: clamp(22px, 2.6vw, 30px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: clamp(0.97rem, 1.15vw, 1.06rem);
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(24px, 2.8vw, 34px); }

/* ----------------------------------------------------------------- specs */

.specs { background: var(--ink); padding-block: clamp(30px, 3.4vw, 46px); }
.specs__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px clamp(10px, 2vw, 28px);
  border-left: 1px solid rgba(193, 137, 45, 0.28);
}
.spec:first-child { border-left: 0; padding-left: 0; }
.spec__value {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--brass);
}
.spec__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

/* -------------------------------------------------------------- services */

.services { background: var(--paper); }
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.78fr);
  grid-template-areas: 'lead fan' 'list fan';
  column-gap: clamp(34px, 5.5vw, 92px);
  align-items: start;
}
.services__lead { grid-area: lead; }
.services__list { grid-area: list; margin: clamp(34px, 4vw, 54px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }

/* the fan deck — the one flourish on the page */
.fan {
  grid-area: fan;
  position: sticky;
  top: 118px;
  aspect-ratio: 3 / 4;
  margin-top: 8px;
}
.fan__blade {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  transform-origin: 14% 94%;
  transform: rotate(calc(var(--n) * 3.1deg - 5deg));
  opacity: 0.4;
  filter: saturate(0.3) brightness(0.72);
  box-shadow: 0 20px 44px -26px rgba(0, 0, 0, 0.75);
  transition: transform 0.55s var(--ease), opacity 0.4s var(--ease), filter 0.5s var(--ease);
  z-index: 1;
}
.fan__blade img { width: 100%; height: 100%; object-fit: cover; }
.fan__blade figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--ink);
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  padding: 8px 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease) 0.1s, transform 0.35s var(--ease) 0.1s;
}
.fan__blade.is-active {
  transform: rotate(-2.2deg) translateY(-12px) scale(1.015);
  opacity: 1;
  filter: none;
  z-index: 6;
  box-shadow: 0 40px 70px -34px rgba(0, 0, 0, 0.85);
}
.fan__blade.is-active figcaption { opacity: 1; transform: none; }

.service {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 22px;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.45s var(--ease);
}
.service::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 0;
  background: var(--brass);
  transition: width 0.55s var(--ease);
}
.service.is-active::before, .service:hover::before, .service:focus-visible::before { width: 100%; }
.service.is-active, .service:hover { padding-left: 14px; }

.service__code {
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 5px;
  transition: color 0.3s;
}
.service.is-active .service__code, .service:hover .service__code { color: var(--brass); }

.service__title {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 104%;
  font-size: clamp(1.12rem, 1.55vw, 1.38rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.service__desc { display: block; color: var(--muted); font-size: 0.94rem; margin-top: 7px; max-width: 48ch; }
.service__thumb { display: none; }
.service__arrow {
  width: 22px;
  height: 22px;
  margin-top: 4px;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.3s;
}
.service.is-active .service__arrow, .service:hover .service__arrow {
  opacity: 1;
  transform: none;
  color: var(--brass);
}

/* ------------------------------------------------------------------ work */

.work { background: var(--bone); }
.mosaic { column-count: 3; column-gap: clamp(13px, 1.5vw, 20px); }
.tile { break-inside: avoid; margin: 0 0 clamp(13px, 1.5vw, 20px); }
.tile__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.tile__btn img {
  width: 100%;
  height: auto;
  transition: transform 0.9s var(--ease), opacity 0.4s;
}
.tile__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 12, 12, 0.85) 0%, rgba(13, 12, 12, 0.15) 42%, transparent 70%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.tile__cap {
  position: absolute;
  inset: auto 0 0;
  padding: 18px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.tile__tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
}
.tile__title { color: #fff; font-size: 0.98rem; font-weight: 500; line-height: 1.3; }
.tile__btn:hover img, .tile__btn:focus-visible img { transform: scale(1.045); }
.tile__btn:hover .tile__veil, .tile__btn:focus-visible .tile__veil { opacity: 1; }
.tile__btn:hover .tile__cap, .tile__btn:focus-visible .tile__cap { opacity: 1; transform: none; }

/* --------------------------------------------------------------- process */

.process { background: var(--paper); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 46px); }
.step { position: relative; border-top: 1px solid var(--line); padding-top: 26px; }
.step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--brass);
  transition: width 0.8s var(--ease);
}
.step.is-in::before { width: 100%; }
.step:nth-child(2)::before { transition-delay: 0.14s; }
.step:nth-child(3)::before { transition-delay: 0.28s; }
.step:nth-child(4)::before { transition-delay: 0.42s; }
.step:nth-child(5)::before { transition-delay: 0.56s; }
.step:nth-child(6)::before { transition-delay: 0.7s; }
.step__num { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--brass); }
.step__title {
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 104%;
  font-size: 1.16rem;
  margin: 12px 0 8px;
  letter-spacing: -0.005em;
}
.step__desc { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ----------------------------------------------------------------- about */

.about { background: var(--ink); color: #fff; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(30px, 5vw, 82px);
  align-items: center;
}
.about__media { border-radius: var(--radius); overflow: hidden; }
.about__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.about .eyebrow { color: rgba(255, 255, 255, 0.6); }
.about__para { color: rgba(255, 255, 255, 0.72); margin: 1.15em 0 0; max-width: 58ch; }
.about__points { list-style: none; margin: clamp(28px, 3.4vw, 40px) 0 0; padding: 0; display: grid; gap: 1px; background: var(--line-light); border-block: 1px solid var(--line-light); }
.about__points li { background: var(--ink); padding: 18px 0; display: grid; grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr); gap: 16px; align-items: baseline; }
.about__points strong {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}
.about__points span { color: rgba(255, 255, 255, 0.66); font-size: 0.94rem; }

/* ---------------------------------------------------------------- quotes */

.quotes { background: var(--bone); }
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.quote { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; }
.quote blockquote {
  margin: 0 0 auto;
  font-family: var(--display);
  font-weight: 500;
  font-stretch: 102%;
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.52;
  letter-spacing: -0.005em;
}
.quote blockquote::before { content: '“'; color: var(--brass); font-size: 1.4em; line-height: 0; vertical-align: -0.15em; margin-right: 0.06em; }
.quote figcaption { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.quote__name { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; }
.quote__where { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------- faq */

.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq__lead { position: sticky; top: 118px; }
.faq__call {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 3px;
  transition: color 0.2s;
}
.faq__call:hover { color: var(--brass-dim); }

.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 104%;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brass-dim); }
.qa summary svg { width: 16px; height: 16px; flex: none; color: var(--brass); transition: transform 0.35s var(--ease); }
.qa[open] summary svg { transform: rotate(135deg); }
.qa__body { padding-bottom: 24px; max-width: 62ch; }
.qa__body p { margin: 0; color: var(--muted); }

/* -------------------------------------------------------------- estimate */

.estimate { background: var(--ink); color: #fff; }
.estimate__grid { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(34px, 5vw, 86px); align-items: start; }
.estimate__facts { margin: clamp(30px, 3.6vw, 44px) 0 0; display: grid; gap: 1px; background: var(--line-light); border-block: 1px solid var(--line-light); }
.estimate__facts > div { background: var(--ink); padding: 15px 0; display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr); gap: 14px; align-items: baseline; }
.estimate__facts dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.estimate__facts dd { margin: 0; color: #fff; font-size: 0.96rem; }
.estimate__facts a { text-decoration: none; border-bottom: 1px solid rgba(193, 137, 45, 0.5); transition: border-color 0.2s; }
.estimate__facts a:hover { border-color: var(--brass); }

.form { background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(22px, 2.8vw, 38px); }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 0.98rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 14px 15px;
  width: 100%;
  transition: border-color 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 118px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23C1892D' stroke-width='1.4' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px; padding-right: 40px; }
.field select option { background: var(--ink-2); color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); background: rgba(255, 255, 255, 0.08); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: #D97B5A; }
.field__hint { margin: 0; font-size: 0.83rem; color: rgba(255, 255, 255, 0.42); }
.field__error { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #E08C6B; }

.form__note { min-height: 1.4em; margin: 14px 0 0; font-size: 0.9rem; text-align: center; }
.form__note.is-ok { color: var(--brass-lt); }
.form__note.is-bad { color: #E08C6B; }

/* ---------------------------------------------------------------- footer */

.footer { background: #080807; color: rgba(255, 255, 255, 0.66); padding-top: clamp(52px, 6vw, 84px); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3.5vw, 56px); padding-bottom: clamp(38px, 4.5vw, 62px); }
.footer__brand img { width: auto; height: clamp(84px, 8vw, 112px); }
.footer__brand p { margin: 20px 0 0; font-size: 0.92rem; max-width: 34ch; }
.footer__col { display: flex; flex-direction: column; gap: 11px; align-items: start; }
.footer__col h3 {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 6px;
}
.footer__col a, .footer__col span { font-size: 0.92rem; text-decoration: none; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__license { color: rgba(255, 255, 255, 0.4); font-size: 0.84rem !important; }

.footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.42);
}
.footer__baseright { display: flex; align-items: center; gap: 20px; }
.footer__top { text-decoration: none; transition: color 0.2s; }
.footer__top:hover { color: var(--brass); }

/* -------------------------------------------------------------- lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 7, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(8px, 2vw, 28px);
  padding: clamp(56px, 8vh, 84px) clamp(12px, 3vw, 40px);
  animation: fade-in 0.25s ease both;
}
.lightbox[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.lightbox__stage img { max-width: 100%; max-height: 76vh; width: auto; border-radius: var(--radius); }
.lightbox__stage figcaption { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; justify-content: center; }
.lightbox__tag { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.lightbox__title { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.lightbox__nav, .lightbox__close {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.35); }
.lightbox__close { position: absolute; top: clamp(14px, 3vh, 26px); right: clamp(14px, 3vw, 30px); }

/* ---------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .services__grid { grid-template-columns: 1fr; grid-template-areas: 'lead' 'list'; }
  .fan { display: none; }
  .service { grid-template-columns: 66px minmax(0, 1fr) 20px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__lead { position: static; }
  .estimate__grid, .about__grid { grid-template-columns: 1fr; }
  .about__media img { aspect-ratio: 16 / 10; }
  .quotes__grid { grid-template-columns: 1fr 1fr; }
  .quotes__grid .quote:last-child:nth-child(odd) { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 34px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .masthead__nav { display: none; }
  .burger { display: flex; }
  .mosaic { column-count: 2; }
  .section__head { grid-template-columns: 1fr; align-items: start; }
  .lede--right { margin-top: 4px; }

  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__media { position: relative; width: 100%; aspect-ratio: 16 / 10; }
  .hero__media img { object-position: center 40%; }
  .hero__seam { inset: auto 0 0 0; width: auto; height: 2px; }
  .hero__fade { background: linear-gradient(to bottom, rgba(13, 12, 12, 0.55) 0%, rgba(13, 12, 12, 0) 45%); }
  .hero__inner { padding-block: clamp(38px, 6vw, 56px) clamp(44px, 7vw, 64px); }
  .hero__copy { max-width: none; }
  .hero__title { font-size: clamp(2.3rem, 8.6vw, 3.6rem); }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }
  .masthead__call span { display: none; }
  .masthead__call { padding: 11px; }
  .specs__grid { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .spec:nth-child(odd) { border-left: 0; padding-left: 0; }
  .spec:nth-child(3) { border-top: 1px solid rgba(193, 137, 45, 0.28); padding-top: 20px; }
  .spec:nth-child(4) { border-top: 1px solid rgba(193, 137, 45, 0.28); padding-top: 20px; }
  .hero__media { aspect-ratio: 4 / 3; }
  .hero__actions .btn { flex: 1 1 auto; }
  .service { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; }
  .service.is-active, .service:hover { padding-left: 0; }
  .service__arrow { display: none; }
  .service__thumb { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); order: -1; }
  .service__code { padding-top: 0; }
  .quotes__grid { grid-template-columns: 1fr; }
  .quotes__grid .quote:last-child:nth-child(odd) { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .about__points li, .estimate__facts > div { grid-template-columns: 1fr; gap: 5px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { justify-content: center; text-align: center; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding-inline: 14px; }
  .lightbox__stage { grid-row: 1; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { grid-row: 2; justify-self: end; margin-right: 60px; }
  .lightbox__nav--next { grid-row: 2; justify-self: start; margin-left: 60px; }
}

@media (max-width: 480px) {
  .mosaic { column-count: 1; }
  .steps { grid-template-columns: 1fr; }
  /* The strapline no longer fits beside the call button — the mark carries it. */
  .brand__bottom { display: none; }
  .brand__mark { height: 34px; }
  .brand__top { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__title .wipe > span { transform: none; }
  .step::before { width: 100%; }
}

@media print {
  .masthead, .drawer, .lightbox, .hero__actions, .form { display: none !important; }
  body { background: #fff; color: #000; }
}
