:root {
  --red: #e1251b;
  --ink: #0b0e11;
  --slate: #46566a;
  --bone: #f1efe9;
  --mute: #b9bcbc;
  --hero: 1;
  --pad: clamp(16px, 3.2vw, 44px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); height: 100%; overflow: hidden; overscroll-behavior: none; }
body {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  color: var(--bone);
  font-size: 19px;
  line-height: 1.35;
  overflow: hidden; height: 100%; overscroll-behavior: none; touch-action: none;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }

#scene {
  position: fixed; inset: 0; width: 100%; height: 100%; display: block;
  filter: saturate(.78) contrast(1.07);
}
#track { height: 1150vh; }

/* ---------- film treatment ---------- */
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 2; }
.vignette {
  background:
    radial-gradient(ellipse at 50% 45%, transparent 48%, rgba(5,7,9,.62) 100%),
    linear-gradient(180deg, rgba(5,7,9,.5) 0, transparent 20%, transparent 78%, rgba(5,7,9,.5) 100%);
}
.grain {
  inset: -50%;
  opacity: .11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0) } 20% { transform: translate(-4%,3%) } 40% { transform: translate(3%,-5%) }
  60% { transform: translate(-6%,-2%) } 80% { transform: translate(5%,4%) } 100% { transform: translate(0,0) }
}

/* ---------- header / logo ---------- */
.top {
  position: fixed; z-index: 10; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: calc(var(--pad) * .7) var(--pad);
  pointer-events: none;
}
.top a { pointer-events: auto; }
.logo {
  --s: calc(1 + var(--hero) * 1.5);
  position: relative;
  display: inline-flex; flex-direction: column;
  font-family: "Russo One", Impact, sans-serif;
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: .86; letter-spacing: -.01em;
  transform: scale(var(--s)); transform-origin: 0 0;
  padding-top: .55em;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
  will-change: transform;
}
.logo b { color: var(--red); font-weight: 400; }
.logo .l1 { font-size: 1.26em; }
.logo sup { font-size: .36em; color: var(--red); margin-left: .25em; vertical-align: baseline; position: relative; top: -.1em; }
.logo .l2 { padding-bottom: .32em; border-bottom: .14em solid var(--red); }
.logo-slash {
  position: absolute; top: 0; left: 0; width: 62%; height: .2em;
  background: var(--red); transform: skewX(-38deg); transform-origin: 0 100%;
}
.top-cta { display: flex; align-items: center; gap: 18px; font-weight: 600; letter-spacing: .06em; }
.top-cta .tel { font-size: 21px; text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.btn {
  background: var(--red); color: #fff; text-transform: uppercase;
  padding: 9px 18px 10px; font-size: 16px; letter-spacing: .14em;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .2s;
}
.btn:hover { background: #ff3a2f; }

/* ---------- HUD ---------- */
.hud {
  position: fixed; z-index: 9; right: var(--pad); top: 50%; transform: translateY(-50%);
  text-align: right; font-weight: 600; letter-spacing: .16em; font-size: 13px;
}
.hud button {
  all: unset; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  padding: 7px 0; color: rgba(241,239,233,.5); text-shadow: 0 1px 8px rgba(0,0,0,.8);
  flex-direction: row-reverse; transition: color .25s;
}
.hud button span {
  font-weight: 500; text-transform: uppercase; opacity: 0; transform: translateX(8px);
  transition: opacity .25s, transform .25s;
}
.hud button i { display: block; width: 14px; height: 2px; background: currentColor; transition: width .25s, background .25s; }
.hud button:hover, .hud li.on button { color: #fff; }
.hud button:hover span, .hud li.on span { opacity: 1; transform: none; }
.hud li.on i { width: 34px; background: var(--red); }
.hud button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.elev { margin-top: 16px; color: rgba(241,239,233,.55); font-size: 12px; }
.elev b { color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- stages ---------- */
.stage {
  position: fixed; inset: 0; z-index: 5; pointer-events: none;
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.stage.on { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s; }
.stage.on a { pointer-events: auto; }
.rise {
  opacity: 0; transform: translateY(22px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.on .rise { opacity: 1; transform: none; transition-delay: calc(var(--i) * 80ms + 80ms); }

.eyebrow, .lvl {
  text-transform: uppercase; letter-spacing: .32em; font-weight: 600; font-size: 14px; color: var(--mute);
}
.eyebrow::before, .lvl::before {
  content: ""; display: inline-block; width: 28px; height: 2px; background: var(--red);
  vertical-align: middle; margin-right: 12px; position: relative; top: -1px;
}

/* hero */
.hero-copy { position: absolute; left: var(--pad); bottom: clamp(28px, 7vh, 80px); max-width: 720px; }
.hero h1 {
  font-family: "Anton", Impact, sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 5.2vw, 78px); line-height: .98; letter-spacing: .01em; margin: 14px 0 26px;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.cue { text-transform: uppercase; letter-spacing: .3em; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 14px; }
.cue-line { width: 2px; height: 46px; background: linear-gradient(var(--red), transparent); animation: cue 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0) } 60% { transform: scaleY(1) } 100% { transform: scaleY(1); opacity: 0 } }

/* slam lettering */
.slam {
  font-family: "Anton", Impact, sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(64px, 13.5vw, 230px); line-height: .88; letter-spacing: .005em;
  text-shadow: 0 6px 60px rgba(0,0,0,.65);
}
.slam span {
  display: inline-block; opacity: 0; transform: scale(2.4) translateY(-6%); filter: blur(14px);
  transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .25s ease, filter .45s ease;
}
.on .slam span { opacity: 1; transform: none; filter: none; transition-delay: calc(var(--i) * 130ms + 120ms); }
.red { color: var(--red); }

.intro, .final { display: grid; place-items: center; text-align: center; padding: 90px var(--pad) 40px; }
.intro::before, .final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(6,8,10,.72) 0, rgba(6,8,10,.35) 55%, transparent 80%);
}
.intro-inner, .final-inner { position: relative; }
.intro .eyebrow, .final .eyebrow { margin-bottom: 18px; }
.intro-contact, .final-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 46px; margin-top: 30px; }
.intro-contact a, .final-cta a {
  font-family: "Anton", Impact, sans-serif; font-size: clamp(26px, 3.4vw, 50px); letter-spacing: .03em; line-height: 1.05;
  display: flex; flex-direction: column; align-items: center; transition: color .2s;
}
.intro-contact a:hover, .final-cta a:hover { color: var(--red); }
.intro-contact small, .final-cta small {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--mute); margin-bottom: 4px;
}
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.chips li {
  border: 1px solid rgba(241,239,233,.4); padding: 6px 16px 7px; text-transform: uppercase;
  letter-spacing: .2em; font-size: 14px; font-weight: 600; background: rgba(8,10,12,.45);
}
.final-cta a.big { border-top: 3px solid var(--red); padding-top: 14px; min-width: 260px; }
.foot { margin-top: 34px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* service panels */
.svc::before { content: ""; position: absolute; inset: 0; }
.svc.left::before { background: linear-gradient(90deg, rgba(6,8,10,.88) 0, rgba(6,8,10,.55) 30%, transparent 58%); }
.svc.right::before { background: linear-gradient(270deg, rgba(6,8,10,.88) 0, rgba(6,8,10,.55) 30%, transparent 58%); }
.svc article {
  position: absolute; top: 50%; transform: translateY(-46%);
  width: min(440px, 42vw); left: var(--pad);
  padding-left: 22px; border-left: 3px solid var(--red);
}
.svc.right article { left: auto; right: calc(var(--pad) + 150px); }
.svc .num {
  font-family: "Anton", Impact, sans-serif; font-size: clamp(70px, 9vw, 140px); line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px rgba(241,239,233,.55); margin: 8px 0 2px;
}
.svc h2 {
  font-family: "Anton", Impact, sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(40px, 5.2vw, 82px); line-height: .94; margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.svc article > p:not(.lvl):not(.num) { font-size: 21px; color: #e2e0da; max-width: 34ch; }
.svc ul { margin-top: 18px; }
.svc li {
  text-transform: uppercase; letter-spacing: .16em; font-weight: 600; font-size: 15px;
  padding: 9px 0; border-top: 1px solid rgba(241,239,233,.2);
}
.svc li::before { content: "//"; color: var(--red); margin-right: 10px; letter-spacing: 0; }

/* loader */
#loader {
  position: fixed; inset: 0; z-index: 50; background: var(--ink); display: grid; place-items: center;
  text-transform: uppercase; letter-spacing: .4em; font-weight: 600; font-size: 14px; color: var(--mute);
  transition: opacity .8s ease, visibility 0s linear .8s;
}
#loader.done { opacity: 0; visibility: hidden; }
#loader span::after { content: ""; display: block; height: 2px; margin-top: 12px; background: var(--red); animation: load 1.1s ease-in-out infinite; transform-origin: left; }
@keyframes load { 0% { transform: scaleX(0) } 50% { transform: scaleX(1) } 100% { transform: scaleX(1); opacity: 0 } }

/* ---------- sections menu ---------- */
.menu-btn {
  all: unset; cursor: pointer; pointer-events: auto; display: inline-flex; align-items: center; gap: 9px;
  text-transform: uppercase; letter-spacing: .14em; font-size: 16px; font-weight: 600;
  padding: 8px 14px 9px; border: 1px solid rgba(241,239,233,.5); background: rgba(8,10,12,.45);
}
.menu-btn i { width: 16px; height: 10px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
.menu-btn:hover { border-color: var(--red); }
.menu-btn:focus-visible, .menu button:focus-visible, .sum button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.menu {
  position: fixed; inset: 0; z-index: 30; background: rgba(8,10,12,.96);
  display: grid; place-items: center; padding: 60px var(--pad) 30px;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
.menu ol { width: min(620px, 100%); }
.menu li button {
  all: unset; cursor: pointer; box-sizing: border-box; width: 100%; display: flex; align-items: baseline; gap: 18px;
  font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: clamp(24px, 4.2vh, 44px); line-height: 1.1;
  padding: .32em 0; border-bottom: 1px solid rgba(241,239,233,.16); transition: color .15s, padding .2s;
}
.menu li button span { font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .2em; color: var(--red); width: 28px; }
.menu li button:hover { color: var(--red); padding-left: 10px; }
.menu-close {
  all: unset; cursor: pointer; position: absolute; top: calc(var(--pad) * .7 + env(safe-area-inset-top)); right: var(--pad);
  text-transform: uppercase; letter-spacing: .18em; font-weight: 600; font-size: 15px; padding: 8px 14px 9px; border: 1px solid rgba(241,239,233,.5);
}
#cut { position: fixed; inset: 0; z-index: 8; background: #07090b; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
#cut.on { opacity: 1; }
.no-3d { background: radial-gradient(ellipse at 50% 30%, #2a3138, #0b0e11 70%) fixed; }

/* ---------- summary on the last screen ---------- */
.final .slam { font-size: clamp(44px, 7.6vw, 124px); }
.sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: min(1120px, 100%); margin: 26px auto 0; text-align: left; }
.sum button {
  all: unset; cursor: pointer; pointer-events: auto; box-sizing: border-box; width: 100%; height: 100%; display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px 16px; background: rgba(8,10,12,.6); border: 1px solid rgba(241,239,233,.28); border-top: 3px solid var(--red);
  transition: background .2s, border-color .2s, transform .2s;
}
.sum button:hover { background: rgba(225,37,27,.22); border-color: var(--red); transform: translateY(-3px); }
.sum span { font-weight: 600; letter-spacing: .2em; font-size: 13px; color: var(--red); }
.sum b { font-family: "Anton", Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(18px, 1.9vw, 26px); line-height: 1.05; }
.sum em { font-style: normal; font-size: 16px; color: var(--mute); line-height: 1.25; }
.final-cta { margin-top: 22px; }
.final-cta a.big { border-top: 0; padding-top: 0; min-width: 0; }
.foot { margin-top: 20px; }
@media (max-height: 640px) { .foot { display: none; } .sum em { display: none; } .final .slam { font-size: clamp(40px, 11vh, 90px); } }

.mbar { display: none; }
.next {
  all: unset; position: fixed; z-index: 11; left: 50%; bottom: 22px; width: 46px; height: 46px; margin-left: -23px;
  cursor: pointer; border: 1px solid rgba(241,239,233,.45); background: rgba(8,10,12,.45); display: grid; place-items: center;
  transition: opacity .3s, background .2s, border-color .2s;
}
.next span { width: 11px; height: 11px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-3px) rotate(45deg); animation: nudge 1.6s ease-in-out infinite; }
.next:hover { background: var(--red); border-color: var(--red); }
.next:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.next.off { opacity: 0; pointer-events: none; }
@keyframes nudge { 0%,100% { transform: translateY(-5px) rotate(45deg) } 50% { transform: translateY(0) rotate(45deg) } }

/* ---------- small screens ---------- */
@media (max-width: 760px), (max-height: 500px) {
  .top-cta .btn { display: none; }
  .menu-btn { padding: 10px 14px 11px; }
  .sum { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .sum button { padding: 10px 12px 12px; }
  .sum b { font-size: 19px; }
  .sum em { display: none; }
  .final-cta { display: none; } /* the Call / WhatsApp bar is already on screen */
  .foot { display: block; margin-top: 14px; font-size: 12px; }
  /* the next-section arrow becomes the third cell of the contact bar, so it never covers content */
  .mbar { padding-right: 56px; }
  .next { left: auto; right: 0; margin: 0; bottom: env(safe-area-inset-bottom); width: 56px; height: 51px; border: 0; background: #0b0e11; z-index: 13; }
  .next:hover { background: #0b0e11; }
  .top { padding-top: calc(var(--pad) * .7 + env(safe-area-inset-top)); }
  #scene { filter: none; }
  .grain { animation: none; inset: 0; mix-blend-mode: normal; opacity: .05; }
  .btn { padding: 11px 16px 12px; }
  .mbar {
    position: fixed; z-index: 12; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.5fr 1fr; gap: 1px;
    padding-bottom: env(safe-area-inset-bottom); background: #0b0e11;
    font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 16px; text-align: center;
  }
  .mbar a { padding: 15px 8px 16px; background: var(--red); color: #fff; }
  .mbar a.wa { background: #1c2228; }
  .mbar a:active { filter: brightness(1.25); }
  .hero-copy { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .intro, .final { padding-bottom: 80px; }
  .final .slam { font-size: 13vw; }
  .vignette { background: radial-gradient(ellipse at 50% 45%, transparent 50%, rgba(5,7,9,.5) 100%); }
  body { font-size: 17px; }
  .hud { display: none; }
  .top-cta .tel { display: none; }
  .logo { --s: calc(1 + var(--hero) * .7); }
  .svc.left::before, .svc.right::before { background: linear-gradient(0deg, rgba(6,8,10,.94) 0, rgba(6,8,10,.7) 42%, transparent 70%); }
  .svc article, .svc.right article {
    top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); left: var(--pad); right: var(--pad); width: auto; transform: none;
  }
  .svc .num { font-size: 54px; }
  .svc article > p:not(.lvl):not(.num) { font-size: 18px; }
  .svc li { padding: 6px 0; font-size: 13px; }
  .final-cta a.big { min-width: 0; width: 100%; }
}
/* short phones (e.g. 320x568, or a tall phone with the browser bars showing) */
@media (max-width: 760px) and (max-height: 700px) {
  .logo { --s: calc(1 + var(--hero) * .35); }
  .hero h1 { font-size: 30px; margin: 10px 0 16px; }
  .cue-line { height: 28px; }
  .slam { font-size: 16.5vw; }
  .intro .eyebrow, .final .eyebrow { margin-bottom: 10px; font-size: 12px; letter-spacing: .22em; }
  .intro-contact, .final-cta { margin-top: 16px; gap: 10px 30px; }
  .intro-contact a, .final-cta a { font-size: 26px; }
  .final-cta a.big { padding-top: 8px; }
  .chips { margin-top: 16px; gap: 6px; }
  .chips li { font-size: 12px; padding: 4px 10px 5px; letter-spacing: .14em; }
  .foot { margin-top: 16px; font-size: 12px; }
  .svc .num { display: none; }
  .svc h2 { font-size: 36px; margin: 8px 0 10px; }
  .svc article > p:not(.lvl):not(.num) { font-size: 16px; }
  .svc ul { margin-top: 10px; }
  .svc li { padding: 4px 0; font-size: 12px; }
}
/* phones held sideways */
@media (max-height: 500px) and (orientation: landscape) {
  .hud { display: none; }
  .top-cta .tel { display: none; }
  .logo { --s: calc(1 + var(--hero) * .3); }
  .hero-copy { bottom: 64px; }
  .hero h1 { font-size: 28px; margin: 6px 0 10px; }
  .hero .eyebrow, .cue-line { display: none; }
  .intro, .final { padding: 54px var(--pad) 58px; }
  .intro .eyebrow, .final .eyebrow, .chips, .foot { display: none; }
  .slam { font-size: 19vh; }
  .final .slam { font-size: 13vh; }
  .final .slam br { display: none; }
  .sum { grid-template-columns: repeat(4, 1fr); margin-top: 10px; }
  .sum b { font-size: 16px; }
  .menu ol { columns: 2; column-gap: 30px; width: 100%; }
  .menu li { break-inside: avoid; }
  .menu li button { font-size: 22px; }
  .intro-contact { margin-top: 10px; gap: 6px 36px; flex-wrap: nowrap; }
  .intro-contact a, .final-cta a { font-size: 24px; }
  .final-cta a.big { min-width: 0; width: auto; padding-top: 6px; border-top-width: 2px; }
  .svc.left::before { background: linear-gradient(90deg, rgba(6,8,10,.9) 0, rgba(6,8,10,.6) 34%, transparent 62%); }
  .svc.right::before { background: linear-gradient(270deg, rgba(6,8,10,.9) 0, rgba(6,8,10,.6) 34%, transparent 62%); }
  .svc article, .svc.right article { top: 62px; bottom: auto; left: var(--pad); right: auto; width: 46vw; transform: none; }
  .svc.right article { left: auto; right: var(--pad); }
  .svc .num, .svc ul { display: none; }
  .svc h2 { font-size: 34px; margin: 6px 0 8px; }
  .svc h2 br { display: none; }
  .svc article > p:not(.lvl):not(.num) { font-size: 16px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .cue-line, .next span { animation: none; }
  .slam span, .rise { transition-duration: .01s; }
}

/* ================= press-to-continue button ================= */
button.next {
  left: 50%; right: auto; bottom: 22px; margin: 0; width: auto; height: 44px; transform: translateX(-50%);
  box-sizing: border-box; display: inline-flex; align-items: center; gap: 12px; padding: 0 16px 0 20px;
  border: 1px solid rgba(241,239,233,.55); border-radius: 999px; background: rgba(8,10,12,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  text-transform: uppercase; letter-spacing: .2em; font-weight: 600; font-size: 14px; white-space: nowrap; z-index: 11; opacity: 1;
}
button.next b { font-weight: 600; }
button.next span { flex: none; width: 9px; height: 9px; margin: 0 4px 3px 0; }
button.next.up span { transform: rotate(-135deg); animation: none; margin-bottom: -4px; }
button.next::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--red);
  animation: ring 2.2s ease-out infinite; pointer-events: none;
}
button.next:hover { background: var(--red); border-color: var(--red); }
button.next.busy { opacity: .35; }
button.next.busy::after { animation: none; opacity: 0; }
@keyframes ring { 0% { transform: scale(1); opacity: .9 } 70%, 100% { transform: scale(1.12, 1.45); opacity: 0 } }

/* ================= quote pop-up ================= */
button.btn { border: 0; font-family: inherit; font-weight: 600; cursor: pointer; pointer-events: auto; }
.quote-big { margin-top: 20px; font-size: 18px; padding: 13px 28px 14px; }
.modal {
  position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px var(--pad);
  background: rgba(5,7,9,.8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s;
}
.quote-open .modal { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
.modal-card {
  position: relative; width: min(440px, 100%); max-height: 100%; overflow: auto; touch-action: pan-y;
  background: #12171c; border-top: 4px solid var(--red); padding: 28px 28px 26px;
  transform: translateY(16px); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.quote-open .modal-card { transform: none; }
.modal-card h2 { font-family: "Anton", Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: 40px; line-height: 1; margin: 10px 0 8px; }
.modal-sub { color: var(--mute); margin-bottom: 18px; }
.modal-close { all: unset; cursor: pointer; position: absolute; top: 6px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; font-size: 30px; color: var(--mute); }
.modal-close:hover { color: #fff; }
.modal label { display: block; text-transform: uppercase; letter-spacing: .18em; font-weight: 600; font-size: 13px; color: var(--mute); margin: 14px 0 6px; }
.modal input[type=text], .modal input[type=tel] {
  display: block; width: 100%; box-sizing: border-box; height: 52px; padding: 0 14px;
  font: 500 20px "Barlow Condensed", Arial, sans-serif; letter-spacing: .03em; color: #fff;
  background: #0b0e11; border: 1px solid rgba(241,239,233,.3); border-radius: 0; -webkit-appearance: none; appearance: none;
}
.modal input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.modal .submit {
  all: unset; cursor: pointer; box-sizing: border-box; display: block; width: 100%; height: 54px; margin-top: 22px; text-align: center;
  background: var(--red); color: #fff; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; font-size: 18px;
}
.modal .submit:hover { background: #ff3a2f; }
.modal .submit:focus-visible, .modal-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.modal .submit[disabled] { opacity: .6; cursor: default; }
.form-msg { min-height: 1.3em; margin-top: 10px; color: #ff8b84; font-size: 17px; }
.form-msg a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks-big { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: 46px; line-height: 1; margin: 6px 0 10px; }
.thanks[hidden], form[hidden] { display: none; }

@media (max-width: 760px), (max-height: 500px) {
  .mbar { grid-template-columns: 1fr 1fr 1fr; padding-right: 0; font-size: 15px; letter-spacing: .1em; }
  .mbar .q { all: unset; cursor: pointer; text-align: center; padding: 15px 4px 16px; background: #2a323a; color: #fff; }
  .mbar a { padding: 15px 4px 16px; }
  button.next { bottom: calc(62px + env(safe-area-inset-bottom)); height: 38px; font-size: 12px; padding: 0 12px 0 16px; gap: 9px; background: rgba(8,10,12,.7); }
  .cue { display: none; }
  .hero-copy { bottom: calc(118px + env(safe-area-inset-bottom)); }
  .svc article, .svc.right article { bottom: calc(114px + env(safe-area-inset-bottom)); }
  .intro, .final { padding-bottom: 118px; }
  .quote-big { display: none; } /* the bar already has Get a quote */
  /* pop-up becomes a sheet pinned to the top so the keyboard never covers the fields */
  .modal { place-items: start center; padding: calc(12px + env(safe-area-inset-top)) 12px 12px; }
  .modal-card { padding: 20px 18px 18px; width: 100%; }
  .modal-card h2 { font-size: 32px; }
  .modal-sub { margin-bottom: 8px; font-size: 16px; }
  .modal label { margin-top: 10px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  button.next { left: auto; right: var(--pad); transform: none; }
  .hero-copy { bottom: 64px; }
  .svc article, .svc.right article { bottom: auto; }
  .intro, .final { padding-bottom: 58px; }
  .modal-card { display: block; padding: 12px 18px; }
  .modal-card .eyebrow, .modal-sub { display: none; }
  .modal-card h2 { font-size: 24px; margin: 0 0 2px; }
  .modal label { margin: 6px 0 3px; }
  .modal input[type=text], .modal input[type=tel] { height: 44px; }
  .modal .submit { height: 44px; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { button.next::after { animation: none; opacity: 0; } }

/* ================= phone opening screen: logo centred above the building, start button beneath it ================= */
@media (max-width: 760px) and (orientation: portrait) {
  .logo {
    left: calc(var(--hero) * (50vw - var(--pad)));
    top: calc(var(--hero) * 13vh);
    transform-origin: calc(var(--hero) * 50%) 0;
    transform: translateX(calc(var(--hero) * -50%)) scale(var(--s));
  }
  .at-hero button.next { bottom: auto; top: calc(13vh + 132px); height: 44px; font-size: 13px; padding: 0 16px 0 20px; background: rgba(8,10,12,.72); }
  .at-hero .hero-copy { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) and (orientation: portrait) and (max-height: 700px) {
  .logo { top: calc(var(--hero) * 12vh); }
  .at-hero button.next { top: calc(12vh + 96px); height: 40px; }
}
