/* AJ Decorators — shared stylesheet for all pages.
   Lives at the site root rather than /assets/ on purpose: _headers gives
   /assets/* a 7-day cache, which is right for logos but would leave stale
   styles behind for a week after an edit. */

:root {
  --ink: #121212;
  --black: #171717;
  --black-dk: #0B0B0B;
  --yellow: #FFC81F;
  --yellow-ink: #7A5A00;
  --bg: #FAF9F6;
  --paper: #FFFFFF;
  --muted: #5C5C5C;
  --line: #E4DFD5;
  --head: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 60px); }
h2 { font-size: clamp(27px, 4vw, 40px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0 0 18px; }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* The header is sticky, so any anchor target has to clear it or the heading
   lands underneath. Applies to whatever is targeted, on every page. */
:target { scroll-margin-top: 92px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 68px 0; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding-top: 0; }
.eyebrow {
  font-family: var(--head); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow-ink);
  margin: 0 0 12px;
}
.lede { font-size: 18.5px; color: var(--muted); max-width: 60ch; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--head); font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  padding: 15px 26px; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--yellow); color: #121212; }
.btn--primary:hover { background: #FFD75A; }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: var(--black-dk); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); color: #fff; }
.btn--light:hover { background: #fff; color: var(--black); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,246,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 22px; max-width: var(--wrap); margin: 0 auto; }
.brand { display: block; text-decoration: none; flex: none; }
.brand img { display: block; height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--yellow-ink); }
.nav__links { display: flex; gap: 26px; }
/* Current page: a yellow rule under the label rather than a colour change
   alone, so it doesn't rely on colour perception. */
.nav__links a[aria-current="page"] {
  color: var(--ink); box-shadow: inset 0 -3px 0 var(--yellow);
}
.nav__cta { padding: 11px 20px; font-size: 15px; }

.nav__toggle {
  display: none; align-items: center; gap: 9px;
  background: none; border: 1.5px solid var(--line); border-radius: 9px;
  padding: 9px 13px; cursor: pointer;
  font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--ink);
}
.nav__toggle:hover { border-color: var(--ink); }
.nav__bars { position: relative; display: block; width: 17px; height: 2px; background: currentColor; }
.nav__bars::before, .nav__bars::after {
  content: ''; position: absolute; left: 0; width: 17px; height: 2px; background: currentColor;
}
.nav__bars::before { top: -6px; }
.nav__bars::after { top: 6px; }

/* ---------- page header (inner pages) ---------- */
.page-head { padding: 46px 0 0; }
.page-head h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 16px; }

/* ---------- hero (home) ---------- */
/* Longhands only: .hero also carries .wrap, and a `padding` shorthand here
   would reset .wrap's side padding and let the text run to the edges. */
.hero { padding-top: 54px; padding-bottom: 60px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: 19px; margin-bottom: 28px; }
.badge-30 {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  background: var(--yellow); color: #121212;
  font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
}
.hero__note { font-size: 14.5px; color: var(--muted); margin: 18px 0 0; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- photo slots ---------- */
.shot {
  position: relative; margin: 0; overflow: hidden; border-radius: 16px;
  background: #ECEAE5; border: 1px solid var(--line);
}
.shot::after {
  content: attr(data-label);
  position: absolute; inset: 12px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px dashed rgba(0,0,0,.22); border-radius: 10px;
  padding: 18px; font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.shot img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.shot--hero { aspect-ratio: 4 / 3.1; box-shadow: 0 30px 60px -34px rgba(0,0,0,.32); }
.shot--tile { aspect-ratio: 4 / 3; }
.shot--tall { aspect-ratio: 4 / 5; }
@media (max-width: 560px) { .shot--tall { aspect-ratio: 4 / 3; } }

/* ---------- before / after pair (home hero) ----------
   Side by side rather than a drag-to-wipe slider: the two shots are taken
   from different distances, so a wipe would slide misaligned buildings past
   each other. Two labelled frames read instantly and can't misrepresent. */
.ba { margin: 0; }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba__item {
  position: relative; overflow: hidden; border-radius: 14px;
  border: 1px solid var(--line); background: #ECEAE5;
  box-shadow: 0 24px 48px -30px rgba(0,0,0,.4);
}
.ba__item img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.ba__tag {
  position: absolute; top: 10px; left: 10px;
  /* Above the .zoom button (z-index 1) that site.js wraps the photo in, or the
     label sits behind it. pointer-events:none so clicks still reach the button. */
  z-index: 2; pointer-events: none;
  font-family: var(--head); font-weight: 700; font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(17,17,17,.82); color: #fff;
  backdrop-filter: blur(4px);
}
.ba__tag--after { background: var(--yellow); color: #121212; }
.ba figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 420px) {
  .ba__pair { gap: 9px; }
  .ba__tag { font-size: 10.5px; padding: 4px 9px; }
}

/* ---------- click-to-enlarge ----------
   site.js wraps every photo that actually loaded in this button, so it's
   keyboard-reachable as well as clickable. Placeholder slots get no button. */
.zoom {
  display: block; position: relative; z-index: 1;
  width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; line-height: 0;
}
.zoom img { pointer-events: none; }
.zoom::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(17,17,17,0); transition: background .18s ease;
}
.zoom:hover::after { background: rgba(17,17,17,.14); }

.lb {
  border: 0; padding: 0; background: none; max-width: none; max-height: none;
  width: 100%; height: 100%;
}
.lb::backdrop { background: rgba(8,8,8,.9); }
.lb__in {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; width: 100%; height: 100%; padding: 22px;
}
.lb__img {
  max-width: min(94vw, 1200px); max-height: 82vh;
  width: auto; height: auto; object-fit: contain;
  border-radius: 10px; background: #1C1C1C;
}
.lb__cap {
  margin: 0; max-width: 70ch; text-align: center;
  font-size: 14.5px; color: #D8D8D8;
}
.lb__close {
  position: fixed; top: 14px; right: 16px;
  width: 46px; height: 46px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.35); background: rgba(20,20,20,.75);
  color: #fff; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.lb__close:hover { background: var(--yellow); color: #121212; border-color: var(--yellow); }

/* ---------- trust strip ---------- */
.strip { background: var(--black); color: #F0F0F0; }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding: 30px 22px; max-width: var(--wrap); margin: 0 auto; }
.strip__item { display: flex; gap: 12px; align-items: flex-start; }
.strip__item svg { flex: none; margin-top: 3px; color: var(--yellow); }
.strip__t { font-family: var(--head); font-weight: 700; font-size: 16px; color: #fff; }
.strip__d { font-size: 14px; color: #B0B0B0; line-height: 1.5; }
@media (max-width: 860px) { .strip__in { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 460px) { .strip__in { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 780px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(0,0,0,.28); }
.card__ico {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 16px;
  background: rgba(255,200,31,.38); color: #171717;
  display: flex; align-items: center; justify-content: center;
}
.card h2, .card h3 { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--muted); margin: 0; }
.card__list { list-style: none; margin: 14px 0 0; padding: 0; font-size: 15px; color: var(--muted); }
.card__list li { position: relative; padding-left: 18px; margin-bottom: 5px; }
.card__list li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--yellow);
}

/* ---------- home page tiles (links to the inner pages) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 780px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 18px 34px -22px rgba(0,0,0,.28); }
.tile h3 { margin-bottom: 8px; }
.tile p { font-size: 15.5px; color: var(--muted); margin: 0 0 18px; }
.tile__go {
  margin-top: auto; font-family: var(--head); font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; gap: 7px;
}
.tile__go svg { transition: transform .2s ease; }
.tile:hover .tile__go svg { transform: translateX(3px); }

/* ---------- why us ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; gap: 34px; } }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 4px; color: var(--black); }
.ticks b { font-family: var(--head); font-size: 17px; display: block; }
.ticks span { font-size: 15.5px; color: var(--muted); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
/* The caption sits OUTSIDE .shot: that box is overflow:hidden with a fixed
   aspect-ratio, so anything after the image inside it gets clipped away. */
.tile-fig { margin: 0; }
.gallery figcaption {
  font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 10px;
}
/* No dashed placeholder frame on slots that carry a real photo. */
.shot:not([data-label])::after { display: none; }

/* ---------- portfolio: before/after grid ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px 26px; }
@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- scroll reveal ----------
   Gated on html.js (set by an inline script in the page head) so that with
   JavaScript off the photos are simply visible rather than stuck at opacity 0. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
  /* --i staggers items across a row so they arrive in sequence, not as a slab */
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- areas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 17px; font-size: 15px; font-weight: 600;
}

/* ---------- offer band ---------- */
.offer {
  background: var(--yellow); border-radius: 20px; padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.offer h2 { color: #121212; }
.offer p { color: #3A2E00; margin: 8px 0 0; max-width: 46ch; font-weight: 500; }

/* ---------- dark CTA band ---------- */
.cta-band { background: var(--black); color: #F0F0F0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #B0B0B0; max-width: 54ch; margin: 0 auto 26px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- contact / quote ---------- */
.contact { background: var(--black); color: #F0F0F0; }
.contact h2 { color: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; gap: 36px; } }
.contact p { color: #B0B0B0; }
.contact-lines { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; }
.contact-lines svg { flex: none; margin-top: 4px; color: var(--yellow); }
.contact-lines b { display: block; font-family: var(--head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9A9A9A; font-weight: 700; }
.contact-lines a, .contact-lines span { color: #fff; font-size: 18px; font-weight: 600; text-decoration: none; }
/* Phone links are the main action on a phone — give them a thumb-sized hit
   area rather than the 22px an inline link would get. */
.contact-lines a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-lines a:hover { color: var(--yellow); }

.form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 28px; }
.form h2 { font-size: 22px; color: #fff; margin-bottom: 6px; }
.form__hint { font-size: 14.5px; color: #B0B0B0; margin-bottom: 20px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: #D8D8D8; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 9px; padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 92px; }
.form .btn { width: 100%; margin-top: 6px; }
.form__or { text-align: center; font-size: 14px; color: #B0B0B0; margin: 14px 0 0; }
.form__or a { color: #fff; font-weight: 700; }

/* ---------- footer ---------- */
.foot { background: var(--black-dk); color: #9A9A9A; padding: 46px 0 108px; font-size: 14.5px; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot a { color: #D8D8D8; }
.foot__logo { display: block; height: 40px; width: auto; margin-bottom: 12px; }
.foot__t { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot__list a { text-decoration: none; }
.foot__list a:hover { color: var(--yellow); }
.foot__legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 20px; font-size: 13.5px; }
@media (min-width: 761px) { .foot { padding-bottom: 46px; } }
@media (max-width: 700px) { .foot__in { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: 10px; padding: 10px 12px;
  /* Clear the iPhone home indicator without adding dead space on phones
     that don't have one. */
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: rgba(11,11,11,.97); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.callbar .btn { flex: 1; padding: 14px 10px; font-size: 15.5px; }
@media (max-width: 760px) { .callbar { display: flex; } }

/* ---------- tablet: collapse the nav to a menu ----------
   880px, not 980: with the phone number out of the header the full nav needs
   831px, so tablets can keep it. Keep the breakpoint in step with the resize
   handler in site.js. */
@media (max-width: 880px) {
  .nav__toggle { display: inline-flex; order: 3; }
  .nav__links {
    /* .site-head is position:sticky, which is a positioned ancestor, so this
       panel spans the full header width regardless of the inner max-width. */
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(0,0,0,.4);
    padding: 6px 22px 14px;
  }
  .nav__links[data-open] { display: flex; }
  .nav__links a {
    display: flex; align-items: center; min-height: 52px;
    font-size: 17px; border-bottom: 1px solid var(--line);
  }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--yellow); padding-left: 12px; }
}

/* ---------- phones ---------- */
@media (max-width: 700px) {
  .site-head__in { padding: 9px 18px; }
  :target { scroll-margin-top: 68px; }
  .wrap { padding: 0 18px; }
  .nav__links { padding: 6px 18px 14px; }
  .section { padding: 46px 0; }
  .page-head { padding-top: 32px; }
  .hero { padding-top: 30px; padding-bottom: 38px; }
  .hero .lede { font-size: 17.5px; }
  .offer { padding: 30px 24px; border-radius: 16px; }
  .form { padding: 22px 20px; }
  .card, .tile { padding: 24px 22px; }
  /* Full-width stacked CTAs read as deliberate and are easier to hit than two
     content-width buttons side by side. */
  .hero .btn-row, .cta-band .btn-row { flex-direction: column; align-items: stretch; }
  .strip__in { padding: 26px 18px; }
  .ticks { gap: 14px; }
  .brand img { height: 38px; }
  .nav { gap: 12px; }
}
/* The banded lockup is 5.9:1, far wider than a square mark, so on phones the
   logo + CTA + Menu no longer fit on one line. The sticky call bar already
   carries both Call now and Get a quote, so the header CTA is the redundant
   one — drop it rather than shrinking the logo to illegibility. */
@media (max-width: 560px) {
  .nav__cta { display: none; }
}
@media (max-width: 430px) {
  .brand img { height: 32px; }
  .nav__toggle-txt { display: none; }
  .nav__toggle { padding: 11px; }
}

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