/* ==========================================================
   Easy Stoppers Ltd — Interior Plastering
   ========================================================== */

/* ---------- self-hosted fonts ---------- */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }

:root {
  --yellow: #ecba34;
  --yellow-deep: #d9a41c;
  --teal: #017fa5;
  --teal-dark: #015f7c;
  --ink: #1e2023;
  --ink-2: #2b2e31;
  --stone: #6b6862;
  --paper: #f3f1ec;
  --white: #ffffff;
  --line: rgba(30, 32, 35, .12);

  --side-w: 300px;
  --pad: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.22, .8, .24, 1);

  --f-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
h3 { font-size: 1.45rem; letter-spacing: .01em; }
p { margin: 0 0 1em; }

/* ---------- plaster textures ---------- */
.plaster-yellow, .sidebar { background: var(--yellow) url("../img/plaster-yellow.jpg") center / 520px repeat; }
.plaster-dark   { background: var(--ink) url("../img/plaster-dark.jpg") center / 520px repeat; color: #e9e6df; }
.plaster-light  { background: var(--paper) url("../img/plaster-light.jpg") center / 520px repeat; }

/* ==========================================================
   SIDEBAR
   ========================================================== */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side-w);
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: 44px 40px 36px;
  overflow-y: auto;
  box-shadow: inset -1px 0 0 rgba(0,0,0,.08);
}
/* trowel-edge shadow on the right */
.sidebar::after {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; width: 18px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.07));
  pointer-events: none;
}

.brand { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; text-decoration: none; }
.brand__mark { width: 62px; height: 55px; color: var(--teal-dark); grid-row: span 2; }
.brand__name {
  font-family: var(--f-head); font-weight: 800; font-size: 1.75rem;
  line-height: .88; text-transform: uppercase; color: var(--ink);
}
.brand__tag {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(30,32,35,.7); font-weight: 600; margin-top: 4px;
}

.nav { margin: auto 0; padding: 48px 0; }
.nav ol { list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative;
  display: flex; align-items: baseline; gap: 14px;
  padding: 9px 0;
  font-family: var(--f-head); font-weight: 600; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; color: var(--ink);
  transition: transform .35s var(--ease), color .25s;
}
.nav a span {
  font-family: var(--f-body); font-size: .72rem; font-weight: 600;
  color: rgba(30,32,35,.55); letter-spacing: .08em; width: 20px;
}
.nav a::before {
  content: ""; position: absolute; left: -40px; top: 50%;
  width: 0; height: 3px; background: var(--ink);
  transition: width .35s var(--ease);
}
.nav a:hover, .nav a.is-active { transform: translateX(10px); }
.nav a.is-active::before, .nav a:hover::before { width: 30px; }
.nav a.is-active { color: var(--ink); }
.nav a.is-active span { color: var(--teal-dark); }

.sidebar__foot { border-top: 2px solid rgba(30,32,35,.85); padding-top: 18px; }
.sidebar__label { margin: 0; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.sidebar__phone {
  display: block; font-family: var(--f-head); font-weight: 800;
  font-size: 2rem; text-decoration: none; line-height: 1.2; color: var(--ink);
}
.sidebar__phone:hover { color: var(--teal-dark); }
.sidebar__area { margin: 4px 0 0; font-size: .85rem; color: rgba(30,32,35,.75); }

/* ==========================================================
   PAGE
   ========================================================== */
.site { margin-left: var(--side-w); }
.topbar, .scrim { display: none; }

.section { padding: clamp(72px, 10vw, 140px) var(--pad); position: relative; }
.section__head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head p:last-child { color: var(--stone); font-size: 1.1rem; }
.section__head--light p:last-child { color: rgba(255,255,255,.7); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__head--row h2 { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 1.25rem; line-height: 1.5; font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border: 2px solid transparent; border-radius: 0;
  font-family: var(--f-head); font-weight: 700; font-size: 1.1rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #f5c94d; }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--teal-dark); }
.btn--block { width: 100%; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--pad) 160px; color: #fff; overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,21,23,.88) 0%, rgba(20,21,23,.62) 45%, rgba(20,21,23,.15) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__content { max-width: 760px; }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { font-size: clamp(3.2rem, 7vw, 6.6rem); font-weight: 800; line-height: .9; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 560px; color: rgba(255,255,255,.86); margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
  position: absolute; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr);
  list-style: none; margin: 0; padding: 0;
  background: var(--paper) url("../img/plaster-light.jpg") center / 520px; color: var(--ink);
  width: min(720px, 70%);
}
.hero__stats li { padding: 26px 30px; border-left: 1px solid var(--line); }
.hero__stats li:first-child { border-left: 0; background: var(--teal); color: #fff; }
.hero__stats strong { display: block; font-family: var(--f-head); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.hero__stats span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; opacity: .8; }

.scroll-cue { position: absolute; left: var(--pad); bottom: 48px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================
   ABOUT
   ========================================================== */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about__text p, .about__body p { color: #45474a; }
.about__text .lead { color: var(--ink); }
.ticks { list-style: none; margin: 28px 0 36px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 600; font-size: .98rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
  border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg);
}

.about__media { position: relative; aspect-ratio: 4 / 5; }
.about__img { position: absolute; margin: 0; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--a { inset: 0 18% 22% 0; }
.about__img--b { inset: 46% 0 0 34%; border: 10px solid var(--paper); }
.about__badge {
  position: absolute; left: -24px; bottom: 6%;
  width: 150px; height: 150px; display: grid; place-content: center; text-align: center;
  background: var(--yellow) url("../img/plaster-yellow.jpg") center / 300px;
  border-radius: 50%; box-shadow: 0 18px 40px -12px rgba(0,0,0,.35);
  animation: spinIn 1s var(--ease) both;
}
.about__badge strong { font-family: var(--f-head); font-size: 3rem; font-weight: 800; line-height: .9; }
.about__badge span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; line-height: 1.3; }

/* ==========================================================
   SERVICES
   ========================================================== */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.card {
  position: relative; background: rgba(255,255,255,.82); padding: 36px 30px 32px; overflow: hidden;
  transition: background .35s;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0;
  background: var(--yellow) url("../img/plaster-yellow.jpg") center / 520px;
  transition: height .45s var(--ease); z-index: 0;
}
.card > * { position: relative; z-index: 1; }
.card:hover::before { height: 100%; }
.card svg { width: 48px; height: 48px; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; transition: stroke .3s; }
.card:hover svg { stroke: var(--ink); }
.card h3 { margin-bottom: 12px; }
.card p { margin: 0; color: var(--stone); font-size: .96rem; transition: color .3s; }
.card:hover p { color: var(--ink); }

/* ==========================================================
   PROCESS
   ========================================================== */
.process { background: var(--ink) url("../img/plaster-dark.jpg") center / 520px; color: #fff; }
.process .eyebrow { color: var(--yellow); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 28px; }
.step { position: relative; }
.step figure { margin: 0 0 22px; aspect-ratio: 3 / 4; overflow: hidden; position: relative; }
.step img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: transform .8s var(--ease), filter .5s; }
.step:hover img { transform: scale(1.06); filter: none; }
.step__num {
  position: absolute; top: -18px; left: 18px;
  font-family: var(--f-head); font-weight: 800; font-size: 1.1rem;
  background: var(--yellow); color: var(--ink); padding: 6px 12px;
}
/* connector line */
.step::after {
  content: ""; position: absolute; top: -1px; left: 70px; right: -28px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 8px, transparent 8px 14px);
}
.step:last-child::after { right: 0; }
.step p { color: rgba(255,255,255,.72); font-size: .97rem; margin: 0; }

/* ==========================================================
   PROJECTS
   ========================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button {
  font: 600 .95rem/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 18px; background: transparent; border: 2px solid var(--ink); color: var(--ink); cursor: pointer;
  transition: background .25s, color .25s;
}
.filters button:hover { background: rgba(30,32,35,.08); }
.filters button.is-active { background: var(--ink); color: var(--yellow); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }
.tile { position: relative; overflow: hidden; display: block; background: #ddd; transition: opacity .4s, transform .4s var(--ease); }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  font: 600 .95rem/1.2 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  transform: translateY(100%); transition: transform .4s var(--ease);
}
.tile::after {
  content: "+"; position: absolute; top: 12px; right: 12px; width: 38px; height: 38px;
  display: grid; place-content: center; background: var(--yellow); color: var(--ink);
  font: 700 1.6rem/1 var(--f-head); transform: scale(0); transition: transform .35s var(--ease);
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); }
.tile:hover span, .tile:focus-visible span { transform: none; }
.tile:hover::after, .tile:focus-visible::after { transform: scale(1); }
.tile.is-hidden { display: none; }

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonials { text-align: left; }
.quote { max-width: 980px; margin: 0 auto; position: relative; }
.testimonials .eyebrow { color: var(--ink); }
.quote__mark { width: 84px; fill: var(--teal-dark); display: block; margin: 10px 0 24px; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--f-head); font-weight: 600; text-transform: none;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.18; margin-bottom: 32px;
}
.quote footer { display: flex; align-items: center; gap: 14px; font-size: 1rem; }
.quote footer strong { font-family: var(--f-head); font-size: 1.4rem; text-transform: uppercase; letter-spacing: .04em; }
.quote footer span { padding-left: 14px; border-left: 2px solid var(--ink); font-weight: 500; }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact .eyebrow { color: var(--yellow); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__info > p { color: rgba(255,255,255,.72); font-size: 1.1rem; max-width: 480px; }
.contact__list { list-style: none; padding: 0; margin: 40px 0 0; }
.contact__list li { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact__list span { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; margin-bottom: 4px; }
.contact__list a { font-family: var(--f-head); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; text-decoration: none; color: #fff; word-break: break-word; }
.contact__list a:hover { color: var(--yellow); }
.contact__list p { margin: 0; font-size: 1.05rem; }

.form { background: var(--paper) url("../img/plaster-light.jpg") center / 520px; color: var(--ink); padding: clamp(28px, 4vw, 48px); }
.form h3 { font-size: 1.9rem; margin-bottom: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; margin-bottom: 16px; }
.form label span { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; color: var(--stone); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; background: #fff; border: 2px solid transparent; border-bottom-color: var(--line); border-radius: 0;
  transition: border-color .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); }
.form .is-invalid { border-color: #c0392b; }
.form__note { margin: 14px 0 0; font-size: .92rem; min-height: 1.4em; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px;
  padding: 28px var(--pad); background: #141517; color: rgba(255,255,255,.55); font-size: .88rem;
}
.footer p { margin: 0; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; }
.footer__brand svg { width: 34px; height: 30px; color: var(--yellow); }

/* ==========================================================
   LIGHTBOX
   ========================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(14,15,16,.94);
  display: grid; place-items: center; padding: 60px 70px;
  opacity: 0; transition: opacity .3s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { color: #fff; margin-top: 14px; font: 600 1rem var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.lightbox button { position: absolute; background: var(--yellow); color: var(--ink); border: 0; cursor: pointer; font-size: 2rem; line-height: 1; width: 50px; height: 50px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ==========================================================
   REVEAL ANIMATION
   ========================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes spinIn { from { transform: rotate(-90deg) scale(.6); opacity: 0; } }


/* ==========================================================
   WORDPRESS ADDITIONS
   ========================================================== */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; }
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* custom logo (Appearance → Customize → Site Identity) */
.custom-mark { width: auto; object-fit: contain; }
.brand .custom-mark { height: 55px; max-width: 80px; grid-row: span 2; }
.topbar__brand .custom-mark { height: 34px; }
.footer__brand .custom-mark { height: 30px; }

.about__body { margin-bottom: 0; }

/* testimonials slider */
.quote__track { display: grid; }
.quote__item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.quote__item.is-active { opacity: 1; visibility: visible; }
.quote__dots { display: flex; gap: 10px; margin-top: 28px; }
.quote__dots button { width: 34px; height: 6px; border: 0; padding: 0; background: rgba(30,32,35,.25); cursor: pointer; transition: background .3s; }
.quote__dots button.is-active { background: var(--ink); }

/* quote form */
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__note.is-ok { color: #1d6b3a; font-weight: 600; }
.form__note.is-error { color: #b0302a; font-weight: 600; }
.form button[disabled] { opacity: .6; cursor: wait; }

/* footer links menu */
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.footer__links a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer__links a:hover { color: var(--yellow); }

/* ordinary pages (privacy policy etc.) */
.entry-wrap { min-height: 70vh; }
.entry { max-width: 760px; margin-bottom: 64px; }
.entry h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.entry h2 a { text-decoration: none; }
.entry__content h2 { font-size: 2rem; margin-top: 1.4em; }
.entry__content h3 { margin-top: 1.4em; }
.entry__content a { color: var(--teal-dark); }
.entry__content img { height: auto; }

/* WP admin bar */
.admin-bar .sidebar { top: 32px; }
@media (max-width: 1100px) {
  .admin-bar .sidebar, .admin-bar .topbar { top: 32px; }
}
@media (max-width: 782px) {
  .admin-bar .sidebar, .admin-bar .topbar { top: 46px; }
}
@media (max-width: 600px) {
  #wpadminbar { position: fixed; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1400px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  :root { --side-w: 290px; }

  /* push-menu: sidebar slides in from the left and shoves the page across */
  .sidebar {
    transform: translateX(-100%);
    transition: transform .55s var(--ease);
    padding-top: 90px;
  }
  .site, .topbar {
    transition: transform .55s var(--ease);
  }
  .site { margin-left: 0; padding-top: 64px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .site,
  body.nav-open .topbar { transform: translateX(var(--side-w)); }

  .topbar {
    position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 0 16px;
    background: var(--yellow) url("../img/plaster-yellow.jpg") center / 520px;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
  }
  .topbar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; color: var(--ink); }
  .topbar__brand svg { width: 38px; height: 34px; color: var(--teal-dark); }
  .topbar__call { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); }
  .topbar__call svg { width: 20px; height: 20px; }

  .burger { width: 44px; height: 44px; background: none; border: 0; padding: 10px 8px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; }
  .burger span { display: block; height: 3px; background: var(--ink); transition: transform .35s var(--ease), opacity .25s; transform-origin: center; }
  .burger span:nth-child(2) { width: 70%; }
  body.nav-open .burger span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  body.nav-open .burger span:nth-child(2) { opacity: 0; }
  body.nav-open .burger span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

  .scrim {
    display: block; position: fixed; inset: 0; z-index: 55;
    background: rgba(0,0,0,.45); opacity: 0; pointer-events: none;
    transition: opacity .45s;
  }
  body.nav-open .scrim { opacity: 1; pointer-events: auto; left: var(--side-w); }

  .hero { min-height: calc(100svh - 64px); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .step::after { display: none; }
}

@media (max-width: 860px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; width: 100%; margin: 0 auto; }
  .about__badge { left: 0; }
  .hero { padding-bottom: 60px; }
  .hero__stats { position: relative; width: auto; margin: 48px calc(var(--pad) * -1) -60px; }
  .scroll-cue { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

@media (max-width: 560px) {
  :root { --pad: 16px; --side-w: 84vw; }
  body { font-size: 16px; }
  .services__grid, .ticks, .form__row { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .steps { grid-template-columns: 1fr; }
  .step figure { aspect-ratio: 4 / 3; }
  .hero__stats li { padding: 18px 14px; }
  .hero__stats strong { font-size: 1.7rem; }
  .hero__stats span { font-size: .64rem; letter-spacing: .08em; }
  .hero__cta .btn { flex: 1 1 100%; }
  .gallery { grid-auto-rows: 140px; gap: 8px; }
  .tile--wide { grid-column: span 2; }
  .tile span { transform: none; font-size: .8rem; padding: 30px 10px 8px; }
  .lightbox { padding: 60px 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
  .sidebar { padding-left: 28px; padding-right: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
