:root {
  --paper: #eef0f0;
  --paper-2: #e2e5e6;
  --ink: #11152a;
  --ink-2: #3a3f55;
  --line: #c6cacf;
  --blue: #1f35b4;
  --blue-deep: #141f6e;
  --red: #e0252f;
  --red-ink: #b8121c;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 12vw, 176px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 118%; line-height: .95; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 72px; padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--paper) 95%, transparent); box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
/* Lead's MT.EX Montaexpress wordmark, the same as on the van */
.brand img { width: auto; height: 46px; }
.nav { display: none; gap: 28px; margin-inline-start: auto; }
.nav a, .link-client { font-size: 15px; font-weight: 500; text-decoration: none; padding-block: 12px; }
.nav a:hover, .link-client:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 20px; margin-inline-start: auto; }
.link-client { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 4px;
  font-family: var(--body); font-weight: 600; font-size: 16px; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-primary { background: var(--blue); color: #f4f6ff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); font-family: var(--mono); font-weight: 500; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-wa { min-height: 44px; padding: 0 16px; background: var(--ink); color: var(--paper); font-size: 15px; }
.btn-wa:hover { background: var(--blue); }
.btn-light { background: var(--paper); color: var(--blue-deep); }
.btn-light:hover { background: #fff8f8; color: var(--red-ink); }
.btn-outline-light { border: 1.5px solid color-mix(in srgb, var(--paper) 70%, transparent); color: var(--paper); }
.btn-outline-light:hover { background: color-mix(in srgb, var(--paper) 14%, transparent); }

/* Hero */
.cinematic-hero { position: relative; background: var(--paper-2); }
/* Caption zones from text-zones.json: bottom-center on every mobile scene and desktop s1/s2,
   top-right for desktop s3; light text, no scrim (a soft shadow only for edge cases) */
.scene-caption {
  position: absolute; z-index: 10;
  bottom: 5%; left: 6%; right: 6%;
  text-align: center; color: var(--paper);
  text-shadow: 0 1px 14px rgb(10 14 32 / .45);
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.scene-caption.active { opacity: 1; transform: none; }
.scene-caption.active a { pointer-events: auto; }
.scene-caption h1, .scene-caption h2 { margin-inline: auto; }
.scene-caption em { font-style: normal; color: #9fb0ff; }
.hero-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
/* light halo so the dark blue "Montaexpress" line reads over the night frames */
.hero-brand img { width: auto; height: clamp(56px, 16vw, 72px); filter: drop-shadow(0 0 1px rgb(255 255 255 / .9)) drop-shadow(0 0 10px rgb(255 255 255 / .35)); }
.cap-claims { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; color: var(--paper); font-size: 13px; }
.cap-claims span::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--red); margin-inline-end: 8px; transform: translateY(-1px) skewX(-18deg); }
/* s1: logo at the top of the frame, headline and CTAs at the bottom */
.cap-1 { top: 6%; }
.cap-1 > [data-reveal-group] { display: flex; flex-direction: column; height: 100%; }
.cap-1 .hero-brand { margin-bottom: auto; }
.cap-1 h1 { font-size: clamp(28px, 7.8vw, 36px); max-width: 16ch; }
.cap-2 h2, .cap-3 h2 { font-size: clamp(32px, 8.6vw, 38px); max-width: 12ch; margin-top: 12px; }
.cap-3 h2 { margin-top: 0; }
.cap-3 .cap-claims { margin-top: 12px; }
.cap-lede { margin: 10px auto 0; max-width: 34ch; font-size: 16px; color: #e3e6ee; }
.cap-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.scene-caption .cap-actions { justify-content: center; margin-top: 16px; }
.scene-caption .btn { padding: 0 16px; font-size: 15px; }
/* over bright frames (lit lobby) a bare outline washes out: give it a dark glass fill */
.scene-caption .btn-outline-light {
  text-shadow: none; border-color: rgb(255 255 255 / .85);
  background: rgb(17 21 42 / .58); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.scene-caption .btn-outline-light:hover { background: rgb(17 21 42 / .78); }
@media (max-width: 767px) {
  .cap-1 .btn-outline-light { display: none; }
}
@media (min-width: 768px) {
  .scene-caption { left: 50%; right: auto; bottom: 3.5%; width: min(1280px, 92vw); transform: translate(-50%, 14px); }
  .cap-1 { top: 5%; }
  .cap-1 .hero-brand img { height: 84px; }
  .scene-caption.active { transform: translate(-50%, 0); }
  .cap-1 h1 { font-size: clamp(28px, 2.6vw, 38px); font-stretch: 100%; max-width: none; }
  .cap-2 h2 { font-size: clamp(32px, 3vw, 44px); max-width: none; }
  .cap-lede { max-width: 60ch; }
  .scene-caption .btn { padding: 0 24px; font-size: 16px; }
  /* desktop s3: top-right zone */
  .cap-3 { top: 12%; bottom: auto; right: 6%; left: auto; width: min(560px, 40vw); transform: translateY(14px); text-align: right; }
  .cap-3.active { transform: none; }
  .cap-3 h2 { font-size: clamp(32px, 3vw, 44px); margin-inline: auto 0; }
  .cap-3 .cap-claims, .cap-3 .cap-actions { justify-content: flex-end; }
}

/* Shared section pieces */
.index-label { color: var(--red-ink); display: flex; align-items: center; gap: 12px; }
.index-label::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.display-l { font-size: clamp(34px, 5.6vw, 76px); margin-top: 22px; }
.lede { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.4; color: var(--ink); }

/* About */
.about { padding-block: var(--section) calc(var(--section) * .7); }
.about .display-l { max-width: 13ch; }
.about-body { display: grid; gap: 20px; margin-top: clamp(32px, 5vw, 64px); max-width: 640px; margin-inline-start: auto; color: var(--ink-2); }
.text-link { justify-self: start; font-weight: 600; color: var(--blue); text-underline-offset: 6px; padding-block: 12px; }

/* Services */
.services { padding-block: calc(var(--section) * .7) var(--section); overflow-x: clip; }
.section-head .display-l { max-width: 15ch; }
.service-index { list-style: none; margin: clamp(40px, 6vw, 80px) 0 0; padding: 0; border-top: 2px solid var(--ink); }
.service-row {
  display: grid; grid-template-columns: 44px 1fr; gap: 6px 12px; align-items: baseline;
  padding-block: 24px; border-bottom: 1px solid var(--line);
}
.service-row .num { color: var(--red-ink); }
.service-row h3 { font-size: clamp(34px, 5.6vw, 80px); font-stretch: 125%; transition: color .25s ease; }
.service-row p { grid-column: 2; color: var(--ink-2); max-width: 32ch; }
.service-row:hover h3 { color: var(--blue); }
.service-figures { display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 80px); }
.service-figures figure { margin: 0; }
.service-figures img { width: 100%; object-fit: cover; }
.fig-frame { overflow: hidden; border-radius: 2px; }
/* oversized so the scroll parallax in motion.js never shows an edge */
.fig-frame img { height: 100%; transform: scale(1.16); }
.fig-a .fig-frame { aspect-ratio: 4 / 3; }
.fig-b .fig-frame { aspect-ratio: 3 / 4; }
.service-figures figcaption { margin-top: 10px; color: var(--ink-2); }

/* Why */
.why { background: var(--ink); color: var(--paper); padding-block: var(--section); }
.why .index-label { color: #ff7a80; }
.why-title { font-size: clamp(38px, 6.4vw, 92px); margin-top: 22px; max-width: 11ch; }
.why-words { list-style: none; margin: clamp(48px, 7vw, 96px) 0 0; padding: 0; display: grid; gap: 0; }
.why-words li { display: grid; grid-template-columns: 32px 1fr; gap: 4px 12px; padding-block: 24px; border-top: 1px solid #343a5a; }
.why-words span { color: #9aa1c4; padding-top: 8px; }
.why-words strong { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: clamp(26px, 3vw, 40px); line-height: 1; letter-spacing: -0.02em; }
.why-words li:nth-child(1) strong { color: #8b9bff; }
.why-words li:nth-child(3) strong { color: #ff7a80; }
.why-words p { grid-column: 2; color: #c3c7d9; }

/* Pricing */
.pricing { display: grid; gap: 48px; padding-block: var(--section); }
.price-lead { margin-top: clamp(28px, 4vw, 48px); padding-top: 20px; border-top: 2px solid var(--ink); }
.price-lead .mono { color: var(--red-ink); }
.price-big { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: clamp(64px, 9vw, 120px); line-height: .9; letter-spacing: -0.03em; color: var(--blue); margin-block: 8px 10px; }
.price-big span { font-size: .38em; letter-spacing: 0; }
.price-lead p:last-child { color: var(--ink-2); }
.price-tiers { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.price-tiers li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: baseline; padding-block: 18px; border-bottom: 1px solid var(--line); }
.tier-price { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 28px; line-height: 1; color: var(--ink); white-space: nowrap; }
.tier-price span { font-size: .5em; }
.tier-cities { color: var(--ink-2); font-size: 16px; }
.tier-rest .tier-price { color: var(--blue); }
.tier-rest strong { color: var(--ink); font-weight: 600; }
.price-note { margin-top: 16px; font-size: 14px; color: var(--ink-2); max-width: 64ch; }
.price-search { margin-top: 32px; display: grid; gap: 8px; }
.price-search label { color: var(--red-ink); }
.price-search input {
  font: inherit; font-size: 17px; min-height: 52px; padding: 0 16px; border-radius: 4px;
  border: 1.5px solid var(--ink); background: #fff; color: var(--ink); width: 100%; max-width: 480px;
}
.price-search input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.price-results { list-style: none; margin: 0; padding: 0; max-width: 480px; }
.price-results li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: baseline; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.price-results strong { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--blue); }
.price-results em { font-style: normal; color: var(--ink-2); }
.price-results .is-empty { display: block; color: var(--ink-2); }
.pricing-table .cap-actions { margin-top: 28px; }

/* Client band */
.client { background: var(--blue); color: #f2f4ff; padding-block: clamp(64px, 9vw, 120px); position: relative; overflow: hidden; }
.client::after {
  content: ""; position: absolute; right: -6%; top: 0; bottom: 0; width: 46%;
  background: linear-gradient(90deg, transparent 0 30%, var(--red) 30% 44%, transparent 44% 56%, color-mix(in srgb, var(--red) 70%, var(--blue)) 56% 62%, transparent 62%);
  transform: translateX(var(--stripe-x, 0%)) skewX(-24deg); opacity: .9; pointer-events: none;
}
@media (max-width: 767px) {
  .client::after { width: 40%; right: -22%; opacity: .55; }
}
.client-inner { position: relative; z-index: 1; display: grid; gap: 20px; }
.client .display-l { margin-top: 0; }
.client p { max-width: 38ch; font-size: 19px; color: #dfe3ff; }
.client .cap-actions { margin-top: 8px; }

/* Contact */
.contact { padding-block: var(--section); }
.contact-lede { font-size: clamp(26px, 3.2vw, 42px); margin-top: 22px; max-width: 18ch; }
.phone-big {
  display: block; margin-top: clamp(32px, 5vw, 64px);
  font-family: var(--display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(27px, 6vw, 84px); line-height: 1; letter-spacing: -0.03em;
  color: var(--blue); text-decoration: none; white-space: nowrap;
}
.phone-big:hover { color: var(--red-ink); }
.contact-grid { display: grid; gap: 0; margin: clamp(40px, 6vw, 72px) 0 0; border-top: 2px solid var(--ink); }
.contact-grid div { padding-block: 18px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.contact-grid dt { color: var(--ink-2); }
.contact-grid dd { margin: 0; font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }
.contact-grid a { text-underline-offset: 5px; }
.contact-grid a:hover { color: var(--blue); }

/* Footer */
.site-footer { background: var(--paper-2); padding-block: 48px; }
.footer-inner { display: grid; gap: 20px; color: var(--ink-2); }
.footer-inner p { max-width: 56ch; font-size: 15px; }
.site-footer .brand img { height: 56px; }
.footer-legal { display: grid; gap: 6px; }
.footer-legal p { font-size: 13px; }
.footer-legal a { text-underline-offset: 4px; display: inline-block; padding-block: 10px; margin-block: -10px; }
.footer-legal a:hover { color: var(--blue); }
.footer-qr { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; justify-self: start; }
.footer-qr img { width: 116px; height: 116px; padding: 6px; background: #fff; border: 1px solid var(--line); }
.footer-qr span { color: var(--ink-2); line-height: 1.5; }
.footer-qr:hover span { color: var(--blue); }

@media (min-width: 768px) {
  .nav { display: flex; }
  .header-actions { margin-inline-start: 12px; }
  .service-row { grid-template-columns: 64px 1fr; padding-block: 28px; }
  .service-figures { grid-template-columns: 1.5fr 1fr; align-items: end; }
  .why-words { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .client-inner { grid-template-columns: 1fr auto; align-items: end; }
  .client-inner p { grid-column: 1; }
  .client-inner .cap-actions { grid-column: 2; grid-row: 1 / span 2; }
}

@media (min-width: 1100px) {
  .link-client { display: inline; }
  .service-row { grid-template-columns: 80px 1fr minmax(220px, 30ch); }
  .service-row p { grid-column: 3; }
  .pricing { grid-template-columns: 1fr 1.2fr; align-items: start; column-gap: 72px; }
  .pricing-copy { position: sticky; top: 112px; }
  .pricing .display-l { font-size: clamp(40px, 4vw, 58px); }
  .footer-inner { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 48px; }
  .footer-legal { text-align: right; }
}

/* Animated layer (motion.js): masked split lines keep room for descenders; Lenis base rules */
.is-split > div { padding-bottom: .14em; margin-bottom: -.14em; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
