/* Integrity Auto Group — black & white, like the logo.
   White carries the page, black carries the type and the dark bands,
   and the only color on the site comes from the cars themselves. */
:root {
  --black: #0b0b0b;
  --white: #ffffff;
  --paper: #f3f2ef;
  --ink: #0b0b0b;
  --muted: #5f5d58;
  --line: #d9d7d1;
  --silver: #a7a7a4;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--black); color: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.kick { font-family: var(--serif); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.crumb { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* buttons: square corners, black or white, nothing else */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: 2px; font: 600 15px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-ink { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-ink:hover { background: var(--white); color: var(--black); }
.btn-white { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--black); color: var(--white); }
.btn-line-w { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn-line-w:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn .ic { width: 17px; height: 17px; }

/* top line + header */
.topline { background: var(--black); color: var(--silver); font-size: 13px; }
.topline-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topline a { color: var(--white); text-decoration: none; }
.topline a:hover { text-decoration: underline; }
.topline i { display: inline-block; width: 1px; height: 12px; background: #444; margin: 0 14px; vertical-align: -1px; }
.topline-hours { display: inline-flex; align-items: center; gap: 7px; }
.topline-hours .ic { width: 14px; height: 14px; }
.promo-bar { display: block; background: var(--white); color: var(--black); text-align: center; padding: 9px var(--gut); font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--line); }
.promo-bar b { font-family: var(--serif); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; margin-right: 8px; }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { flex: none; display: block; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: var(--ink); }
.nav .nav-cta { display: none; }
.hdr-right { display: flex; align-items: center; gap: 12px; }
.hdr-cta { min-height: 44px; padding: 10px 18px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1.5px solid var(--ink); background: none; border-radius: 2px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* the road line from the logo */
.road { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; pointer-events: none; z-index: 2; }
.road-line { flex: 1; height: 2px; margin-bottom: 0; }
.road img { height: clamp(36px, 5vw, 64px); width: auto; flex: none; max-width: none; }
.road-white .road-line { background: var(--white); }
.road-black .road-line { background: var(--black); }

/* hero */
.hero { position: relative; min-height: min(88svh, 860px); display: flex; align-items: flex-end; color: var(--white); background: var(--black) var(--img) var(--pos) / cover no-repeat; padding: 120px 0 clamp(90px, 10vw, 130px); overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .5) 45%, rgba(0, 0, 0, .05) 80%), linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 45%); }
.hero-in { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(44px, 6.2vw, 86px); max-width: 8.6em; margin: 18px 0 22px; font-weight: 400; }
.hero-text { font-size: 19px; max-width: 30em; color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-es { margin-top: 18px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.hero-es a { color: var(--white); font-weight: 600; }
.promo-tag { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--black); padding: 8px 14px; font-size: 14px; text-decoration: none; margin-bottom: 8px; }
.promo-tag b { font-family: var(--serif); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }

/* one stop shop */
.svc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.svc-side { position: sticky; top: 120px; }
.svc-side h2 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 400; }
.svc-side .lead { margin-top: 16px; }
.svc-peek { margin: 34px 0 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.svc-peek img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a { display: flex; align-items: center; gap: 18px; padding: 22px 4px; text-decoration: none; transition: padding .25s var(--ease), background .25s; }
.svc-list a:hover { padding-left: 14px; background: var(--paper); }
.svc-name { flex: 1; display: grid; gap: 3px; }
.svc-name b { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.15; }
.svc-name small { color: var(--muted); font-size: 15px; }
.svc-list .ic { width: 22px; height: 22px; opacity: .5; transition: opacity .2s, transform .25s; }
.svc-list a:hover .ic { opacity: 1; transform: translateX(4px); }
.svc-thumb { display: none; width: 64px; height: 64px; object-fit: cover; flex: none; background: var(--paper); }
.svc-thumb-empty { place-items: center; background: var(--black); color: var(--white); font: 500 20px/1 var(--serif); }

/* wreck → road: before stays black & white, after turns to color */
.ba { background: var(--black); color: var(--white); }
.ba-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.ba-head h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 400; font-style: italic; max-width: 12em; }
.ba-head p { color: var(--silver); max-width: 24em; }
.pair-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pair-row-all { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pair-row-all .pair { grid-column: span 2; }
.pair-row-all .pair:nth-child(4) { grid-column: 2 / span 2; }
.pair { margin: 0; }
.pair-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.shot { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #1b1b1b; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-before img { filter: grayscale(1) contrast(1.08); }
.shot-after img { filter: grayscale(1); transition: filter 1.6s var(--ease) .5s; }
.pair.in .shot-after img { filter: none; }
.tag { position: absolute; left: 8px; top: 8px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 8px; background: var(--black); color: var(--white); }
.tag-w { background: var(--white); color: var(--black); }
.pair figcaption { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid #2c2c2c; margin-top: 14px; }
.pair figcaption b { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.pair figcaption span { color: var(--silver); font-size: 15px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.more-w { margin-top: 44px; }

/* the lot */
.lot { background: var(--paper); }
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.row-head h2 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 400; }
.car-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: start; }
.car { background: var(--white); border: 1px solid var(--line); }
.car-btn { display: block; position: relative; width: 100%; padding: 0; border: 0; background: var(--paper); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.car-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.car-btn:hover img { transform: scale(1.04); }
.car-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; background: var(--black); color: var(--white); font: 600 12px/1 var(--sans); padding: 7px 10px; }
.car-count .ic { width: 14px; height: 14px; }
.car-body { padding: 18px 20px 20px; }
.car-body h3 { font-size: 26px; }
.car-body p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.car-acts { display: flex; gap: 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.car-acts a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; text-decoration: none; }
.car-acts a:hover { text-decoration: underline; }
.car-acts .ic { width: 16px; height: 16px; }
.lot-note { margin-top: 28px; color: var(--muted); font-size: 15px; }

/* the crew + both phone lines */
.crew { padding: clamp(64px, 9vw, 120px) 0; }
.crew-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.crew-photo { margin: 0; }
.crew-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.crew-copy h2 { font-size: clamp(36px, 4.2vw, 56px); font-weight: 400; }
.crew-copy > p { color: var(--muted); font-size: 18px; margin: 14px 0 26px; }
.langs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lang { display: grid; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.lang small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.lang b { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 1.9vw, 25px); white-space: nowrap; }
.lang:hover { background: var(--black); color: var(--white); }
.lang:hover small { color: var(--silver); }
.langs-w .lang { border-color: rgba(255, 255, 255, .55); }
.langs-w .lang small { color: var(--silver); }
.langs-w .lang:hover { background: var(--white); color: var(--black); }
.langs-w .lang:hover small { color: var(--muted); }

/* hail */
.hail { background: var(--black); color: var(--white); }
.hail-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.hail-clip { margin: 0; }
.hail-copy .kick { color: var(--silver); }
.hail-copy blockquote { margin: 18px 0 0; }
.hail-copy blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.1; }
.hail-text { margin-top: 20px; color: rgba(255, 255, 255, .8); font-size: 18px; max-width: 30em; }

/* clips */
.clip { position: relative; aspect-ratio: 9 / 16; background: #161616; overflow: hidden; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip-btn { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: var(--white); cursor: pointer; z-index: 3; }
.clip-btn .ic { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.clip-btn .i-play, .clip-btn.paused .i-pause { display: none; }
.clip-btn.paused .i-play { display: block; }

/* visit */
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.visit-copy h2 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 400; }
.visit-copy .lead { margin: 14px 0 26px; }
.visit-copy .lead a { color: var(--ink); text-underline-offset: 4px; }
.hours { margin: 0 0 26px; border-top: 1.5px solid var(--ink); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; font-family: var(--serif); font-size: 19px; }
.hours dd.closed { color: var(--muted); font-style: italic; }
.visit-map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); filter: grayscale(1) contrast(1.05); }
.towns-k { margin-top: 22px; font-family: var(--serif); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.towns { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--muted); }
.towns li::after { content: '/'; margin: 0 10px; color: var(--line); }
.towns li:last-child::after { content: none; }

/* call band */
.cta { background: var(--black); color: var(--white); padding: clamp(56px, 7vw, 90px) 0; border-top: 1px solid #222; }
.cta-in { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 30px; align-items: center; }
.cta h2 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 400; font-style: italic; }
.cta p { color: var(--silver); margin-top: 8px; }
.cta .langs { min-width: 0; }

/* page heads */
.phead { position: relative; min-height: min(78svh, 760px); display: flex; align-items: flex-end; color: var(--white); background: var(--black); padding: 120px 0 clamp(90px, 10vw, 130px); overflow: hidden; }
.tri { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.tri video { width: 100%; height: 100%; object-fit: cover; }
.phead-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .25)); z-index: 1; }
.phead-in { position: relative; z-index: 2; }
.phead h1 { font-size: clamp(42px, 6vw, 84px); font-weight: 400; margin: 14px 0 18px; max-width: 12em; }
.phead-text { font-size: 19px; max-width: 32em; color: rgba(255, 255, 255, .88); }
.phead-btn { bottom: auto; top: 18px; right: 18px; }
.itop { position: relative; padding: clamp(50px, 7vw, 90px) 0 clamp(80px, 9vw, 120px); }
.itop-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.itop h1 { font-size: clamp(46px, 6.4vw, 90px); font-weight: 400; margin-bottom: 16px; }
.itop-side p { color: var(--muted); margin-bottom: 16px; }
.lot-page { padding-top: clamp(40px, 5vw, 60px); }

/* collision process */
.proc h2 { font-size: clamp(36px, 4.4vw, 58px); font-weight: 400; margin-bottom: 30px; }
.proc-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.proc-row figure { margin: 0; }
.proc-row img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.proc-row figcaption { font-size: 15px; color: var(--muted); padding-top: 10px; }

/* contact */
.est { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.est-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.est-form h1 { font-size: clamp(42px, 5.6vw, 76px); font-weight: 400; }
.est-form .lead { margin: 14px 0 10px; }
fieldset { border: 0; border-top: 1.5px solid var(--ink); margin: 34px 0 0; padding: 18px 0 0; min-width: 0; }
legend { font-family: var(--serif); font-size: 26px; padding: 0 0 14px; float: left; width: 100%; }
legend + * { clear: both; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); font-size: 15px; font-weight: 500; transition: background .15s, color .15s, border-color .15s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: 14px; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: 400 16px/1.4 var(--sans); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.bad input { border-color: var(--ink); border-style: dashed; }
.ins { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.ins > span { font-size: 14px; font-weight: 600; }
.est-err { margin-top: 20px; padding: 12px 14px; border: 1.5px dashed var(--ink); font-weight: 500; }
.ro { position: sticky; top: 110px; border: 1.5px solid var(--ink); background: var(--white); padding: 22px; display: grid; gap: 12px; }
.ro-head { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1.5px dashed var(--line); }
.ro-head img { width: 110px; height: auto; }
.ro-head small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.ro-lines { margin: 0 0 6px; }
.ro-lines div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dotted var(--line); font-size: 15px; }
.ro-lines dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.ro-lines dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.ro-lines dd.empty { color: var(--line); }
.ro-done { background: var(--paper); padding: 14px; }
.ro-done p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.ro-or { display: grid; gap: 8px; padding-top: 8px; font-size: 14px; color: var(--muted); }

/* footer */
.ftr { background: var(--black); color: var(--silver); padding: 70px 0 30px; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 40px; }
.ftr-brand img { width: 230px; height: auto; margin-bottom: 18px; }
.ftr-brand p { font-size: 15px; max-width: 26em; }
.ftr h3 { font-family: var(--serif); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; font-weight: 500; }
.ftr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.ftr-list a, .ftr-list span { display: inline-flex; align-items: flex-start; gap: 9px; text-decoration: none; }
.ftr-list a:hover { color: var(--white); }
.ftr-list .ic { width: 16px; height: 16px; margin-top: 3px; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid #262626; font-size: 13px; }

/* phone bar */
.mbar { display: none; }

/* lightbox */
.lbx { position: fixed; inset: 0; z-index: 120; background: rgba(5, 5, 5, .97); display: grid; grid-template-rows: auto 1fr auto; color: var(--white); }
.lbx-top { display: flex; align-items: center; gap: 16px; padding: 14px var(--gut); }
.lbx-top b { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.lbx-top span { color: var(--silver); font-size: 14px; }
.lbx-x { margin-left: auto; width: 44px; height: 44px; border: 1px solid #444; background: none; color: var(--white); font-size: 26px; cursor: pointer; }
.lbx-fig { margin: 0; display: grid; place-items: center; min-height: 0; padding: 0 64px; }
.lbx-fig img { max-width: 100%; max-height: calc(100svh - 190px); object-fit: contain; }
.lbx-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; background: rgba(255, 255, 255, .08); color: var(--white); font-size: 40px; cursor: pointer; z-index: 2; }
.lbx-nav:hover { background: rgba(255, 255, 255, .2); }
.lbx-nav.prev { left: 8px; }
.lbx-nav.next { right: 8px; }
.lbx-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 12px var(--gut) 16px; justify-content: safe center; }
.lbx-thumbs button { flex: none; width: 66px; height: 50px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .55; }
.lbx-thumbs button.on { border-color: var(--white); opacity: 1; }
.lbx-thumbs img { width: 100%; height: 100%; object-fit: cover; }
body.lbx-open { overflow: hidden; }

/* toast */
.copied { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 140; background: var(--black); color: var(--white); padding: 12px 18px; font-size: 15px; border: 1px solid #333; max-width: calc(100vw - 32px); text-align: center; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ═══ AGENCY PREVIEW REMINDER (FlowParrot) — delete with the block in render.js ═══ */
.agency-pop { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .25s; }
.agency-pop.open { opacity: 1; pointer-events: auto; }
.agency-card { position: relative; width: min(500px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--white); color: var(--ink); padding: 30px 28px 22px; border-top: 5px solid var(--black); transform: translateY(14px); transition: transform .3s var(--ease); }
.agency-pop.open .agency-card { transform: none; }
.agency-card > img { width: 120px; height: auto; margin-bottom: 16px; }
.agency-card h2 { font-size: 28px; margin-bottom: 12px; }
.agency-card p { font-size: 15.5px; color: var(--muted); margin-bottom: 12px; }
.agency-note { background: var(--paper); padding: 12px 14px; color: var(--ink) !important; }
.agency-actions { display: grid; gap: 10px; margin-top: 18px; }
.agency-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--ink); }
.agency-dismiss { display: block; margin: 14px auto 0; border: 0; background: none; font: 500 15px var(--sans); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
/* ═══ /AGENCY PREVIEW REMINDER ═══ */

/* ── responsive ── */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .cta-in { grid-template-columns: 1fr; }
  .cta .btn { justify-self: start; }
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .car-grid-3 .car:nth-child(3) { display: none; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topline-hours { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: var(--white); border-bottom: 1.5px solid var(--ink); padding: 8px var(--gut) 18px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .nav-cta { display: block; border: 0; font-weight: 700; }
  .hdr-right { margin-left: auto; }
  .menu-btn { display: block; }
  .svc-grid, .visit-grid, .crew-grid, .est-grid, .itop-in { grid-template-columns: 1fr; }
  .svc-side { position: static; }
  .svc-peek { display: none; }
  .svc-thumb { display: block; }
  .svc-thumb-empty { display: grid; }
  .pair-row, .pair-row-all { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); gap: 16px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 8px; scrollbar-width: none; }
  .pair-row::-webkit-scrollbar { display: none; }
  .pair { flex: 0 0 min(84vw, 440px); scroll-snap-align: start; }
  .hail-grid { grid-template-columns: 1fr; }
  .hail-clip { max-width: 330px; }
  .proc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tri { grid-template-columns: 1fr; }
  .tri video:not(:first-child) { display: none; }
  .ro { position: static; }
}
@media (max-width: 760px) {
  body { padding-bottom: 64px; font-size: 16px; }
  .topline { display: none; }
  .hdr-in { min-height: 66px; }
  .brand img { height: 42px; }
  .hdr-cta { display: none; }
  .hero { background-image: var(--img-m); background-position: var(--pos-m); min-height: 86svh; padding-top: 90px; }
  .hero-shade { background: linear-gradient(0deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .6) 45%, rgba(0, 0, 0, .15) 85%); }
  .hero-actions .btn { flex: 1 1 100%; }
  .car-grid { grid-template-columns: 1fr; }
  .car-grid-3 .car:nth-child(3) { display: block; }
  .fields { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; gap: 30px; }
  .ftr-bottom { flex-direction: column; }
  .mbar { display: grid; grid-template-columns: 1.1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--black); border-top: 1px solid #2a2a2a; padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; border-left: 1px solid #2a2a2a; }
  .mbar a:first-child { border-left: 0; background: var(--white); color: var(--black); }
  .copied { bottom: 76px; }
  .lbx-fig { padding: 0; }
  .lbx-nav { display: none; }
}
@media (max-width: 420px) {
  .langs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
