/* Rehman & Sons, live site, premium pass (22/10/2026). The scanner's dark navy now frames every page: a
   glass header, dark page heads with the carton on a dark set, and a dark close. Daylight in between, where the
   papers are read. Tokens follow DESIGN.md. */
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #1C3965; --sky: #459CD2; --skyink: #1F6FA3; --skylight: #8fd3ff; --ice: #d6e4f2;
  --scan: #0A1A30; --deep: #0E1D31; --deep2: #132741;
  --paper: #F6F7F9; --white: #FFFFFF; --ink: #1F2A37; --body-ink: #3A4552; --muted: #5B6876;
  --line: #E1E6EC; --soft: #EEF2F6; --dline: rgba(143, 211, 255, .16);
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px; --gut: clamp(20px, 5vw, 64px); --head: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sec: clamp(64px, 8vw, 128px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; background: var(--paper); color: var(--body-ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--skyink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sky); color: #fff; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.06; letter-spacing: -0.028em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 64ch; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); }
.kicker { display: flex; align-items: center; gap: 12px; font: 700 .76rem/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--skyink); margin: 0 0 18px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }
.lede { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--body-ink); line-height: 1.6; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.credits { font-size: .86rem; color: var(--muted); }
.credits li { margin-bottom: 8px; }

/* proposal strip (removed on the live site) */
.proposal { margin: 0; max-width: none; background: #061223; color: #9fb6cc; font-size: .78rem; text-align: center; padding: 7px 16px; letter-spacing: .01em; }

/* ------------------------------------------------------------------ header: dark glass over every page */
.top { position: sticky; top: 0; z-index: 30; background: rgba(10, 26, 48, .96); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(143, 211, 255, .12); transition: background .3s, box-shadow .3s; }
.top.is-scrolled { background: rgba(10, 26, 48, .94); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .6); }
.top__in { display: flex; align-items: center; gap: 18px; min-height: var(--head); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; margin-right: auto; }
.brand img { width: 52px; height: auto; }
.brand__name { font: 800 1rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; display: grid; gap: 6px; white-space: nowrap; color: #fff; }
.brand__name i { font-style: normal; color: var(--sky); }
.brand__name small { font: 600 .56rem/1 var(--display); letter-spacing: .34em; color: #8fb3d3; }
.brand:hover { color: #fff; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: 10px 10px; font: 500 .86rem/1 var(--body); white-space: nowrap; color: #c9d9ea; text-decoration: none; border-radius: 8px; transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--sky); box-shadow: 0 0 10px rgba(69, 156, 210, .8); }
.menu-btn { display: none; font: 600 .9rem var(--body); color: #fff; background: none; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 9px 18px; min-height: 44px; cursor: pointer; }
@media (max-width: 1260px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .top .btn--quote { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: rgba(10, 26, 48, .98); border-bottom: 1px solid var(--dline); display: none; padding: 8px var(--gut) 24px; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 16px 4px; font-size: 1.08rem; border-bottom: 1px solid var(--dline); border-radius: 0; }
  .nav a[aria-current="page"]::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; }
  .nav a[aria-current="page"] { padding-left: 16px; }
}

/* ------------------------------------------------------------------ buttons */
.btn { position: relative; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; font: 700 .94rem/1 var(--display); letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--quote, .btn--sky { background: var(--sky); color: #04192e; box-shadow: 0 10px 30px -12px rgba(69, 156, 210, .8); }
.btn--quote:hover, .btn--sky:hover { background: #6bb6e4; color: #04192e; }
.btn--quote { min-height: 46px; padding: 0 22px; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 10px 26px -14px rgba(28, 57, 101, .9); }
.btn--primary:hover { background: #10264a; color: #fff; }
.btn--ghost { border-color: rgba(28, 57, 101, .35); color: var(--navy); background: transparent; }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky); color: #04192e; }
.btn--line { border-color: rgba(214, 228, 242, .4); color: #fff; background: rgba(255, 255, 255, .02); }
.btn--line:hover { border-color: #fff; background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.go { font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--sky); padding-bottom: 2px; }
.go::after { content: " \2192"; }

/* ------------------------------------------------------------------ the dark world: shared textures */
.scan, .page-head, .where, .close, .foot { position: relative; isolation: isolate; }
.scan::after, .page-head::after, .close::after, .foot::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--dline) 1px, transparent 1px), linear-gradient(90deg, var(--dline) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(1000px 600px at 75% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(1000px 600px at 75% 30%, #000 0%, transparent 70%);
}
.frame { margin: 0; position: relative; border-radius: 20px; overflow: hidden; background: var(--deep); box-shadow: 0 40px 90px -50px rgba(10, 26, 48, .9), 0 0 0 1px rgba(143, 211, 255, .1); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--glow::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(143, 211, 255, .55), rgba(143, 211, 255, 0) 40%, rgba(143, 211, 255, 0) 60%, rgba(143, 211, 255, .35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2; }

/* ------------------------------------------------------------------ the scanner: the home page's first screen */
.scan { background: radial-gradient(1200px 700px at 78% 38%, #15304f 0%, rgba(21, 48, 79, 0) 70%), var(--scan); color: var(--ice); }
.scan__track { height: 210vh; }
.scan__stage { position: sticky; top: var(--head); min-height: calc(100vh - var(--head)); display: grid; align-items: center; padding: clamp(28px, 4vw, 56px) 0; }
.scan__grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); grid-template-areas: "copy scanner" "panel scanner"; column-gap: clamp(28px, 5vw, 80px); row-gap: 26px; align-items: start; }
.scan__copy { grid-area: copy; align-self: end; }
.scan__panel { grid-area: panel; }
.scan h1 { color: #fff; font-size: clamp(2.2rem, 1.2rem + 2.7vw, 3.55rem); margin-bottom: 20px; }
.scan__sub { color: #b9cbe0; font-size: 1.08rem; margin-bottom: 28px; max-width: 54ch; }
.scan .kicker { color: var(--sky); }
.scanner { grid-area: scanner; align-self: center; position: relative; aspect-ratio: 1600 / 1453; border-radius: 22px; overflow: hidden; background: var(--deep); box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .8), 0 0 0 1px rgba(143, 211, 255, .14); }
.scanner picture { position: absolute; inset: 0; display: block; }
.scanner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scanner__x { clip-path: inset(0 calc(100% - var(--cut, 0%)) 0 0); }
.scanner__lines { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--cut, 0%)) 0 0); background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px); pointer-events: none; }
.scanner__beam { position: absolute; top: 0; bottom: 0; left: var(--cut, 0%); width: 2px; margin-left: -1px; background: #e6f6ff; box-shadow: 0 0 22px 5px rgba(69, 156, 210, .75), 0 0 80px 18px rgba(69, 156, 210, .25); pointer-events: none; }
.scanner__beam::before { content: ""; position: absolute; top: 0; bottom: 0; right: 1px; width: 120px; background: linear-gradient(90deg, rgba(69, 156, 210, 0), rgba(69, 156, 210, .16)); }
.scanner__balls { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.scanner__balls li { position: absolute; transform: translate(-50%, -50%) scale(.6); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 .72rem/1 var(--body); color: #06213d; background: var(--skylight); box-shadow: 0 0 0 3px rgba(10, 26, 48, .55), 0 0 16px rgba(143, 211, 255, .6); opacity: 0; transition: opacity .25s, transform .3s var(--ease); font-variant-numeric: tabular-nums; }
.scanner__balls li.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.scanner__tag { position: absolute; left: 16px; top: 14px; font: 600 .68rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #b9cbe0; background: rgba(10, 26, 48, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--dline); padding: 7px 10px; border-radius: 999px; }
.scanner__stamp { position: absolute; left: 24px; bottom: 24px; border: 3px solid var(--skylight); color: var(--skylight); font: 800 .95rem/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-radius: 6px; transform: rotate(-8deg) scale(1.4); opacity: 0; transition: opacity .3s, transform .35s cubic-bezier(.2, 1.6, .4, 1); text-align: center; text-shadow: 0 0 12px rgba(143, 211, 255, .5); }
.scanner.done .scanner__stamp { opacity: 1; transform: rotate(-8deg) scale(1); }
.manifest { background: rgba(255, 255, 255, .035); border: 1px solid var(--dline); border-radius: 14px; padding: 12px 20px; font-size: .94rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.manifest table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.manifest th, .manifest td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--dline); white-space: nowrap; }
.manifest tr:last-child th, .manifest tr:last-child td { border-bottom: 0; }
.manifest th { font-weight: 500; color: #8ea6bf; width: 50%; }
.manifest td { text-align: right; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.manifest .found td { color: var(--skylight); }
.manifest .ok { color: #8ee6b8; }
.slider { margin-top: 14px; display: grid; gap: 6px; }
.slider label { font-size: .84rem; color: #8ea6bf; }
.slider input { width: 100%; accent-color: var(--sky); min-height: 32px; }
@media (max-width: 900px) {
  .scan__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "scanner" "panel"; }
  .scan__track { height: auto; }
  .scan__stage { position: static; min-height: 0; padding: 40px 0 44px; }
  .scanner { aspect-ratio: 1000 / 970; border-radius: 18px; }
  .scanner__balls li { width: 22px; height: 22px; font-size: .64rem; }
}

/* the facts band at the foot of the hero */
.facts-band { border-top: 1px solid var(--dline); background: linear-gradient(180deg, rgba(10, 26, 48, 0), rgba(6, 18, 35, .6)); }
.facts { list-style: none; margin: 0; padding: clamp(28px, 3.5vw, 44px) 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.facts li { display: grid; gap: 8px; align-content: start; padding-left: 18px; border-left: 1px solid var(--dline); }
.facts b { font: 800 clamp(2rem, 1.4rem + 1.8vw, 2.9rem)/1 var(--display); color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.facts span { font-size: .86rem; color: #9fb6cc; line-height: 1.45; max-width: 24ch; }
@media (max-width: 980px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 560px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li:first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ daylight sections */
.sec { padding: var(--sec) 0; }
.sec--white { background: var(--white); }
.sec__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec__head h2 { margin: 0; }
.sec__head .lede { margin: 0; }
@media (max-width: 820px) { .sec__head { grid-template-columns: 1fr; } }

/* how it works: the example job sheet */
.job__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.job h2 { margin-bottom: 18px; }
.job__fig { margin-top: 36px; aspect-ratio: 1200 / 1032; }
.job__fig figcaption { position: absolute; left: 16px; bottom: 14px; font-size: .74rem; color: #9fb6cc; letter-spacing: .02em; }
.sheet { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 50px 90px -60px rgba(28, 57, 101, .55); }
.sheet__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 26px; background: var(--deep); font: 600 .72rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #8ea6bf; }
.sheet__head b { font: 800 1.15rem var(--display); letter-spacing: .03em; color: #fff; }
.sheet__rows { list-style: none; margin: 0; padding: 0; }
.sheet__rows li { display: grid; grid-template-columns: 48px minmax(0, 1fr) 118px; gap: 18px; padding: 24px 26px; border-bottom: 1px solid var(--line); align-items: start; transition: background .25s; }
.sheet__rows li:hover { background: #fafbfc; }
.sheet__rows li:last-child { border-bottom: 0; }
.sheet__n { font: 800 1.45rem/1 var(--display); color: var(--sky); font-variant-numeric: tabular-nums; }
.sheet__rows h3 { margin-bottom: 6px; }
.sheet__rows p { margin: 0; font-size: .95rem; color: var(--body-ink); }
.sheet__doc { font: 700 .7rem/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; padding-top: 4px; }
.sheet__doc--stamp { justify-self: end; border: 2.5px solid var(--skyink); color: var(--skyink); padding: 6px 9px; border-radius: 4px; transform: rotate(-7deg); text-align: center; }
@keyframes press { 0% { opacity: 0; transform: rotate(-7deg) scale(1.8); } 70% { opacity: 1; transform: rotate(-7deg) scale(.94); } 100% { opacity: 1; transform: rotate(-7deg) scale(1); } }
.sheet.in .sheet__doc--stamp { animation: press .45s cubic-bezier(.3, 1.4, .5, 1) .6s both; }
@media (max-width: 900px) { .job__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sheet__rows li { grid-template-columns: 34px minmax(0, 1fr); padding: 20px; } .sheet__doc { grid-column: 2; text-align: left; justify-self: start; } .sheet__head { flex-wrap: wrap; padding: 16px 20px; } .sheet__head b { order: -1; flex-basis: 100%; } }

/* services: numbered lines of a declaration */
.gd { border-top: 2px solid var(--navy); }
.gd__head, .gd__rows a { display: grid; grid-template-columns: 56px 150px minmax(0, 2fr) minmax(0, 3fr) 130px; gap: 24px; align-items: baseline; }
.gd__head { padding: 12px 0; border-bottom: 1px solid var(--line); font: 600 .66rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.gd__rows { list-style: none; margin: 0; padding: 0; }
.gd__rows li { position: relative; }
.gd__rows a { position: relative; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding .35s var(--ease), background .35s; }
.gd__rows a::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--sky); transition: width .5s var(--ease); }
.gd__rows a:hover { padding-left: 14px; background: linear-gradient(90deg, var(--soft), rgba(238, 242, 246, 0)); color: var(--ink); }
.gd__rows a:hover::before { width: 100%; }
.gd__n { font: 800 1.3rem/1 var(--display); color: var(--sky); font-variant-numeric: tabular-nums; }
.gd__code { font: 700 .74rem var(--display); letter-spacing: .14em; color: var(--skyink); }
.gd__name { font: 700 1.14rem/1.25 var(--display); color: var(--navy); letter-spacing: -.01em; }
.gd__desc { font-size: .95rem; color: var(--body-ink); }
.gd__tag { font: 700 .68rem/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; }
.gd__cta { margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
@media (max-width: 900px) {
  .gd__head { display: none; }
  .gd__rows a { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; }
  .gd__code, .gd__name, .gd__desc, .gd__tag { grid-column: 2; }
  .gd__tag { text-align: left; }
  .gd__n { grid-row: 1 / span 4; }
}

/* industries as carton labels, the HS chapter printed large */
.labels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.label { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px 24px; display: grid; align-content: start; gap: 4px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.label::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--sky)); }
.label:hover { transform: translateY(-4px); border-color: #cfd8e2; box-shadow: 0 40px 70px -50px rgba(28, 57, 101, .6); }
.label__n { position: absolute; right: 16px; bottom: -14px; font: 800 5.6rem/1 var(--display); letter-spacing: -.05em; color: #eef2f6; transition: color .4s; pointer-events: none; }
.label:hover .label__n { color: #dcebf7; }
.label { min-height: 280px; padding-bottom: 72px; }
.label::after { content: ""; position: absolute; top: 0; bottom: 0; left: -2px; width: 2px; background: #e6f6ff; box-shadow: 0 0 18px 4px rgba(69, 156, 210, .55); opacity: 0; pointer-events: none; }
.label:hover::after { animation: labelscan .9s cubic-bezier(.5, 0, .3, 1); }
@keyframes labelscan { 0% { left: -2px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.label__k { font: 600 .66rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.label__k:first-of-type { margin-top: 0; }
.label__t { font: 800 1.12rem/1.2 var(--display); color: var(--navy); text-transform: uppercase; letter-spacing: .01em; margin: 0; }
.label > * { position: relative; }
.label .label__n { position: absolute; }
.label__d { margin: 8px 0 0; font-size: .95rem; color: var(--body-ink); }
.label__hs { margin: 4px 0 0; font: 800 clamp(2rem, 1.5rem + 1.2vw, 2.6rem)/1 var(--display); color: var(--navy); letter-spacing: -.03em; display: flex; align-items: baseline; gap: .22em; flex-wrap: wrap; }
.label__hs i { font-style: normal; font-size: .42em; font-weight: 700; color: var(--sky); letter-spacing: .02em; text-transform: uppercase; }
.label__v { margin: 14px 0 0; font-size: .84rem; line-height: 1.45; color: var(--skyink); font-weight: 600; }
.labels__note { margin-top: 18px; font-size: .84rem; color: var(--muted); }
@media (max-width: 980px) { .labels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .labels { grid-template-columns: 1fr; } }

/* destinations and reasons, printed like the marks on a carton */
.marks { position: relative; border: 1.5px solid var(--navy); border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #fff; }
.marks__strip { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px clamp(24px, 3vw, 44px); background: var(--deep); color: #b9cbe0; font: 700 .7rem var(--display); letter-spacing: .18em; text-transform: uppercase; }
.marks__col { padding: clamp(26px, 3.4vw, 48px); }
.marks__col + .marks__col { border-left: 1px solid var(--line); }
.marks h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin-bottom: 24px; }
.marks__dl { margin: 0; }
.marks__dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.marks__dl dt { font: 700 .74rem/1.6 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.marks__dl dd { margin: 0; font-size: .98rem; }
.marks--one { grid-template-columns: minmax(0, 1fr); align-self: start; position: sticky; top: calc(var(--head) + 24px); }
.marks--one .marks__dl div { grid-template-columns: 110px minmax(0, 1fr); }
@media (max-width: 900px) { .marks { grid-template-columns: 1fr; } .marks__col + .marks__col { border-left: 0; border-top: 1px solid var(--line); } .marks--one { position: static; } }
@media (max-width: 440px) { .marks__dl div { grid-template-columns: 1fr; gap: 2px; } .marks--one .marks__dl div { grid-template-columns: 1fr; } }

/* where we work: a departures board over the port */
.where { background: var(--scan); color: var(--ice); overflow: hidden; }
.where__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: -2; }
.where::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 26, 48, .25) 0%, rgba(10, 26, 48, .88) 50%, var(--scan) 100%); }
.where__body { padding-block: clamp(140px, 18vw, 240px) clamp(56px, 7vw, 96px); }
.where h2 { color: #fff; margin-bottom: 8px; }
.where .kicker { color: var(--skylight); }
.board { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: clamp(20px, 3vw, 48px); margin-top: 40px; }
.board h3 { color: var(--skylight); font: 700 .74rem var(--display); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.board ul { list-style: none; margin: 0; padding: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--dline); background: rgba(6, 18, 35, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.board li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--dline); transition: background .25s; }
.board li:first-child { border-top: 0; }
.board li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px rgba(69, 156, 210, .8); }
.board span { color: #e6eef7 !important; font-size: 1rem !important; }
.board li:hover { background: rgba(69, 156, 210, .08); }
.board b { font: 800 1.2rem/1 var(--display); letter-spacing: .08em; color: #fff; }
.board span { font-size: .94rem; color: #b9cbe0; }
.where__credit { font-size: .74rem; color: #7f97b0; margin-top: 28px; }
@media (max-width: 900px) { .board { grid-template-columns: 1fr; } }

/* the close: one dark section to end the home page */
.close { background: radial-gradient(900px 600px at 80% 40%, #15304f 0%, rgba(21, 48, 79, 0) 70%), var(--scan); color: var(--ice); padding: var(--sec) 0; overflow: hidden; }
.close__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.close h2 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.6rem); margin-bottom: 20px; }
.close .kicker { color: var(--sky); }
.close .lede { color: #b9cbe0; margin-bottom: 30px; }
.close__dl { margin: 40px 0 0; border-top: 1px solid var(--dline); }
.close__dl div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--dline); }
.close__dl dt { font: 700 .72rem/1.7 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #8ea6bf; }
.close__dl dd { margin: 0; color: #e6eef7; }
.close__dl a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(143, 211, 255, .4); margin-right: 14px; transition: border-color .2s, color .2s; }
.close__dl a:hover { color: var(--skylight); border-color: var(--skylight); }
.close__fig { aspect-ratio: 4 / 3; }
.close__fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 16px 20px; background: linear-gradient(180deg, rgba(10, 26, 48, 0), rgba(10, 26, 48, .92) 45%); font-size: .86rem; color: #c9d9ea; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.close__fig figcaption span { font: 700 .9rem var(--display); color: #fff; }
.close__fig figcaption a { color: var(--skylight); }
@media (max-width: 900px) { .close__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .close__dl div { grid-template-columns: 1fr; gap: 2px; } }

/* ------------------------------------------------------------------ inner pages: a dark head with the subject */
.page-head { background: radial-gradient(1000px 600px at 82% 30%, #15304f 0%, rgba(21, 48, 79, 0) 70%), var(--scan); color: var(--ice); padding: clamp(56px, 7vw, 112px) 0 clamp(48px, 6vw, 96px); overflow: hidden; }
.page-head h1 { color: #fff; font-size: clamp(2.3rem, 1.4rem + 3vw, 4.1rem); margin-bottom: 20px; max-width: 16ch; }
.page-head .kicker { color: var(--sky); }
.page-head .lede { margin: 0; color: #b9cbe0; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.page-head__fig { margin: 0; position: relative; border-radius: 20px; overflow: hidden; background: var(--deep); box-shadow: 0 50px 100px -60px rgba(0, 0, 0, .9), 0 0 0 1px rgba(143, 211, 255, .14); }
.page-head__fig img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.page-head__stamp { justify-self: end; align-self: center; border: 4px solid var(--skylight); color: var(--skylight); font: 800 clamp(1.4rem, 1rem + 1.6vw, 2.4rem)/1.05 var(--display); letter-spacing: .04em; text-transform: uppercase; padding: 20px 28px; border-radius: 12px; transform: rotate(-6deg); text-align: center; text-shadow: 0 0 18px rgba(143, 211, 255, .45); box-shadow: 0 0 40px -10px rgba(69, 156, 210, .5), inset 0 0 30px -12px rgba(69, 156, 210, .5); }
.page-head__stamp small { display: block; font: 700 .72rem var(--body); letter-spacing: .18em; margin-top: 10px; color: var(--sky); text-shadow: none; }
@media (max-width: 820px) { .page-head__grid { grid-template-columns: 1fr; } .page-head__fig img { aspect-ratio: 16 / 10; } .page-head__stamp { justify-self: start; transform: rotate(-4deg); } }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--sky); }
.quote-line { font: 600 clamp(1.25rem, 1.1rem + .6vw, 1.55rem)/1.45 var(--display); color: var(--navy); letter-spacing: -.01em; border-left: 3px solid var(--sky); padding: 6px 0 6px 26px; margin: 40px 0; max-width: 40ch; }
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* services page */
.split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 88px); }
.toc { position: sticky; top: calc(var(--head) + 28px); align-self: start; list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 9px 0 9px 18px; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 600; margin-left: -1px; border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--navy); border-left-color: var(--sky); }
.toc__cta { margin-top: 20px; padding-left: 18px; }
.toc .toc__cta a { display: inline-flex; padding: 0 22px; margin: 0; border: 0; color: #fff; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; border: 0; } .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; margin: 0; background: #fff; } .toc__cta { margin: 0; padding: 0; } }
.split > div { counter-reset: svc; }
.service { counter-increment: svc; display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 8px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--head) + 24px); }
.service > * { grid-column: 2; }
.service::before { content: counter(svc, decimal-leading-zero); grid-column: 1; grid-row: 1 / span 2; font: 800 1.6rem/1 var(--display); color: var(--sky); padding-top: 2px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service .code { font: 700 .72rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--skyink); display: block; margin-bottom: 10px; }
.service h2 { margin: 0 0 14px; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.service ul { padding-left: 1.2em; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.service li::marker { color: var(--sky); }
@media (max-width: 640px) { .service { grid-template-columns: 1fr; } .service > *, .service::before { grid-column: 1; } .service::before { grid-row: auto; margin-bottom: 12px; } .service ul { grid-template-columns: 1fr; } }

/* legal clauses */
.clauses { counter-reset: clause; max-width: 820px; margin-inline: auto; }
.clauses h2 { counter-increment: clause; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: baseline; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 52px; }
.clauses h2:first-child { margin-top: 0; }
.clauses h2::before { content: counter(clause, decimal-leading-zero); color: var(--sky); font-size: .78em; }
.clauses h2 ~ p, .clauses h2 ~ ul { margin-left: 64px; }
@media (max-width: 520px) { .clauses h2 { grid-template-columns: 44px minmax(0, 1fr); } .clauses h2 ~ p, .clauses h2 ~ ul { margin-left: 0; } }

/* contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 821px) { .contact-grid > .cards { position: sticky; top: calc(var(--head) + 24px); } }
.cards { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.card { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.card h3 { font: 600 .7rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.card p { margin: 0; font-size: 1.04rem; color: var(--ink); }
.card a { font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(31, 111, 163, .35); }
.map { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; background: var(--soft); }
.cards .credits { margin: 0; padding: 12px 24px 16px; font-size: .78rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3.4vw, 44px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; box-shadow: 0 50px 90px -70px rgba(28, 57, 101, .6); }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: .9rem; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fbfcfd; border: 1px solid #b9c3cd; border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8f9cab; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(69, 156, 210, .25); }
.field .hint { font-size: .82rem; color: var(--muted); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; background: var(--soft); border-radius: 12px; padding: 16px 18px; font-size: .94rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--navy); }
.form-msg { grid-column: 1 / -1; background: #E8F4FB; border: 1px solid var(--sky); border-radius: 12px; padding: 14px 16px; margin: 0; max-width: none; color: var(--ink); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* track page */
.track-stack { display: grid; gap: 32px; max-width: 900px; margin-inline: auto; }
.track-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 50px 90px -70px rgba(28, 57, 101, .6); }
.track-row { display: flex; gap: 12px; flex-wrap: wrap; }
.track-row input { flex: 1 1 240px; }

/* ------------------------------------------------------------------ footer: the sign-off, the contacts, the credit */
.foot { background: radial-gradient(1100px 500px at 50% 0%, #10264a 0%, rgba(16, 38, 74, 0) 70%), #050f1d; color: #b9cbe0; padding: clamp(72px, 8vw, 120px) 0 0; overflow: hidden; }
.foot::after { opacity: .3; }
.foot a { color: #e6eef7; text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--skylight); }
.foot__beam { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(143, 211, 255, 0), rgba(143, 211, 255, .9) 50%, rgba(143, 211, 255, 0)); box-shadow: 0 0 24px 2px rgba(69, 156, 210, .55); }
.foot__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: end; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--dline); }
.foot .foot__say { margin: 0; max-width: none; display: grid; font: 800 clamp(2.8rem, 1.4rem + 5.4vw, 6.4rem)/.95 var(--display); letter-spacing: -.045em; color: #fff; }
.foot__say span:nth-child(2) { color: #5f7894; }
.foot__say em { font-style: normal; color: var(--sky); text-shadow: 0 0 40px rgba(69, 156, 210, .35); }
.foot__intro img { width: 132px; margin-bottom: 22px; }
.foot__intro p { color: #9fb6cc; font-size: .98rem; margin-bottom: 24px; }
.foot__grid { display: grid; grid-template-columns: 1.1fr 1.3fr 1.3fr .9fr; gap: clamp(28px, 4vw, 56px); padding: clamp(44px, 5vw, 64px) 0; }
.foot__h { display: flex; align-items: center; gap: 10px; font: 700 .68rem var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.foot__h::before { content: ""; width: 16px; height: 1px; background: currentColor; }
.foot p { font-size: .94rem; }
.foot__go { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--skylight) !important; }
.foot__go::after { content: "\2197"; font-size: .9em; transition: transform .25s var(--ease); }
.foot__go:hover::after { transform: translate(2px, -2px); }
.foot__contact, .foot__offices, .foot__links, .foot__fine { list-style: none; margin: 0; padding: 0; }
.foot__contact li { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 8px 0; font-size: .94rem; color: #e6eef7; }
.foot__contact li:first-child { padding-top: 0; }
.foot__contact span, .foot__offices span { font: 600 .66rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #6f87a1; }
.foot__offices li { display: grid; gap: 3px; padding: 8px 0 8px 18px; position: relative; }
.foot__offices li::before { content: ""; position: absolute; left: 0; top: 16px; width: 5px; height: 5px; border-radius: 50%; background: #3d5a7a; }
.foot__offices li:first-child::before { background: var(--sky); box-shadow: 0 0 10px var(--sky); }
.foot__offices b { font: 700 1rem var(--display); color: #fff; letter-spacing: -.01em; }
.foot__offices span { letter-spacing: .04em; text-transform: none; font-size: .82rem; color: #8ea6bf; }
.foot__links li { margin-bottom: 10px; font-size: .94rem; }
.foot__links a { position: relative; color: #c9d9ea; }
.foot__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: var(--skylight); transition: right .35s var(--ease); }
.foot__links a:hover::after { right: 0; }
.foot .foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; max-width: none; padding: 4px 0 20px; font-size: .8rem; color: #7f97b0; }
.foot__seal { width: 8px; height: 8px; border-radius: 50%; background: #6fd3a8; box-shadow: 0 0 10px rgba(111, 211, 168, .7); flex: none; }
.foot__legal a { color: var(--skylight) !important; font-weight: 600; white-space: nowrap; }
.foot__legal a::after { content: " \2192"; }
.foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; padding: 6px 0 18px; border-top: 1px solid var(--dline); }
.foot .foot__small { margin: 0; color: #6f87a1; font-size: .8rem; }
.foot__fine { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: .8rem; }
.foot__fine a { color: #8ea6bf; }
.foot .foot__mark { position: relative; margin: 0; max-width: none; text-align: center; white-space: nowrap; font: 800 clamp(2.6rem, 11.2vw, 10.6rem)/.8 var(--display); letter-spacing: -.05em; text-transform: uppercase; color: transparent; background: linear-gradient(180deg, rgba(143, 211, 255, .16), rgba(143, 211, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; transform: translateY(14%); pointer-events: none; user-select: none; }
/* Site by Netravix: the credit every production site carries */
.nx-credit { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; color: #9fb6cc !important; text-decoration: none; font-size: .8rem; transition: color .25s; }
.nx-credit:hover, .nx-credit:focus-visible { color: #fff !important; text-decoration: none; }
.nx-credit span:first-of-type { letter-spacing: .1em; text-transform: uppercase; font-weight: 700; font-size: .76rem; color: #fff; }
.nx-credit svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .6; transition: transform .3s ease, opacity .25s; }
.nx-credit:hover svg, .nx-credit:focus-visible svg { opacity: 1; transform: translate(2px, -2px); }
.nx-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1000px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .foot__top { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 900px) { .foot__bar { padding-bottom: 88px; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } .foot__bar { flex-direction: column; align-items: flex-start; } .foot__contact li { grid-template-columns: 78px minmax(0, 1fr); } }

/* destinations ticker: the four markets from the brief, moving slowly */
.ticker { background: var(--scan); border-block: 1px solid var(--dline); overflow: hidden; padding: 22px 0; }
.ticker__track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; gap: 36px; padding-right: 36px; font: 800 clamp(1.6rem, 1.1rem + 1.8vw, 2.8rem)/1 var(--display); letter-spacing: -.03em; color: #fff; white-space: nowrap; }
.ticker li:nth-child(even) { color: #6f87a1; }
.ticker li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 14px var(--sky); }
@keyframes tick { to { transform: translateX(-50%); } }

/* a soft light that follows the pointer over the dark sections */
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(69, 156, 210, .14), transparent 70%); }
.spot.on { opacity: 1; }

/* headings come up from behind a line */
.reveal { clip-path: inset(0 0 100% 0); transform: translateY(18px); transition: clip-path 1s var(--ease), transform 1s var(--ease); }
.reveal.in { clip-path: inset(-10% -5% -20% -5%); transform: none; }
.no-js .reveal { clip-path: none; transform: none; }

/* services page: each service ends with its own quote link */
.service__cta { margin: 20px 0 0; }

/* whatsapp */
.wa { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; justify-content: center; background: #0E7A3C; color: #fff; text-decoration: none; border-radius: 999px; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .55); width: 56px; height: 56px; transition: opacity .25s, transform .25s var(--ease), background .2s; }
.wa:hover { background: #0a6431; color: #fff; transform: translateY(-2px); }
.wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wa.hide { opacity: 0; pointer-events: none; }
.wa.away { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (max-width: 520px) { .brand__name small { display: none; } .brand img { width: 44px; } }

/* ------------------------------------------------------------------ motion: arrival and reveals */
@keyframes arrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes sweep { 0% { transform: translateX(-10vw); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(110vw); opacity: 0; } }
@keyframes unveil { from { opacity: 0; transform: scale(1.04); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.scan__copy > *, .page-head .wrap > div > *, .page-head .wrap > .kicker, .page-head .wrap > h1, .page-head .wrap > .lede { animation: arrive .9s var(--ease) both; }
.scan__copy > :nth-child(2), .page-head .wrap h1 { animation-delay: .08s; }
.scan__copy > :nth-child(3), .page-head .wrap .lede { animation-delay: .18s; }
.scan__copy > :nth-child(4) { animation-delay: .28s; }
.scan__panel { animation: arrive .9s var(--ease) .38s both; }
.scanner, .page-head__fig { animation: unveil 1.2s var(--ease) .15s both; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-6deg) scale(1.5); } 70% { opacity: 1; transform: rotate(-6deg) scale(.96); } 100% { opacity: 1; transform: rotate(-6deg) scale(1); } }
.page-head__stamp { animation: stamp .6s cubic-bezier(.3, 1.4, .5, 1) .9s both; }
@media (max-width: 820px) { .page-head__stamp { animation: none; } }
/* the beam crosses each page head once, the site's one signature movement */
.page-head::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 1; pointer-events: none; background: #e6f6ff; box-shadow: 0 0 22px 5px rgba(69, 156, 210, .7), 0 0 90px 24px rgba(69, 156, 210, .18); animation: sweep 2.4s cubic-bezier(.5, 0, .3, 1) .3s both; }
.rise { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rise.in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
  .reveal { clip-path: none; transform: none; }
  .ticker__track { animation: none; flex-wrap: wrap; }
  .ticker ul[aria-hidden] { display: none; }
  .spot { display: none; }
  .page-head::before { display: none; }
  .scan__track { height: auto; }
  .scan__stage { position: static; min-height: 0; }
  .btn:hover, .label:hover, .wa:hover { transform: none; }
}
.rise.reveal { opacity: 1; transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) { .rise.reveal { clip-path: none; transform: none; } }

/* live site: the quote form's hidden spam trap */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: .6; cursor: progress; }
