/* =============================================================
   Altiro Web — styles.css
   Layout: courier-label brutalism. Cobalt field for the hero and
   contact, label-paper sections with ink hairlines, yellow packing
   tape as the accent. Square corners everywhere, hard ink offsets.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --paper: #f4f4f0;
  --paper-2: #e9e8e1;
  --label: #fffffb;
  --ink: #0f0f12;
  --ink-soft: #37363d;
  --mute: #64636a;
  --cobalt: #1f3bff;
  --cobalt-deep: #1429cc;
  --tape: #ffd400;
  --on-dark: #f4f4f0;
  --on-dark-soft: rgba(244, 244, 240, 0.74);
  --line-soft: rgba(15, 15, 18, 0.16);
  --wa: #25d366;
  --web: #1f3bff;   --web-tint: #dfe4ff;   --web-on: #ffffff;
  --food: #ff5a36;  --food-tint: #ffe2d8;  --food-on: #0f0f12;
  --apps: #7a5cff;  --apps-tint: #e8e2ff;  --apps-on: #ffffff;
  --rutas: #12b76a; --rutas-tint: #d9f3e5; --rutas-on: #0f0f12;

  --display: "Big Shoulders", "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --stencil: "Big Shoulders Stencil", "Big Shoulders Stencil Display", "Big Shoulders", Impact, sans-serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(18px, 4.5vw, 64px);
  --maxw: 1360px;
  --nav-h: 70px;
  --rule: 2px;

  color-scheme: light;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--paper);
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-weight: 800; text-wrap: balance; line-height: 1; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
::selection { background: var(--tape); color: var(--ink); }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* =============================================================
   3. Utilities
   ============================================================= */
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.skip-link {
  position: fixed;
  top: -100px;
  left: max(16px, env(safe-area-inset-left, 0px));
  z-index: 200;
  padding: 0.7rem 1rem;
  background: var(--tape);
  color: var(--ink);
  border: var(--rule) solid var(--ink);
  font-weight: 700;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* =============================================================
   4. Typography
   ============================================================= */
.section-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3rem, 8.6vw, 8.2rem);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.section-note { color: var(--ink-soft); max-width: 44ch; font-size: 1.05rem; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 54px;
  padding: 0 1.4rem;
  border: var(--rule) solid var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0 0 var(--ink);
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn-sm { min-height: 42px; padding: 0 1rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-tape { background: var(--tape); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--on-dark); }
.btn-cobalt { background: var(--cobalt); color: #ffffff; }
.btn-outline-light { border-color: #ffffff; color: #ffffff; }
@media (hover: hover) {
  .btn:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); }
  .btn-tape:hover, .btn-cobalt:hover { box-shadow: 5px 5px 0 var(--tape); }
  .btn-tape:hover { background: var(--ink); color: var(--tape); }
  .btn-ink:hover { background: var(--cobalt); border-color: var(--cobalt); color: #ffffff; }
  .btn-cobalt:hover { background: var(--ink); color: var(--tape); }
  .btn-outline-light:hover { background: #ffffff; color: var(--cobalt); }
}

/* =============================================================
   6. Sections
   ============================================================= */

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  color: #ffffff;
  border-bottom: var(--rule) solid transparent;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
  animation: dropIn 0.7s var(--ease-out) both;
}
.nav.is-scrolled { background: var(--paper); color: var(--ink); border-bottom-color: var(--ink); }
body.menu-open .nav { background: transparent; color: #ffffff; border-bottom-color: transparent; }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 1.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; white-space: nowrap; }
.brand-mark { width: 40px; height: 24px; flex: none; }
.brand-mark .speed { fill: none; stroke: currentColor; stroke-width: 2.4; }
.brand-mark .box { fill: var(--tape); stroke: var(--ink); stroke-width: 2; }
.brand-mark .arrow { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.brand-word {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.brand-tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2em 0.45em;
  border: 1.5px solid currentColor;
}
.nav-links { display: none; margin-left: auto; gap: 0.3rem; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55em 0.75em;
  transition: background-color 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--tape); color: var(--ink); }
.nav-cta { display: none; }
.nav-toggle {
  margin-left: auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: var(--rule) solid currentColor;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out), background-color 0.2s;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { transform: translateY(-6px); }
.nav-toggle .bars::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  align-content: center;
  padding-block: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) calc(32px + env(safe-area-inset-bottom, 0px));
  color: #ffffff;
  background-color: var(--cobalt);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.5s var(--ease-out), visibility 0s linear 0.5s;
}
.menu.is-open, html:not(.js) .menu:target {
  clip-path: inset(0);
  visibility: visible;
  transition: clip-path 0.5s var(--ease-out), visibility 0s;
}
.menu-links { display: grid; }
.menu-links a {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.8rem, 13vw, 4.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  border-bottom: var(--rule) solid rgba(255, 255, 255, 0.3);
  padding-block: 0.08em;
}
.menu-links a:hover { color: var(--tape); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: #ffffff;
  padding-block: calc(var(--nav-h) + 48px + env(safe-area-inset-top, 0px)) 36px;
  background-color: var(--cobalt);
  background-image:
    radial-gradient(70% 60% at 88% 0%, rgba(132, 150, 255, 0.55), transparent 70%),
    radial-gradient(55% 60% at 0% 100%, rgba(9, 22, 150, 0.65), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; min-width: 0; }
.hero-kicker { color: rgba(255, 255, 255, 0.86); animation: fadeUp 0.7s var(--ease-out) 0.15s both; }
.kicker-dot { width: 10px; height: 10px; background: var(--tape); flex: none; }
.hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(4.4rem, 15.5vw, 13.6rem);
  line-height: 0.84;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.hero-title .ln { display: block; }
.hero-title .ln-1 { overflow: hidden; padding-block: 0.03em; }
.hero-title .ln-1 > span { display: inline-block; animation: rise 0.9s var(--ease-out) 0.2s both; }
.hero-title .ln-2 { margin-top: 0.06em; }
.tape-word {
  display: inline-block;
  padding: 0.04em 0.14em 0;
  background-color: var(--tape);
  background-image: repeating-linear-gradient(90deg, rgba(15, 15, 18, 0.035) 0 2px, transparent 2px 7px);
  color: var(--ink);
  transform: rotate(-2.2deg);
  transform-origin: left center;
  animation: tapeOn 0.6s var(--ease-out) 0.65s both;
}
.hero-sub {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  animation: fadeUp 0.8s var(--ease-out) 1s both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp 0.8s var(--ease-out) 1.15s both; }

/* The shipping label: prints line by line, then gets stamped */
.label-slot { display: grid; justify-items: center; padding-block: 4px 24px; min-width: 0; }
.slot {
  position: relative;
  z-index: 2;
  width: min(100%, 452px);
  height: 12px;
  background: var(--ink);
  border: var(--rule) solid var(--ink);
  box-shadow: inset 0 -3px 0 #2b2b33;
}
.slot-status {
  position: absolute;
  right: 0; bottom: calc(100% + 8px);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.slot-status span { position: absolute; right: 0; bottom: 0; white-space: nowrap; }
.slot-status .s-printing { animation: hideAt 0.01s linear 1.75s both; }
.slot-status .s-done { animation: showAt 0.01s linear 1.75s both; }
.label {
  position: relative;
  width: min(100% - 16px, 420px);
  margin-top: -6px;
  background: var(--label);
  color: var(--ink);
  border: var(--rule) solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  transform: rotate(2.2deg);
  transform-origin: top center;
  animation: print 1.1s steps(14) 0.55s both, tilt 0.55s var(--ease-bounce) 1.7s both;
}
.label-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.label-row {
  display: grid;
  grid-template-columns: 6.8em minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1.5px dashed var(--ink);
}
.label-row .k { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.label-row .v {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
}
.label-split { display: grid; grid-template-columns: 1fr 1fr; }
.label-split .label-row { grid-template-columns: 1fr; gap: 4px; }
.label-split .label-row:first-child { border-right: 1.5px dashed var(--ink); }
.barcode {
  height: 58px;
  margin: 14px 14px 6px;
  background:
    linear-gradient(90deg,
      var(--ink) 0 3px, transparent 3px 5px, var(--ink) 5px 6px, transparent 6px 9px,
      var(--ink) 9px 13px, transparent 13px 14px, var(--ink) 14px 15px, transparent 15px 18px,
      var(--ink) 18px 20px, transparent 20px 21px, var(--ink) 21px 24px, transparent 24px 27px,
      var(--ink) 27px 28px, transparent 28px 30px, var(--ink) 30px 34px, transparent 34px 35px,
      var(--ink) 35px 36px, transparent 36px 40px, var(--ink) 40px 42px, transparent 42px 43px,
      var(--ink) 43px 44px, transparent 44px 47px) 0 0 / 47px 100% repeat-x;
}
.barcode-num { text-align: center; letter-spacing: 0.32em; font-size: 0.64rem; padding-bottom: 12px; }
.stamp {
  position: absolute;
  right: -12px;
  bottom: 34px;
  padding: 0.08em 0.4em 0;
  font-family: var(--stencil);
  font-weight: 800;
  font-size: 2.3rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--cobalt);
  border: 3px solid currentColor;
  outline: 1.5px solid currentColor;
  outline-offset: 3px;
  transform: rotate(-13deg);
  mix-blend-mode: multiply;
  -webkit-mask-image: repeating-radial-gradient(circle at 30% 40%, #000 0 2px, rgba(0, 0, 0, 0.8) 2px 3px);
  mask-image: repeating-radial-gradient(circle at 30% 40%, #000 0 2px, rgba(0, 0, 0, 0.8) 2px 3px);
  animation: stampIn 0.42s var(--ease-bounce) 2.05s both;
}

/* Packing-tape marquee */
.tape {
  position: relative;
  margin: clamp(48px, 7vw, 88px) -6vw 18px;
  transform: rotate(-2deg);
  background: var(--tape);
  color: var(--ink);
  border-block: var(--rule) solid var(--ink);
  overflow: hidden;
  animation: fadeUp 0.8s var(--ease-out) 1.3s both;
}
.tape-track {
  display: flex;
  width: max-content;
  padding-block: 0.45em 0.35em;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
}
.tape-track span, .tape-track i { padding-inline: 0.55em; font-style: normal; }

/* ---------- Promises ---------- */
.promises {
  padding-block: clamp(56px, 8vw, 104px);
  background: radial-gradient(circle at 1px 1px, rgba(15, 15, 18, 0.13) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--paper);
}
.promise-grid {
  display: grid;
  gap: var(--rule);
  background: var(--ink);
  border: var(--rule) solid var(--ink);
}
.promise {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(22px, 3vw, 36px);
  background: var(--label);
  transition: background-color 0.18s, color 0.18s;
}
.promise .kicker { color: var(--cobalt); }
.promise h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.promise p { color: var(--ink-soft); }
@media (hover: hover) {
  .promise:hover { background: var(--ink); color: var(--on-dark); }
  .promise:hover .kicker { color: var(--tape); }
  .promise:hover p { color: var(--on-dark-soft); }
}

/* ---------- Section head ---------- */
.section-head {
  display: grid;
  gap: 14px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head .kicker { color: var(--cobalt); }

/* ---------- Projects (shipments) ---------- */
.ships {
  padding-block: clamp(72px, 10vw, 140px);
  border-top: var(--rule) solid var(--ink);
  background: radial-gradient(circle at 1px 1px, rgba(15, 15, 18, 0.13) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--paper);
}
.ship-list { display: grid; gap: clamp(28px, 4vw, 48px); }
.ship {
  display: grid;
  border: var(--rule) solid var(--ink);
  background: var(--label);
}
.ship-visual {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(18px, 4vw, 56px);
  border-bottom: var(--rule) solid var(--ink);
}
.ship-cobalt .ship-visual {
  background-color: var(--cobalt);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
}
.ship-tape .ship-visual {
  background-color: var(--tape);
  background-image: repeating-linear-gradient(-45deg, rgba(15, 15, 18, 0.07) 0 14px, transparent 14px 28px);
}
.ship-ink .ship-visual {
  background-color: var(--ink);
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.16) 1px, transparent 1.5px);
  background-size: 18px 18px;
}
.ship-data { display: grid; gap: 18px; align-content: start; justify-items: start; padding: clamp(22px, 3vw, 40px); min-width: 0; }
.ship-top {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1.5px dashed var(--ink);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ship-stamp {
  padding: 0.45em 0.7em 0.35em;
  color: var(--cobalt);
  border: var(--rule) solid currentColor;
  font-weight: 500;
  transform: rotate(-3deg);
}
.ship-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 0.88;
  text-transform: uppercase;
}
.ship-desc { color: var(--ink-soft); max-width: 46ch; }
.ship-rows { width: 100%; display: grid; }
.ship-rows div {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 12px;
  padding-block: 10px;
  border-top: 1.5px solid var(--line-soft);
}
.ship-rows dt { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); padding-top: 0.3em; }
.ship-rows dd { margin: 0; }

/* ---------- Mockups (illustrated previews) ---------- */
.mock {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  container-type: inline-size;
  background: #ffffff;
  border: var(--rule) solid var(--ink);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
@media (hover: hover) {
  .ship:hover .mock { transform: translate(-6px, -6px); box-shadow: 8px 8px 0 var(--ink); }
  .ship-ink:hover .mock { box-shadow: 8px 8px 0 var(--tape); }
}
.mock-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 10px;
  font-size: 1.55cqw;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}
.mock-ui b { font-weight: 700; }
.mock-ui i { font-style: normal; }
.mock-bar {
  flex: none;
  height: 3.4em;
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0 1.2em;
  background: #ecebe6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.mock-bar > i { width: 0.85em; height: 0.85em; border-radius: 50%; background: #cfcdc6; }
.mock-url {
  margin-inline: auto;
  padding: 0.3em 1.6em;
  border-radius: 99px;
  background: #ffffff;
  color: #85848b;
  font-size: 0.9em;
  transform: translateX(-1.5em);
}
.mock-screen { flex: 1; position: relative; overflow: hidden; min-height: 0; }

/* Real screenshots: the full page scrolls inside the frame on hover / tap */
.mock-screen { container-type: size; background: #ffffff; }
.mock-shot {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
  max-width: none;
  transform: translateY(0);
  transition: transform 1.1s var(--ease-out);
}
#p-lexi { --scroll-dur: 6s; }
#p-savialoe { --scroll-dur: 5s; }
#p-sanfelect { --scroll-dur: 4.5s; }
.mock.is-scrolling .mock-shot {
  transform: translateY(calc(-100% + 100cqh));
  transition: transform var(--scroll-dur, 6s) cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
@media (hover: hover) {
  .mock:hover .mock-shot {
    transform: translateY(calc(-100% + 100cqh));
    transition: transform var(--scroll-dur, 6s) cubic-bezier(0.45, 0.05, 0.55, 0.95);
  }
}
.shot-hint {
  justify-self: center;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ship-cobalt .shot-hint { color: rgba(255, 255, 255, 0.85); }
.ship-tape .shot-hint { color: var(--ink); }
.ship-ink .shot-hint { color: var(--on-dark-soft); }
.shot-hint .hint-touch { display: none; }
@media (hover: none) {
  .shot-hint .hint-hover { display: none; }
  .shot-hint .hint-touch { display: inline; }
}

/* ---------- Solutions (cards) ---------- */
.l-web   { --sol: var(--web);   --sol-tint: var(--web-tint);   --sol-on: var(--web-on); }
.l-food  { --sol: var(--food);  --sol-tint: var(--food-tint);  --sol-on: var(--food-on); }
.l-apps  { --sol: var(--apps);  --sol-tint: var(--apps-tint);  --sol-on: var(--apps-on); }
.l-rutas { --sol: var(--rutas); --sol-tint: var(--rutas-tint); --sol-on: var(--rutas-on); }

.solutions {
  padding-block: clamp(72px, 10vw, 140px);
  border-top: var(--rule) solid var(--ink);
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(90deg, rgba(15, 15, 18, 0.05) 0 1px, transparent 1px 88px);
}
.sol-grid { display: grid; gap: 18px; }
.sol-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3vw, 36px);
  background: var(--sol-tint);
  color: var(--ink);
  border: var(--rule) solid var(--ink);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background-color 0.2s, color 0.2s;
}
.sol-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sol-icon {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  flex: none;
  background: var(--label);
  border: var(--rule) solid var(--ink);
}
.sol-icon svg { width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.sol-icon .ic-fill { fill: var(--sol); }
.sol-icon .ic-bg { fill: var(--label); }
.sol-code {
  padding: 0.45em 0.65em 0.35em;
  border: 1.5px solid currentColor;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sol-card-title {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  line-height: 0.88;
  text-transform: uppercase;
}
.sol-card-text { color: var(--ink-soft); font-size: 1.08rem; max-width: 34ch; transition: color 0.2s; }
.sol-card-cta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1.5px solid currentColor;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.sol-card:focus-visible { outline-offset: 4px; }
@media (hover: hover) {
  .sol-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); background: var(--sol); color: var(--sol-on); }
  .sol-card:hover .sol-card-text { color: inherit; }
}
.included { display: grid; gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.included .kicker { color: var(--ink); }
.included-list { display: flex; flex-wrap: wrap; gap: 10px; }
.included-list li, .fit-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.6em 0.9em;
  border: var(--rule) solid var(--ink);
  background: var(--label);
  font-size: 0.95rem;
  font-weight: 500;
}
.included-list li::before { content: "✓"; color: var(--cobalt); font-weight: 700; }

/* ---------- Solution pages ---------- */
.sol-page .nav:not(.is-scrolled) { color: var(--sol-on); }
.sol-page.menu-open .nav { color: var(--sol-on); }
.sol-page .menu { background-color: var(--sol); color: var(--sol-on); }
.sol-page .menu-links a { border-bottom-color: color-mix(in srgb, currentColor 30%, transparent); }
.sol-page .menu-links a:hover { color: inherit; background: color-mix(in srgb, currentColor 12%, transparent); }
.menu-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }

.sol-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--sol-on);
  padding-block: calc(var(--nav-h) + 28px + env(safe-area-inset-top, 0px)) clamp(56px, 8vw, 96px);
  background-color: var(--sol);
  background-image:
    linear-gradient(color-mix(in srgb, currentColor 10%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, currentColor 10%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
}
.sol-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 5vw, 56px);
  animation: fadeUp 0.6s var(--ease-out) 0.1s both;
}
.sol-tabs a {
  padding: 0.6em 0.85em 0.5em;
  border: var(--rule) solid currentColor;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.15s, color 0.15s;
}
.sol-tabs a:hover { background: color-mix(in srgb, currentColor 14%, transparent); }
.sol-tabs a[aria-current="page"] { background: var(--sol-on); color: var(--sol); }
.sol-hero-grid { display: grid; gap: 48px; align-items: center; }
.sol-hero .hero-kicker { color: inherit; opacity: 0.9; }
.sol-title { font-size: clamp(4rem, 13vw, 11.5rem); }
.sol-tagline {
  max-width: 26ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1;
  text-transform: uppercase;
  animation: fadeUp 0.8s var(--ease-out) 0.9s both;
}
.sol-hero .hero-sub { color: inherit; opacity: 0.92; }
.btn-outline-current { border-color: currentColor; color: inherit; }
@media (hover: hover) {
  .btn-outline-current:hover { background: var(--sol-on); color: var(--sol); border-color: var(--sol-on); }
}
.sol-visual { display: grid; justify-items: center; min-width: 0; animation: fadeUp 0.9s var(--ease-out) 0.6s both; }
.sol-visual .mock { --scroll-dur: 5s; box-shadow: 10px 10px 0 var(--ink); }
.sol-visual .shot-hint { color: inherit; }
.sol-visual--stack { position: relative; padding-top: 4%; }
.stack-back { position: absolute; top: 0; left: 0; width: 80%; transform: rotate(-3deg); }
.stack-front { position: relative; width: 80%; margin: 14% 0 0 20%; }
.sol-visual--stack .shot-hint { justify-self: end; }

/* Food: phone with a digital menu (illustration) */
.phone-mock {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 9 / 18;
  border: 3px solid var(--ink);
  border-radius: 30px;
  overflow: hidden;
  background: #fff8f3;
  box-shadow: 10px 10px 0 var(--ink);
  container-type: inline-size;
}
.pm-ui { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: var(--sans); font-size: 14px; font-size: 4.3cqw; line-height: 1.2; color: #2a1a14; }
.pm-ui b, .pm-ui i, .pm-ui em { font-style: normal; }
.pm-notch { flex: none; height: 2.3em; display: flex; justify-content: center; align-items: center; background: var(--food); }
.pm-notch i { width: 30%; height: 0.9em; border-radius: 99px; background: var(--ink); }
.pm-head { padding: 0.3em 1.1em 1em; background: var(--food); color: var(--ink); }
.pm-head b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.9em; line-height: 0.95; text-transform: uppercase; }
.pm-head span { font-size: 0.78em; font-weight: 700; }
.pm-tabs { display: flex; gap: 0.45em; padding: 0.9em 1.1em 0.7em; white-space: nowrap; overflow: hidden; }
.pm-tabs span { padding: 0.35em 0.8em; border: 1.5px solid var(--ink); border-radius: 99px; font-size: 0.78em; font-weight: 700; }
.pm-tabs .on { background: var(--ink); color: #ffffff; }
.pm-list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0.55em; padding: 0 1.1em; }
.pm-item { display: grid; grid-template-columns: 3.1em minmax(0, 1fr) auto; gap: 0.7em; align-items: center; padding: 0.55em; border: 1.5px solid rgba(42, 26, 20, 0.14); border-radius: 0.8em; background: #ffffff; }
.pm-pic { display: block; width: 3.1em; height: 3.1em; border-radius: 0.6em; }
.pm-pic.p1 { background: linear-gradient(180deg, #f2cf86 0 26%, #7cc46c 26% 44%, #e4553d 44% 60%, #fff1c2 60% 74%, #d8984f 74%); }
.pm-pic.p2 { background: radial-gradient(circle at 50% 60%, #8ccf6a 0 22%, transparent 23%), linear-gradient(180deg, #e9b46b 0 30%, #8a4b2a 30% 62%, #e9b46b 62%); }
.pm-pic.p3 { background: radial-gradient(120% 90% at 50% 100%, #e2a55c 0 55%, #c98436 56% 62%, #fff4e4 63%); }
.pm-pic.p4 { background: repeating-linear-gradient(80deg, #f6c74a 0 6px, #e7a826 6px 9px, #fff4d6 9px 11px); }
.pm-txt { min-width: 0; }
.pm-txt b { display: block; font-size: 0.95em; font-weight: 700; }
.pm-txt small { display: block; font-size: 0.72em; color: #7a6a63; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-txt em { display: block; margin-top: 0.15em; font-size: 0.88em; font-weight: 700; }
.pm-add { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; border: 1.5px solid var(--ink); font-weight: 800; }
.pm-add.is-on { background: var(--ink); color: #ffffff; }
.pm-cart { display: flex; justify-content: space-between; align-items: center; gap: 0.6em; margin: 0.9em 1.1em 1.3em; padding: 0.85em 1em; border-radius: 0.8em; background: var(--wa); color: var(--ink); font-size: 0.82em; font-weight: 700; }

/* Rutas: departures board (illustration) */
.board {
  width: 100%;
  max-width: 540px;
  background: var(--ink);
  color: var(--on-dark);
  border: var(--rule) solid var(--ink);
  box-shadow: 10px 10px 0 rgba(15, 15, 18, 0.55);
}
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: var(--rule) solid rgba(244, 244, 240, 0.15); }
.board-head b { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; text-transform: uppercase; color: var(--tape); }
.board-head span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-soft); }
.board-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1.5px dashed rgba(244, 244, 240, 0.18);
  animation: fadeUp 0.5s var(--ease-out) both;
}
.board-row:nth-child(2) { animation-delay: 0.9s; }
.board-row:nth-child(3) { animation-delay: 1.02s; }
.board-row:nth-child(4) { animation-delay: 1.14s; }
.board-row:nth-child(5) { animation-delay: 1.26s; }
.board-row b { padding: 0.2em 0.35em; background: #1f1f25; color: var(--tape); font-family: var(--mono); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.06em; }
.board-row span { font-weight: 700; min-width: 0; }
.board-row em { font-style: normal; padding: 0.4em 0.6em 0.3em; border: 1.5px solid currentColor; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.board-row .ok { color: #5fe3a1; }
.board-row .low { color: var(--tape); }
.board-row .full { color: #ff8f78; }
.board-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; }
.board-foot span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-soft); }
.board-foot b { padding: 0.7em 1em 0.6em; background: var(--rutas); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; }

/* Feature grid */
.feats {
  padding-block: clamp(72px, 10vw, 140px);
  border-top: var(--rule) solid var(--ink);
  background: radial-gradient(circle at 1px 1px, rgba(15, 15, 18, 0.13) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--paper);
}
.feat-grid { display: grid; gap: var(--rule); background: var(--ink); border: var(--rule) solid var(--ink); }
.feat { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 3vw, 32px); background: var(--label); }
.feat::before { content: ""; width: 18px; height: 18px; background: var(--sol); border: var(--rule) solid var(--ink); }
.feat h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 0.95; text-transform: uppercase; }
.feat p { color: var(--ink-soft); }

/* Ideal para */
.fits { padding-block: clamp(56px, 8vw, 96px); border-top: var(--rule) solid var(--ink); background: var(--sol-tint); }
.fits-grid { display: grid; gap: 24px 64px; align-items: center; }
.fits-title { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.9; text-transform: uppercase; }
.fit-list { display: flex; flex-wrap: wrap; gap: 10px; }
.fit-list li::before { content: ""; width: 9px; height: 9px; background: var(--sol); border: 1.5px solid var(--ink); }

/* Examples */
.examples {
  padding-block: clamp(72px, 10vw, 140px);
  border-top: var(--rule) solid var(--ink);
  background: radial-gradient(circle at 1px 1px, rgba(15, 15, 18, 0.13) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--paper);
}
.ex-grid { display: grid; gap: 18px; }
.ex-card { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 3vw, 34px); background: var(--label); border: var(--rule) solid var(--ink); }
.ex-name { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 0.9; text-transform: uppercase; }
.ex-card > p { color: var(--ink-soft); max-width: 52ch; }
.ex-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ex-more { font-weight: 700; padding: 0.2em 0.35em; transition: background-color 0.15s; }
.ex-more:hover { background: var(--tape); }
.ex-empty {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: clamp(26px, 4vw, 48px);
  border: var(--rule) dashed var(--ink);
  background: var(--label);
}
.ex-empty p { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1; text-transform: uppercase; max-width: 30ch; }

/* Quote band */
.sol-cta {
  padding-block: clamp(72px, 10vw, 130px);
  border-top: var(--rule) solid var(--ink);
  color: #ffffff;
  background-color: var(--cobalt);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
}
.sol-cta .kicker { color: var(--tape); }
.sol-cta-grid { display: grid; gap: 32px 72px; align-items: end; }
.sol-cta-side { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.solutions--others { background-color: var(--paper); }

/* Footer solution links */
.footer-sols { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 28px; }
.footer-sols a { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.7rem); text-transform: uppercase; transition: color 0.15s; }
.footer-sols a:hover { color: var(--tape); }

@media (min-width: 720px) {
  .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .sol-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sol-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fits-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .sol-cta-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .track-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Process (tracking) ---------- */
.track {
  padding-block: clamp(72px, 10vw, 140px);
  border-top: var(--rule) solid var(--ink);
  background-color: var(--ink);
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 1.5px);
  background-size: 22px 22px;
  color: var(--on-dark);
}
.track .section-head .kicker { color: var(--tape); }
.track .section-note { color: var(--on-dark-soft); }
.track-list { position: relative; display: grid; padding-left: 44px; }
.track-list::before, .track-list::after {
  content: "";
  position: absolute;
  left: 9px; top: 12px; bottom: 12px;
  width: 3px;
}
.track-list::before { background: rgba(244, 244, 240, 0.22); }
.track-list::after { background: var(--tape); transform-origin: top; }
.track-step { position: relative; display: grid; gap: 8px; align-content: start; padding-bottom: 40px; }
.track-step:last-child { padding-bottom: 0; }
.track-dot {
  position: absolute;
  left: -44px; top: 2px;
  z-index: 1;
  width: 22px; height: 22px;
  background: var(--ink);
  border: 3px solid var(--tape);
}
.track-step:last-child .track-dot { background: var(--tape); }
.track-code { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tape); }
.track-step h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.track-step p { color: var(--on-dark-soft); max-width: 34ch; }
.track-wrap { position: relative; view-timeline: --track block; }
.track-box { display: none; }
@supports (animation-timeline: view()) {
  .track-list::after {
    animation: railY linear both;
    animation-timeline: --track;
    animation-range: entry 25% cover 60%;
  }
  /* A little package travels along the tracking line as you scroll */
  .track-box {
    display: block;
    position: absolute;
    z-index: 3;
    left: -4px; top: -2px;
    width: 28px; height: 28px;
    /* a taped-up package: yellow box with a cross of packing tape */
    background:
      linear-gradient(var(--ink), var(--ink)) center / 4px 100% no-repeat,
      linear-gradient(var(--ink), var(--ink)) center / 100% 4px no-repeat,
      var(--tape);
    border: 2px solid var(--tape);
    box-shadow: 0 0 0 3px var(--ink), 0 0 18px 2px rgba(255, 212, 0, 0.45);
    animation: boxY linear both;
    animation-timeline: --track;
    animation-range: entry 25% cover 60%;
  }
}

/* ---------- FAQ ---------- */
.faq {
  padding-block: clamp(72px, 10vw, 140px);
  border-top: var(--rule) solid var(--ink);
  background: radial-gradient(circle at 1px 1px, rgba(15, 15, 18, 0.13) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--paper);
}
.faq-grid { display: grid; gap: 32px 64px; align-items: start; }
.faq-head { display: grid; gap: 14px; }
.faq-head .kicker { color: var(--cobalt); }
.faq-list { border: var(--rule) solid var(--ink); background: var(--label); min-width: 0; }
.faq-item + .faq-item { border-top: var(--rule) solid var(--ink); }
.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 64px 20px 22px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 700;
  transition: background-color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary::before, .faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 16px; height: 2.5px;
  margin-top: -1.25px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item[open] summary { background: var(--tape); }
@media (hover: hover) { .faq-item summary:hover { background: var(--tape); } }
.faq-a { padding: 4px 22px 22px; }
.faq-item[open] .faq-a { padding-top: 16px; }
.faq-a p { color: var(--ink-soft); max-width: 62ch; }
@supports (interpolate-size: allow-keywords) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    block-size: 0;
    overflow-y: clip;
    transition: block-size 0.45s var(--ease-out), content-visibility 0.45s var(--ease-out) allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; }
}

/* ---------- Contact ---------- */
.contact {
  padding-block: clamp(80px, 11vw, 150px);
  border-top: var(--rule) solid var(--ink);
  color: #ffffff;
  background-color: var(--cobalt);
  background-image:
    radial-gradient(60% 70% at 100% 100%, rgba(9, 22, 150, 0.6), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
.contact-grid { display: grid; gap: 48px 72px; align-items: start; }
.contact-copy { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.contact-copy .kicker { color: var(--tape); }
.contact-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.4rem, 9vw, 8.4rem);
  line-height: 0.86;
  text-transform: uppercase;
}
.contact-text { max-width: 40ch; font-size: 1.08rem; color: rgba(255, 255, 255, 0.9); }
.phone-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; max-width: 100%; }
.phone {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0.06em 0.12em 0;
  margin-left: -0.12em;
  background: linear-gradient(var(--tape), var(--tape)) 0 100% / 0 100% no-repeat;
  transition: background-size 0.3s var(--ease-out), color 0.2s;
}
.phone:hover, .phone:focus-visible { background-size: 100% 100%; color: var(--ink); }
.copy-btn {
  min-height: 40px;
  padding: 0 0.9rem;
  border: var(--rule) solid #ffffff;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.15s, color 0.15s;
}
.copy-btn:hover { background: #ffffff; color: var(--cobalt); }

.order {
  display: grid;
  gap: 20px;
  padding: 0 0 clamp(20px, 3vw, 30px);
  background: var(--label);
  color: var(--ink);
  border: var(--rule) solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  min-width: 0;
}
.order > *:not(.order-head) { margin-inline: clamp(18px, 3vw, 30px); }
.order > .btn-block {
  width: auto;
  min-width: 0;
  padding-block: 0.75em;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}
.order-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(18px, 3vw, 30px);
  background: var(--ink);
  color: var(--label);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field { display: grid; gap: 8px; }
.field label, .field legend {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field legend { margin-bottom: 8px; }
.opt { color: var(--mute); text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
  width: 100%;
  padding: 0.8em 0.9em;
  border: var(--rule) solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  transition: box-shadow 0.15s, border-color 0.15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #8b8a90; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 4px 4px 0 var(--cobalt); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block;
  padding: 0.55em 0.9em;
  border: var(--rule) solid var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  transition: background-color 0.15s, color 0.15s;
}
.chip:hover span { background: var(--paper-2); }
.chip input:checked + span { background: var(--ink); color: var(--tape); }
.chip input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.form-note { font-size: 0.85rem; color: var(--mute); text-align: center; }

/* ---------- Footer ---------- */
.footer {
  padding-block: clamp(48px, 7vw, 88px) calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: var(--rule) solid var(--ink);
  background: var(--ink);
  color: var(--on-dark);
  overflow-x: clip;
}
.footer-mark {
  display: flex;
  align-items: flex-start;
  gap: 0.06em;
  font-family: var(--stencil);
  font-weight: 800;
  font-size: clamp(5rem, 24vw, 21rem);
  line-height: 0.78;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--tape);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.footer-mark span {
  font-family: var(--mono);
  font-size: 0.1em;
  line-height: 1;
  letter-spacing: 0.1em;
  padding: 0.35em 0.5em;
  border: var(--rule) solid currentColor;
  color: var(--on-dark);
  margin-top: 0.2em;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 32px;
  padding-top: 20px;
  border-top: var(--rule) solid rgba(244, 244, 240, 0.25);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a:hover { color: var(--tape); }

/* ---------- Floating WhatsApp ---------- */
.wa-glyph { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.wa-float {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: flex;
  align-items: stretch;
  border: var(--rule) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  animation: popIn 0.5s var(--ease-bounce) 2.4s backwards;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), opacity 0.25s, visibility 0s;
}
.wa-float-icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  background: var(--wa);
  color: #ffffff;
}
.wa-float-icon .wa-glyph { width: 32px; height: 32px; }
.wa-float-label {
  display: none;
  align-items: center;
  padding: 0 1rem;
  background: var(--tape);
  color: var(--ink);
  border-right: var(--rule) solid var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (hover: hover) {
  .wa-float:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
}
.wa-float:active { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.wa-float.is-hidden, body.menu-open .wa-float {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  transition: transform 0.25s var(--ease-out), opacity 0.25s, visibility 0s linear 0.25s;
}

/* =============================================================
   7. Effects
   ============================================================= */
/* Scroll reveal: starts readable (never invisible) and settles in */
html.js [data-reveal]:not(.is-revealed) { opacity: 0.3; transform: translateY(28px); }
/* While arriving, use the reveal timing (with a stagger delay); once settled, each element keeps its own hover transitions */
html.js [data-reveal]:not(.is-settled) {
  transition: opacity 0.7s var(--ease-soft) var(--rd, 0ms), transform 0.8s var(--ease-out) var(--rd, 0ms);
}
/* Tags are stuck on one by one once their block arrives */
html.reveal-ready [data-reveal]:not(.is-revealed) .included-list li,
html.reveal-ready .fit-list[data-reveal]:not(.is-revealed) li { opacity: 0; transform: translateY(12px) rotate(-3deg); }
html.reveal-ready .included-list li, html.reveal-ready .fit-list li {
  transition: opacity 0.35s var(--ease-soft), transform 0.5s var(--ease-bounce);
  transition-delay: calc(var(--i, 0) * 70ms + 200ms);
}
/* Defensive: split-text elements must never stay hidden */
.reveal[data-split] { opacity: 1; transform: none; }

/* Section titles get a strip of packing tape that is laid down on reveal */
[data-reveal] .section-title::after {
  content: "";
  display: block;
  width: min(1.5em, 70%);
  height: 0.13em;
  margin-top: 0.14em;
  background-color: var(--tape);
  background-image: repeating-linear-gradient(90deg, rgba(15, 15, 18, 0.06) 0 2px, transparent 2px 7px);
  transform: rotate(-1.2deg) scaleX(1);
  transform-origin: left center;
  transition: transform 0.7s var(--ease-out) 0.25s;
}
html.js [data-reveal]:not(.is-revealed) .section-title::after { transform: rotate(-1.2deg) scaleX(0); }

/* Logo: the arrow nudges forward and the speed lines run on hover */
.brand-mark .arrow, .brand-mark .speed { transform-box: fill-box; transition: transform 0.25s var(--ease-out); }
.brand-mark .speed { stroke-dasharray: 3 1.6; }
@media (hover: hover) {
  .brand:hover .brand-mark .arrow { transform: translateX(2px); }
  .brand:hover .brand-mark .speed { animation: speedRun 0.45s linear infinite; }
}

/* Solution icons come alive on hover */
.sol-icon svg * { transform-box: fill-box; transform-origin: center; }
@media (hover: hover) {
  .sol-card:hover .ic-cursor { animation: icClick 0.9s var(--ease-out) infinite; }
  .sol-card:hover .ic-steam { animation: icSteam 1.1s ease-in-out infinite; }
  .sol-card:hover .ic-pop { animation: icPop 1s var(--ease-bounce) infinite; }
  .sol-card:hover .ic-plus { animation: icSpin 1s var(--ease-out) infinite; }
  .sol-card:hover .ic-bus { animation: icBus 0.4s ease-in-out infinite alternate; }
}

/* Hero label: the barcode gets scanned a few times after the stamp lands */
.barcode { position: relative; overflow: hidden; }
.barcode::after {
  content: "";
  position: absolute;
  left: -6px; right: -6px; top: 0;
  height: 3px;
  background: #ff3b30;
  box-shadow: 0 0 10px 2px rgba(255, 59, 48, 0.55);
  opacity: 0;
  animation: scan 1.5s ease-in-out 2.7s 3 both;
}

/* Solution pages: the hero illustrations tell their story */
.stack-back { animation: dealBack 0.8s var(--ease-out) 0.55s both; }
.stack-front { animation: dealFront 0.8s var(--ease-out) 0.75s both; }
.pm-item { animation: fadeUp 0.5s var(--ease-out) both; }
.pm-item:nth-child(1) { animation-delay: 0.8s; }
.pm-item:nth-child(2) { animation-delay: 0.92s; }
.pm-item:nth-child(3) { animation-delay: 1.04s; }
.pm-item:nth-child(4) { animation-delay: 1.16s; }
.pm-add.is-on { animation: popBadge 0.45s var(--ease-bounce) both; }
.pm-item:nth-child(1) .pm-add.is-on { animation-delay: 1.5s; }
.pm-item:nth-child(2) .pm-add.is-on { animation-delay: 1.75s; }
.pm-item:nth-child(3) .pm-add.is-on { animation-delay: 2s; }
.pm-cart { animation: cartUp 0.6s var(--ease-bounce) 2.35s both; }
.board { perspective: 600px; }
.board-row b { display: inline-block; transform-origin: 50% 50%; animation: flapIn 0.55s var(--ease-out) both; }
.board-row:nth-child(2) b { animation-delay: 1s; }
.board-row:nth-child(3) b { animation-delay: 1.12s; }
.board-row:nth-child(4) b { animation-delay: 1.24s; }
.board-row:nth-child(5) b { animation-delay: 1.36s; }
.board-row .low { animation: blinkTwice 0.5s steps(1) 2s 4 both; }

/* Page-to-page transition (browsers that support it) */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root) { animation: vtOut 0.25s var(--ease-soft) both; }
::view-transition-new(root) { animation: vtIn 0.45s var(--ease-out) both; }

@keyframes rise { from { transform: translateY(105%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes dropIn { from { transform: translateY(-100%); } }
@keyframes tapeOn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(-80px -80px -80px -80px); } }
@keyframes tilt { from { transform: rotate(0deg); } to { transform: rotate(2.2deg); } }
@keyframes stampIn {
  0% { opacity: 0; transform: rotate(-26deg) scale(2.6); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: rotate(-13deg) scale(1); }
}
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(0.85); } }
@keyframes hideAt { to { opacity: 0; } }
@keyframes showAt { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes railY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes boxY { from { top: -2px; } to { top: calc(100% - 26px); } }
@keyframes boxX { from { left: 0; } to { left: calc(100% - 28px); } }
@keyframes speedRun { to { stroke-dashoffset: -4.6; } }
@keyframes icClick { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-3px, -3px); } 55% { transform: translate(-3px, -3px) scale(0.8); } 70% { transform: translate(-3px, -3px) scale(1); } }
@keyframes icSteam { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-3px); opacity: 0.4; } }
@keyframes icPop { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(0.7) rotate(90deg); } }
@keyframes icSpin { to { transform: rotate(180deg); } }
@keyframes icBus { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes scan { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 50% { top: calc(100% - 3px); } 88% { opacity: 1; } 100% { top: 0; opacity: 0; } }
@keyframes dealBack { from { opacity: 0; transform: translate(-40px, 30px) rotate(-10deg); } }
@keyframes dealFront { from { opacity: 0; transform: translate(60px, 40px) rotate(6deg); } }
@keyframes popBadge { from { transform: scale(0); } 70% { transform: scale(1.25); } }
@keyframes cartUp { from { opacity: 0; transform: translateY(140%); } }
@keyframes flapIn { from { transform: rotateX(-90deg); opacity: 0; } }
@keyframes blinkTwice { 50% { opacity: 0.25; } }
@keyframes vtOut { to { opacity: 0; transform: translateY(-18px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes railX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  body { font-size: 17px; }
  .label { font-size: 0.76rem; }
}

@media (min-width: 720px) {
  .nav-cta { display: inline-flex; margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .promise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wa-float-label { display: flex; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0.6rem; }
  .nav-toggle { display: none; }
  .menu { display: none; }

  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
  .label-slot { padding-top: 24px; }

  .section-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .section-head .kicker { grid-column: 1 / -1; }
  .section-head .section-note { justify-self: end; }

  .ship { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .ship-visual { border-bottom: 0; border-right: var(--rule) solid var(--ink); }
  .ship:nth-child(even) .ship-visual { order: 2; border-right: 0; border-left: var(--rule) solid var(--ink); }
  .ship-data { align-content: center; }

  .track-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-left: 0; padding-top: 48px; }
  .track-list::before, .track-list::after { left: 0; right: 0; top: 10px; bottom: auto; width: auto; height: 3px; }
  .track-list::after { transform-origin: left; }
  .track-dot { left: 0; top: -48px; }
  .track-step { padding-bottom: 0; }

  .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
  .faq-head { position: sticky; top: calc(var(--nav-h) + 24px); }
  .contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}

@media (min-width: 960px) {
  @supports (animation-timeline: view()) {
    .track-list::after { animation-name: railX; }
    .track-box { top: -3px; left: 0; animation-name: boxX; }
  }
}

/* =============================================================
   9. Reduced motion — only the intrusive bits
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape-track { animation-duration: 120s; }
  .barcode::after { animation: none; }
  .board-row .low { animation: none; }
  @view-transition { navigation: none; }
}
