@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/JetBrainsMono-VariableFont.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

.cs-nw {
  --by-black: #171617;
  --by-black-light: #1e1d1e;
  --by-cream: #f1ede4;
  --by-accent: #009C6F;
  --by-accent-hover: #00b380;
  --by-accent-line: rgba(0, 156, 111, 0.32);
  --by-accent-soft: rgba(0, 156, 111, 0.12);
  --by-ink-200: #c9c7c4;
  --by-ink-300: #9a989b;
  --by-ink-400: #6b6a6c;
  --by-ink-500: #3a393b;
  --by-ink-600: #29282a;
  --by-paper-line: rgba(23, 22, 23, 0.10);
  --by-paper-200: #e7e2d6;
  --by-paper-300: #d8d2c4;

  --text-eyebrow: 0.75rem;
  --text-body: 1rem;
  --text-body-lg: 1.125rem;
  --text-body-sm: 0.875rem;
  --text-h4: 1.125rem;

  --tracking-display: -0.02em;
  --tracking-eyebrow: 0.14em;
  --tracking-heading: -0.01em;

  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  --leading-tight: 1.05;
  --leading-snug: 1.15;
  --leading-relaxed: 1.6;

  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --container-max: 1200px;
  --duration-base: 200ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);

  background: var(--by-black);
  font-family: var(--font-sans);
}

.cs-nw .wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

/* Full-bleed section photography */
.cs-nw .bg-d, .cs-nw .bg-m {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cs-nw .cs-mast .bg-m { object-position: center bottom; }
.cs-nw .bg-m { display: none; }
@media (max-width: 640px) {
  .cs-nw .bg-d { display: none; }
  .cs-nw .bg-m { display: block; }
}

/* Shared eyebrow */
.cs-nw .cs-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--by-accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.cs-nw .cs-eyebrow-rule { width: 26px; height: 1px; background: var(--by-accent); }

/* ---- Masthead ---- */
.cs-nw .cs-mast-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(120px, 13vw, 148px);
  padding-bottom: clamp(48px, 7vw, 80px);
}
.cs-nw .cs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(30px, 4.5vw, 48px);
}
.cs-nw .cs-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--by-ink-400);
}
.cs-nw .cs-crumb { color: var(--by-ink-300); transition: color var(--duration-base); }
.cs-nw .cs-crumb-sep { opacity: 0.5; }
.cs-nw .cs-crumb-current { color: var(--by-cream); }
.cs-nw .cs-backpill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--by-ink-300);
  background: var(--by-black);
  border: 1px solid rgba(242, 235, 216, 0.22);
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 40px;
  white-space: nowrap;
  transition: color var(--duration-base), background var(--duration-base), border-color var(--duration-base);
}
.cs-nw .cs-backpill svg { width: 14px; height: 14px; display: block; }
.cs-nw .cs-mast-kicker {
  font-size: var(--text-h4);
  font-weight: var(--weight-semibold);
  color: var(--by-ink-300);
  margin-top: 22px;
}
.cs-nw .cs-mast-h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--by-cream);
  margin: 14px 0 0;
  max-width: 16ch;
  text-wrap: balance;
}
.cs-nw .cs-mast-lead {
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
  color: var(--by-ink-300);
  margin: 24px 0 0;
  max-width: 600px;
  text-wrap: pretty;
}
.cs-nw .glance {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(36px, 5vw, 52px);
  border: 1px solid rgba(242, 235, 216, 0.22);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(23, 22, 23, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cs-nw .glance > div { padding: 18px 20px; }
.cs-nw .glance > div + div { border-left: 1px solid rgba(242, 235, 216, 0.22); }
.cs-nw .glance-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--by-ink-400);
}
.cs-nw .glance-v {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--by-cream);
  margin-top: 8px;
}

/* ---- Problem (light) ---- */
.cs-nw .cs-problem {
  background: var(--by-cream);
  color: var(--by-black);
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(56px, 8vw, 88px);
}
.cs-nw .cs-problem-h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-heading);
  margin: 18px 0 0;
  max-width: 22ch;
  text-wrap: balance;
}
.cs-nw .cs-problem-lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: var(--leading-relaxed);
  color: #3a3839;
  margin: clamp(20px, 2.5vw, 28px) 0 0;
  max-width: 760px;
  text-wrap: pretty;
}
.cs-nw .probgrid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 48px);
}
.cs-nw .prob-list { max-width: 700px; }
.cs-nw .prob-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 20px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--by-paper-line);
}
.cs-nw .prob-row-last { border-bottom: 1px solid var(--by-paper-line); }
.cs-nw .prob-n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--by-accent);
  font-weight: var(--weight-semibold);
}
.cs-nw .prob-row p {
  font-size: 16px;
  line-height: var(--leading-relaxed);
  color: #3a3839;
  margin: 0;
  text-wrap: pretty;
}
.cs-nw .prob-row strong { font-weight: var(--weight-semibold); color: var(--by-black); }
.cs-nw .prob-aside-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8880;
  margin-bottom: 16px;
}
.cs-nw .prob-card {
  border: 1px solid var(--by-paper-line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
}
.cs-nw .prob-stat { padding: clamp(20px, 2.4vw, 26px); }
.cs-nw .prob-stat-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8880;
}
.cs-nw .prob-stat-v {
  font-family: var(--font-sans);
  font-size: clamp(38px, 4.6vw, 52px);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--by-accent);
  margin-top: 12px;
}
.cs-nw .prob-stat p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #3a3839;
  margin: 12px 0 0;
  max-width: 32ch;
}
.cs-nw .prob-card-line { height: 1px; background: var(--by-paper-line); }
.cs-nw .prob-src {
  padding: 13px clamp(20px, 2.4vw, 26px);
  background: rgba(31, 38, 48, 0.035);
  border-top: 1px solid var(--by-paper-line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #8a8880;
}

/* ---- Tour ---- */
.cs-nw .cs-tour {
  background: var(--by-black);
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(56px, 8vw, 88px);
}
.cs-nw .cs-tour-h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-heading);
  color: var(--by-cream);
  margin: 18px 0 0;
  max-width: 24ch;
  text-wrap: balance;
}
.cs-nw .cs-tour-lead {
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
  color: var(--by-ink-300);
  margin: 18px 0 0;
  max-width: 620px;
  text-wrap: pretty;
}
.cs-nw .shot { margin-top: clamp(36px, 5vw, 56px); }
.cs-nw .shot:not(:last-child) {
  border-bottom: 1px solid var(--by-ink-600);
  padding-bottom: clamp(28px, 4vw, 44px);
}
.cs-nw .shot-frame {
  border: 1px solid var(--by-ink-600);
  border-radius: 16px;
  overflow: hidden;
  background: var(--by-black-light);
}
.cs-nw .shot-frame img { width: 100%; height: auto; display: block; }
.cs-nw .shot-frame .sw-preview { display: block; width: 100%; }
.cs-nw .shot-cap {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cs-nw .shot-n { font-family: var(--font-mono); font-size: 12px; color: var(--by-accent); }
.cs-nw .shot-name { font-size: var(--text-body); font-weight: var(--weight-semibold); color: var(--by-cream); }
.cs-nw .shot-what { font-size: var(--text-body-sm); color: var(--by-ink-300); }
.cs-nw .duo { display: flex; gap: clamp(16px, 2.5vw, 28px); align-items: flex-end; }
.cs-nw .duo-pad { flex: 1; min-width: 0; }
.cs-nw .duo-mob { width: min(28%, 260px); flex: none; }

/* ---- Our part ---- */
.cs-nw .cs-ourpart {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--by-black);
  color: var(--by-cream);
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: 0;
}
.cs-nw .cs-ourpart-inner { position: relative; z-index: 2; }
.cs-nw .ourgrid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}
.cs-nw .ourpart-col { padding-bottom: clamp(48px, 7vw, 80px); }
.cs-nw .cs-ourpart-h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-heading);
  color: var(--by-cream);
  margin: 18px 0 0;
  max-width: 16ch;
  text-wrap: balance;
}
.cs-nw .acc { margin-top: clamp(20px, 3vw, 32px); }
.cs-nw .acc-item { border-top: 1px solid var(--by-ink-600); }
.cs-nw .acc-item:last-child { border-bottom: 1px solid var(--by-ink-600); }
.cs-nw .acc-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  min-height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: var(--weight-semibold);
  color: var(--by-cream);
}
.cs-nw .acc-q svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--by-accent);
  transition: transform var(--duration-base) var(--ease-standard);
}
.cs-nw .acc-item.is-open .acc-q svg { transform: rotate(180deg); }
.cs-nw .acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-base) var(--ease-standard);
}
.cs-nw .acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.cs-nw .acc-panel-in { overflow: hidden; }
.cs-nw .acc-panel-in p {
  margin: 0 0 20px;
  padding-right: 34px;
  font-size: 15px;
  line-height: var(--leading-relaxed);
  color: var(--by-ink-300);
  text-wrap: pretty;
}
.cs-nw .founder-col {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.cs-nw .founder-img { position: relative; z-index: 1; display: block; width: min(100%, 460px); height: auto; }
.cs-nw .founder-card {
  position: absolute;
  left: 0;
  bottom: clamp(28px, 5vw, 72px);
  z-index: 2;
  background: rgba(23, 22, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--by-ink-600);
  border-radius: 12px;
  padding: 16px 18px;
  max-width: 210px;
}
.cs-nw .founder-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--by-cream); }
.cs-nw .founder-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--by-ink-300); margin-top: 4px; }
.cs-nw .founder-line-rule { width: 24px; height: 1px; background: var(--by-accent); margin: 12px 0; }
.cs-nw .founder-line { font-size: 13px; line-height: 1.5; color: var(--by-ink-300); }

/* ---- Outcome ---- */
.cs-nw .cs-outcome {
  background: var(--by-black);
  padding-top: clamp(64px, 9vw, 104px);
  padding-bottom: clamp(56px, 8vw, 88px);
  border-top: 1px solid var(--by-ink-600);
}
.cs-nw .wrap.cs-outcome-inner { max-width: 1000px; }
.cs-nw .cs-outcome-h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--by-cream);
  margin: 20px 0 0;
  max-width: 20ch;
  text-wrap: balance;
}
.cs-nw .cs-outcome-h2 .accent { color: var(--by-accent); }
.cs-nw .cs-outcome-lead {
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
  color: var(--by-ink-300);
  margin: 24px 0 0;
  max-width: 660px;
  text-wrap: pretty;
}
.cs-nw .outcome-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: clamp(36px, 5vw, 52px);
}
.cs-nw .outcome-card {
  border: 1px solid var(--by-ink-600);
  border-radius: 14px;
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--by-black-light);
}
.cs-nw .outcome-card-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--by-accent);
  margin-bottom: 12px;
}
.cs-nw .outcome-card p { font-size: 15px; line-height: var(--leading-relaxed); color: var(--by-ink-300); margin: 0; text-wrap: pretty; }

/* ---- Proof of seriousness ---- */
.cs-nw .cs-serious {
  background: var(--by-black);
  padding-top: 0;
  padding-bottom: clamp(64px, 9vw, 104px);
}
.cs-nw .cs-serious-inner {
  border-top: 1px solid var(--by-ink-600);
  padding-top: clamp(40px, 5vw, 60px);
}
.cs-nw .cs-serious-h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-heading);
  color: var(--by-cream);
  margin: 16px 0 0;
  max-width: 24ch;
  text-wrap: balance;
}
.cs-nw .serious-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: clamp(28px, 4vw, 44px);
}
.cs-nw .serious-card {
  border: 1px solid var(--by-ink-600);
  border-radius: 14px;
  padding: clamp(20px, 2.4vw, 26px);
  background: var(--by-black-light);
}
.cs-nw .serious-card-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--by-accent);
  margin-bottom: 10px;
}
.cs-nw .serious-card p { font-size: 14px; line-height: var(--leading-relaxed); color: var(--by-ink-300); margin: 0; text-wrap: pretty; }

/* ---- Hover (gated) ---- */
@media (hover: hover) {
  .cs-nw .cs-crumb:hover { color: var(--by-accent); }
  .cs-nw .cs-backpill:hover { color: #ffffff; background: var(--by-black-light); border-color: rgba(242, 235, 216, 0.4); }
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .cs-nw .glance { grid-template-columns: repeat(2, 1fr); }
  .cs-nw .glance > div + div { border-left: none; }
  .cs-nw .glance > div { border-top: 1px solid rgba(242, 235, 216, 0.22); }
  .cs-nw .glance > div:first-child,
  .cs-nw .glance > div:nth-child(2) { border-top: none; }
  .cs-nw .probgrid { grid-template-columns: 1fr; }
  .cs-nw .ourgrid2 { grid-template-columns: 1fr; }
  .cs-nw .founder-col { display: none !important; }
}
@media (max-width: 560px) {
  .cs-nw .glance { grid-template-columns: 1fr; margin-bottom: 40px; }
  .cs-nw .glance > div:nth-child(2) { border-top: 1px solid rgba(242, 235, 216, 0.22); }
  .cs-nw .duo { flex-direction: column; align-items: stretch; }
  .cs-nw .duo-mob { width: 100% !important; max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-nw * { transition: none !important; animation: none !important; }
}


/* ============ Northwind tour: device frames ============ */
.cs-nw .nw-screen { margin-top: clamp(36px, 5vw, 56px); }
.cs-nw .nw-screen:not(:last-child) { border-bottom: 1px solid var(--by-ink-600); padding-bottom: clamp(28px, 4vw, 44px); }
.cs-nw .cs-device { background: var(--by-paper-200); border: 1px solid var(--by-paper-300); border-radius: 22px; padding: clamp(10px, 1.2vw, 16px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.cs-nw .cs-device .nw-fit { border-radius: 12px; background: #fff; border: 1px solid var(--by-paper-300); }
.cs-nw .nw-tier { display: none; }
@media (min-width: 1024px) { .cs-nw .nw-tier--desktop { display: block; } }
@media (min-width: 768px) and (max-width: 1023.98px) { .cs-nw .nw-tier--tablet { display: block; } }
@media (max-width: 767.98px) { .cs-nw .nw-tier--mobile { display: block; } }

/* ============ Northwind outcome: hero stat + rail ============ */
.cs-nw .wrap.cs-outcome-inner { max-width: 1040px; }
.cs-nw .out-hero { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: clamp(36px, 5vw, 52px); padding: clamp(22px, 3vw, 34px); border: 1px solid var(--by-ink-600); border-radius: 16px; background: var(--by-black-light); }
.cs-nw .out-hero-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--by-accent); margin-bottom: 10px; }
.cs-nw .out-hero-v { font-size: clamp(48px, 7vw, 88px); font-weight: var(--weight-extrabold); line-height: 1; letter-spacing: -0.03em; color: var(--by-cream); }
.cs-nw .out-hero-body p { font-size: var(--text-body-lg); line-height: var(--leading-relaxed); color: var(--by-ink-300); margin: 0; text-wrap: pretty; }
.cs-nw .out-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 24px); margin-top: clamp(16px, 2.5vw, 24px); }
.cs-nw .out-rail-item { border: 1px solid var(--by-ink-600); border-radius: 14px; padding: clamp(20px, 2.5vw, 28px); background: var(--by-black-light); }
.cs-nw .out-rail-v { font-family: var(--font-sans); font-size: clamp(32px, 4vw, 44px); font-weight: var(--weight-extrabold); line-height: 1; letter-spacing: -0.025em; color: var(--by-accent); }
.cs-nw .out-rail-unit { font-size: 0.4em; font-weight: var(--weight-semibold); margin-left: 4px; color: var(--by-ink-300); }
.cs-nw .out-rail-k { font-size: 14px; line-height: var(--leading-relaxed); color: var(--by-ink-300); margin-top: 12px; text-wrap: pretty; }
.cs-nw .out-line { display: flex; align-items: flex-start; gap: 16px; margin-top: clamp(28px, 4vw, 40px); }
.cs-nw .out-line-rule { flex: none; width: 26px; height: 1px; background: var(--by-accent); margin-top: 12px; }
.cs-nw .out-line p { font-size: var(--text-body-lg); line-height: var(--leading-relaxed); color: var(--by-cream); margin: 0; text-wrap: pretty; }
.cs-nw .out-line .accent { color: var(--by-accent); }
@media (max-width: 700px) {
  .cs-nw .out-hero { grid-template-columns: 1fr; gap: 14px; }
  .cs-nw .out-rail { grid-template-columns: 1fr; }
}

/* ---- Mobile: abbreviate the back button to the icon only ---- */
@media (max-width: 640px) {
  .cs-nw .cs-backpill { width: 44px; height: 44px; min-height: 44px; padding: 0; gap: 0; justify-content: center; }
  .cs-nw .cs-backpill .bk-label { display: none; }
}


/* ==================== Hero B + Calls D (mobile and iPad, <1280) ====================
   Desktop (>=1280) keeps the full-bleed backgrounds; below that, imagery is
   contained: hero photo becomes a fading cap above solid text, and Our part
   drops the background photo for a contained founder card. */

/* Base (desktop defaults for the new elements) */
.cs-nw .cs-mastcap { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cs-nw .cs-mastfade { display: none; }
.cs-nw .cs-backpill-cap { display: none; }
.cs-nw .founder-mini { display: none; }
.cs-nw .founder-photo { display: none; }

@media (max-width: 1279.98px) {
  /* hero: image cap fading to solid before the headline */
  .cs-nw .cs-mastcap { position: relative; inset: auto; height: 400px; overflow: hidden; }
  .cs-nw .cs-mastfade { display: block; position: absolute; inset: 0; background:
      linear-gradient(to bottom, rgba(23, 22, 23, 0.12) 0%, rgba(23, 22, 23, 0.44) 60%, #171617 97%),
      linear-gradient(to right, rgba(23, 22, 23, 0.55) 0%, rgba(23, 22, 23, 0) 45%); }
  .cs-nw .cs-mast-inner { padding-top: 0; margin-top: -84px; }
  .cs-nw .cs-nav { display: none; }
  .cs-nw .cs-backpill-cap { display: inline-flex; position: absolute; top: clamp(104px, 12vw, 132px); left: clamp(20px, 4vw, 48px); z-index: 3; pointer-events: auto; }

  /* our part: solid surface, no background photo */
  .cs-nw .cs-ourpart { background: var(--by-black-light); }
  .cs-nw .cs-ourpart .bg-d, .cs-nw .cs-ourpart .bg-m { display: none !important; }
}

/* iPad landscape (1024-1279): founder as a sticky side card */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .cs-nw .ourgrid2 { grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
  .cs-nw .founder-col { display: block; position: sticky; top: 24px; border: 1px solid rgba(242, 235, 216, 0.14); border-radius: 16px; background: var(--by-black); overflow: hidden; }
  .cs-nw .founder-img { display: none; }
  .cs-nw .founder-photo { display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: top; }
  .cs-nw .founder-card { position: static; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; max-width: none; padding: 18px 20px 20px; }
}

/* iPad portrait and down (<1024): stacked, compact founder card above the accordion */
@media (max-width: 1023.98px) {
  .cs-nw .cs-mastcap { height: 340px; }
  .cs-nw .cs-mastfade { background: linear-gradient(to bottom, rgba(23, 22, 23, 0.14) 0%, rgba(23, 22, 23, 0.48) 58%, #171617 96%); }
  .cs-nw .cs-mast-inner { margin-top: -48px; }
  .cs-nw .ourgrid2 { grid-template-columns: 1fr; }
  .cs-nw .founder-col { display: none !important; }
  .cs-nw .founder-mini { display: flex; align-items: center; gap: 16px; border: 1px solid rgba(242, 235, 216, 0.14); border-radius: 14px; padding: 14px 18px; background: var(--by-black); margin: 22px 0 4px; max-width: 560px; }
  .cs-nw .founder-mini .fm-ph { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #2a292b; }
  .cs-nw .founder-mini .fm-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
  .cs-nw .founder-mini .fm-nm { font-size: 15px; font-weight: var(--weight-extrabold, 800); color: var(--by-cream); }
  .cs-nw .founder-mini .fm-rl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--by-accent); margin-top: 3px; }
  .cs-nw .founder-mini .fm-ln { font-size: 13px; line-height: 1.5; color: var(--by-ink-300); margin-top: 6px; text-wrap: pretty; }
}

/* phones (<640): shorter cap, tighter founder card */
@media (max-width: 639.98px) {
  .cs-nw .cs-mastcap { height: 240px; }
  .cs-nw .cs-mast-inner { margin-top: -34px; }
  .cs-nw .founder-mini { padding: 12px 14px; gap: 13px; }
  .cs-nw .founder-mini .fm-ph { width: 56px; height: 56px; }
}

/* glance: no orphaned fifth box in the 2-column range */
@media (max-width: 960px) and (min-width: 561px) {
  .cs-nw .glance > div:nth-child(5) { grid-column: 1 / -1; }
}


/* ============ cs-nw · function section (what the platform does) ============ */
.cs-nw .cs-func { background: var(--by-black); padding: clamp(40px, 5.5vw, 72px) 0; }
.cs-nw .cs-func-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cs-nw .cs-func-head h2 { margin: 16px 0 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.cs-nw .cs-func-head p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--by-ink-300); max-width: 40ch; text-wrap: pretty; }
.cs-nw .cs-func-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 44px); }
.cs-nw .cs-func-row { display: flex; align-items: center; gap: 14px; padding: 16px 2px; border-top: 1px solid rgba(242, 235, 216, 0.12); min-height: 56px; }
.cs-nw .cs-func-row .nwi { width: 18px; height: 18px; flex: none; color: var(--by-accent); display: inline-flex; }
.cs-nw .cs-func-row .nwi svg { width: 100%; height: 100%; }
.cs-nw .cs-func-row .cs-func-t { font-size: 15.5px; font-weight: 600; color: var(--by-cream); }
.cs-nw .cs-func-list .cs-func-row:nth-child(1),
.cs-nw .cs-func-list .cs-func-row:nth-child(2) { border-top: none; }
@media (max-width: 900px) {
  .cs-nw .cs-func-grid { grid-template-columns: 1fr; gap: clamp(20px, 3vw, 28px); }
  .cs-nw .cs-func-head p { display: none; }
  .cs-nw .cs-func-list { grid-template-columns: 1fr; gap: 0; }
  .cs-nw .cs-func-list .cs-func-row:nth-child(1) { border-top: none; }
  .cs-nw .cs-func-list .cs-func-row:nth-child(2) { border-top: 1px solid rgba(242, 235, 216, 0.12); }
}
@media (max-width: 560px) {
  .cs-nw .cs-func-row { padding: 14px 2px; gap: 12px; min-height: 48px; }
  .cs-nw .cs-func-row .cs-func-t { font-size: 15px; }
  .cs-nw .cs-func-row .nwi { width: 17px; height: 17px; }
}
