/* ─── Fonts ──────────────────────────────────────────── */
@font-face { font-family: 'Aeonik'; src: url('fonts/Aeonik-Light.ttf')   format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Aeonik'; src: url('fonts/Aeonik-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Aeonik'; src: url('fonts/Aeonik-Medium.ttf')  format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Aeonik'; src: url('fonts/Aeonik-Bold.ttf')    format('truetype'); font-weight: 700; font-display: swap; }

/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --font: 'Aeonik', 'DM Sans', system-ui, sans-serif;
  --accent: #E24D25;
  --blue: #006AFF;
  --ink: #000;
  --paper: #fff;
  --grey-3: #D9D9D9;
  --grey-2: #808080;
  --grey-bg: #F3F3F3;
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }

::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }

.page { width: 100%; }
.container { max-width: 1380px; margin: 0 auto; }
section { position: relative; }

/* ─── Stacking ───────────────────────────────────────── */
.stack { position: relative; margin-top: -2px; }

/* ─── Shared atoms ───────────────────────────────────── */
.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.3);
  margin-bottom: 24px;
}
.section-label-dark { color: rgba(255,255,255,0.35); }
.section-label-accent { color: var(--accent); }

.divider { width: 100%; height: 1px; background: var(--grey-3); }
.divider-dark { background: #808080; }
.section-divider { border: none; border-top: 1px solid var(--grey-3); margin: 0; }

.h-display {
  font-family: var(--font);
  font-weight: 400;
  font-size: 45px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.h-display-light { color: #fff; }

.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--grey-2);
  padding-top: 6px;
}
.lead-dark { color: rgba(255,255,255,0.45); }

.body-copy {
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-2);
  margin-bottom: 20px;
}
.body-copy-dark {
  font-size: 17px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.body-copy-spacer { margin-bottom: 48px; }

.accent { color: var(--accent); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: #fff;
  background: var(--blue);
  border-radius: 5px;
  padding: 12px 24px;
  transition: background 0.35s ease;
}
.btn-primary:hover { background: #0055d4; }
.btn-accent {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: #fff;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
  border-radius: 5px;
  padding: 12px 24px;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.btn-accent:hover { background: rgba(255,255,255,0.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: #fff;
  background: var(--accent);
  border-radius: 5px;
  padding: 12px 24px;
  transition: background 0.35s ease;
}
.btn-outline:hover { background: #c94020; }

.btn-link-light {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
}
.btn-link-dark {
  display: inline-block;
  font-size: 13px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 3px;
  padding-top: 30px
}
.ext-arrow {
  width: 7px;
  height: 7px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
  position: relative;
  top: 0;
}

.btn-link-dim {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  align-self: flex-end;
}

/* ─── Topbar ─────────────────────────────────────────── */
.topbar {
  position: relative;
  height: 32px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  z-index: 1001;
}
.topbar-left, .topbar-link {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s ease;
}
.topbar-link:hover { color: rgba(255,255,255,0.85); }
.topbar-left-link {
  color: inherit;
  transition: color 0.2s ease;
}
.topbar-left-link:hover { color: rgba(255,255,255,0.85); }
.topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ─── Nav ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 32px; left: 0; right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  color: #fff;
}
.nav.scrolled, .nav.menu-open {
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.nav-wordmark { display: block; }
.nav-byline {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.01em;
  position: relative;
  top: 5px;
}
.nav-links { display: flex; align-items: center; }
.nav-links > a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  padding: 0 16px;
  line-height: 80px;
  transition: color 0.2s ease;
}
.nav-links > a:hover { color: #fff; }
.nav-cta {
  line-height: 1 !important;
  margin-left: 8px;
  padding: 12px 18px !important;
  transition: background 0.35s ease !important;
}
.nav-cta:hover { background: #0055d4 !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile-menu {
  position: fixed;
  top: 80px;
  left: 0; right: 0;
  z-index: 999;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 20px 24px;
  display: flex;
  flex-direction: column;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 997;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-menu a {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s ease;
}
.nav-mobile-menu a:hover { color: #fff; }
.nav-mobile-menu .nav-mobile-cta {
  margin-top: 16px;
  text-align: center;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  padding: 14px 0;
  border: none;
  transition: background 0.35s ease;
}
.nav-mobile-menu .nav-mobile-cta:hover { background: #0055d4; }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 6;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/pivot-hand.png');
  background-size: cover;
  background-position: center center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.72) 100%);
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center;
}
.hero-content-wrap {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 60px;
}
.hero-inner { max-width: 800px; }

.badge {
  font-size: 13px;
  color: #fff;
  background: rgba(255,255,255,0.18);
  border-radius: 50px;
  padding: 8px 20px;
  display: inline-block;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-headline {
  font-family: var(--font);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-sub-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; }
.hero-sub-link:hover { color: #fff; }
.hero-actions-wrap { position: absolute; bottom: 80px; left: 0; right: 0; }
.hero-actions { display: flex; gap: 12px; align-items: center; }

/* ─── Why ────────────────────────────────────────────── */
.why { background: #fff; height: 300vh; }
.why-label { color: var(--accent); margin-bottom: 28px; }
.why-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: 0 60px;
  mask-image: linear-gradient(to bottom, black 72%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 72%, transparent 95%);
}
.why-inner {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding-top: calc(50vh - 149px);
}

/* ─── ScrollRevealText ───────────────────────────────── */
.reveal-text {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.reveal-text-lg {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.3;
}
.reveal-text-dark { color: rgba(255,255,255,0.15); }
.reveal-line { display: block; }
.reveal-line > span { transition: color 0.12s ease; }

/* ─── Scroll zoom break ──────────────────────────────── */
.scroll-zoom { height: 200vh; position: relative; }
.scroll-zoom-sticky {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
}
.scroll-zoom-bg {
  position: absolute; inset: -8%;
  background-image: url('assets/pivot-dark.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transform-origin: center;
  will-change: transform;
}
.scroll-zoom-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
}
.scroll-zoom-text {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1380px;
  padding: 0 60px;
  padding-right: max(60px, 30%);
}
.scroll-zoom-text .section-label-dark {
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

/* ─── Interaction ────────────────────────────────────── */
.interaction {
  background: #000;
  min-height: 100vh;
  padding: 140px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.interaction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.interaction-text .h-display {
  font-size: 60px;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 56px;
}
.steps { display: flex; flex-direction: column; }
.step {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  opacity: 0.3;
  transition: opacity 0.4s ease;
}
.step.active { opacity: 1; }
.step-num {
  font-size: 11px;
  color: #808080;
  min-width: 20px;
  padding-top: 4px;
}
.step-label {
  font-size: 20px;
  color: #fff;
  margin-bottom: 6px;
}
.step-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}

.interaction-dial { display: flex; justify-content: center; }
.dial-wrap { position: relative; }
.dial-readout {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.dial-readout-label {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dial-readout-value {
  font-size: 36px;
  color: #fff;
}

/* ─── Banks ──────────────────────────────────────────── */
.banks { background: #fff; padding: 220px 60px; }
.banks-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 80px;
  row-gap: 32px;
}
.banks-text {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.banks-text .section-label { margin-bottom: 0; }
.banks-strip {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}
.banks-image-wrap {
  grid-column: 2;
  grid-row: 1 / 3;
}
.banks-strip {
  display: flex;
  gap: 10px;
}
.banks-strip.is-hovering .bank-pill,
.banks-strip.is-hovering .bank-pill-dot,
.banks-strip.is-hovering .bank-pill-bar-fill { transition-duration: 0.22s; }
.bank-pill {
  flex: 1;
  border-radius: 12px;
  padding: 18px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--grey-bg);
  transition: background 2s ease;
}
.bank-pill-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}
.bank-pill-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #C0C0C0;
  transition: background 2s ease, box-shadow 2s ease;
}
.bank-pill-num {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #B8B8B8;
  text-transform: uppercase;
}
.bank-pill-name {
  font-size: 22px;
  color: #B8B8B8;
  transition: color 2s ease;
}
.bank-pill.active .bank-pill-name { color: var(--ink); }
.bank-pill-value {
  font-size: 16px;
  color: #C8C8C8;
  letter-spacing: -0.01em;
  transition: color 2s ease;
  margin-top: -4px;
  margin-bottom: 6px;
}
.bank-pill.active .bank-pill-value { color: var(--grey-2); }
.bank-pill-bar-track {
  height: 5px;
  background: rgba(0,0,0,0.07);
  border-radius: 3px;
  overflow: hidden;
}
.bank-pill-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: #C0C0C0;
  transition: background 2s ease;
}
.banks-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 460px;
}
.banks-img-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 2s ease;
}

/* ─── Ecosystem ──────────────────────────────────────── */
.ecosystem { background: #000; padding: 180px 60px 200px; }
.ecosystem-right {
  display: flex;
  flex-direction: column;
}
.ecosystem-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--accent);
  margin-bottom: 20px;
}
.ecosystem-lead:first-of-type {
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.ecosystem-lead:last-of-type { margin-bottom: 48px; color: rgba(255,255,255,0.45); }
.ecosystem-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}
.ecosystem-image-wrap {
  position: relative;
  border-radius: 16px;
  min-height: 500px;
  overflow: hidden;
  background-color: #111;
}
.ecosystem-image-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s ease;
}
.eco-disclaimer {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.eco-disclaimer.visible { opacity: 1; }
.ecosystem-accordion { display: flex; flex-direction: column; }
.accordion-item { border-top: 1px solid rgba(255,255,255,0.1); }
.accordion-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.accordion-trigger-text { display: flex; align-items: baseline; }
.accordion-label {
  font-size: 16px;
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.35s ease;
}
.accordion-subtitle {
  font-size: 16px;
  color: #fff;
  font-family: inherit;
  font-weight: 400;
  transition: color 0.35s ease;
}
.accordion-item:hover .accordion-label,
.accordion-item:hover .accordion-subtitle { color: rgba(255,255,255,0.5); }
.accordion-item.active .accordion-label,
.accordion-item.active .accordion-subtitle { color: #fff; }
.accordion-icon {
  font-size: 18px;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.2s;
}
.accordion-item.active .accordion-icon { color: #fff; }
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.accordion-item.active .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel-inner { overflow: hidden; }
.accordion-panel p {
  padding-bottom: 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 620px;
}

/* ─── Dial intro ─────────────────────────────────────── */
.dial-intro {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-image: url('assets/pivot-hero-fullbleed.png');
  background-size: cover;
  background-position: center;
}
.dial-intro-reveal {
  position: absolute;
  inset: 0;
  background: #000;
  pointer-events: none;
  z-index: 1;
}
.dial-intro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
}
.dial-intro-content {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  padding: 0 60px;
  z-index: 3;
  opacity: 0;
  transform: translateY(36px);
  will-change: opacity, transform;
}
.dial-intro-inner {
  max-width: 1380px;
  margin: 0 auto;
}
.dial-intro-heading {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(58px, 7.2vw, 102px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: #fff;
  margin-top: 20px;
  white-space: nowrap;
}
.dial-intro-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 560px;
  margin-top: 24px;
}

/* ─── Hardware ───────────────────────────────────────── */
.hardware { background: #fff; padding: 0 60px; }
.hardware-scroll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1380px;
  margin: 0 auto;
}
.hardware-scroll-text {
  padding: 0;
}
.hardware-scroll-panel {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0;
}
.hardware-scroll-panel[data-hw-panel="0"] { padding-top: 220px; }
.hardware-scroll-panel .section-label { margin-bottom: 20px; }
.hardware-scroll-panel .h-display { margin-bottom: 28px; }
.hardware-cta { margin-top: 48px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hardware-scroll-img {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 140px 0 60px;
  display: flex;
  align-items: center;
}
.hardware-img-wrap {
  position: relative;
  width: 100%;
  height: 80%;
  border-radius: 16px;
  overflow: hidden;
}
.hardware-img-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s ease;
}

.feature-list { display: flex; flex-direction: column; }
.feature-row {
  padding: 18px 0;
  border-top: 1px solid var(--grey-3);
}
.feature-label {
  font-size: 15px;
  margin-bottom: 4px;
}
.feature-note {
  font-size: 15px;
  color: var(--grey-2);
  line-height: 1.55;
}

/* ─── Hardware cards ─────────────────────────────────── */
.hw-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hw-card {
  border-radius: 12px;
  padding: 18px 20px;
  cursor: pointer;
  background: var(--grey-bg);
  transition: background 0.22s ease;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 16px;
  align-items: start;
}
.hw-card:hover,
.hw-card.active { background: #E6E6E6; }
.hw-card-label {
  font-size: 15px;
}
.hw-card-note {
  font-size: 15px;
  color: var(--grey-2);
  line-height: 1.55;
}
.hw-card-footnote {
  font-size: 12px;
  color: var(--grey-2);
  opacity: 0.6;
}

/* ─── HA dashboard ───────────────────────────────────── */
.ha { background: #000; padding: 220px 60px; }
.ha-centered {
  max-width: 760px;
  margin: 0 auto;
}
.ha-centered .h-display { margin-bottom: 28px; }
.ha-centered .section-label { margin-bottom: 24px; }

.proof-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}
.proof-item {
  padding: 20px 0;
}
.proof-item-title {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.proof-item-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}
.proof-doc-link {
  color: inherit;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.proof-doc-link:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.65);
}

/* ─── Use cases ──────────────────────────────────────── */
.usecases {
  background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('assets/use-cases-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 140px 60px;
}
.usecases-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
  margin-bottom: 56px;
}
.usecases-intro .h-display { color: #fff; }
.usecases .section-label { color: rgba(255,255,255,0.5); }
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.usecase-card {
  border-radius: 15px;
  padding: 36px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 28px;
  cursor: default;
}
.usecase-card .usecase-title { color: #fff; }
.usecase-card .usecase-body  { color: rgba(255, 255, 255, 0.8); }
.usecase-icon-row {
  display: flex;
  align-items: center;
}
.usecase-icon {
  font-size: 36px;
  line-height: 1;
  margin-left: -5px;
  color: #fff;
}
.usecase-title {
  font-size: 24px;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.usecase-body {
  font-size: 14px;
  color: rgba(255,255,255,1.0);
  line-height: 1.6;
}

/* ─── Get started ────────────────────────────────────── */
.start { background: var(--grey-3); padding: 140px 60px; }
.start-heading { margin-bottom: 72px; }
.start-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.start-card {
  background: var(--grey-bg);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 240px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow 0.3s ease;
}
.start-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
.start-title {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.start-body {
  font-size: 13px;
  color: var(--grey-2);
  line-height: 1.65;
}
.start-ctas { display: flex; gap: 8px; flex-wrap: wrap; }
.start-cta {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  width: fit-content;
  padding: 9px 16px;
  border-radius: 5px;
}
.start-cta.primary { background: var(--blue); color: #fff; transition: background 0.35s ease; }
.start-cta.primary:hover { background: #0055d4; }
.start-cta.dark    { background: #000;        color: #fff; }
.start-cta.outline { background: transparent; color: #000; border: 1px solid #000; transition: background 0.35s ease; }
.start-cta.outline:hover { background: rgba(0,0,0,0.06); color: #000; }

/* ─── Footer ─────────────────────────────────────────── */
.footer { background: #000; padding: 140px 60px 60px; }
.footer-top { margin-bottom: 120px; }
.footer-headline {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 900px;
  margin-bottom: 48px;
}
.footer-actions { display: flex; gap: 12px; }
.footer-story {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  padding: 40px 0 8px;
}
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.footer-credit-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-credit-pipe {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}
.footer-credit {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.footer-credit-link {
  transition: color 0.2s ease;
}
.footer-credit-link:hover { color: rgba(255,255,255,0.75); }
.footer-build-link {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 1px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-build-link:hover {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.5);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: rgba(255,255,255,0.85); }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .topbar { padding: 0 32px; }
  .nav { padding: 0 32px; }
  .hero-actions-wrap { bottom: 60px; }
  .interaction, .banks, .ecosystem, .ha, .usecases, .start, .footer { padding-left: 32px; padding-right: 32px; }
  .hardware { padding-left: 32px; padding-right: 32px; }
  .interaction-text .h-display { font-size: 48px; }
  .hero-headline { font-size: 48px; }
  .start-grid { grid-template-columns: repeat(2, 1fr); }
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .banks-layout { display: flex; flex-direction: column; gap: 32px; }
  .banks-image-wrap { min-height: 360px; }
  .ecosystem-body { grid-template-columns: 1fr; gap: 48px; }
  .interaction-grid, .usecases-intro { grid-template-columns: 1fr; gap: 48px; }
  .hardware-scroll { grid-template-columns: 1fr; gap: 0; }
  .hardware-scroll-img { position: static; height: auto; padding: 0 0 80px; }
  .hardware-img-wrap { height: 400px; }
}
@media (max-width: 640px) {
  .topbar { padding: 0 20px; }
  .topbar-links { gap: 14px; }
  .topbar-link:not(:last-child) { display: none; }
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-actions-wrap { bottom: 40px; }
  .hero-content-wrap { padding: 0 20px; }
  .hero-headline { font-size: 36px; }
  .h-display { font-size: 32px; }
  .interaction-text .h-display { font-size: 36px; }
  .interaction, .banks, .ecosystem, .usecases, .start, .footer, .hardware { padding-left: 20px; padding-right: 20px; }
  .interaction { padding-top: 80px; padding-bottom: 80px; }
  .banks { padding-top: 80px; padding-bottom: 80px; }
  .ecosystem { padding-top: 80px; padding-bottom: 80px; }
  .usecases { padding-top: 80px; padding-bottom: 80px; background-attachment: scroll; }
  .start { padding-top: 80px; padding-bottom: 80px; }
  .footer { padding-top: 80px; padding-bottom: 40px; }
  .ha { padding: 80px 20px; }
  .start-grid, .usecases-grid { grid-template-columns: 1fr; }
  .banks-layout { gap: 32px; }
  .banks-strip { flex-wrap: wrap; }
  .bank-pill { flex: 0 0 calc(50% - 5px); }
  .banks-image-wrap { min-height: 260px; }
  .ecosystem-image-wrap { min-height: 260px; }
  .why { height: auto; }
  .why-sticky { position: static; height: auto; padding: 60px 20px; mask-image: none; -webkit-mask-image: none; }
  .why-inner { padding-top: 40px; }
  .scroll-zoom { height: auto; }
  .scroll-zoom-sticky { position: static; height: 60vh; }
  .scroll-zoom-text { left: 0; right: 0; bottom: 40px; transform: none; padding: 0 20px; }
  .dial-intro-content { padding: 0 20px; bottom: 48px; }
  .hardware-scroll-panel { padding: 60px 0; min-height: auto; }
  .hardware-scroll-panel[data-hw-panel="0"] { padding-top: 60px; }
  .hardware-img-wrap { height: 300px; }
  .footer-top { margin-bottom: 60px; }
}

/* ─── Made with Merritt page ──────────────────────────── */
.mwm-body { background: #fff; }

.mwm-nav-brand {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Intro */
.mwm-intro {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  background: #fff;
  padding: 40px 60px;
}
.mwm-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.mwm-studio-name {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 0;
}
.mwm-studio-tagline {
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-2);
}
.mwm-intro-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 16px;
}
.mwm-more-link {
  font-size: 13px;
  color: var(--grey-2);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.mwm-more-link:hover {
  color: var(--ink);
  border-color: rgba(0,0,0,0.5);
}

/* Featured */
.mwm-featured {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 0 30px 30px;
  display: flex;
  flex-direction: column;
  /* margin-top and min-height set by JS to sit just below the fixed intro */
}
.mwm-featured-card {
  position: relative;
  display: block;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
}
.mwm-slide-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.9s ease;
}
.mwm-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
}
.mwm-featured-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mwm-featured-meta .h-display { margin-bottom: 12px; }
.mwm-featured-meta .section-label { margin-bottom: 24px; }
.mwm-featured-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.mwm-featured-btn { flex-shrink: 0; }

/* Slide pills */
.mwm-slide-pills {
  display: flex;
  gap: 6px;
  align-items: center;
}
.mwm-pill {
  width: 36px;
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.mwm-pill-fill {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.8);
  transform: scaleX(0);
  transform-origin: left;
}
.mwm-pill.done .mwm-pill-fill {
  transform: scaleX(1);
}
.mwm-pill.active .mwm-pill-fill {
  animation: pillFill 6s linear forwards;
}
@keyframes pillFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Experiments grid */
.mwm-experiments {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 60px 60px 100px;
  border-top: 1px solid var(--grey-3);
}
.mwm-experiments-inner {
  max-width: 1380px;
  margin: 0 auto;
}
.mwm-experiments-label {
  font-size: 13px;
  color: var(--grey-2);
  margin-bottom: 28px;
}
.mwm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mwm-card {
  display: flex;
  flex-direction: column;
  color: inherit;
}
.mwm-card-image {
  border-radius: 12px;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
}
.mwm-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.mwm-card:hover .mwm-card-image::before {
  transform: scale(1.07);
}
.mwm-card-placeholder { background: var(--grey-bg); }
.mwm-card-name {
  font-size: 13px;
  color: var(--ink);
}
.mwm-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  background: rgba(0,0,0,0.15);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
}

/* About */
.mwm-about {
  padding: 100px 60px 120px;
  border-top: 1px solid var(--grey-3);
}
.mwm-about-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.mwm-about-photo {
  width: 50%;
  aspect-ratio: 3/4;
  border-radius: 8px;
}
.mwm-about-right .section-label { margin-bottom: 24px; }

/* Footer */
.mwm-footer {
  border-top: 1px solid var(--grey-3);
  padding: 28px 60px;
}
.mwm-footer-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mwm-footer-credit {
  font-size: 12px;
  color: var(--grey-2);
}
.mwm-footer-links {
  display: flex;
  gap: 24px;
}
.mwm-footer-links a {
  font-size: 12px;
  color: var(--grey-2);
  transition: color 0.2s ease;
}
.mwm-footer-links a:hover { color: var(--ink); }

/* MWM responsive */
@media (max-width: 1100px) {
  .mwm-intro, .mwm-experiments, .mwm-about, .mwm-footer { padding-left: 32px; padding-right: 32px; }
  .mwm-featured-card { height: 70vh; min-height: 400px; }
  .mwm-featured-text { gap: 20px; }
}
@media (max-width: 640px) {
  .mwm-intro-inner { grid-template-columns: 1fr; gap: 32px; }
  .mwm-intro, .mwm-experiments, .mwm-about, .mwm-footer { padding-left: 20px; padding-right: 20px; }
  .mwm-experiments { padding-top: 48px; padding-bottom: 60px; }
  .mwm-about { padding-top: 60px; padding-bottom: 60px; }
  .mwm-grid { grid-template-columns: 1fr; }
  .mwm-about-inner { grid-template-columns: 1fr; gap: 40px; }
  .mwm-about-photo { aspect-ratio: 1; }
}

/* ─── Contact Modal ──────────────────────────────── */
.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.contact-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.contact-modal {
  background: #fff;
  border-radius: 20px;
  padding: 56px;
  width: calc(100% - 40px);
  max-width: 520px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.contact-overlay.open .contact-modal {
  transform: translateY(0);
}
.contact-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--grey-2);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  font-family: inherit;
  transition: color 0.2s ease;
}
.contact-close:hover { color: var(--ink); }
.contact-modal-heading {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 20px;
}
.contact-modal-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 20px;
}
.contact-form {
  display: flex;
  flex-direction: column;
}
.contact-field {
  border-bottom: 1px solid var(--grey-3);
  padding: 16px 0;
}
.contact-field:first-of-type {
  padding-top: 2px;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  resize: none;
  line-height: 1.5;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--grey-2);
}
.contact-submit {
  margin-top: 32px;
  align-self: flex-start;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 12px 24px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.35s ease;
}
.contact-submit:hover { background: #0055d4; }
.contact-success {
  display: none;
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-2);
  padding-top: 8px;
}
.btn-get-in-touch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 12px 24px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.35s ease;
  text-decoration: none;
}
.btn-get-in-touch:hover { background: #0055d4; }
@media (max-width: 640px) {
  .contact-modal { padding: 40px 28px; }
}
