@font-face {
  font-family: "Vento Inter";
  src: url("assets/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root { --mobile-dock-space: 0px; }
.home-mobile-copy,.footer-social .footer-mobile-help { display: none; }

@media (max-width: 880px), (orientation: landscape) and (max-width: 1024px) and (max-height: 519px) {
  :root {
    --mobile-safe-top: env(safe-area-inset-top, 0px);
    --mobile-gutter: max(clamp(18px, 5.2vw, 29px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    --wrap: calc(100% - var(--mobile-gutter) - var(--mobile-gutter));
    --header: calc(58px + var(--mobile-safe-top));
  }

  .header-row { display: flex; justify-content: space-between; gap: 10px; padding-top: var(--mobile-safe-top); }
  .desktop-nav,.header-cta { display: none; }
  .brand img { width: 97px; height: 37px; }
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    color: #edf8ff; border: 1px solid transparent; border-radius: 50%; background: transparent;
  }
  .menu-toggle-bars { display: grid; gap: 5px; }
  .menu-toggle i { width: 21px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .menu-toggle[aria-expanded="true"],.menu-toggle:active { background: #9db9e414; }
  .mobile-nav.is-open {
    display: grid; position: absolute; inset: calc(100% + 6px) var(--mobile-gutter) auto auto;
    width: min(100% - var(--mobile-gutter) - var(--mobile-gutter), 322px);
    max-height: calc(100dvh - var(--header) - 14px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto; overscroll-behavior: contain; padding: 5px 13px;
    border: 1px solid #afcef43d; border-radius: 13px; background: #101d2e;
    box-shadow: 0 16px 42px #030916a6; animation: mobile-menu-in .2s var(--ease) both;
  }
  .mobile-nav a {
    display: flex; align-items: center; min-height: 45px; padding: 6px 8px;
    border-bottom: 1px solid #a5c2f422; font-size: .94rem; font-weight: 580; line-height: 1.35;
  }
  .mobile-nav a:last-child { border-bottom: 0; }
  .mobile-nav a[aria-current] { color: #a5f0fc; font-weight: 760; }
  .mobile-nav a:active { background: #9ceaff1c; }

  input:is([type="text"],[type="number"],[type="search"],[type="email"],[type="tel"],[type="url"],:not([type])),
  select,textarea { font-size: max(16px, 1em); }
}

@media (max-width: 760px), (orientation: landscape) and (max-width: 1024px) and (max-height: 519px) {
  body {
    font-family: "Vento Inter", "Inter", system-ui, sans-serif;
    line-height: 1.6;
  }

  h1,h2,h3 { font-weight: 700; letter-spacing: -.042em; }
  .wow-hero .hero-copy h1,
  .services-hero h1,.commerce-hero h1,.track-intro h1,.estimate-intro h1,
  .support-hero h1,.lab-intro h1,.route-caption h1 {
    font-weight: 700;
    letter-spacing: -.047em;
    line-height: 1.02;
    text-wrap: balance;
  }

  .wow-heading h2,.home-services .section-heading h2,.home-business h2,
  .services-intro h2,.services-preparation h2,.services-contact h2,
  .commerce-work h2,.commerce-contact h2,.track-guide-intro h2,
  .offer-intro h2,.support-results h2,.support-contact h2,.route-caption h2 {
    letter-spacing: -.043em;
    line-height: 1.08;
    text-wrap: balance;
  }
  .route-caption em { letter-spacing: -.029em; }
  .wow-feature-copy h3,.story-card h3,.service-chapter h3,.commerce-step h3 {
    letter-spacing: -.037em;
    line-height: 1.13;
  }

  .services-hero-text,.commerce-lede,.lab-intro > p,.route-caption > p:not(.route-kicker) {
    line-height: 1.57;
    text-wrap: pretty;
  }
  .track-form-label,.estimate-form label,.lab-measure label {
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.4;
  }
  .track-terminal input,.estimate-form select,.lab-number input,.estimate-total {
    font-variant-numeric: tabular-nums;
  }
  .support-questions summary { min-height: 55px; font-weight: 600; line-height: 1.44; }
  .support-answer { font-size: .96rem; line-height: 1.65; }
}

@media (max-width: 740px), (orientation: landscape) and (max-width: 1024px) and (max-height: 519px) {
  .wow-hero .hero-eyebrow,.wow-hero .hero-scroll,.home-desktop-copy,.wow-hero .hero-actions .button--primary { display: none; }
  .home-mobile-copy { display: inline; }
  .wow-hero .hero-copy h1 { width: auto; }
  .wow-hero .hero-copy h1 span { display: inline; padding: 0; }
  .wow-hero .hero-actions .home-mobile-track {
    display: inline-flex; min-height: 44px; padding: 5px 7px 5px 12px; gap: 10px;
    border-radius: 11px; border-color: #9ed4f16b;
    background: linear-gradient(140deg, #1a374b, #102133); color: #e6f9ff;
    box-shadow: inset 0 1px 0 #e0faff17;
    font-size: .8125rem; font-weight: 650; line-height: 1.25;
  }
  .wow-hero .hero-actions .home-mobile-track span {
    display: grid; place-items: center; flex: none; width: 26px; height: 26px;
    border-radius: 6px; color: #b5f3ff; background: #9ee9ff1a; font-size: .95rem;
  }
  .wow-hero .hero-actions .home-mobile-track:is(:hover,:active) { background: #1b3950; border-color: #a8efff; }
  .wow-hero .scene-stage.is-ready .scene-controls {
    left: auto; right: 0; bottom: 0; transform: none; padding: 0;
    background: transparent; border: 0; box-shadow: none; backdrop-filter: none;
  }
  .wow-hero .scene-hint,.wow-hero .scene-buttons button:not([data-3d-toggle]) { display: none; }
  .wow-hero .scene-buttons button[data-3d-toggle] {
    width: 44px; height: 44px; background: transparent; border: 0; border-radius: 50%;
  }
  .wow-hero .scene-buttons [data-3d-label] {
    display: grid; place-items: center; width: 30px; height: 30px;
    border: 1px solid #b5d1ff56; border-radius: 50%;
    color: #d6eaff; background: #071423e0; font-size: .75rem;
  }
  .wow-hero .scene-buttons [data-3d-toggle]:is(:hover,:active) [data-3d-label] {
    border-color: #a8efff; background: #1b3950;
  }
  .wow-hero [data-3d-scene] { touch-action: pan-y pinch-zoom; }
  .wow-experiences { padding-block: 22px 36px; }
  .wow-heading { grid-template-columns: minmax(0, 1fr); gap: 5px; margin-bottom: 15px; }
  .wow-heading h2,.home-services .section-heading h2,.home-business h2 {
    margin: 0; font-size: clamp(1.5rem, 5.8vw, 2.125rem);
    line-height: 1.14; letter-spacing: -.04em;
  }
  .wow-heading em { display: inline; }
  .wow-heading p {
    justify-self: start; max-width: 42ch; padding: 0;
    font-size: .875rem; line-height: 1.5;
  }
  [data-page="kreu"] .quick-links,.story-card--business { display: none; }

  .footer-content { padding-top: 26px; }
  .footer-top { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; padding-bottom: 17px; }
  .footer-top p,.footer-top nav,.footer-social > span { display: none; }
  .footer-social { display: flex; flex-wrap: wrap; gap: 0 14px; justify-content: flex-end; }
  .footer-social a,.footer-social .footer-mobile-help { display: inline-flex; align-items: center; min-height: 44px; font-size: .84rem; }
  .footer-mobile-help { color: #e7efff; }
  .footer-bottom { align-items: center; padding-block: 0 max(3px, env(safe-area-inset-bottom, 0px)); }
  .footer-bottom a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
}

@media (min-width: 741px) and (max-width: 880px) {
  .wow-hero .hero-copy h1 { font-size: clamp(2.55rem, 6.2vw, 3.45rem); line-height: 1.03; letter-spacing: -.047em; }
  .wow-hero .scene-stage { width: calc(100% + 22px); margin-left: -10px; min-height: 370px; }
}

@media (max-width: 740px) {
  .wow-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr); min-height: 0;
    row-gap: 6px; padding-block: clamp(21px, 5.6vw, 34px) 5px;
  }
  .wow-hero .hero-copy { position: relative; z-index: 1; padding: 0; }
  .wow-hero .hero-copy h1 {
    margin: 0; font-size: clamp(1.6875rem, 7vw, 2.65rem);
    line-height: 1.1; letter-spacing: -.045em;
  }
  .wow-hero .hero-intro {
    margin-top: 6px; color: #c8d7e8;
    font-size: clamp(.875rem, 3.55vw, .975rem); line-height: 1.5;
  }
  .wow-hero .hero-actions { margin-top: 12px; }
  .wow-hero .scene-stage {
    width: 100%; height: clamp(194px, 59vw, 338px); min-height: 0; margin: 0;
  }
  .wow-hero .scene-stage::before {
    inset: 3% 0 7%; background: radial-gradient(ellipse,#3973dd48 0%,#224daa2b 42%,transparent 72%);
  }
  .wow-city-photo { object-position: 78% center; }
  .wow-hero::before { background: linear-gradient(180deg,#040c18f5 0%,#040c18d4 29%,#040c1840 63%,#060e17 100%); }
  .wow-city-route { opacity: .45; }

  .wow-feature-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .wow-feature { min-height: clamp(170px, 47vw, 285px); padding: 15px; border-radius: 12px; }
  .wow-feature:focus-visible { outline-offset: -4px; }
  .wow-feature-copy { position: relative; padding-right: 23px; }
  .wow-feature-copy::after { content: "↗" / ""; position: absolute; inset: auto 0 0 auto; color: #b9efff; font-size: 1rem; }
  .wow-feature-copy h3,.home-services .story-card h3 { font-size: clamp(1.125rem, 4.7vw, 1.6rem); }
  .wow-feature-copy p,.home-services .story-card p { max-width: 36ch; margin-top: 5px; font-size: .84rem; line-height: 1.48; }
  .wow-card-action { display: none; }
  .wow-feature--lab .wow-card-box { --cube: clamp(59px, 19vw, 100px); margin-left: 33%; }
  .wow-feature-grid [data-motion-parallax] > img,
  .story-grid [data-motion-parallax] > img { transform: translateY(calc(var(--motion-shift, 0px) * .42)) scale(1.1); }
  .wow-card-box { translate: 0 calc(var(--motion-shift, 0px) * .42); }

  [data-page="kreu"] .home-services,[data-page="kreu"] .home-business { padding-block: 34px 38px; }
  .home-services .section-heading { margin-bottom: 12px; }
  .home-services .section-heading .eyebrow,.home-business .eyebrow { display: none; }
  .home-services .heading-link { flex-flow: row wrap; align-items: center; gap: 0 16px; }
  .home-services .inline-link,.home-business .button {
    display: inline-flex; align-items: center; min-height: 44px;
    gap: 6px; font-size: .84rem; font-weight: 650;
  }
  .story-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .story-card { min-height: clamp(154px,44vw,265px); border-radius: 12px; padding: 15px; }
  .story-card-arrow { width: 27px; height: 27px; top: 11px; right: 11px; border-color: #d1e7ff37; }
  .home-business-grid { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .home-business .business-photo { min-height: 0; }
  .home-business .business-photo img { min-height: 0; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  .home-business p:not(.eyebrow) { margin-top: 8px; font-size: .875rem; line-height: 1.55; }
  .home-business .button { margin-top: 9px; border-color: #294eaa40; border-radius: 9px; padding-inline: 11px; background: #f7faff; }
  .home-business .button:is(:hover,:active) { border-color: #294eaa80; background: #e1edff; }
}

@media (orientation: portrait) and (max-width: 740px) {
  .service-chapter-copy,.commerce-step-content { padding: 19px clamp(16px, 4.6vw, 25px) 16px; }
  .service-chapter-copy > p:not(.eyebrow),.commerce-step-content > p:not(.commerce-step-kicker) {
    margin-block: 9px 8px;
    line-height: 1.6;
  }
  .track-terminal,.estimate-panel { padding: clamp(15px, 4.3vw, 25px); }
  .estimate-form { gap: 12px; }
  .lab-intro { gap: 9px; margin-bottom: 20px; }
  .lab-controls { padding: 18px clamp(14px, 4vw, 22px) 11px; }
  .route-chapter .route-caption { padding-block: 26px 34px; }
}

@media (orientation: portrait) and (max-width: 380px) {
  .support-hero h1 { font-size: clamp(2.25rem, 10.5vw, 2.6rem); }
}

@media (orientation: portrait) and (max-width: 370px) and (max-height: 650px) {
  .wow-hero .hero-grid { padding-block: 20px 8px; }
  .wow-hero .scene-stage { height: clamp(185px, 59vw, 220px); }
}

@media (orientation: landscape) and (max-height: 519px) and (max-width: 1024px) {
  :root { --header: calc(52px + env(safe-area-inset-top, 0px)); }
  .wow-hero .hero-grid {
    grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr);
    min-height: max(228px, calc(100svh - var(--header))); align-items: center; padding-block: 11px 16px;
  }
  .wow-hero .hero-copy { padding: 0; }
  .wow-hero .hero-copy h1 { margin: 0; font-size: clamp(1.65rem, 4.6vw, 2.55rem); line-height: 1.1; }
  .wow-hero .hero-intro { font-size: .9rem; margin-top: 9px; }
  .wow-hero .hero-actions { margin-top: 12px; }
  .wow-hero .scene-stage { width: 100%; min-height: 192px; height: min(308px, calc(100svh - var(--header) - 22px)); margin: 0; }
  .wow-feature-grid,.story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@keyframes mobile-menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav.is-open { animation: none; }
  .wow-feature-grid [data-motion-parallax] > img,.story-grid [data-motion-parallax] > img { transform: none; }
  .wow-card-box { translate: none; }
}
