:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --ink: #161614;
  --muted: #6d6a61;
  --line: #ded9cb;
  --paper: rgba(255, 255, 255, 0.72);
  --paper-strong: #fffdf8;
  --shadow: 0 24px 70px rgba(42, 39, 30, 0.12);
  --radius: 8px;
  --accent: #245d57;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.84), rgba(243,239,226,0.88)),
    var(--bg);
  cursor: default;
}

body.dark {
  color-scheme: dark;
  --bg: #10110f;
  --ink: #f5f1e8;
  --muted: #b7b0a0;
  --line: #33352d;
  --paper: rgba(27, 28, 24, 0.74);
  --paper-strong: #191a17;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.33;
  background-image: radial-gradient(rgba(0,0,0,0.16) 0.7px, transparent 0.8px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
  z-index: 30;
  animation: grainShift 1.8s steps(3) infinite;
}

.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.28;
  transform: translate3d(var(--mx, 50vw), var(--my, 50vh), 0) translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 42%, transparent), transparent 68%);
  filter: blur(18px);
  transition: opacity 180ms ease;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 54px);
  backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  animation: slideDown 720ms cubic-bezier(.2,.9,.2,1) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  color: var(--muted);
}

.icon-button {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1.08fr);
  align-items: end;
  gap: clamp(24px, 6vw, 84px);
  padding: clamp(70px, 9vw, 128px) clamp(18px, 5vw, 72px) clamp(34px, 6vw, 76px);
  color: white;
  isolation: isolate;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.35) 48%, rgba(0,0,0,0.18)),
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.62));
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  animation: bannerScale 13s ease-in-out infinite alternate;
}

.hero-copy {
  max-width: 860px;
  animation: riseIn 900ms cubic-bezier(.2,.9,.2,1) both;
}

.hero .eyebrow {
  color: #f4d06a;
}

.hero h1 {
  max-width: 980px;
  text-wrap: balance;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(50px, 7.4vw, 110px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-text,
.detail-copy p,
.principles p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.hero .hero-text {
  max-width: 650px;
  color: rgba(255,255,255,0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-actions a,
.featured-copy a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--bg);
  font-weight: 720;
  transition: transform 180ms ease, background 180ms ease;
}

.hero-actions a {
  border-color: rgba(255,255,255,0.34);
  background: white;
  color: #151512;
}

.hero-actions a + a {
  background: rgba(255,255,255,0.12);
  color: white;
  backdrop-filter: blur(16px);
}

.hero-actions a:hover,
.featured-copy a:hover {
  transform: translateY(-3px);
}

.hero-gallery,
.hero-showcase {
  position: relative;
  min-height: 650px;
  animation: fadeSpin 1100ms cubic-bezier(.2,.9,.2,1) 140ms both;
}

.hero-showcase {
  align-self: stretch;
  min-height: min(68vh, 680px);
}

.hero-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.58);
}

.hero-photo img,
.featured-media img,
.mini-photo img,
.detail-art img,
.closing img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-photo {
  inset: 0 10% 10% 0;
  animation: photoFloat 6.5s ease-in-out infinite;
}

.side-photo {
  width: 42%;
  height: 44%;
  right: 0;
  bottom: 0;
  animation: photoFloat 5.8s ease-in-out 700ms infinite;
}

.hero-panel,
.floating-ui,
.product-phone {
  position: absolute;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  color: #171713;
}

.hero-panel {
  left: -6%;
  bottom: 11%;
  width: min(280px, 68%);
  padding: 20px;
  animation: chipFloat 4.8s ease-in-out infinite;
  z-index: 3;
}

.hero-panel span,
.hero-panel small,
.floating-ui span,
.floating-ui small,
.product-phone span,
.product-phone small {
  display: block;
  color: #646057;
}

.hero-panel strong,
.floating-ui strong,
.product-phone strong {
  display: block;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.95;
}

.hero-device {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(460px, 84%);
  height: min(72vh, 640px);
  margin: 0;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.36);
  box-shadow: 0 34px 100px rgba(0,0,0,0.42);
  transform: translate3d(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -14px), 0);
  transition: transform 160ms ease-out;
  animation: photoFloat 6.8s ease-in-out infinite;
}

.hero-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-device::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,0.64));
}

.hero-device figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: white;
}

.hero-device figcaption span,
.hero-device figcaption small {
  display: block;
  color: rgba(255,255,255,0.78);
}

.hero-device figcaption strong {
  display: block;
  font-size: clamp(64px, 8vw, 118px);
  line-height: 0.9;
}

.hero-ticket {
  position: absolute;
  top: 10%;
  right: 18%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(360px, 64%);
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.72);
  color: #151512;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: chipFloat 5.4s ease-in-out 500ms infinite;
}

.hero-ticket span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.proof-strip article {
  padding: clamp(24px, 4vw, 48px) clamp(18px, 5vw, 72px);
  border-right: 1px solid var(--line);
}

.proof-strip article:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.9;
}

.proof-strip span {
  color: var(--muted);
}

.manifesto,
.featured,
.closing {
  padding: clamp(56px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 0.68fr);
  gap: clamp(30px, 8vw, 110px);
  align-items: end;
}

.manifesto > p,
.featured-copy p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.52;
}

.featured {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: color-mix(in srgb, var(--paper-strong) 58%, transparent);
}

.featured-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.floating-ui {
  left: 28px;
  bottom: 28px;
  width: min(300px, calc(100% - 56px));
  padding: 18px;
}

.closing {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  color: white;
}

.closing img {
  position: absolute;
  inset: 0;
  z-index: -2;
  filter: brightness(0.58);
}

.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.62));
}

.closing > div {
  max-width: 860px;
}

.closing .eyebrow {
  color: #f4d06a;
}

.hero-visual {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  animation: fadeSpin 1100ms cubic-bezier(.2,.9,.2,1) 140ms both;
}

.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotate(-18deg);
  animation: orbitTurn 18s linear infinite;
}

.orbit.one {
  width: min(48vw, 620px);
  height: min(48vw, 620px);
}

.orbit.two {
  width: min(34vw, 430px);
  height: min(34vw, 430px);
  transform: rotate(22deg);
  animation-duration: 24s;
  animation-direction: reverse;
}

.device-stack {
  position: relative;
  width: min(72vw, 420px);
  height: 560px;
}

.phone-main {
  position: absolute;
  inset: 18px 50px 24px;
  border-radius: 42px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.7), rgba(255,255,255,0.18)),
    linear-gradient(135deg, #f4f0e4, #d5e7df 44%, #c9d3ea);
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 72px 26px 28px;
  transform: translate3d(calc(var(--px, 0) * -8px), calc(var(--py, 0) * -10px), 0) rotateX(calc(var(--py, 0) * 3deg)) rotateY(calc(var(--px, 0) * -4deg));
  transition: transform 160ms ease-out;
  animation: phoneFloat 5.4s ease-in-out infinite;
}

.phone-main::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 96px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(20,20,20,0.72);
}

.signal {
  position: absolute;
  right: 34px;
  top: 82px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(36,93,87,0.42);
  animation: pulseRing 2.8s ease-out infinite;
}

.signal.second {
  right: 12px;
  top: 60px;
  width: 116px;
  height: 116px;
  animation-delay: 650ms;
}

.screen-card {
  position: relative;
  height: 142px;
  border-radius: 8px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,0.66);
  margin-bottom: 14px;
}

.screen-card.wide {
  height: 210px;
  background:
    radial-gradient(circle at 68% 25%, #e85d3f 0 28px, transparent 29px),
    linear-gradient(135deg, rgba(36,93,87,0.82), rgba(239,216,149,0.74));
  background-size: 100% 100%, 160% 160%;
  animation: gradientTravel 7s ease-in-out infinite alternate;
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.screen-row span {
  height: 72px;
  border-radius: 8px;
  background: rgba(255,255,255,0.58);
}

.glass-chip {
  position: absolute;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
  font-weight: 760;
  animation: chipFloat 4.6s ease-in-out infinite;
}

.chip-a { left: 0; top: 90px; }
.chip-b { right: 2px; top: 250px; animation-delay: 700ms; }
.chip-c { left: 38px; bottom: 62px; animation-delay: 1300ms; }

.marquee {
  display: flex;
  gap: clamp(24px, 6vw, 88px);
  padding: 22px 0 26px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  color: var(--muted);
  font-size: clamp(24px, 4vw, 58px);
  white-space: nowrap;
}

.marquee span {
  animation: drift 28s linear infinite;
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-580px); }
}

.portfolio,
.principles,
.detail-shell {
  padding: clamp(56px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.section-title {
  max-width: 820px;
  margin-bottom: clamp(34px, 6vw, 78px);
}

.app-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.app-card {
  min-height: 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 12px 38px rgba(42,39,30,0.06);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  will-change: transform, opacity;
}

.app-card:hover {
  transform: translateY(-6px) rotate(calc(var(--tilt, 0) * 1deg));
  box-shadow: var(--shadow);
}

.app-card.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: transform 650ms cubic-bezier(.2,.9,.2,1), opacity 650ms ease, box-shadow 220ms ease;
}

.app-card:nth-child(1) { grid-column: span 5; min-height: 460px; }
.app-card:nth-child(2) { grid-column: span 3; margin-top: 64px; }
.app-card:nth-child(3) { grid-column: span 4; min-height: 380px; }
.app-card:nth-child(4) { grid-column: span 4; }
.app-card:nth-child(5) { grid-column: span 5; min-height: 420px; margin-top: -44px; }
.app-card:nth-child(6) { grid-column: span 3; }
.app-card:nth-child(7) { grid-column: span 3; min-height: 390px; }
.app-card:nth-child(8) { grid-column: span 4; margin-top: 52px; }
.app-card:nth-child(9) { grid-column: span 5; min-height: 440px; }
.app-card:nth-child(10) { grid-column: span 7; min-height: 360px; }

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.app-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
}

.app-card h3 {
  font-size: clamp(25px, 3.2vw, 44px);
  line-height: 0.98;
  letter-spacing: 0;
}

.app-card p {
  color: var(--muted);
  line-height: 1.45;
}

.mini-art,
.detail-art {
  --c1: #245d57;
  --c2: #e6b84f;
  --c3: #ef6b4a;
  position: relative;
  min-height: 178px;
  overflow: hidden;
}

.mini-photo {
  position: relative;
  height: clamp(180px, 24vw, 330px);
  margin: 16px -22px 18px;
  overflow: hidden;
}

.mini-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.18));
}

.mini-photo img {
  transition: transform 680ms cubic-bezier(.2,.9,.2,1);
}

.app-card:hover .mini-photo img {
  transform: scale(1.07);
}

.mini-art::before,
.mini-art::after,
.detail-art::before,
.detail-art::after {
  content: "";
  position: absolute;
  border-radius: var(--radius);
}

.mini-art::before {
  inset: 16px 14% 0 10%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  clip-path: polygon(8% 8%, 94% 0, 100% 72%, 24% 100%, 0 62%);
  animation: morphPanel 6.5s ease-in-out infinite alternate;
}

.mini-art::after {
  width: 42%;
  height: 56%;
  right: 9%;
  top: 4%;
  background: color-mix(in srgb, var(--c3) 78%, white);
  box-shadow: -30px 44px 0 rgba(255,255,255,0.46);
  animation: floatBlock 5.2s ease-in-out infinite;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.card-foot span {
  color: var(--muted);
  font-size: 13px;
}

.principles {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
}

.principle-list {
  display: grid;
  gap: 14px;
}

.principle-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateX(24px);
}

.principle-list article.in-view {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(.2,.9,.2,1);
}

.principle-list svg {
  grid-row: span 2;
  color: var(--accent);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
}

.detail-hero {
  min-height: 68vh;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(300px, 1.18fr);
  gap: clamp(24px, 6vw, 86px);
  align-items: center;
}

.detail-copy h1 {
  font-size: clamp(54px, 8.5vw, 130px);
  animation: riseIn 780ms cubic-bezier(.2,.9,.2,1) both;
}

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

.store-row button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  transition: transform 180ms ease, background 180ms ease;
}

.store-row button:hover {
  transform: translateY(-3px);
  background: var(--paper-strong);
}

.detail-art {
  min-height: min(68vw, 640px);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: detailArrive 900ms cubic-bezier(.2,.9,.2,1) 120ms both, gradientTravel 8s ease-in-out infinite alternate;
  background-size: 100% 100%, 180% 180%;
}

.detail-art::before {
  display: none;
}

.detail-art::after {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.34));
  clip-path: none;
  animation: none;
}

.detail-art img {
  position: absolute;
  inset: 0;
  transition: transform 800ms cubic-bezier(.2,.9,.2,1);
}

.detail-art:hover img {
  transform: scale(1.045);
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--c2) 38%, transparent), transparent 36%);
}

.product-phone {
  right: 7%;
  bottom: 8%;
  width: min(280px, 54%);
  padding: 22px;
  z-index: 3;
  animation: chipFloat 5s ease-in-out infinite;
}

.visual-lines {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255,255,255,0.52);
  border-radius: 50%;
  animation: orbitTurn 16s linear infinite;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: clamp(42px, 7vw, 88px) 0 18px;
}

.metric-strip article,
.feature-board article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 20px;
  opacity: 0;
  transform: translateY(22px);
}

.metric-strip article.in-view,
.feature-board article.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(.2,.9,.2,1);
}

.metric-strip strong {
  display: block;
  font-size: clamp(30px, 4vw, 62px);
  line-height: 1;
}

.metric-strip span,
.feature-board p {
  color: var(--muted);
}

.feature-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-board article:nth-child(1) { grid-column: span 2; }
.feature-board article:nth-child(4) { grid-column: span 2; }

.site-footer {
  position: relative;
  z-index: 2;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px) 24px;
  background: #141511;
  color: #f7f2e8;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(280px, 0.68fr);
  gap: clamp(24px, 6vw, 92px);
  align-items: start;
  padding-bottom: clamp(34px, 5vw, 58px);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.footer-brand .brand-mark {
  background: #f7f2e8;
  color: #141511;
}

.footer-top p {
  margin: 0;
  color: rgba(247,242,232,0.72);
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.2;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: clamp(30px, 5vw, 56px) 0;
}

.footer-grid div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid h3 {
  margin: 0 0 8px;
  color: white;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span,
.footer-bottom {
  color: rgba(247,242,232,0.66);
}

.footer-grid a {
  transition: color 160ms ease, transform 160ms ease;
}

.footer-grid a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 13px;
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .manifesto,
  .featured,
  .principles,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-showcase {
    min-height: 520px;
  }

  .hero-device {
    width: min(520px, 92%);
  }

  .proof-strip,
  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .app-card,
  .app-card:nth-child(n) {
    grid-column: span 6;
    min-height: 320px;
    margin-top: 0;
  }

  .metric-strip,
  .feature-board {
    grid-template-columns: 1fr;
  }

  .feature-board article:nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  h1 { font-size: 48px; }

  .hero {
    padding-top: 58px;
  }

  .hero-showcase {
    min-height: 430px;
  }

  .hero-device {
    width: 92%;
    height: 390px;
  }

  .hero-panel {
    left: 0;
    width: min(245px, 74%);
  }

  .hero-ticket {
    right: 0;
    width: 88%;
  }

  .app-map {
    display: block;
  }

  .app-card {
    margin-bottom: 14px;
  }

  .footer-bottom {
    display: grid;
  }
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-1%, 1%); }
  66% { transform: translate(1%, -1%); }
  100% { transform: translate(0, 0); }
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes riseIn {
  from { transform: translateY(36px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeSpin {
  from { transform: scale(0.96) rotate(-2deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes orbitTurn {
  to { transform: rotate(342deg); }
}

@keyframes phoneFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-13px) rotate(2deg); }
}

@keyframes pulseRing {
  0% { opacity: 0.75; transform: scale(0.72); }
  70% { opacity: 0; transform: scale(1.18); }
  100% { opacity: 0; transform: scale(1.18); }
}

@keyframes gradientTravel {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes morphPanel {
  0% { clip-path: polygon(8% 8%, 94% 0, 100% 72%, 24% 100%, 0 62%); transform: rotate(-1deg) scale(1); }
  100% { clip-path: polygon(0 18%, 86% 6%, 96% 90%, 30% 96%, 8% 50%); transform: rotate(2deg) scale(1.04); }
}

@keyframes floatBlock {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
  50% { transform: translate3d(-10px, 14px, 0) rotate(5deg); }
}

@keyframes detailArrive {
  from { transform: translateX(42px) scale(0.96); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes uiDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(18px, -10px, 0); }
}

@keyframes bannerScale {
  from { transform: scale(1.04); }
  to { transform: scale(1.11) translateY(-1.5%); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
