/* RollComm — night field, logo spectrum as light, one particle system carrying the page */

:root {
  --night: #07090f;
  --night-2: #0c1019;
  --surface: rgba(14, 19, 30, .72);
  --rule: rgba(214, 226, 255, .12);
  --rule-strong: rgba(214, 226, 255, .22);
  --text: #eef1f6;
  --text-2: #a4adba;
  --text-3: #7c8696;
  --cyan: #1fb6ea;
  --cyan-hi: #5ccbf2;
  --orange: #f5891f;
  --lime: #a4cf3c;
  --hostmij: #f0566f;
  --digitar: #4cc3b6;

  --display: 'Archivo', 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  --z-field: 0;
  --z-content: 1;
  --z-header: 20;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: var(--header-h);
  scrollbar-color: #3a4352 var(--night);
  background: var(--night);
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 1.125rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, dl, dd { margin: 0; padding: 0; }
ol { list-style: none; }
a { color: inherit; }
::selection { background: var(--cyan); color: var(--night); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 2px; }
a, button { touch-action: manipulation; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
}
main, .site-footer { position: relative; z-index: var(--z-content); }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  background: var(--cyan); color: var(--night); padding: 12px 16px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* the particle field sits behind everything */
.field {
  position: fixed; inset: 0; z-index: var(--z-field);
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0; transition: opacity 1200ms ease;
}
.field.is-live { opacity: 1; }
/* code rain: a quiet layer under the field while "Maatwerk software" is in view */
.rain {
  position: fixed; inset: 0; z-index: var(--z-field);
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0; transition: opacity 900ms ease;
}
.rain.is-on { opacity: .38; }
@media (min-width: 761px) {
  .rain { -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .16) 0, rgba(0, 0, 0, .16) 46%, #000 66%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .16) 0, rgba(0, 0, 0, .16) 46%, #000 66%); }
}
@media (max-width: 760px) { .rain.is-on { opacity: .12; } }

/* ---------- type ---------- */
.h2 {
  font: 800 clamp(2.5rem, 1.4rem + 4.3vw, 5rem)/.92 var(--display);
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.lede {
  font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 34em;
  text-wrap: pretty;
}
svg path { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 22px;
  font: 600 1.0625rem/1 var(--body); font-variant-numeric: tabular-nums;
  text-decoration: none; border-radius: 3px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
  user-select: none; -webkit-user-select: none;
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--cyan); color: var(--night); }
.btn--ghost { border: 1px solid var(--rule-strong); color: var(--text); }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--cyan-hi); }
  .btn--ghost:hover { border-color: var(--text); }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(7, 9, 15, .66);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--rule);
  padding-top: env(safe-area-inset-top, 0px);
}
@media (prefers-reduced-transparency: reduce) { .site-header { background: var(--night); backdrop-filter: none; } }
.site-header__bar { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.site-header__logo { flex: none; padding: 6px 0; margin-right: auto; }
.site-header__logo img { height: 36px; width: auto; }
.site-nav { display: flex; gap: 28px; font-size: .9375rem; font-weight: 500; letter-spacing: .02em; }
.site-nav a { text-decoration: none; color: var(--text-2); padding: 10px 0; position: relative; transition: color 160ms ease; }
.site-nav a[aria-current="true"] { color: var(--text); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out);
}
.site-nav a[aria-current="true"]::after { transform: none; }
.call-pill {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 18px;
  background: var(--cyan); color: var(--night);
  font: 600 1rem/1 var(--body); font-variant-numeric: tabular-nums;
  text-decoration: none; border-radius: 3px;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
  user-select: none; -webkit-user-select: none;
}
.call-pill svg { width: 18px; height: 18px; }
.call-pill:active { transform: scale(.97); }
.call-pill__short { display: none; }
.menu-btn { display: none; }
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: var(--text); }
  .call-pill:hover { background: var(--cyan-hi); }
}

/* ---------- hero ---------- */
.hero { min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; }
.hero__inner {
  flex: 1;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center;
  padding-top: clamp(40px, 6vh, 88px); padding-bottom: clamp(24px, 4vh, 48px);
}
.hero__copy { grid-column: 1 / span 7; display: grid; gap: 26px; justify-items: start; position: relative; z-index: 1; }
.hero__title {
  font: 800 clamp(2.4rem, 1.1rem + 3.4vw, 4rem)/.92 var(--display);
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: -.025em;
  max-width: 14ch;
}
.hero__title .w { display: inline-block; white-space: nowrap; }
.hero__title .ch { display: inline-block; font-variation-settings: 'wght' var(--w, 800); }
.hero__lede { font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.55; color: var(--text-2); max-width: 31em; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__note { font-size: .9375rem; color: var(--text-3); max-width: 34em; }
.hero__mark { grid-column: 8 / span 5; aspect-ratio: 1; position: relative; }
.hero__fallback { display: none; position: absolute; inset: 8%; width: 84%; height: auto; }
.no-webgl .hero__fallback { display: block; }

.telemetry__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  padding-block: 18px 22px;
}
.telemetry__list > div { padding-right: 16px; }
.telemetry__list dt, .brand__spec dt, .contact__facts dt {
  font: 500 .75rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px;
}
.telemetry__list dd { font: 500 1rem/1.35 var(--body); font-variant-numeric: tabular-nums; }
.telemetry__list dd svg { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-left: 4px; }
.telemetry__dim { color: var(--text-2); white-space: nowrap; }
.motion .telemetry__hint svg { animation: nudge 1.8s var(--ease-in-out) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- full-screen chapters that pause while you scroll ---------- */
.hold__stage {
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 32px;
}
.motion [data-hold]:not(.no-hold) { height: calc(100svh - var(--header-h) + var(--hold, 45vh)); }
.motion [data-hold]:not(.no-hold) > .hold__stage { position: sticky; top: var(--header-h); }

/* ---------- services ---------- */
.services { padding-bottom: clamp(32px, 4vw, 64px); }
.services__intro { display: grid; gap: 24px; max-width: 46rem; }
.services__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.service-list { grid-column: 1 / span 6; grid-row: 1; display: grid; gap: 0; }
.services__mark { grid-column: 7 / span 6; grid-row: 1; position: relative; }
.services__anchor { position: sticky; top: calc(var(--header-h) + 12vh); width: 100%; aspect-ratio: 1; max-height: 70vh; }

.svc { position: relative; }
.svc__stage { gap: 18px; padding-right: 32px; }
.svc__stage > * { margin: 0; }
.svc__name { position: relative; padding-top: 24px; }
.svc__name::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: min(100%, 620px);
  background: var(--hue); transform: scaleX(.08); transform-origin: left;
  transition: transform 700ms var(--ease-out);
}
.svc.is-current .svc__name::before { transform: none; }
.svc__name {
  font: 800 clamp(2rem, 1.2rem + 2vw, 3rem)/.95 var(--display);
  font-stretch: 108%;
  text-transform: uppercase; letter-spacing: -.015em; text-wrap: balance;
  transition: color 500ms var(--ease-out);
}
.svc__text { max-width: 30em; color: var(--text); font-size: clamp(1.125rem, 1rem + .3vw, 1.25rem); line-height: 1.5; text-wrap: pretty; }
.svc__more { max-width: 34em; color: var(--text-2); text-wrap: pretty; }
.svc__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; max-width: 34em; }
.svc__list li { position: relative; padding-left: 26px; color: var(--text); font-size: 1.0625rem; line-height: 1.45; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 14px; height: 2px; background: var(--hue); }
.motion .service-list.is-armed .svc:not(.is-current) .svc__name { color: #6f7988; }
@supports (animation-timeline: view()) {
  .motion .svc { animation: tilt-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  @keyframes tilt-in {
    from { transform: perspective(1100px) rotateX(16deg) translateY(56px) scale(.94); }
    to { transform: none; }
  }
}

/* ---------- about + pinned history ---------- */
.about { padding-block: 0; }
.timeline { padding-top: clamp(24px, 3vw, 48px); }
.about__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 32px; }
.about__top .h2 { grid-column: 1 / span 6; padding-right: 24px; }
.about__body { grid-column: 7 / span 6; display: grid; align-content: start; gap: 20px; color: var(--text-2); max-width: 36em; }
.about__body p { text-wrap: pretty; }

.history { margin-top: clamp(64px, 8vw, 112px); }
.history__stage { position: relative; }
.history__progress { display: none; }
.history__track { display: grid; gap: 56px; padding: 0 var(--gutter) 96px; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; }
.era { display: grid; gap: 8px; align-content: center; }
.era__year {
  font: 900 clamp(5rem, 2rem + 14vw, 16rem)/.82 var(--display);
  font-stretch: 125%;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: var(--hue);
}
.era__what { font: 700 clamp(1.375rem, 1.1rem + 1vw, 2rem)/1.15 var(--display); font-stretch: 105%; margin-top: 12px; text-wrap: balance; max-width: 22ch; }
.era__more { color: var(--text-2); max-width: 26em; text-wrap: pretty; }

/* pinned sideways history (desktop and phone) */
.motion .history { height: calc(var(--eras, 4) * 92vh); }
.motion .history__stage {
  position: sticky; top: var(--header-h);
  height: calc(100svh - var(--header-h));
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.motion .history__progress {
  display: block; position: absolute; left: var(--gutter); right: var(--gutter); top: 32px; height: 1px; background: var(--rule);
}
.motion .history__progress span {
  position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0));
  background: var(--cyan);
}
.motion .history__track {
  display: flex; gap: 0; padding: 0; margin: 0; max-width: none;
  width: max-content;
  will-change: transform;
}
.motion .era { width: 62vw; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-right: 4vw; }
.motion .era__year {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--hue);
  transition: color 600ms var(--ease-out);
}
.motion .era.is-active .era__year { color: var(--hue); }
.motion .era__what, .motion .era__more { opacity: .4; transition: opacity 500ms ease; }
.motion .era.is-active .era__what, .motion .era.is-active .era__more { opacity: 1; }
@media (max-width: 760px) {
  .motion .history { height: calc(var(--eras, 4) * 80vh); }
  .motion .era { width: 86vw; padding-left: var(--gutter); padding-right: 6vw; }
  .motion .era__year { font-size: clamp(4.5rem, 24vw, 7rem); -webkit-text-stroke-width: 1.2px; }
  .motion .history__stage { justify-content: flex-start; padding-top: 16svh; }
}

/* ---------- brands ---------- */
.brands { padding-bottom: clamp(96px, 12vw, 160px); }
.brands__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.brands__head { grid-column: 1 / span 6; display: grid; gap: 20px; }
.brands__mark { grid-column: 7 / span 6; aspect-ratio: 16 / 10; }
.brands__row { margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; perspective: 1400px; }
.brand {
  position: relative;
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 18px;
  padding: 32px 32px 32px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  text-decoration: none; color: inherit;
  transition: border-color 300ms ease, transform 500ms var(--ease-out);
  will-change: transform;
}
.brand__name { font: 800 clamp(2.5rem, 1.6rem + 2.8vw, 4.25rem)/.95 var(--display); font-stretch: 108%; letter-spacing: -.02em; }
.brand__text { color: var(--text-2); max-width: 28em; text-wrap: pretty; }
.brand__spec {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 32px;
  padding-top: 16px; border-top: 1px solid var(--rule);
}
.brand__spec dd { font: 500 .9375rem/1.35 var(--body); white-space: nowrap; }
.brand__go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--hue); }
.brand__go svg { width: 20px; height: 20px; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .brand:hover { border-color: color-mix(in srgb, var(--hue) 55%, transparent); }
  .brand:hover .brand__go svg { transform: translate(3px, -3px); }
}

/* ---------- locate: pinned globe ---------- */
.locate { position: relative; }
.locate__stage { position: relative; min-height: 80svh; display: grid; align-items: center; }
.locate__mark { position: absolute; inset: 8% 0 8% 38%; }
.locate__inner { position: relative; display: grid; gap: 20px; justify-items: start; }
.locate__title { max-width: 8ch; }
.locate__lede { max-width: 22em; }
.locate__coords { display: flex; flex-wrap: wrap; gap: 8px 24px; font: 500 1rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--orange); margin-top: 12px; }
.motion .locate { height: 260vh; }
.motion .locate__stage { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); min-height: 0; overflow: hidden; }
.motion .locate__coords span { opacity: 0; transform: translateY(10px); transition: opacity 500ms ease, transform 600ms var(--ease-out); }
.motion .locate.is-landed .locate__coords span { opacity: 1; transform: none; }
.motion .locate.is-landed .locate__coords span:nth-child(2) { transition-delay: 80ms; }
.motion .locate.is-landed .locate__coords span:nth-child(3) { transition-delay: 160ms; }

/* ---------- contact ---------- */
.contact__inner {
  min-height: calc(100svh - var(--header-h));
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center;
  padding-block: clamp(96px, 12vw, 168px) clamp(80px, 10vw, 136px);
  row-gap: 48px;
}
.contact__main { grid-column: 1 / span 8; grid-row: 1; display: grid; gap: 24px; justify-items: start; }
.contact__tel {
  margin-top: 12px;
  font: 800 clamp(3rem, 1.4rem + 4.6vw, 5.75rem)/.9 var(--display);
  font-stretch: 100%;
  font-variant-numeric: tabular-nums; letter-spacing: -.03em;
  text-decoration: none; white-space: nowrap;
  display: inline-block;
  transition: color 200ms ease, transform 160ms var(--ease-out);
  will-change: transform;
}
.contact__tel:active { transform: scale(.985); }
.contact__mail { font: 600 clamp(1.375rem, 1.1rem + 1vw, 2rem)/1.2 var(--body); color: var(--cyan); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.contact__mark { grid-column: 9 / span 4; grid-row: 1; aspect-ratio: 1; }
.contact__facts { grid-column: 1 / span 5; grid-row: 2; align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 28px 24px; border-top: 1px solid var(--rule); padding-top: 24px; }
.contact__facts dd { font-size: 1.0625rem; line-height: 1.45; }
.contact__facts a { color: var(--text); text-decoration: none; transition: color 160ms ease; }

/* route card: a drawn map of the Netherlands, Eibergen pinned, opens the route */
.route-card {
  grid-column: 7 / span 6; grid-row: 2;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px;
  min-height: 300px; padding: 24px 28px;
  background: var(--night-2);
  border: 1px solid var(--rule); border-radius: 6px;
  color: var(--text); text-decoration: none;
  transition: border-color 260ms ease, transform 200ms var(--ease-out);
}
.route-card__map { position: absolute; right: 6%; top: 50%; height: 92%; width: auto; transform: translateY(-50%); }
.route-card__land path { fill: url(#nl-dots); stroke: rgba(92, 203, 242, .7); stroke-width: 1.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
#nl-dots circle { fill: rgba(92, 203, 242, .35); }
.route-card__dot { fill: var(--orange); stroke: var(--night); stroke-width: 2; }
.route-card__ring { fill: none; stroke: var(--orange); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; }
.motion .route-card__ring { animation: ping 2.4s var(--ease-out) infinite; }
.motion .route-card__ring--2 { animation-delay: 1.2s; }
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.route-card__text { position: relative; display: grid; gap: 4px; max-width: 18em; }
.route-card__place { font: 700 1.25rem/1.2 var(--display); font-stretch: 105%; }
.route-card__addr { color: var(--text-2); font-size: .9375rem; }
.route-card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--cyan); font-weight: 600; }
.route-card__go svg { width: 18px; height: 18px; transition: transform 220ms var(--ease-out); }
.route-card:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) {
  .route-card:hover { border-color: rgba(31, 182, 234, .55); }
  .route-card:hover .route-card__go svg { transform: translate(3px, -3px); }
  .contact__facts a:hover { color: var(--cyan); }
}
@media (hover: hover) and (pointer: fine) {
  .contact__tel:hover { color: var(--cyan-hi); }
  .contact__mail:hover { color: var(--cyan-hi); }
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rule); color: var(--text-2); font-size: .9375rem; background: var(--night); }
.site-footer__top {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: 32px 0;
  padding-block: clamp(48px, 6vw, 72px) 40px;
}
.site-footer__brand { grid-column: 1 / span 5; display: grid; gap: 14px; justify-items: start; }
.site-footer__brand img { height: 30px; width: auto; }
.site-footer__brand p { max-width: 24em; }
.site-footer__nav { grid-column: 7 / span 3; display: grid; gap: 10px; }
.site-footer__contact { grid-column: 10 / span 3; display: grid; gap: 10px; justify-items: start; }
.site-footer a { color: var(--text); text-decoration: none; transition: color 160ms ease; }
.site-footer__contact a:first-child { font-variant-numeric: tabular-nums; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  border-top: 1px solid var(--rule);
  padding-block: 20px calc(24px + env(safe-area-inset-bottom, 0px));
  color: var(--text-3); font-size: .875rem;
}
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--cyan); } }

/* ---------- load choreography ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__lede, .hero__actions, .hero__note { animation: rise 900ms var(--ease-out) both; }
  .hero__lede { animation-delay: 500ms; }
  .hero__actions { animation-delay: 620ms; }
  .hero__note { animation-delay: 740ms; }
  .telemetry { animation: fade 900ms ease 900ms both; }
  .hero__title .ch { animation: char-in 900ms var(--ease-out) both; animation-delay: calc(var(--i) * 18ms + 60ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes char-in { from { opacity: 0; transform: translateY(.4em) rotateX(-70deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .site-nav { gap: 20px; }
  .hero__copy { grid-column: 1 / span 8; grid-row: 1; }
  .hero__mark { grid-column: 8 / span 5; grid-row: 1; }
  .service-list { grid-column: 1 / span 7; }
  .services__mark { grid-column: 8 / span 5; }
  .about__top .h2, .about__body { grid-column: 1 / -1; }
  .brand__spec { grid-template-columns: 1fr 1fr; row-gap: 14px; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  body { font-size: 1.0625rem; }
  .site-header__bar { gap: 8px; }
  .site-header__logo img { height: 30px; }
  .call-pill { height: 44px; padding: 0 14px; }
  .call-pill__num { display: none; }
  .call-pill__short { display: inline; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px;
    height: 44px; padding: 0 4px 0 12px; margin-right: -4px;
    background: none; border: 0; cursor: pointer; color: var(--text); font-weight: 500; font-size: .9375rem;
    user-select: none; -webkit-user-select: none;
  }
  .menu-btn__icon { position: relative; width: 22px; height: 12px; }
  .menu-btn__icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 240ms var(--ease-out), top 240ms var(--ease-out); }
  .menu-btn__icon i:first-child { top: 0; }
  .menu-btn__icon i:last-child { top: 10.5px; }
  [data-open] .menu-btn__icon i:first-child { top: 5.25px; transform: rotate(45deg); }
  [data-open] .menu-btn__icon i:last-child { top: 5.25px; transform: rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--night-2); border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
    padding: 8px var(--gutter) 24px;
    font: 800 1.75rem/1 var(--display); font-stretch: 110%; text-transform: uppercase; letter-spacing: 0;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s linear 260ms;
  }
  .site-nav a { color: var(--text); padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  [data-open] .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s; }

  .hero__inner { align-items: start; padding-top: 0; }
  .hero__mark { grid-column: 3 / span 8; grid-row: 1; margin: 8px 0 -8px; }
  .hero__copy { grid-column: 1 / -1; grid-row: 2; gap: 20px; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.4rem); font-stretch: 100%; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .telemetry__list { grid-template-columns: 1fr 1fr; row-gap: 18px; margin-top: 24px; }
  .telemetry__hint { display: none; }

  .services__body { display: block; }
  .services__mark { position: sticky; top: calc(var(--header-h) + 8px); height: 0; z-index: 0; }
  .services__anchor { position: absolute; top: 0; right: -8%; width: 62%; max-height: none; }
  .service-list { position: relative; z-index: 1; }
  .svc__stage { padding-right: 0; }

  .history__track { padding-bottom: 64px; gap: 48px; }

  .brands__row { grid-template-columns: 1fr; }
  .brand { padding: 24px 20px 24px; }
  .brands__head { grid-column: 1 / -1; grid-row: 2; }
  .brands__mark { grid-column: 1 / -1; grid-row: 1; margin: -16px 0 8px; }

  .locate__mark { inset: 0 0 32% 0; }
  .locate__inner { align-self: end; padding-bottom: 48px; }

  .contact__main { grid-column: 1 / -1; grid-row: 2; }
  .contact__mark { grid-column: 4 / span 6; grid-row: 1; }
  .contact__tel { font-size: clamp(2.6rem, 12.5vw, 4rem); }
  .contact__facts { grid-column: 1 / -1; grid-row: 3; gap: 20px; }
  .route-card { grid-column: 1 / -1; grid-row: 4; min-height: 260px; padding: 20px; }
  .route-card { grid-template-columns: 1fr; }
  .route-card__map { position: relative; right: auto; top: auto; transform: none; height: 190px; justify-self: center; margin-bottom: 4px; }

  .site-footer__brand, .site-footer__nav, .site-footer__contact { grid-column: 1 / -1; }
  .site-footer__nav { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; }
}
