/* Smart Scaff — colours taken from the logo.
   Layout idea: the business card's grey bars and red accents, set against
   large, real job photography. */
:root {
  --red: #da2a1c;
  --red-dark: #b5200f;
  --grey: #606060;
  --charcoal: #232425;
  --charcoal-2: #2e3032;
  --line: #d9d9d9;
  --soft: #f3f3f2;
  --white: #fff;
  --head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --sub: "Jost", "Futura", "Century Gothic", sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-io: cubic-bezier(.7,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font: 400 1rem/1.6 var(--sub);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { text-wrap: balance; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.ico { width: 1em; height: 1em; flex: none; }
.anchor { position: absolute; top: 0; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--charcoal); color: var(--white); }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 1rem 1.75rem;
  font: 800 1rem/1 var(--head); font-stretch: 85%;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: 3px;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--white); }
.btn--grey { background: var(--white); color: var(--grey); border-color: var(--grey); }
.btn--line { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn--sm { padding: .7rem 1.1rem; font-size: .95rem; }

.link {
  display: inline-flex; gap: .4em; align-items: center;
  font: 800 .9rem/1 var(--head); font-stretch: 85%; letter-spacing: .06em; text-transform: uppercase;
  color: var(--red); text-decoration: none;
}
.link i { font-style: normal; transition: transform .2s; }
.link:hover i { transform: translateX(4px); }

.kicker {
  display: flex; align-items: center; gap: .75rem; margin: 0 0 1rem;
  font: 700 .8rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--red);
}
.kicker::before { content: ""; width: 2.5rem; height: 3px; background: var(--red); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; z-index: 1;
  background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}
.header__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.header__logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav a {
  font: 700 .85rem/1 var(--head); font-stretch: 90%; letter-spacing: .08em; text-transform: uppercase;
  color: var(--grey); text-decoration: none; padding: .5rem 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--red); border-bottom-color: var(--red); }
.header__actions { display: flex; align-items: center; gap: .75rem; }
.burger { display: none; width: 44px; height: 44px; padding: 11px 10px; background: none; border: 0; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 4px 0; background: var(--grey); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Photo building blocks ---------- */
/* .pan is the layer the parallax script moves; it is taller than its frame
   so movement never shows an edge. Without the script it simply sits centred. */
.pan { position: absolute; left: 0; right: 0; top: -8%; bottom: -8%; display: block; will-change: transform; }
.pan img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }

.tag {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .6rem;
  padding: .55rem .9rem; background: rgba(35,36,37,.82); color: var(--white);
  font: 700 .75rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.tag i { width: .55rem; height: .55rem; background: var(--red); }

/* Clickable photo with hover treatment */
.shot {
  position: relative; display: block; padding: 0; border: 0; background: var(--charcoal-2);
  cursor: zoom-in; text-align: left; color: inherit;
}
.shot__frame { position: absolute; inset: 0; overflow: hidden; display: block; }
.shot::before, .shot::after {
  content: ""; position: absolute; z-index: 2; width: 2.5rem; height: 2.5rem; pointer-events: none;
  border: 0 solid var(--red); opacity: 0; transition: opacity .3s, transform .4s var(--ease);
}
.shot::before { top: .9rem; left: .9rem; border-width: 4px 0 0 4px; transform: translate(8px, 8px); }
.shot::after { bottom: .9rem; right: .9rem; border-width: 0 4px 4px 0; transform: translate(-8px, -8px); }
.shot:hover::before, .shot:hover::after, .shot:focus-visible::before, .shot:focus-visible::after { opacity: 1; transform: none; }
.shot:hover .pan img, .shot:focus-visible .pan img { transform: scale(1.05); }
.shot__view {
  position: absolute; z-index: 2; right: 1.25rem; top: 1.25rem;
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .8rem;
  background: var(--white); color: var(--charcoal);
  font: 800 .75rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--ease);
}
.shot__view::before { content: "+"; color: var(--red); font-size: 1rem; }
.shot:hover .shot__view, .shot:focus-visible .shot__view { opacity: 1; transform: none; }
.shot:focus-visible { outline-offset: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--grey); z-index: 3; }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; overflow: hidden; background: var(--charcoal-2); }
.hero__media .pan img { object-position: 46% 50%; }
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 30%);
}
.hero__media .tag { right: 1.25rem; bottom: 1.75rem; }
.hero__inner { position: relative; z-index: 2; padding-block: 3.5rem; }
.hero__card {
  width: min(600px, 54%); padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--white); border-top: 6px solid var(--red);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.35);
}
.hero__logo { margin: 0; }
.hero__logo img { width: 100%; }
.hero__lead { margin: 1.25rem 0 0; font-size: 1.2rem; color: var(--grey); }
.hero__phone {
  display: inline-flex; align-items: center; gap: .35em; margin-top: 1.25rem;
  font: 800 clamp(2rem, 4.2vw, 3.4rem)/1 var(--head); font-stretch: 88%;
  color: var(--grey); text-decoration: none; transition: color .2s;
}
.hero__phone:hover { color: var(--red); }
.hero__phone .ico { width: .85em; height: .85em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.title {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  font: 900 clamp(2.5rem, 5.5vw, 4rem)/.92 var(--head); font-stretch: 80%;
  text-transform: uppercase; color: var(--grey);
}
.title span { color: var(--red); }
.title--light { color: var(--white); }

/* ---------- What we do ---------- */
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.service--offset { margin-top: clamp(2rem, 8vw, 6rem); }
.service__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--charcoal-2); }
.service__img:hover .pan img { transform: scale(1.05); }
.service__img .pan img { object-position: 50% 35%; }
.service__body {
  position: relative; z-index: 1; width: 86%; margin-top: -4.5rem;
  padding: 1.5rem 1.75rem 1.6rem; background: var(--white); border-top: 6px solid var(--red);
  box-shadow: 0 24px 40px -28px rgba(0,0,0,.45);
}
.service--offset .service__body { margin-left: auto; }
.service__body h3 {
  margin: .25rem 0 .5rem;
  font: 900 clamp(1.6rem, 3vw, 2.2rem)/1 var(--head); font-stretch: 80%; text-transform: uppercase; color: var(--charcoal);
}
.service__body p { margin: 0 0 1.25rem; font-size: 1.1rem; color: var(--grey); }

/* ---------- Our work ---------- */
.work { position: relative; background: var(--charcoal); color: #cfcfcf; padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 7rem); overflow: hidden; }
.work__bigtype {
  position: absolute; top: clamp(1rem, 4vw, 3rem); left: 0; right: 0; white-space: nowrap; pointer-events: none;
  font: 900 clamp(6rem, 18vw, 16rem)/.8 var(--head); font-stretch: 75%; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.14);
}
.work__bigtype span { display: inline-block; will-change: transform; }
.work__head { position: relative; z-index: 1; }
.work__head .title { margin-bottom: 1rem; }
.work__head .title span { display: block; }
.work__intro { margin: 0 0 clamp(2.5rem, 5vw, 4rem); max-width: 40ch; font-size: 1.15rem; }

.shot--feature { width: 100%; height: clamp(320px, 66vh, 720px); }
.shot--feature .pan img { object-position: 50% 62%; }

.work__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1rem, 2.5vw, 2rem); align-items: start;
}
.work__col { display: flex; flex-direction: column; gap: clamp(1rem, 2.5vw, 2rem); min-width: 0; }
.shot--b { width: 100%; aspect-ratio: 3 / 4; margin-top: calc(-1 * clamp(4rem, 14vw, 11rem)); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.shot--d { width: 100%; aspect-ratio: 4 / 3; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.work__pair { display: flex; align-items: flex-end; gap: clamp(1rem, 2.5vw, 2rem); }
.shot--c { flex: 0 0 72%; aspect-ratio: 3 / 4; }
.shot--c .pan img { object-position: 50% 40%; }
.work__vert {
  margin: 0 0 0 auto; writing-mode: vertical-rl; transform: rotate(180deg);
  font: 900 clamp(2.5rem, 5.5vw, 5rem)/1 var(--head); font-stretch: 75%; text-transform: uppercase;
  color: var(--white); letter-spacing: .02em; white-space: nowrap;
}
.work__vert span { color: var(--red); }
.shot--e { width: 100%; aspect-ratio: 4 / 3; }
.work__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: .5rem; }
.work__cta p { margin: 0; font: 900 clamp(1.6rem, 3vw, 2.2rem)/1 var(--head); font-stretch: 80%; text-transform: uppercase; color: var(--white); }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about__media { position: relative; z-index: 0; padding: 0 clamp(2rem, 6vw, 5rem) clamp(3rem, 8vw, 6rem) 0; }
.about__main { width: 100%; aspect-ratio: 4 / 3; }
.about__main .pan img { object-position: 60% 60%; }
.about__media::before {
  content: ""; position: absolute; left: -1.25rem; top: -1.25rem; width: 40%; height: 55%; background: var(--red); z-index: -1;
}
.about__inset {
  position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4;
  border: 8px solid var(--white); box-shadow: 0 20px 40px -15px rgba(0,0,0,.35);
}
.about__inset img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__inset:hover img { transform: scale(1.05); }
.about__text .title span { display: block; }
.about__text p { margin: 0 0 1rem; font-size: 1.15rem; max-width: 46ch; }
.about__text a { color: var(--red); font-weight: 500; text-decoration: none; white-space: nowrap; }

/* ---------- How it works ---------- */
.how { background: var(--soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps li { position: relative; padding-top: 1.5rem; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: #cfcfcf; }
.steps li::after { content: ""; position: absolute; top: 0; left: 0; width: 3rem; height: 2px; background: var(--red); }
.steps__no { display: block; margin-bottom: 1rem; font: 900 3.5rem/1 var(--head); font-stretch: 80%; color: var(--red); }
.steps h3 { margin: 0 0 .4rem; font: 800 1.35rem/1.1 var(--head); font-stretch: 85%; text-transform: uppercase; color: var(--charcoal); letter-spacing: .02em; }
.steps p { margin: 0; color: #444; }
.steps a { color: var(--red); font-weight: 500; text-decoration: none; white-space: nowrap; }

/* ---------- Full-width photo band ---------- */
.band { position: relative; min-height: clamp(440px, 78vh, 760px); display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--charcoal); }
.band__media { position: absolute; inset: 0; overflow: hidden; }
.band__media .pan img { object-position: 50% 60%; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20,21,22,.86) 0%, rgba(20,21,22,.6) 45%, rgba(20,21,22,.15) 100%);
}
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); z-index: 2; }
.band__inner { position: relative; z-index: 2; padding-block: 4rem; }
.band__title {
  margin: 0;
  font: 900 clamp(3rem, 9vw, 7.5rem)/.88 var(--head); font-stretch: 78%; text-transform: uppercase; color: var(--white);
}
.band__title span { display: block; color: var(--red); }
.band__phone {
  display: inline-block; margin-top: 1.5rem;
  font: 800 clamp(2rem, 5vw, 3.75rem)/1 var(--head); font-stretch: 88%;
  color: var(--white); text-decoration: none;
}
.band__phone:hover { color: #ffd9d6; }
.band__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Get a quote / contact ---------- */
.quote { background: var(--white); }
.quote__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.quote .title { margin-bottom: 1rem; }
.quote .title span { display: block; }
.quote__intro > p { margin: 0; max-width: 32ch; font-size: 1.15rem; }
.contact-card {
  background: var(--soft); border-top: 6px solid var(--red);
  padding: clamp(1.75rem, 4vw, 3rem); text-align: center;
}
.contact-card__name { margin: 0; font: 900 clamp(1.8rem, 4vw, 2.4rem)/1 var(--head); font-stretch: 80%; text-transform: uppercase; color: var(--grey); }
.contact-card__name span { color: var(--red); }
.contact-card__tag { margin: .4rem 0 0; color: var(--red); letter-spacing: .04em; text-transform: uppercase; font-size: .95rem; }
.contact-card__phone {
  display: inline-flex; align-items: center; gap: .35em; margin-top: 1.5rem;
  font: 800 clamp(2rem, 5vw, 3rem)/1 var(--head); font-stretch: 88%;
  color: var(--grey); text-decoration: none; transition: color .2s;
}
.contact-card__phone:hover { color: var(--red); }
.contact-card__phone .ico { width: .85em; height: .85em; }
.contact-card__btns { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.75rem; }
.details { margin: 1.5rem 0 0; text-align: left; }
.details:not(:has(div:not([hidden]))) { display: none; }
.details div { padding: 1rem 0; border-top: 1px solid var(--line); }
.details dt { font: 800 .75rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.details dd { margin: .4rem 0 0; }
.details a { color: var(--red); text-decoration: none; }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal); color: #bdbdbd; padding: 3rem 0 1.5rem; font-size: .95rem; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 2rem; align-items: start; padding-bottom: 2rem; border-bottom: 1px solid #444; }
.footer p { margin: 0; }
.footer__name { font: 900 1.6rem/1 var(--head); font-stretch: 80%; text-transform: uppercase; color: var(--white); margin-bottom: .35rem !important; }
.footer__name span { color: var(--red); }
.footer__nav { display: grid; gap: .5rem; }
.footer a { color: #e6e6e6; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.footer__phone { font: 800 1.5rem/1 var(--head); font-stretch: 88%; color: var(--white) !important; }
.social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; color: #8f8f8f; font-size: .85rem; }

/* ---------- Photo viewer ---------- */
.lb {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(16,17,18,.96); color: var(--white);
}
.lb::backdrop { background: rgba(16,17,18,.9); }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb__img { max-width: min(92vw, 1400px); max-height: 84vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb__count { position: absolute; left: 1.5rem; top: 1.25rem; margin: 0; font: 700 .85rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: #bbb; }
.lb__btn {
  position: absolute; width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  font-size: 1.9rem; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s;
}
.lb__btn:hover { background: var(--red); border-color: var(--red); }
.lb__close { top: 1rem; right: 1rem; }
.lb__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Phone-only call bar ---------- */
.mbar { display: none; }

/* ---------- Simple inner pages (privacy, 404) ---------- */
.page { padding: clamp(3rem, 8vw, 5rem) 0; }
.page .wrap { max-width: 720px; }
.page h2 { margin: 2rem 0 .5rem; font: 800 1.3rem/1.2 var(--head); font-stretch: 85%; text-transform: uppercase; color: var(--charcoal); }
.page p, .page li { color: #444; }
.page a { color: var(--red); }
.page a[data-phone-link] { white-space: nowrap; }

/* =========================================================
   Animations. Everything is visible by default. js/main.js adds
   "pre" to an element just before animating it in, "in" to reveal
   it, then removes both. If the script doesn't run, nothing hides.
   ========================================================= */
.hero.intro .hero__media { animation: wipe-left 1.3s var(--ease-io) both; }
.hero.intro .hero__media img { animation: settle 1.8s var(--ease) both; }
.hero.intro .hero__card { animation: rise .9s var(--ease) .35s both; }
.hero.intro .hero__card > * { animation: rise .8s var(--ease) both; }
.hero.intro .hero__logo { animation-delay: .5s; }
.hero.intro .hero__lead { animation-delay: .62s; }
.hero.intro .hero__phone { animation-delay: .72s; }
.hero.intro .hero__ctas { animation-delay: .82s; }
.hero.intro .tag { animation: rise .7s var(--ease) 1.1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes wipe-left { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }

[data-reveal].pre {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s ease, transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].pre.in { opacity: 1; transform: none; }

[data-reveal="title"].pre { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io); }
[data-reveal="title"].pre > span { display: inline-block; transform: translateY(.5em); transition: transform 1s var(--ease) .15s; }
[data-reveal="title"].pre.in { clip-path: inset(0 0 -10% 0); }
[data-reveal="title"].pre.in > span { transform: none; }
.work__head .title.pre > span, .about .title.pre > span, .quote .title.pre > span, .band__title.pre > span { display: block; }

/* Photos: a wipe upwards while the picture settles from a slight zoom */
[data-reveal="image"].pre { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-io) var(--d, 0ms); }
[data-reveal="image"].pre.in { clip-path: inset(0 0 0 0); }
[data-reveal="image"].pre img { transform: scale(1.18); transition: transform 1.6s var(--ease) var(--d, 0ms); }
[data-reveal="image"].pre.in img { transform: none; }

.steps li.pre::before, .steps li.pre::after { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease-io) var(--d, 0ms); }
.steps li.pre::after { transition-delay: calc(var(--d, 0ms) + .35s); }
.steps li.pre.in::before, .steps li.pre.in::after { transform: scaleX(1); }
.steps li.pre .steps__no { transform: scale(.4); opacity: 0; transition: transform .7s cubic-bezier(.3,1.6,.5,1) calc(var(--d, 0ms) + .25s), opacity .3s calc(var(--d, 0ms) + .25s); }
.steps li.pre.in .steps__no { transform: none; opacity: 1; }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .header__actions { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0;
    padding: .5rem 1.25rem 1.5rem; background: var(--white); border-bottom: 6px solid var(--grey);
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 1rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a:hover { border-bottom-color: var(--line); }

  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__media { position: relative; width: 100%; height: min(62vh, 560px); }
  .hero__media .tag { bottom: auto; top: 1rem; right: 1rem; }
  .hero__inner { padding-block: 0 2.5rem; margin-top: -4.5rem; }
  .hero__card { width: 100%; }

  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps li { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1rem; }
  .steps__no { grid-row: span 2; margin: 0; }

  .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 640px; }

  .work__grid { grid-template-columns: 1fr 1fr; }
  .work__vert { display: none; }
  .shot--c { flex-basis: 100%; }
  .shot--b { margin-top: -3.5rem; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .mbar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; inset: auto 0 0; z-index: 30;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--charcoal); box-shadow: 0 -2px 10px rgba(0,0,0,.15);
  }
  .mbar a {
    display: flex; align-items: center; justify-content: center; gap: .5em; height: 56px;
    font: 800 1rem/1 var(--head); font-stretch: 85%; letter-spacing: .06em; text-transform: uppercase;
    color: var(--white); text-decoration: none;
  }
  .mbar__quote { background: var(--red); }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Mobile ---------- */
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .header__logo img { height: 40px; }
  .hero__media { height: 52vh; min-height: 320px; }
  .hero__inner { margin-top: -3rem; }
  .hero__card { padding: 1.5rem; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }

  .services__grid { grid-template-columns: 1fr; }
  .service--offset { margin-top: 0; }

  .shot--feature { height: 58vw; min-height: 240px; }
  .shot--b { margin-top: -2.5rem; }
  .work__grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .work__col { display: contents; }
  .shot--b { order: 1; }
  .work__pair { order: 2; margin-top: 2rem; }
  .shot--d { order: 3; grid-column: 1 / -1; margin-top: 0; }
  .shot--e { order: 4; grid-column: 1 / -1; }
  .work__cta { order: 5; grid-column: 1 / -1; }
  .shot__view { font-size: .65rem; }
  .shot__view { opacity: 1; transform: none; top: auto; bottom: .75rem; right: .75rem; padding: .4rem .6rem; }

  .about__media { padding: 0 2.5rem 3.5rem 0; }
  .about__media::before { left: -.75rem; top: -.75rem; }

  .band { min-height: 0; }
  .band::before { background: linear-gradient(180deg, rgba(20,21,22,.55), rgba(20,21,22,.88)); }
  .band__inner { padding-block: 5rem 4rem; }
  .band__ctas .btn { flex: 1; }

  .quote__inner, .contact-card__btns { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
}

/* =========================================================
   Extra polish
   ========================================================= */

/* Headline in the opening card */
.hero__headline {
  margin: 1.5rem 0 0;
  font: 900 clamp(2.1rem, 3.6vw, 3.3rem)/.9 var(--head); font-stretch: 72%;
  text-transform: uppercase; color: var(--charcoal); letter-spacing: -.005em;
}
.hero__headline span { display: block; }
.hero__headline span + span { color: var(--red); }
.hero__lead { margin-top: .9rem; font-size: 1.1rem; }
.hero__phone { margin-top: 1rem; }

/* Slow cinematic drift on the opening photo */
.hero__media img { animation: drift 24s ease-in-out infinite alternate; }
.hero.intro .hero__media img { animation: settle 1.8s var(--ease) both; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.09) translate(-1.5%, 1%); } }

/* Buttons: colour sweeps across on hover, arrow slides */
.btn { position: relative; overflow: hidden; background-repeat: no-repeat; background-size: 0% 100%; transition: background-size .55s cubic-bezier(.65,0,.35,1), color .3s .1s, border-color .3s, transform .2s, background-color .3s; }
.btn--red { background-image: linear-gradient(var(--charcoal), var(--charcoal)); }
.btn--red:hover { background-color: var(--red); background-size: 100% 100%; }
.btn--grey { background-image: linear-gradient(var(--grey), var(--grey)); }
.btn--grey:hover { background-color: var(--white); background-size: 100% 100%; color: var(--white); }
.btn--line { background-image: linear-gradient(var(--white), var(--white)); }
.btn--line:hover { background-color: transparent; background-size: 100% 100%; color: var(--charcoal); }
.btn .arr { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn:active { transform: translateY(0) scale(.98); }

/* Animated underline on menu links */
.nav--fx a { position: relative; border-bottom: 0; }
.nav--fx a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav--fx a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Red ticker */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--red); color: var(--white); padding: 1rem 0; }
.ticker__track { display: flex; align-items: center; gap: 2.25rem; width: max-content; animation: ticker 32s linear infinite; }
.ticker span { font: 900 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.ticker b { width: .7rem; height: .7rem; background: var(--white); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Grain texture on dark sections */
.work::after, .footer::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.footer { position: relative; overflow: hidden; }
.footer > * { position: relative; z-index: 1; }

/* Giant footer wordmark */
.footer__word {
  margin: 2.5rem 0 0; padding: 0 1rem; text-align: center; white-space: nowrap; line-height: .78;
  font: 900 clamp(3rem, 15vw, 16rem)/.78 var(--head); font-stretch: 70%; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.18);
}
.footer__word span { color: var(--red); -webkit-text-stroke: 0; }

.shot { cursor: zoom-in; }
.reel .shot { cursor: inherit; }

/* =========================================================
   Film reels behind the card in the opening section
   ========================================================= */
.hero {
  flex-direction: column; justify-content: center; align-items: stretch;
  min-height: calc(100vh - var(--header-h)); background: var(--white);
}
.hero__reels {
  position: absolute; inset: -7% -8%; z-index: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  transform: rotate(-3deg);
}
.hero::before { content: none; }
.hero__inner { position: relative; z-index: 2; flex: 0 0 auto; display: flex; align-items: center; width: min(1180px, 100% - 2.5rem); padding-block: clamp(1.5rem, 4vh, 3rem); pointer-events: none; }
.hero__card { pointer-events: auto; padding: clamp(1.75rem, 3.6vh, 3rem) clamp(2rem, 3.5vw, 3rem); box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.04); }
.hero__headline { margin-top: clamp(.9rem, 2vh, 1.5rem); }

.reel { position: relative; }
.reel__strip {
  position: relative; overflow-x: auto; scrollbar-width: none; background: var(--white);
}
.reel__strip::-webkit-scrollbar { display: none; }
.reel.is-live .reel__strip { overflow: hidden; cursor: grab; touch-action: pan-y; }
.reel.is-live.is-dragging .reel__strip { cursor: grabbing; }
.reel__track { display: flex; width: max-content; will-change: transform; }
.reel__set { position: relative; display: flex; gap: 12px; padding: 0 6px; }
.reel__frame {
  flex: none; width: clamp(240px, calc((100vh - var(--header-h)) * .76), 760px); aspect-ratio: 4 / 3; background: #000;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.reel__frame img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; transition: opacity .45s, filter .45s; }
.reel__frame::before, .reel__frame::after { width: 1.6rem; height: 1.6rem; }
.reel__frame::before { top: .6rem; left: .6rem; border-width: 3px 0 0 3px; }
.reel__frame::after { bottom: .6rem; right: .6rem; border-width: 0 3px 3px 0; }
.reel__strip:hover .reel__frame img { opacity: .45; filter: grayscale(.6); }
.reel__strip .reel__frame:hover img, .reel__strip .reel__frame:focus-visible img { opacity: 1; filter: none; }
.reel__frame:hover, .reel__frame:focus-visible { transform: scale(1.05); z-index: 2; box-shadow: 0 20px 36px -10px rgba(0,0,0,.8); }
.reel.is-dragging .reel__frame { transform: none; }

.hero.intro .reel:first-child { animation: reel-left 1.6s var(--ease) .2s both; }
.hero.intro .reel:last-child { animation: reel-right 1.6s var(--ease) .35s both; }
@keyframes reel-left { from { opacity: 0; transform: translateX(-14%); } to { opacity: 1; transform: none; } }
@keyframes reel-right { from { opacity: 0; transform: translateX(14%); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero::before { display: none; }
  .hero__reels { order: 2; position: relative; inset: auto; margin: -4rem -12% 0; padding-block: 0 2.5rem; transform: rotate(-3deg); }
  .reel__frame { width: clamp(180px, 34vw, 300px); }
  .hero__inner { order: 1; display: block; width: min(1180px, 100% - 2.5rem); margin-top: 0; padding-block: 1.25rem 0; }
}
@media (max-width: 680px) {
  .hero__inner { width: calc(100% - 2rem); margin-top: 0; padding-top: 1rem; }
  .reel__frame { width: 44vw; }
  .reel__set { gap: 8px; padding: 0 4px; }
  .hero__reels { gap: 8px; }
}


/* Small phones: keep the card compact so "Request a Quote" is on the first screen */
@media (max-width: 680px) {
  .hero__phone { white-space: nowrap; font-size: clamp(1.6rem, 9vw, 2.4rem); }
  .hero__ctas .btn { white-space: nowrap; }
}
@media (max-width: 380px), (max-height: 620px) and (max-width: 680px) {
  .hero__inner { padding-top: .75rem; }
  .hero__card { padding: 1.1rem 1.1rem 1.25rem; }
  .hero__headline { margin-top: .75rem; font-size: 1.75rem; }
  .hero__lead { margin-top: .5rem; font-size: .95rem; line-height: 1.45; }
  .hero__phone { margin-top: .6rem; font-size: 1.65rem; }
  .hero__ctas { margin-top: 1rem; gap: .5rem; }
  .hero__ctas .btn { padding: .85rem 1rem; font-size: .9rem; }
}

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