/* ============================================================
   Bridge — /platform page styles
   ============================================================ */

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px var(--gutter);
  color: var(--white);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease),
              color 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav .wordmark {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.72;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.is-cta {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Login reads as a small outlined button rather than a plain nav link */
.nav-links a.nav-login {
  opacity: 1;
  border: 1px solid currentColor;
  padding: 8px 18px;
  transition: background 0.2s, opacity 0.2s;
}
.nav-links a.nav-login:hover { background: rgba(255, 255, 255, 0.14); }
.nav.is-stuck .nav-links a.nav-login:hover { background: rgba(10, 10, 10, 0.06); }

/* Solid state after scrolling past the hero */
.nav.is-stuck {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-bottom-color: var(--rule);
  padding: 18px var(--gutter);
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.72) 42%,
    rgba(10, 10, 10, 0.34) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 96px;
  padding-top: 160px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 30px;
}
.hero-eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.6vw, 86px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.hero h1 em { font-style: italic; display: block; }
.hero-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.82);
  max-width: 54ch;
  margin-bottom: 44px;
}
.hero-cta { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }

/* ---------- Problem points ---------- */
.points { margin-top: 52px; }
.point {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  padding: 26px 0;
}
.point-num {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  padding-top: 3px;
}
.point h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}
.point p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- Stat band ---------- */
.stats {
  background: var(--ink);
  color: var(--white);
}
/* Background is full-bleed; the grid itself aligns to the page wrap. */
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--maxw);
  margin: 0 auto;
}
.stat {
  padding: 76px 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.stat p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted-dark);
  max-width: 34ch;
}

/* ---------- The Gap ---------- */
.gap-statement {
  border-top: 1px solid var(--rule);
  margin-top: 44px;
  padding-top: 44px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.02em;
}
.gap-statement em { font-style: italic; }

/* ---------- Framework ---------- */
.fw-head {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 72px;
}
.fw-row {
  display: grid;
  grid-template-columns: 64px 268px 1fr;
  border-top: 1px solid var(--rule);
  padding: 34px 0;
  align-items: start;
}
.fw-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--rule);
}
.fw-label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
  padding-right: 40px;
}
.fw-question {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  padding-right: 40px;
}
.fw-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  border-left: 1px solid var(--rule);
  padding-left: 34px;
}

/* Dark closing band */
.band {
  background: var(--ink);
  color: var(--white);
  padding: 84px 0;
}
.band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.band-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.9vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ---------- How it works ---------- */
.flow {
  display: grid;
  grid-template-columns: 1fr 92px 1fr 92px 1fr;
  align-items: stretch;
  margin-top: 72px;
}
.flow-col {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  background: var(--white);
}
/* When one column has fewer rows than its neighbor, the grid still stretches
   both to match height — rather than leaving dead space at the bottom, the
   shorter column's rows spread out to fill it, so the extra room reads as
   generous spacing, not a column that just ran out of content. */
.flow-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.flow-head {
  padding: 20px 28px;
  border-bottom: 1px solid var(--rule);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.flow-item {
  padding: 18px 28px;
  border-bottom: 1px solid var(--rule);
}
.flow-item:last-child { border-bottom: none; }
.flow-item b { display: block; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.flow-item span { font-size: 13px; font-weight: 300; color: var(--muted); }

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 18px;
}

.flow-engine {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
}
.flow-engine .flow-head {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
}
.engine-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 32px;
  text-align: center;
}
.engine-mark {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.engine-rule { width: 34px; height: 1px; background: rgba(255, 255, 255, 0.3); margin-bottom: 26px; }
.engine-body ul { text-align: left; }
.engine-body li {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted-dark);
  padding-left: 18px;
  position: relative;
  margin-bottom: 12px;
}
.engine-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

/* ---------- Platform carousel ---------- */
.plat-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 64px;
}
.plat-head .lede { text-align: right; max-width: 42ch; margin-left: auto; }

.shot-stage { background: var(--ink); padding: 72px 0; }
.browser {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: #fff;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #E8E8E6;
  border-bottom: 1px solid #d4d4d2;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #C6C6C4; }
.browser-url {
  flex: 1;
  margin-left: 8px;
  background: #fff;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 11px;
  color: var(--muted);
}
.browser figure { position: relative; }
.browser img { width: 100%; display: block; }

.shot-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding-top: 56px;
}
.shot-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.shot-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.shot-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
  max-width: 56ch;
}

.shot-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.arrows { display: flex; gap: 12px; }
.arrow {
  width: 46px; height: 46px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.arrow:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pips { display: flex; gap: 7px; }
.pip {
  width: 22px; height: 2px;
  background: var(--rule);
  transition: background 0.25s;
}
.pip.is-on { background: var(--ink); }

/* Fade during slide change */
.is-swapping { opacity: 0; }
.browser img, .shot-label, .shot-title, .shot-desc { transition: opacity 0.28s ease; }

/* ---------- Quote ---------- */
.quote {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  overflow: hidden;
  padding: 80px var(--gutter);
}
.quote img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.quote blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.32;
  color: var(--white);
  text-align: center;
  max-width: 20ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

/* ---------- Audience tabs ---------- */
.tabs {
  display: flex;
  gap: 42px;
  border-bottom: 1px solid var(--rule);
  margin: 56px 0 60px;
  overflow-x: auto;
}
.tab {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 16px;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

.panel { display: none; }
.panel.is-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.panel h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.panel h3 em { font-style: italic; display: block; }
.panel-bullets li {
  display: grid;
  grid-template-columns: 46px 1fr;
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink);
}
.panel-bullets li:first-child { border-top: 1px solid var(--rule); }
.panel-bullets .mark { color: var(--muted); }

/* ---------- Request / form ---------- */
.request { display: grid; grid-template-columns: 1fr 1fr; }
.request-media { position: relative; overflow: hidden; min-height: 640px; }
.request-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.request-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.15) 60%);
}
.request-caption {
  position: absolute;
  z-index: 1;
  left: 48px; right: 48px; bottom: 52px;
  color: var(--white);
}
.request-caption::before {
  content: "";
  display: block;
  width: 28px; height: 1px;
  background: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.request-caption p {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.request-caption em { font-style: italic; display: block; }

.request-form {
  background: var(--bg-soft);
  padding: 88px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.request-form .eyebrow { margin-bottom: 26px; }
.request-form .eyebrow::before { display: none; }
.form-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 20px 0 44px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field input,
.field select {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 8px 0 12px;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='%236B6B6B' stroke-width='1.2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 2px center;
}
.field input::placeholder { color: #B3B3AF; }
.field input:focus,
.field select:focus { outline: none; border-bottom-color: var(--ink); }

.form-submit { margin-top: 40px; width: 100%; }
.form-submit:disabled { cursor: wait; }

/* Honeypot — visually gone, still reachable to bots parsing the DOM */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-error {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #8A2A2A;
}
.form-error a { text-decoration: underline; text-underline-offset: 3px; }

.form-success {
  display: none;
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 12px;
}
.form-success p { font-size: 15px; font-weight: 300; color: var(--muted); }
.is-submitted .form-body { display: none; }
.is-submitted .form-success { display: block; }

/* ---------- Footer ---------- */
.foot {
  background: var(--ink);
  color: var(--white);
  padding: 44px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.foot .wordmark { font-family: var(--font-display); font-size: 21px; }
.foot-links { display: flex; gap: 34px; }
.foot-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted-dark);
  transition: color 0.2s;
}
.foot-links a:hover { color: var(--white); }
.foot-copy { font-size: 12px; color: rgba(255, 255, 255, 0.4); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-arrow { padding: 18px 0; transform: rotate(90deg); }
  .flow-col + .flow-col, .flow-engine { margin-top: 0; }
}

@media (max-width: 900px) {
  .nav { padding: 18px var(--gutter); }
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 60px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink);
    padding: 0 var(--gutter);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .nav-links.is-open { max-height: 420px; }
  .nav-links a {
    color: var(--white);
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule-dark);
  }
  /* Stacked mobile menu — Login reads as just another row, not a boxed button */
  .nav-links a.nav-login {
    border: none;
    border-bottom: 1px solid var(--rule-dark);
    padding: 18px 0;
  }
  .nav-toggle {
    display: block;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .fw-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 44px; }
  .fw-row { grid-template-columns: 44px 1fr; row-gap: 14px; }
  .fw-body { grid-column: 2; border-left: none; padding-left: 0; }

  .stats-inner { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 48px var(--gutter); }
  .stat:last-child { border-bottom: none; }

  .band-inner, .plat-head, .panel.is-active, .request { grid-template-columns: 1fr; gap: 32px; }
  .plat-head .lede { text-align: left; margin-left: 0; }

  .shot-meta { grid-template-columns: 1fr; gap: 32px; }
  .shot-controls {
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
  }
  /* 9 pips + arrows overflow a phone's content width, so let the pips flex down */
  .pips { flex: 1 1 auto; min-width: 0; }
  .pip { width: auto; flex: 1 1 0; min-width: 8px; }

  .request-media { min-height: 420px; }
  .request-caption { left: var(--gutter); right: var(--gutter); bottom: 40px; }
  .request-form { padding: 64px var(--gutter); }
  .field-grid { grid-template-columns: 1fr; }

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