:root {
  --ink: #101b35;
  --ink-deep: #0a1328;
  --paper: #f7f9fc;
  --white: #ffffff;
  --muted: #5e6779;
  --line: #d9e0ea;
  --yellow: #d5d91d;
  --red: #ef3551;
  --blue: #607dc8;
  --sky: #0e9cef;
  --radius: 26px;
  --shadow: 0 24px 70px rgba(11, 25, 54, 0.12);
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #ffbf2f;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink-deep);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 249, 252, 0.94);
  border-color: rgba(16, 27, 53, 0.1);
  box-shadow: 0 8px 24px rgba(16, 27, 53, 0.05);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 84px;
  height: 40px;
  object-fit: contain;
}

.brand-name {
  display: grid;
  color: var(--ink);
  line-height: 1.1;
}

.brand-name strong {
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.brand-name span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover {
  background: rgba(16, 27, 53, 0.06);
}

.main-nav .nav-contact {
  margin-left: 6px;
  padding-inline: 20px;
  color: var(--white);
  background: var(--ink);
}

.main-nav .nav-contact:hover {
  color: var(--white);
  background: #253658;
}

.hero {
  position: relative;
  min-height: 800px;
  padding: 172px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(96, 125, 200, 0.15), transparent 31%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  left: -300px;
  bottom: -210px;
  border: 1px solid rgba(16, 27, 53, 0.12);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 76px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(3.2rem, 6.4vw, 6.2rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 span {
  color: var(--blue);
}

.hero-intro {
  max-width: 640px;
  margin: 30px 0 0;
  color: #465168;
  font-size: clamp(1.12rem, 1.5vw, 1.34rem);
  line-height: 1.58;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-primary:hover {
  background: #263859;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.5);
}

.button-secondary:hover {
  color: var(--white);
  background: var(--ink);
}

.portfolio-map {
  position: relative;
  min-height: 520px;
  isolation: isolate;
}

.map-glow {
  position: absolute;
  z-index: -1;
  inset: 6% 9%;
  background: radial-gradient(circle, rgba(96, 125, 200, 0.17), transparent 66%);
  filter: blur(10px);
}

.map-center,
.map-node {
  position: absolute;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid rgba(16, 27, 53, 0.12);
  box-shadow: var(--shadow);
}

.map-center {
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 164px;
  height: 164px;
  border-radius: 42px;
  transform: translate(-50%, -50%) rotate(-3deg);
}

.map-center img {
  width: 86px;
  transform: rotate(3deg);
}

.map-center span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(3deg);
}

.map-node {
  z-index: 3;
  width: 174px;
  min-height: 130px;
  padding: 22px;
  place-items: start;
  border-radius: 24px;
  animation: node-float 7s ease-in-out infinite;
}

.map-node span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.map-node strong {
  align-self: end;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.map-node small {
  color: var(--muted);
  font-size: 0.75rem;
}

.map-node-one {
  top: 2%;
  left: 5%;
  border-top: 4px solid var(--sky);
}

.map-node-two {
  top: 10%;
  right: 0;
  border-top: 4px solid #ffb11b;
  animation-delay: -2s;
}

.map-node-three {
  right: 8%;
  bottom: 1%;
  border-top: 4px solid #c19b3f;
  animation-delay: -4s;
}

.map-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: rgba(16, 27, 53, 0.2);
  transform-origin: left center;
}

.map-line::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -1px;
  width: 9px;
  height: 9px;
  background: var(--blue);
  border: 3px solid var(--paper);
  border-radius: 50%;
}

.map-line-one {
  width: 150px;
  top: 33%;
  left: 27%;
  transform: rotate(24deg);
}

.map-line-two {
  width: 134px;
  top: 37%;
  left: 59%;
  transform: rotate(-28deg);
}

.map-line-three {
  width: 154px;
  top: 61%;
  left: 56%;
  transform: rotate(31deg);
}

.hero-stripe {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.hero-stripe span:nth-child(1) { background: var(--yellow); }
.hero-stripe span:nth-child(2) { background: var(--red); }
.hero-stripe span:nth-child(3) { background: var(--blue); }

.section {
  padding: 128px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.62fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 64px;
}

.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.section-heading > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 1.05rem;
}

.product-list {
  display: grid;
  gap: 24px;
}

.product-card,
.app-showcase {
  border-radius: var(--radius);
  overflow: hidden;
}

.product-whativr {
  min-height: 620px;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 7%, rgba(30, 157, 255, 0.28), transparent 28%),
    radial-gradient(circle at 54% 93%, rgba(25, 217, 185, 0.1), transparent 30%),
    linear-gradient(135deg, #050c17 0%, #0a1b31 58%, #0d2946 100%);
}

.product-copy {
  padding: clamp(38px, 5.5vw, 72px);
}

.product-index {
  margin: 0 0 34px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  opacity: 0.66;
  text-transform: uppercase;
}

.product-logo {
  object-fit: contain;
  object-position: left center;
}

.whativr-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 42px;
  color: var(--white);
}

.whativr-wordmark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.whativr-wordmark span {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 480;
  letter-spacing: -0.055em;
}

.whativr-wordmark strong {
  color: #169cff;
  font-weight: 760;
}

.product-card h3,
.app-showcase h3 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  font-weight: 620;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.product-card p,
.app-showcase p {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 1rem;
  line-height: 1.75;
}

.feature-list {
  margin: 30px 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 23px;
  color: rgba(255, 255, 255, 0.78);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--sky);
  border-radius: 50%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.routing-board {
  align-self: center;
  width: min(500px, calc(100% - 72px));
  margin: 40px auto;
  padding: 30px;
  color: var(--ink);
  background: rgba(249, 252, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 26px;
  box-shadow: 0 34px 70px rgba(2, 8, 24, 0.28);
}

.consult-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 750;
}

.consult-topline span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.consult-topline i {
  width: 8px;
  height: 8px;
  background: #18b995;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(24, 185, 149, 0.12);
}

.consult-topline strong {
  color: #117660;
  font-variant-numeric: tabular-nums;
}

.consult-rooms {
  display: grid;
  grid-template-columns: 1fr 76px 1fr;
  align-items: center;
  gap: 10px;
  padding: 34px 0 18px;
}

.consult-room {
  min-height: 154px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #edf4fb;
  border: 1px solid #dce9f4;
  border-radius: 18px;
}

.consult-room:last-child {
  background: #eefaf7;
  border-color: #d7eee8;
}

.room-label {
  margin-bottom: 12px;
  color: #1485d1;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consult-room strong {
  font-size: 0.88rem;
  line-height: 1.35;
}

.consult-room small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.consult-relay {
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: center;
}

.consult-relay span {
  height: 1px;
  background: #7cc9fb;
}

.consult-relay img {
  width: 34px;
  height: 34px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #d7e8f5;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(13, 78, 123, 0.12);
}

.consult-note {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.consult-ledger {
  padding: 18px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #08192b;
  border-radius: 16px;
  color: var(--white);
}

.consult-ledger div span,
.consult-ledger div strong {
  display: block;
}

.consult-ledger div span {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

.consult-ledger div strong {
  font-size: 0.84rem;
}

.consult-id {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #80d6ff;
  background: rgba(22, 156, 255, 0.12);
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 750;
}

.product-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product-astrotv,
.product-mediums-summary {
  position: relative;
  min-height: 585px;
  padding: clamp(38px, 5.5vw, 66px);
}

.product-astrotv {
  color: var(--white);
  background: linear-gradient(145deg, #502260, #321842 63%, #251132);
}

.product-astrotv > *:not(.astro-orbit) {
  position: relative;
  z-index: 2;
}

.astrotv-logo {
  width: min(280px, 76%);
  margin: 50px 0 62px;
}

.product-astrotv p:not(.product-index) {
  color: rgba(255, 255, 255, 0.76);
}

.product-astrotv .text-link {
  margin-top: 34px;
}

.astro-orbit,
.astro-orbit span {
  position: absolute;
  border: 1px solid rgba(255, 177, 27, 0.22);
  border-radius: 50%;
}

.astro-orbit {
  width: 360px;
  height: 360px;
  top: -118px;
  right: -112px;
}

.astro-orbit::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  right: 57px;
  bottom: 55px;
  background: #ffb11b;
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(255, 177, 27, 0.9);
}

.astro-orbit span:first-child {
  inset: 66px;
}

.astro-orbit span:last-child {
  inset: 126px;
  background: rgba(255, 177, 27, 0.06);
}

.product-mediums-summary {
  color: #f9eee3;
  background:
    radial-gradient(circle at 90% 10%, rgba(221, 174, 72, 0.24), transparent 34%),
    linear-gradient(145deg, #3d241f, #1f1212);
}

.mediums-brandline {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 44px;
}

.mediums-icon {
  width: 92px;
  height: 92px;
  border-radius: 23px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.mediums-brandline .product-index {
  margin-bottom: 3px;
}

.mediums-brandline h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.product-mediums-summary > p {
  color: rgba(249, 238, 227, 0.72);
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.store-links a {
  min-width: 150px;
  display: grid;
  padding: 10px 17px;
  color: var(--ink-deep);
  background: var(--white);
  border-radius: 12px;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.store-links span {
  font-size: 0.66rem;
}

.store-links strong {
  margin-top: 3px;
  font-size: 0.94rem;
}

.mediums-site-link {
  margin-top: 32px;
  font-size: 0.9rem;
}

.app-showcase {
  min-height: 660px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  background: #ecd6ca;
}

.app-showcase-copy {
  padding: clamp(38px, 5.5vw, 72px);
}

.app-showcase-copy .eyebrow {
  color: #8a4d3d;
}

.app-showcase-copy p:not(.eyebrow) {
  color: #624b47;
}

.app-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.app-tabs button {
  padding: 10px 15px;
  color: #5c3e39;
  background: transparent;
  border: 1px solid rgba(92, 62, 57, 0.3);
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.app-tabs button[aria-selected="true"] {
  color: var(--white);
  background: #5c3e39;
}

.app-visual {
  position: relative;
  height: 660px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 42%, rgba(255, 255, 255, 0.68), transparent 35%),
    linear-gradient(150deg, #d9b8a6, #efd9ce);
}

.active-app-shot {
  position: relative;
  z-index: 3;
  width: 250px;
  height: 500px;
  object-fit: cover;
  border: 9px solid #1b1211;
  border-radius: 36px;
  box-shadow: 0 38px 80px rgba(70, 38, 31, 0.34);
  transition: opacity 160ms ease, transform 220ms ease;
}

.active-app-shot.is-changing {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
}

.shot-stack {
  position: absolute;
  inset: 0;
}

.shot-stack img {
  position: absolute;
  top: 50%;
  width: 180px;
  height: 360px;
  object-fit: cover;
  border: 7px solid #3b2926;
  border-radius: 28px;
  opacity: 0.48;
}

.shot-stack img:first-child {
  left: 4%;
  transform: translateY(-47%) rotate(-9deg);
}

.shot-stack img:last-child {
  right: 3%;
  transform: translateY(-53%) rotate(9deg);
}

.phone-shadow {
  position: absolute;
  z-index: 1;
  width: 360px;
  height: 110px;
  bottom: 50px;
  background: rgba(83, 45, 37, 0.22);
  border-radius: 50%;
  filter: blur(28px);
}

.about {
  color: var(--white);
  background: var(--ink-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 90px;
}

.about-kicker {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.46);
}

.about-number {
  color: var(--white);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 720;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.about-line {
  flex: 1;
  width: 1px;
  min-height: 120px;
  margin: 30px 0 26px 28px;
  background: linear-gradient(var(--red), var(--blue));
}

.about-kicker span:last-child {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-copy .eyebrow {
  color: #9fb4e8;
}

.about-copy p {
  max-width: 760px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.06rem;
}

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 96px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 480px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f2f5fa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-style: normal;
  overflow: hidden;
}

.contact-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 24px;
  color: #6d5407;
  background: #fff7d8;
  border-bottom: 1px solid #eddea8;
}

.contact-status > span {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  background: #d39c00;
  border-radius: 50%;
}

.contact-status p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
}

.contact-item {
  min-height: 168px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-item:nth-of-type(3),
.contact-item:nth-of-type(5) {
  border-right: 0;
}

.contact-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.contact-item > span {
  display: block;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-item strong,
.contact-item p,
.contact-item a {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact-item a {
  display: inline-block;
  font-weight: 750;
  text-underline-offset: 5px;
}

.contact-item small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.site-footer {
  padding: 76px 0 28px;
  color: var(--white);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.7fr 1fr 1fr;
  gap: 48px;
}

.footer-brand img {
  width: 94px;
  height: auto;
  margin-bottom: 23px;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
}

.footer-brand strong {
  color: var(--white);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-column h2 {
  margin: 0 0 11px;
  color: #9fb4e8;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.84rem;
  line-height: 1.5;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 36px, 760px);
  }

  .hero {
    min-height: 0;
    padding-top: 148px;
  }

  .hero-grid,
  .section-heading,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

  .portfolio-map {
    min-height: 470px;
  }

  .section-heading,
  .about-grid,
  .contact-grid {
    gap: 44px;
  }

  .section-heading {
    align-items: start;
  }

  .product-whativr,
  .app-showcase {
    grid-template-columns: 1fr;
  }

  .routing-board {
    margin-top: 0;
    margin-bottom: 58px;
  }

  .app-showcase-copy {
    padding-bottom: 36px;
  }

  .about-kicker {
    min-height: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
  }

  .about-number {
    font-size: 4.5rem;
  }

  .about-line {
    width: auto;
    min-height: 1px;
    height: 1px;
    margin: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 28px);
    --radius: 21px;
  }

  .site-header {
    position: absolute;
  }

  .header-inner {
    min-height: 80px;
    align-items: flex-start;
    padding-top: 18px;
  }

  .brand img {
    width: 73px;
    height: auto;
  }

  .brand-name {
    display: none;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .main-nav a {
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .main-nav a:nth-child(2) {
    display: none;
  }

  .main-nav .nav-contact {
    margin-left: 0;
    padding-inline: 14px;
  }

  .hero {
    padding: 128px 0 78px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-intro {
    font-size: 1.05rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .portfolio-map {
    min-height: 420px;
    margin-inline: -4px;
  }

  .map-center {
    width: 128px;
    height: 128px;
    border-radius: 32px;
  }

  .map-center img {
    width: 70px;
  }

  .map-node {
    width: 145px;
    min-height: 108px;
    padding: 17px;
  }

  .map-node-one { left: 0; }
  .map-node-two { right: 0; }
  .map-node-three { right: 0; }
  .map-line-one { width: 105px; left: 25%; }
  .map-line-two { width: 105px; left: 59%; }
  .map-line-three { width: 115px; left: 55%; }

  .section {
    padding: 88px 0;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-heading h2,
  .about h2,
  .contact h2 {
    font-size: clamp(2.55rem, 12vw, 3.5rem);
  }

  .product-pair {
    grid-template-columns: 1fr;
  }

  .product-whativr,
  .product-astrotv,
  .product-mediums-summary {
    min-height: auto;
  }

  .product-copy,
  .product-astrotv,
  .product-mediums-summary,
  .app-showcase-copy {
    padding: 36px 26px;
  }

  .routing-board {
    width: calc(100% - 32px);
    padding: 20px;
  }

  .product-card h3,
  .app-showcase h3 {
    font-size: 2.25rem;
  }

  .astrotv-logo {
    margin: 40px 0 46px;
  }

  .mediums-brandline {
    align-items: flex-start;
  }

  .mediums-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .store-links,
  .store-links a {
    width: 100%;
  }

  .app-visual {
    height: 550px;
  }

  .active-app-shot {
    width: 220px;
    height: 440px;
  }

  .shot-stack img {
    width: 145px;
    height: 290px;
  }

  .shot-stack img:first-child { left: -11%; }
  .shot-stack img:last-child { right: -11%; }

  .about-kicker {
    grid-template-columns: auto 1fr;
  }

  .about-kicker span:last-child {
    grid-column: 1 / -1;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-item {
    min-height: 0;
    border-right: 0;
  }

  .contact-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .contact-item:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:nth-child(3) {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .consult-rooms {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .consult-room {
    min-height: 120px;
  }

  .consult-relay {
    width: 76px;
    margin: 1px auto;
    transform: rotate(90deg);
  }

  .consult-ledger {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
