/* Home 2 — light SaaS cards: soft canvas, rounded panels, quiet rules */

html[data-home-bf="1"],
html[data-home-bf="1"] body {
  background: #f3f4f6 !important;
  color: #18181b !important;
  color-scheme: light;
}

html[data-home-bf="1"] header:not(.bf-frame header),
html[data-home-bf="1"] footer:not(.bf-frame footer) {
  display: none !important;
}

.bf-frame {
  --bf-ink: #18181b;
  --bf-line: rgba(24, 24, 27, 0.1);
  --bf-rail: #fff;
  --bf-paper: #fff;
  --bf-muted: #71717a;
  --bf-gap: 0.75rem;
  --bf-radius: 14px;
  --bf-shadow: 0 1px 2px rgba(24, 24, 27, 0.04), 0 10px 28px rgba(24, 24, 27, 0.05);
  --bf-text: "Neue Montreal", "Helvetica Neue", Helvetica, Arial, sans-serif;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 14.5rem;
  gap: var(--bf-gap);
  min-height: 100vh;
  margin: var(--bf-gap);
  border: 0;
  background: transparent;
  color: var(--bf-ink);
  font-family: var(--bf-text);
  font-size: 16px;
  line-height: 1.4;
}

.bf-frame *,
.bf-frame *::before,
.bf-frame *::after {
  box-sizing: border-box;
}

.bf-frame a {
  color: inherit;
  text-decoration: none;
}

.bf-frame a:hover {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.bf-frame :focus-visible {
  outline: 1px solid var(--bf-ink);
  outline-offset: 2px;
}

.bf-main {
  display: flex;
  flex-direction: column;
  gap: var(--bf-gap);
  min-width: 0;
}

.bf-hero,
.bf-main > section,
.bf-stamp,
.bf-nav,
.bf-rail-links,
.bf-meta {
  border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius);
  background: var(--bf-paper);
  box-shadow: var(--bf-shadow);
}

.bf-hero {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - (var(--bf-gap) * 2));
  padding: 1.35rem 1.15rem;
  background: var(--bf-paper);
}

.bf-main > .bf-hero {
  border-color: #fff;
}

.bf-hero > .bf-hero-mist {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bf-hero-mist > section {
  height: 100% !important;
}

.bf-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.15rem, 3.75cqi, 2.3rem);
  width: 100%;
  /* 5.01cqi is the tuned desktop size (~49px in a 980px hero). The floor stops the line collapsing below the subtext. */
  font-size: clamp(1.4rem, 5.01cqi, 4rem);
  pointer-events: none;
  text-align: center;
  text-shadow: 0 1px 2px rgba(8, 20, 44, 0.28);
}

.bf-kicker {
  margin: 0;
  max-width: 36rem;
  color: #f4f7fb;
  font-family: "Switzer", var(--font-switzer), system-ui, sans-serif;
  font-size: clamp(calc(0.8125rem - 4px), calc(0.371em - 4px), calc(1.35rem - 4px));
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.bf-hero-intro-sm {
  display: none;
}

.bf-display {
  margin: 0;
  width: 100%;
  color: #f7f5ef;
  font-family: "Fira Sans", system-ui, sans-serif;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.bf-display span {
  display: block;
  white-space: nowrap;
}

.bf-title {
  margin: 0;
  padding: 0.85rem 1.25rem 0.7rem;
  border-bottom: 1px solid var(--bf-line);
  font-family: var(--bf-text);
  font-size: clamp(1.15rem, 2.9vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

@media (min-width: 801px) {
  .bf-title {
    font-size: clamp(1.15rem, calc(2.9vw - 8px), calc(2.75rem - 8px));
  }
}

.bf-studies {
  display: flex;
  flex-direction: column;
  container-type: inline-size;
  margin: 0;
  padding: 0 0 1.25rem;
  list-style: none;
}

.bf-studies > li + li {
  border-top: 1px solid var(--bf-line);
}

.bf-study-card {
  --bf-study-image: calc((100cqi - 2.3rem - 2rem) / 3);
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) var(--bf-study-image);
  gap: 0.85rem 1.5rem;
  align-items: start;
  min-width: 0;
  padding: 1.65rem 1.25rem;
  color: inherit;
  text-decoration: none;
}

.bf-frame a.bf-study-card:hover,
.bf-frame a.bf-study-card:focus-visible {
  text-decoration: none;
}

.bf-study-year {
  padding-top: 0.2rem;
  color: var(--bf-muted);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

.bf-study-media {
  position: relative;
  display: block;
  width: var(--bf-study-image);
  justify-self: end;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: #ececee;
}

.bf-study-media :is(img, video) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.bf-study-hover {
  opacity: 0;
}

.bf-study-card:hover .bf-study-media :is(img, video),
.bf-study-card:focus-visible .bf-study-media :is(img, video) {
  transform: scale(1.02);
}

.bf-study-card:hover .bf-study-hover,
.bf-study-card:focus-visible .bf-study-hover {
  opacity: 1;
}

.bf-study-copy {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-width: 0;
  padding-top: 0.05rem;
}

.bf-study-title {
  font-family: "Switzer", var(--font-switzer), system-ui, sans-serif;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.bf-study-card:hover .bf-study-title {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.bf-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bf-study-tags li {
  padding: 0.22rem 0.5rem;
  border-radius: 0.25rem;
  background: #f3f4f6;
  color: var(--bf-ink);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bf-arrow {
  font-family: var(--bf-text);
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: 0;
}

.bf-index {
  margin: 0;
  padding: 0.7rem 0 4.5rem;
}

.bf-index a {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.42rem 1.25rem;
  font-size: 0.92rem;
  letter-spacing: -0.011em;
  text-decoration: none;
}

.bf-index a:hover {
  text-decoration: none;
  background: rgba(0, 0, 0, 0.035);
}

.bf-index-title {
  font-weight: 500;
}

.bf-index-meta {
  color: var(--bf-muted);
}

.bf-research .bf-index {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.25rem;
  box-sizing: border-box;
  min-height: 0;
  padding: 0.85rem 0 4.5rem;
}

.bf-research .bf-index a {
  grid-template-columns: 2.75rem minmax(0, 1.05fr) minmax(0, 1fr);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  padding-right: calc(min(48%, 26rem) + 1.5rem);
}

.bf-research-body {
  position: static;
}

.bf-research {
  position: relative;
  overflow: visible;
}

.bf-research-preview {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  z-index: 2;
  width: min(48%, 26rem);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--bf-radius);
  background: #eceae6;
  box-shadow: var(--bf-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 160ms ease;
}

.bf-research-preview.is-on {
  opacity: 1;
}

.bf-research-preview img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 160ms ease;
}

.bf-research-preview img.is-on {
  opacity: 1;
}

.bf-about {
  display: grid;
  gap: 1.15rem;
  max-width: 40rem;
  padding: 2.25rem 1.25rem 4.5rem;
}

.bf-about p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: -0.011em;
}

.bf-about-lead {
  font-size: 1.45rem !important;
  line-height: 1.25 !important;
  letter-spacing: -0.03em !important;
}

.bf-about a,
.bf-contact a {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.bf-contact {
  display: grid;
  gap: 0.35rem;
  padding: 2rem 1.25rem 4rem;
  font-size: 1.02rem;
}

.bf-contact .bf-essay-links {
  justify-content: flex-start;
  gap: 1.15rem;
}

.bf-contact-email {
  position: relative;
  display: inline-flex;
}

.bf-contact-copied {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.4rem);
  z-index: 2;
  margin: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 0.35rem;
  background: #161519;
  color: #fdfcfc;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bf-contact-copied.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* —— Rail —— */
.bf-rail {
  position: fixed;
  z-index: 5;
  top: var(--bf-gap);
  right: var(--bf-gap);
  bottom: var(--bf-gap);
  display: flex;
  flex-direction: column;
  gap: var(--bf-gap);
  width: 14.5rem;
  border: 0;
  background: transparent;
}

.bf-stamp {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  text-decoration: none;
}

.bf-stamp:hover {
  text-decoration: none;
}

.bf-stamp svg {
  width: 8.4rem;
  height: 8.4rem;
}

.bf-stamp text {
  fill: currentColor;
  font-family: var(--bf-text);
}

.bf-stamp text.bf-stamp-mark {
  font-weight: 500;
}

.bf-stamp-ring {
  transform-box: view-box;
  transform-origin: center;
  animation: bf-stamp-spin 22s linear infinite;
}

@keyframes bf-stamp-spin {
  to {
    transform: rotate(360deg);
  }
}

.bf-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1.75rem;
  list-style: none;
}

.bf-nav ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.bf-nav a {
  position: relative;
  display: block;
  padding: 0.55rem 0;
  font-size: calc(0.84rem + 1px);
  letter-spacing: -0.01em;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.12em;
}

.bf-nav a:hover {
  text-decoration-color: currentColor;
  text-underline-offset: 0.12em;
}

.bf-nav li {
  position: relative;
}

.bf-nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.15rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--bf-ink);
  transform: translateY(-50%);
}

.bf-rail-links {
  display: grid;
  grid-template-columns: 5.56rem minmax(0, 1fr);
  padding-block: 0;
  overflow: visible;
  font-size: calc(0.78rem + 1px);
}

.bf-rail-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  border-right: 1px solid var(--bf-line);
  color: var(--bf-muted);
  background: transparent;
  text-align: center;
}

.bf-rail-links div {
  display: flex;
  flex-direction: column;
  padding-block: calc(0.85rem - 0.28rem);
}

.bf-rail-links a {
  padding: 0.28rem 0.65rem 0.28rem 1.3rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
}

.bf-rail-links a:hover {
  background: #f4f4f5;
  color: inherit;
  text-decoration: none;
}

.bf-rail-email {
  position: relative;
  display: block;
}

.bf-rail-links button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.28rem 0.65rem 0.28rem 1.3rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}

.bf-rail-links button:hover {
  background: #f4f4f5;
  color: inherit;
}

.bf-rail-email .bf-contact-copied {
  left: 1.3rem;
  bottom: calc(100% + 0.15rem);
  transform: translateY(4px);
}

.bf-rail-email .bf-contact-copied.is-visible {
  transform: translateY(0);
}

.bf-meta {
  padding: 0.85rem;
  text-align: center;
  font-size: calc(0.75rem + 1px);
}

.bf-meta p {
  margin: 0;
}

.bf-meta-stats {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  height: 1.25em;
  margin-top: 0.85rem;
  overflow: hidden;
  color: var(--bf-muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  white-space: nowrap;
}

.bf-mobile-nav {
  display: none;
}

/* —— Case study: one sheet, ruled like a Bondfire study —— */
.bf-study {
  --bf-band: 3.5rem;
  gap: 0;
  overflow: hidden;
  padding: 1.6rem 1.35rem 3.5rem;
  border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius);
  background: var(--bf-paper);
  box-shadow: var(--bf-shadow);
  color: var(--bf-ink);
  font-family: "Switzer", var(--font-switzer), system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: -0.011em;
  container-type: inline-size;
}

.bf-study.bf-main > section {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bf-study-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(34rem, 100%) minmax(0, 1fr);
  column-gap: 1.25rem;
  row-gap: var(--bf-band);
  align-items: start;
}

.bf-study-intro {
  grid-column: 1;
  width: auto;
  container-type: inline-size;
}

.bf-study-kicker {
  margin: 0 0 0.7rem;
  font-family: var(--bf-text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.bf-study-intro .bf-study-tags {
  margin: 2.5rem 0 0;
}

.bf-study-hero h1 {
  margin: 0;
  font-family: var(--bf-text);
  font-size: min(calc(3.5rem - 16px), 18cqi);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.bf-study-hero .bf-study-intro dl {
  margin-top: 2rem;
}

.bf-study-descriptor {
  width: min(34rem, 100%);
  margin: 0;
  font-size: clamp(1.15rem, 1.55vw, 1.35rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.bf-study-hero-aside {
  grid-column: 2 / -1;
  display: flex;
  flex-direction: column;
  gap: var(--bf-band);
  width: 100%;
  min-width: 0;
}

.bf-study-hero dl {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.bf-study-hero dl div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--bf-line);
}

.bf-study-hero dl div:first-child {
  padding-top: 0;
}

.bf-study-hero dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.bf-study-hero dt,
.bf-study-hero dd {
  margin: 0;
}

.bf-study-hero dt {
  color: var(--bf-muted);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bf-study-hero dd {
  font-size: 0.9375rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.bf-study-hero-visual {
  width: 100%;
  margin: 0;
}

.bf-study-hero-visual figcaption,
.bf-study-figure figcaption {
  margin-top: 0.85rem;
  color: var(--bf-muted);
  font-size: 0.8125rem;
  line-height: 1.625;
  letter-spacing: -0.01em;
}

.bf-study-hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--bf-radius);
}

.bf-study-hero-media img,
.bf-study-hero-media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eceae6;
}

.bf-study-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(34rem, 100%) minmax(0, 1fr);
  align-items: start;
  column-gap: 1.25rem;
  padding: var(--bf-band) 0;
  border-top: 1px solid var(--bf-line);
}

.bf-study-hero + .bf-study-block,
.bf-study-hero + .bf-study-source {
  margin-top: var(--bf-band);
}

.bf-study-source .project-window-case-sections figure.pulsepay-tight {
  width: 80% !important;
  max-width: 80% !important;
  margin-inline: auto !important;
}

.bf-study-block h2 {
  grid-column: 1;
  margin: 0;
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bf-study-block > div {
  grid-column: 2;
  width: auto;
  margin: 0;
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
}

.bf-study-block h3 {
  margin: 1.25rem 0 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0;
  line-height: inherit;
}

.bf-study-block h3:first-child {
  margin-top: 0;
}

.bf-study-block p {
  max-width: none;
  margin: 1.15rem 0 0;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  letter-spacing: 0;
}

.bf-study-block > div > p:first-child {
  margin-top: 0;
}

.bf-study-block h3 + p {
  margin-top: 1.15rem;
}

.bf-study-block strong,
.bf-study-point-title,
.bf-study-line span {
  font-family: inherit;
  font-weight: 500;
}

.bf-study-point {
  margin-top: 1.15rem;
}

.bf-study-block .bf-study-point-title {
  margin-bottom: 0.35rem;
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  letter-spacing: 0;
}

.bf-study-point-title span {
  margin-right: 0.45rem;
}

.bf-study-dialogue {
  margin-top: 0.35rem;
  padding-left: 0.15rem;
}

.bf-study-line span {
  margin-right: 0.35rem;
}

.bf-study-block ul {
  max-width: none;
  margin: 0.35rem 0 0;
  padding: 0 0 0 1.1rem;
}

.bf-study-block li {
  margin-top: 0.55rem;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0;
}

@media (min-width: 640px) {
  .bf-study-block .bf-study-point-title {
    font-size: inherit;
  }
}

.bf-study-note {
  color: var(--bf-muted);
  font-style: italic;
}

.bf-study-figure {
  width: 100cqi;
  margin: var(--bf-band) 0 0;
  margin-left: calc(50% - 50cqi);
}

.bf-study-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--bf-radius);
  background: #eceae6;
}

.bf-study-figure figcaption {
  margin-top: 0.85rem;
}

.bf-study-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--bf-line);
  border-bottom: 1px solid var(--bf-line);
}

.bf-study-stats div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 9.5rem;
  padding: 0.85rem 0.9rem 0.7rem;
  border-right: 1px solid var(--bf-line);
}

.bf-study-stats div:last-child {
  border-right: 0;
}

.bf-study-stats dt {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.bf-study-stats dd {
  margin: 1.25rem 0 0;
  font-family: var(--bf-text);
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-align: right;
}

.bf-study-quote {
  max-width: 34rem;
  font-size: 22px !important;
  line-height: 1.35 !important;
  letter-spacing: -0.03em !important;
}

.bf-study a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

@media (max-width: 800px) {
  .bf-frame {
    grid-template-columns: 1fr;
  }

  .bf-rail {
    position: fixed;
    top: var(--bf-gap);
    right: var(--bf-gap);
    bottom: auto;
    left: var(--bf-gap);
    z-index: 30;
    width: auto;
    height: auto;
    transition: transform 0.28s ease;
  }

  .bf-rail.is-nav-hidden {
    transform: translateY(calc(-100% - var(--bf-gap) - 10px));
    pointer-events: none;
  }

  .bf-main {
    padding-top: calc(var(--bf-nav-space, 3.4rem) + 0.35rem);
  }

  .bf-main > :is(#studies, #research, #contact) {
    scroll-margin-top: calc(var(--bf-gap) + var(--bf-nav-space, 3.4rem) + 0.55rem);
  }

  .bf-stamp,
  .bf-meta,
  .bf-rail-links,
  .bf-nav {
    display: none;
  }

  .bf-mobile-nav {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--bf-line);
    border-radius: var(--bf-radius);
    background: var(--bf-paper);
    box-shadow: var(--bf-shadow);
  }

  .bf-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.25rem;
    padding: 0 0.2rem 0 1.05rem;
  }

  .bf-mobile-mark {
    color: var(--bf-ink);
    font-family: var(--bf-text);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    text-decoration: none;
  }

  .bf-mobile-mark:hover {
    text-decoration: none;
  }

  .bf-menu-toggle {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--bf-ink);
    cursor: pointer;
  }

  .bf-menu-toggle:hover {
    background: #f4f4f5;
  }

  .bf-menu-icon {
    display: block;
    width: 1.5rem;
    height: 1.03rem;
    overflow: visible;
  }

  .bf-menu-stair,
  .bf-menu-x {
    transition: opacity 0.16s ease;
  }

  .bf-menu-stair rect {
    fill: currentColor;
  }

  .bf-menu-x {
    opacity: 0;
  }

  .bf-menu-x path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
  }

  .bf-menu-toggle[aria-expanded="true"] .bf-menu-stair {
    opacity: 0;
  }

  .bf-menu-toggle[aria-expanded="true"] .bf-menu-x {
    opacity: 1;
  }

  .bf-mobile-menu {
    display: none;
    border-top: 1px solid var(--bf-line);
  }

  .bf-mobile-nav.is-open .bf-mobile-menu {
    display: block;
  }

  .bf-mobile-menu ul {
    margin: 0;
    padding: 0.3rem 0;
    list-style: none;
  }

  .bf-mobile-menu a {
    display: block;
    padding: 0.72rem 1.05rem;
    color: var(--bf-ink);
    font-size: calc(0.84rem + 1px);
    letter-spacing: -0.01em;
    text-decoration: none;
  }

  .bf-mobile-menu a:hover {
    background: #f4f4f5;
    text-decoration: none;
  }

  .bf-mobile-menu a[aria-current="true"] {
    font-weight: 500;
  }

  .bf-hero {
    min-height: 78svh;
    padding-top: 1.5rem;
  }

  .bf-study-card {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.65rem 0.85rem;
    padding: 1.25rem 1rem;
  }

  .bf-study-media {
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .bf-display {
    font-size: calc(1em + 2px);
  }

  .bf-hero .bf-kicker {
    font-size: calc(
      clamp(calc(0.8125rem - 4px), calc(0.371em - 4px), calc(1.35rem - 4px)) + 2px
    );
  }

  .bf-hero-intro-lg {
    display: none;
  }

  .bf-hero-intro-sm {
    display: block;
  }

  .bf-study {
    padding: 1.15rem 1rem 2.5rem;
  }

  .bf-study-hero,
  .bf-study-hero dl,
  .bf-study-stats {
    grid-template-columns: 1fr;
  }

  .bf-study-hero-aside {
    grid-column: 1;
    width: 100%;
  }

  .bf-study-descriptor {
    width: 100%;
    margin-left: 0;
  }

  .bf-study-block {
    grid-template-columns: minmax(0, 1fr);
  }

  .bf-study-block h2,
  .bf-study-block > div {
    grid-column: 1;
  }

  .bf-study-block h2 {
    margin-bottom: 0.85rem;
  }

  .bf-study-hero-media,
  .bf-study-hero-media img,
  .bf-study-hero-media video {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .bf-study-hero-media video {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .bf-study-stats div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--bf-line);
  }

  .bf-study-stats div:last-child {
    border-bottom: 0;
  }

  .bf-index a {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    gap: 0.15rem 0.75rem;
  }

  .bf-index a .bf-index-meta:nth-child(3),
  .bf-index a .bf-arrow {
    display: none;
  }

  .bf-research .bf-index {
    padding-right: 0;
  }

  .bf-research .bf-index a {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    column-gap: 0.75rem;
    padding-right: 1rem;
  }

  .bf-research-preview {
    display: none;
  }
}

/* Original project-window studies, set into the Home 2 column. */
.bf-study-source .project-window-case-study {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  --foreground: #18181b;
  --color-foreground: #18181b;
  --secondary: #71717a;
  --color-secondary: #71717a;
  --surface: #f3f4f6;
  --color-surface: #f3f4f6;
  --background: #ffffff;
  --color-background: #ffffff;
  color: var(--bf-ink);
}

.bf-study-source .project-window-case-intro,
.bf-study-source .project-window-case-sections > div:last-child {
  display: none;
}

.bf-study-source .project-window-case-sections {
  display: block;
}

.bf-study-source .project-window-case-sections > section {
  display: block;
  padding: var(--bf-band) 0;
  border-top: 1px solid var(--bf-line);
}

.bf-study-source .project-window-case-sections > section:is(#chase-reflections, #pulsepay-tradeoffs, #htc-tradeoffs) {
  border-top: 0;
}

/* Same reading measure as the articles: tag, heading, and body share one column. */
.bf-study-source .project-window-case-sections > section > :is(.pw-section-copy, ul, ol, blockquote, p),
.bf-study-source .project-window-case-sections > section > div:not(.chase-phone-grid):not(.sm\:grid-cols-3):not(.sm\:grid-cols-4):not(.lg\:grid-cols-4):not(:has(> figure)) {
  width: min(100%, 40rem) !important;
  max-width: 40rem !important;
  margin-inline: auto !important;
}

.bf-study-source .pw-section-copy {
  display: block;
}

.bf-study-source .pw-section-copy > :first-child {
  margin: 0 0 1.15rem !important;
  max-width: none !important;
  color: var(--bf-muted) !important;
  font-family: "Fira Mono", ui-monospace, monospace !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

.bf-study-source .pw-section-copy > :not(:first-child) {
  width: 100% !important;
  margin: 0 !important;
  max-width: none !important;
  color: #3f3f46 !important;
  font-family: var(--bf-text) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  letter-spacing: -0.011em !important;
  line-height: 1.7 !important;
}

.bf-study-source .pw-section-copy > :is(h2, h3):not(:first-child) {
  color: var(--bf-ink) !important;
  font-size: clamp(1.35rem, 2vw, 1.6rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.22 !important;
}

.bf-study-source .pw-section-copy > :first-child + :is(h2, h3) {
  margin-top: 0 !important;
}

.bf-study-source .project-window-case-sections .flex:has(> .pw-subhead-copy) {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.7rem !important;
}

.bf-study-source .pw-subhead-copy,
.bf-study-source .pw-subhead-copy > :is(h2, h3, p) {
  width: 100%;
  max-width: none !important;
}

.bf-study-source .pw-section-copy > :not(:first-child) + :not(:first-child) {
  margin-top: 1.15rem !important;
}

.bf-study-source .pw-section-copy li {
  color: #3f3f46 !important;
  font-family: var(--bf-text) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  letter-spacing: -0.011em !important;
  line-height: 1.7 !important;
}

.bf-study-source .pw-section-copy :is(p, li) :is(strong, b) {
  color: var(--bf-ink) !important;
  font-weight: 500 !important;
}

.bf-study-source .pw-section-copy :is(h2, h3) :is(span, em) {
  color: inherit !important;
  font-style: normal;
  font-weight: inherit !important;
}

.bf-study-source .project-window-case-sections > section > :not(.pw-section-copy) {
  min-width: 0;
}

@layer theme {
  .bf-study-source .project-window-case-sections > section > * + :not(.pw-section-copy),
  .bf-study-source .pw-section-copy > :not(:first-child):is(figure, .chase-phone-grid, .chase-annotated-phone, .chase-ia-flow, .chase-blueprint),
  .bf-study-source .pw-section-copy > :not(:first-child):has(img, video) {
    margin-top: var(--bf-band) !important;
  }

  /* Same band between a text block and the image that follows or precedes it.
     Lives in an early layer so it wins over FigureSlot's !mt utilities. */
  .bf-study .bf-study-source .project-window-case-sections :is(.space-y-4, .space-y-5, .space-y-6, .space-y-8, .space-y-10, .space-y-12, .space-y-14, .space-y-16) > * + :has(img, video),
  .bf-study .bf-study-source .project-window-case-sections :is(.space-y-4, .space-y-5, .space-y-6, .space-y-8, .space-y-10, .space-y-12, .space-y-14, .space-y-16) > :has(img, video) + * {
    margin-top: var(--bf-band) !important;
  }

  .bf-study-source :is(figure.space-y-3, figure.space-y-4, figure.space-y-5, .chase-phone-frame) > :not([hidden]) ~ :not([hidden]) {
    margin-top: var(--bf-band) !important;
  }

  .bf-study .bf-study-source .project-window-case-sections :is(.grid, .chase-phone-grid, .chase-annotated-phone):has(img, video) {
    row-gap: var(--bf-band) !important;
  }
}

.bf-study-source .project-window-case-sections .chase-annotated-phone {
  position: relative;
  left: 50%;
  width: fit-content !important;
  max-width: calc(100cqi - 3rem) !important;
  margin-inline: 0 !important;
  transform: translateX(-50%);
}

/* Case-study type scale. Labels, titles, body, and image kickers share one set. */
.bf-study-source .text-accent:not(.uppercase),
.bf-study-source .chase-ia-node--ai .chase-ia-node-label {
  color: var(--bf-ink) !important;
  font-family: var(--bf-text) !important;
  font-weight: 500 !important;
}

.bf-study-source .uppercase.text-accent,
.bf-study-source figcaption .text-accent,
.bf-study-source .chase-annotated-item .text-accent,
.bf-study-source .chase-ia-eyebrow,
.bf-study-source .project-window-case-study.chase-cash-flow-case .chase-ia-eyebrow,
.bf-study-source .chase-ia-mobile-label,
.bf-study-source .chase-blueprint-lane-title {
  color: var(--bf-muted) !important;
  font-family: "Fira Mono", ui-monospace, monospace !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

.bf-study-source .project-window-case-sections .uppercase:not([class*="text-white"]) {
  color: var(--bf-muted) !important;
  font-family: "Fira Mono", ui-monospace, monospace !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.35 !important;
}

.bf-study-source .project-window-case-sections .font-semibold:not(.uppercase):not(.case-heading-on-dark) {
  color: var(--bf-ink) !important;
  font-family: var(--bf-text) !important;
  font-weight: 500 !important;
}

.bf-study-source .project-window-case-sections .font-normal:not(.uppercase):not(.text-accent) {
  font-family: var(--bf-text) !important;
  font-weight: 400 !important;
}

.bf-study-source .project-window-case-study :is(h1, h2, h3).case-heading-on-dark {
  color: #fff !important;
  font-family: var(--bf-text) !important;
  font-size: clamp(1.35rem, 2vw, 1.6rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.22 !important;
}

.bf-study-source figcaption {
  color: var(--bf-muted) !important;
  font-family: var(--bf-text) !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  letter-spacing: -0.011em !important;
  line-height: 1.55 !important;
}

.bf-study-source figcaption p:not(.text-accent),
.bf-study-source .chase-annotated-item p:not(.text-accent) {
  color: var(--bf-muted) !important;
  font-family: var(--bf-text) !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  letter-spacing: -0.011em !important;
  line-height: 1.55 !important;
  text-transform: none;
}

.bf-study-source .project-window-case-sections h3,
.bf-study-source .chase-ia-title,
.bf-study-source .chase-ia-header h3 {
  color: var(--bf-ink) !important;
  font-family: var(--bf-text) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

.bf-study-source .chase-ia-description,
.bf-study-source .chase-ia-mobile-note {
  color: #3f3f46 !important;
  font-family: var(--bf-text) !important;
  font-weight: 400 !important;
}

.bf-study-source blockquote {
  color: var(--bf-ink) !important;
  background: transparent !important;
  border-left-color: var(--bf-ink) !important;
  font-family: var(--bf-text) !important;
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.45 !important;
}

/* Section labels match the article tags: dark chip, light type. */
.bf-study-source .project-window-case-sections .pw-section-copy > :first-child {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: max-content;
  margin: 0 0 1.15rem !important;
  padding: 0.22rem 0.5rem;
  border-radius: 0.25rem;
  background: #3f3f46;
  color: #fff !important;
  font-family: "Fira Mono", ui-monospace, monospace !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

/* Titles above phone frames sit above the note: darker, heavier, slightly larger. */
.bf-study-source .project-window-case-sections .chase-phone-frame figcaption > p.text-accent,
.bf-study-source .project-window-case-sections .chase-phone-frame figcaption > p.uppercase {
  color: var(--bf-ink) !important;
  font-family: "Fira Mono", ui-monospace, monospace !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

/* Diagrams stay narrower than the card so the nodes aren't stretched. */
.bf-study-source .project-window-case-sections figure:not(:has(img, video)):not(.chase-needs-cards) {
  justify-self: center;
  width: min(100%, 48rem) !important;
  max-width: 48rem !important;
  margin-inline: auto !important;
}

@media (max-width: 800px) {
  .bf-study-source .project-window-case-sections .chase-annotated-phone {
    left: auto;
    width: 100% !important;
    max-width: 100% !important;
    transform: none;
  }

  .bf-study-source .pw-section-copy > :first-child {
    margin-bottom: 0.85rem !important;
  }

  .bf-study-source .chase-needs-cards {
    flex-wrap: wrap;
  }

  .bf-study-source .chase-needs-cards > * {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* 3-up phone rows stay a touch narrower than a 4-up in the same sheet. */
@media (min-width: 801px) {
  .bf-study-source .project-window-case-sections > section > .grid:is(.sm\:grid-cols-4, .lg\:grid-cols-4),
  .bf-study-source .project-window-case-sections > section > .chase-phone-grid {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100% - 6.5rem, 68rem) !important;
    max-width: calc(100% - 6.5rem) !important;
    margin-inline: auto !important;
  }

  .bf-study-source .project-window-case-sections > section > .chase-phone-grid.sm\:grid-cols-3 {
    width: min(100% - 6.5rem, 52rem) !important;
    max-width: min(calc(100% - 6.5rem), 52rem) !important;
  }

  /* Images inside a reading column break out to the card, the way essay figures do. */
  .bf-study-source .project-window-case-sections > section > div:not(.chase-phone-grid) :is(figure, .chase-phone-grid):not(.chase-annotated-phone):not(.chase-phone-frame),
  .bf-study-source .project-window-case-sections > section > div:not(.chase-phone-grid) div:has(> figure):not(:has(h2, h3, .pw-subhead-copy)) {
    position: relative;
    left: 50%;
    width: min(100cqi - 6.5rem, 68rem) !important;
    max-width: none !important;
    margin-inline: 0 !important;
    transform: translateX(-50%);
  }

  .bf-study-source .project-window-case-sections > section > div:not(.chase-phone-grid) div:has(> figure):not(:has(h2, h3, .pw-subhead-copy)) > figure {
    left: auto;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    transform: none;
  }

  .bf-study .bf-study-source .project-window-case-sections > section .grid > figure:not(.chase-annotated-phone):not(.chase-phone-frame) {
    left: auto;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    transform: none;
  }

  .bf-study-source .project-window-case-sections > section > div:not(.chase-phone-grid) figure:not(:has(img, video)):not(.chase-needs-cards):not(.chase-annotated-phone) {
    width: min(100cqi - 6.5rem, 48rem) !important;
    max-width: 48rem !important;
  }

  .bf-study .bf-study-source .project-window-case-sections > section > div:not(.chase-phone-grid) figure:not(:has(img, video)):not(.chase-needs-cards):not(.chase-annotated-phone):not(.chase-phone-frame) {
    left: 50%;
    width: min(100cqi - 6.5rem, 48rem) !important;
    max-width: 48rem !important;
    transform: translateX(-50%);
  }

  .bf-study .bf-study-source .project-window-case-sections > section > div:not(.chase-phone-grid) .chase-phone-grid.sm\:grid-cols-3 {
    width: min(100cqi - 6.5rem, 52rem) !important;
    max-width: 52rem !important;
  }

  .bf-study .bf-study-source .project-window-case-sections > section > figure.htc-carousel {
    width: 80% !important;
    max-width: 80% !important;
    margin-inline: auto !important;
  }

  .bf-study .bf-study-source .project-window-case-sections > section > div:not(.chase-phone-grid) figure.htc-onboarding-mobile:not(.chase-annotated-phone):not(.chase-phone-frame) {
    left: 50%;
    width: min(100cqi, calc((100cqi - 6.5rem) * 1.2)) !important;
    max-width: none !important;
    transform: translateX(-50%);
  }

  .bf-study .bf-study-source .project-window-case-sections > section > div.htc-close {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-left: max(0px, calc((100% - 40rem) / 2));
    box-sizing: border-box;
  }

  .bf-study .bf-study-source .project-window-case-sections > section > div.htc-close:not(.chase-phone-grid) > figure:not(.chase-annotated-phone):not(.chase-phone-frame) {
    position: relative;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    transform: none !important;
  }
}

.bf-study-pager {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: var(--bf-band) 0 0.25rem;
  border-top: 1px solid var(--bf-line);
}

.bf-study-pager div {
  display: flex;
  min-width: 0;
  max-width: 48%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.bf-study-pager div:last-child {
  align-items: flex-end;
  text-align: right;
}

.bf-study-pager span {
  color: var(--bf-muted);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bf-study-pager a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 2.75rem;
  padding: 0.45rem 1.25rem;
  border: 1px solid rgba(24, 24, 27, 0.18);
  border-radius: 0.25rem;
  color: var(--bf-ink);
  font-family: var(--bf-text);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-decoration: none;
}

.bf-frame .bf-study-pager a:hover {
  border-color: var(--bf-ink);
  background: var(--bf-ink);
  color: #fff;
  text-decoration: none;
}

.bf-study-source img,
.bf-study-source video {
  max-width: 100%;
  height: auto;
}

.bf-about-hero {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 2.4rem 1.5rem 0;
}

.bf-about-kicker {
  margin: 0;
  color: var(--bf-muted);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bf-kicker-break {
  display: none;
}

.bf-about-portrait {
  display: block;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  object-fit: cover;
}

.bf-about-hero h1 {
  max-width: 12.2em;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.bf-about-line {
  display: block;
}

.bf-about-copy {
  display: grid;
  gap: 0.85rem;
  max-width: 38rem;
  margin-top: 1.35rem;
}

.bf-about-copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: -0.011em;
}

.bf-about-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 4.05rem 0 0.75rem;
  border-top: 1px solid var(--bf-line);
}

.bf-about-facts > div {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding: 1.15rem 1.25rem 1.45rem 0;
}

.bf-about-facts > div + div {
  padding-left: 1.25rem;
  border-left: 1px solid var(--bf-line);
}

.bf-about-facts dt,
.bf-about-facts dd {
  margin: 0;
}

.bf-about-facts dt {
  color: var(--bf-muted);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bf-about-facts dd {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.bf-main > section.bf-about-pair {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.bf-about-split {
  display: grid;
  grid-template-columns: 1fr 3fr;
  min-height: 22rem;
}

.bf-about-split-side {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-right: 1px solid var(--bf-line);
  padding: 0.9rem 1.25rem 1.35rem;
}

.bf-vinyl-player {
  position: relative;
  width: min(100%, 12.75rem);
  margin: 2.35rem auto 0;
}

.bf-vinyl-now {
  align-self: flex-start;
  margin: 0;
  color: var(--bf-muted);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: left;
}

.bf-vinyl-ellipsis {
  display: inline-block;
  width: 1.2em;
  text-align: left;
}

.bf-vinyl-ellipsis span {
  opacity: 0;
  animation: bf-listen-dot 1.5s infinite;
}

.bf-vinyl-ellipsis span:nth-child(2) {
  animation-delay: 0.2s;
}

.bf-vinyl-ellipsis span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bf-listen-dot {
  0% { opacity: 0; }
  15% { opacity: 1; }
  70% { opacity: 1; }
  85%, 100% { opacity: 0; }
}

.bf-vinyl {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1;
}

.bf-vinyl-track {
  position: relative;
  z-index: 1;
  margin: 0.85rem 0 0;
  text-align: center;
}

.bf-vinyl-title,
.bf-vinyl-artist {
  margin: 0;
}

.bf-vinyl-title {
  color: var(--bf-ink);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.bf-vinyl-artist {
  margin-top: 0.05rem;
  color: var(--bf-muted);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.05;
}

.bf-vinyl-progress {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 15px;
  margin: 0.85rem 0 0;
  cursor: pointer;
  touch-action: none;
}

.bf-vinyl-progress::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.16);
}

.bf-vinyl-progress > span {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--bf-ink);
  transform: scaleX(var(--bf-progress, 0));
  transform-origin: left center;
}

.bf-vinyl-progress:focus-visible {
  outline: 1px solid var(--bf-ink);
  outline-offset: 3px;
}

.bf-vinyl-controls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  height: 41px;
  margin: 0.35rem auto 0;
  color: var(--bf-ink);
}

.bf-vinyl-skip {
  display: flex;
  pointer-events: none;
  user-select: none;
}

.bf-vinyl-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 100%;
  margin: 0;
  padding: 0 0.35rem;
  border: 0;
  border-radius: 0;
  outline: none;
  appearance: none;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
}

.bf-vinyl-toggle:focus,
.bf-vinyl-toggle:focus-visible {
  outline: none;
  border: 0;
  box-shadow: none;
}

.bf-vinyl-controls svg {
  display: block;
  flex: none;
  pointer-events: none;
}

.bf-vinyl-toggle:disabled {
  cursor: default;
  opacity: 0.45;
}

.bf-vinyl-embed {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.bf-vinyl-embed iframe,
.bf-vinyl-embed > div {
  width: 100%;
  height: 100%;
  border: 0;
}

.bf-vinyl-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 0 30.5%, rgba(255, 255, 255, 0.07) 30.8% 31.3%, transparent 31.6%),
    conic-gradient(from 8deg, transparent 0 58%, rgba(255, 255, 255, 0.1) 72%, transparent 86%),
    repeating-radial-gradient(circle at center, #1c1c1c 0 1.5px, #101010 1.5px 3px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 8px 22px rgba(24, 24, 27, 0.14);
  animation: bf-vinyl-spin 8s linear infinite;
}

.bf-vinyl::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.2), transparent 38% 64%, rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.bf-vinyl-label {
  position: absolute;
  inset: 33%;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(24, 24, 27, 0.28);
}

.bf-vinyl-label img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes bf-vinyl-spin {
  to { transform: rotate(360deg); }
}

.bf-about-carousel {
  min-width: 0;
  overflow: hidden;
  padding: 1rem 0 1rem 0.85rem;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.bf-about-carousel img {
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.bf-about-track {
  display: flex;
  width: max-content;
  animation: bf-about-scroll 51s linear infinite;
}

.bf-about-carousel:hover .bf-about-track,
.bf-about-carousel:focus-within .bf-about-track {
  animation-play-state: paused;
}

.bf-about-track ul {
  display: flex;
  gap: 0.85rem;
  margin: 0;
  padding: 0 0.85rem 0 0;
  list-style: none;
}

.bf-about-track li {
  flex: 0 0 auto;
}

.bf-about-track img,
.bf-about-frame {
  display: block;
  height: 20rem;
  border-radius: 10px;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.bf-about-track img {
  width: auto;
  min-width: 16rem;
  max-width: 24rem;
}

.bf-about-frame {
  display: grid;
  width: 18rem;
  place-items: center;
  border: 1px solid var(--bf-line);
  background: #f4f4f5;
  color: var(--bf-muted);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.bf-about-track li:nth-child(2) .bf-about-frame { width: 24rem; }
.bf-about-track li:nth-child(3) .bf-about-frame { width: 15rem; }
.bf-about-track li:nth-child(4) .bf-about-frame { width: 20rem; }
.bf-about-track li:nth-child(5) .bf-about-frame { width: 22rem; }

@keyframes bf-about-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 800px) {
  .bf-about-split {
    display: flex;
    flex-direction: column-reverse;
    min-height: 0;
  }

  .bf-about-split-side {
    border-right: 0;
    border-top: 1px solid var(--bf-line);
  }

  .bf-vinyl-player {
    margin-top: 1.25rem;
  }

  .bf-vinyl-controls {
    height: 3.25rem;
    margin-top: 0.65rem;
    justify-content: center;
    gap: 2.75rem;
  }

  .bf-vinyl-now {
    font-size: calc(0.6875rem + 2px);
  }

  .bf-vinyl-controls svg {
    width: auto;
    height: 24px;
  }

  .bf-about-track img,
  .bf-about-frame {
    height: var(--bf-carousel-h, 12rem);
  }

  .bf-about-frame,
  .bf-about-track li:nth-child(2) .bf-about-frame,
  .bf-about-track li:nth-child(3) .bf-about-frame,
  .bf-about-track li:nth-child(4) .bf-about-frame,
  .bf-about-track li:nth-child(5) .bf-about-frame {
    width: 12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf-about-track,
  .bf-vinyl-disc,
  .bf-vinyl-ellipsis span {
    animation: none;
  }

  .bf-vinyl-ellipsis span {
    opacity: 1;
  }
}

.bf-about-rows {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0 0 0.35rem;
  list-style: none;
}

.bf-about-rows > li + li {
  border-top: 1px solid var(--bf-line);
}

.bf-about-row {
  display: grid;
  grid-template-columns: minmax(9.5rem, 16rem) minmax(0, 1fr);
  gap: 0.55rem 1.5rem;
  align-items: start;
  padding: 1.35rem 1.25rem;
}

.bf-about-row-stack {
  grid-template-columns: minmax(0, 40rem);
}

.bf-education-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.bf-education-row > li {
  min-width: 0;
  padding: 1.35rem 1.5rem 1.7rem;
}

.bf-approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.bf-approach-grid > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 3.45rem;
  align-items: start;
  min-width: 0;
  padding: 1.35rem 1.5rem 1.7rem;
}

.bf-approach-grid .bf-about-meta {
  padding-top: 0.18rem;
}

.bf-about-meta {
  padding-top: 0.2rem;
  color: var(--bf-muted);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.bf-about-row-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.bf-about-row-role,
.bf-about-row-body {
  margin: 0.28rem 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
  letter-spacing: -0.011em;
}

.bf-about-row-role {
  color: var(--bf-muted);
}

.bf-about-clients {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.bf-about-clients li {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.2rem 1.25rem;
  font-size: 0.95rem;
  letter-spacing: -0.011em;
}

.bf-about-clients li span:last-child {
  color: var(--bf-muted);
}

.bf-about-rows .bf-study-tags,
.bf-approach-grid .bf-study-tags {
  margin-top: 0.75rem;
}

.bf-experience {
  --bf-experience-row-gap: clamp(1.75rem, 3.5vw, 2.75rem);
  --bf-experience-client-rows: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 4rem);
  row-gap: var(--bf-experience-row-gap);
  align-items: start;
  margin: 0;
  padding: 1.75rem 1.5rem 2rem;
}

.bf-experience-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.bf-experience-cdx {
  grid-column: 1;
  grid-row: 1;
}

.bf-experience-clients {
  grid-column: 1;
  grid-row: 2 / span var(--bf-experience-client-rows);
  display: grid;
  grid-template-rows: subgrid;
  align-items: start;
  padding: 0.15em 0 0.15em 0.9rem;
  border-left: 1px solid rgba(24, 24, 27, 0.18);
}

.bf-experience-company {
  margin: 0;
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.bf-experience-role {
  margin: 0;
  color: var(--bf-muted);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.bf-experience-dates {
  margin: 0.15rem 0 0;
  color: var(--bf-muted);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.35;
}

@media (max-width: 800px) {
  .bf-about-hero {
    padding: 1.5rem 1rem 0;
  }

  .bf-about-portrait {
    width: 5.6rem;
    height: 5.6rem;
  }

  .bf-kicker-sep {
    display: none;
  }

  .bf-kicker-break {
    display: block;
  }

  .bf-about-hero h1 {
    max-width: none;
  }

  .bf-about-line {
    display: inline;
  }

  .bf-about-facts {
    grid-template-columns: 1fr 1fr;
  }

  .bf-about-facts > div {
    padding: 1rem 0.85rem 1.15rem 0;
  }

  .bf-about-facts > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .bf-about-facts > div:nth-child(n + 3) {
    border-top: 1px solid var(--bf-line);
  }

  .bf-about-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 1.15rem 1rem;
  }

  .bf-experience {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding: 1.35rem 1rem 1.6rem;
  }

  .bf-experience-col1 {
    order: 1;
  }

  .bf-experience-col2 {
    order: 2;
  }

  .bf-experience-cdx,
  .bf-experience-col2 {
    grid-column: auto;
    grid-row: auto;
  }

  .bf-experience-clients {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    grid-column: auto;
    grid-row: auto;
  }

  .bf-experience-spacer {
    display: none;
  }

  .bf-education-row,
  .bf-approach-grid {
    grid-template-columns: 1fr;
  }
}

/* Research essay: one reading column, not a case-study sheet. */
.bf-essay {
  --bf-essay-pad-x: clamp(1.35rem, 4vw, 3rem);
  --bf-band: 3.5rem;
  gap: 0;
  container-type: inline-size;
  padding: clamp(2.75rem, 7vw, 5rem) var(--bf-essay-pad-x)
    clamp(3.5rem, 8vw, 6rem);
  border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius);
  background: var(--bf-paper);
  box-shadow: var(--bf-shadow);
  color: var(--bf-ink);
  font-family: var(--bf-text);
}

.bf-essay-column {
  width: min(100%, 40rem);
  margin-inline: auto;
}

.bf-essay-body > figure.bf-menu-b-problem {
  width: 70%;
  margin-inline: auto;
}

.bf-essay-body > figure.bf-menu-b-personality {
  width: 75%;
  margin-inline: auto;
}

@media (min-width: 801px) {
  .bf-essay-body > :is(figure, .bf-essay-grid, .bf-essay-deck) {
    position: relative;
    left: 50%;
    width: min(100cqi, calc(0.67 * (100cqi + 2 * var(--bf-essay-pad-x))));
    max-width: none;
    transform: translateX(-50%);
  }

  .bf-essay-body > figure.bf-essay-narrow {
    left: auto;
    width: min(20rem, 100%);
    transform: none;
    margin-inline: auto;
  }

  .bf-essay-body > figure.bf-menu-b-problem {
    width: min(70cqi, calc(0.469 * (100cqi + 2 * var(--bf-essay-pad-x))));
  }

  .bf-essay-body > figure.bf-menu-b-personality {
    width: min(75cqi, calc(0.5025 * (100cqi + 2 * var(--bf-essay-pad-x))));
  }

  .bf-essay-body > figure.bf-menu-b-journey {
    left: auto;
    width: 100%;
    max-width: none;
    transform: none;
  }
}

.bf-essay h1 {
  margin: 0;
  font-size: clamp(2.05rem, 4.4vw, 3.05rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.bf-essay-deck {
  margin: 1.15rem 0 0;
  color: var(--bf-muted);
  font-size: clamp(1.12rem, 1.6vw, 1.28rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.bf-essay-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bf-line);
}

.bf-essay-author img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.bf-essay-author-name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.bf-essay-author-meta {
  margin: 0.2rem 0 0;
  color: var(--bf-muted);
  font-size: 0.88rem;
  letter-spacing: -0.011em;
  line-height: 1.3;
}

.bf-essay-body {
  margin-top: 2.25rem;
}

.bf-essay-body > :last-child {
  margin-bottom: 0;
}

.bf-essay .bf-study-pager {
  margin-top: 5rem;
}

.bf-essay-body p {
  margin: 0 0 1.35rem;
  font-size: 1.0625rem;
  letter-spacing: -0.011em;
  line-height: 1.75;
}

.bf-essay-body a {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.bf-essay-body ul:not(.bf-essay-points) {
  margin: 0 0 1.6rem;
  padding-left: 1.25rem;
  list-style: disc;
  list-style-position: inside;
}

.bf-essay-body ul:not(.bf-essay-points) li,
.bf-essay-body ol li {
  margin: 0.35rem 0;
  font-size: 1.0625rem;
  letter-spacing: -0.011em;
  line-height: 1.6;
}

.bf-essay-body ol {
  margin: 0 0 1.6rem;
  padding-left: 1.35rem;
  list-style: decimal;
  list-style-position: inside;
}

.bf-essay-italic,
.bf-essay-italic p,
.bf-essay-italic li {
  font-style: italic;
}

.bf-only-narrow {
  display: none;
}

@media (max-width: 800px) {
  .bf-only-wide {
    display: none;
  }

  .bf-only-narrow {
    display: inline;
  }
}

.bf-essay-body p.bf-essay-lead {
  margin: 0 0 1.15rem;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.bf-essay-body h2 {
  margin: 2.6rem 0 0.9rem;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.bf-essay-body figure,
.bf-essay-deck {
  margin: 0.4rem 0 1.85rem;
}

.bf-essay-deck iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
}

.bf-soundspot-intro {
  margin-bottom: 3.5rem;
}

.bf-soundspot-page .bf-study-pager {
  --bf-band: 3.5rem;
}

.bf-soundspot {
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid var(--bf-line);
  border-radius: 10px;
  background: #0c0c0e;
  line-height: 0;
}

.bf-soundspot img {
  display: block;
  width: 100%;
  height: auto;
}

.bf-essay-body figure {
  overflow: visible;
}

.bf-essay-body img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.bf-essay-body figcaption {
  margin-top: 0.6rem;
  color: var(--bf-muted);
  font-family: var(--bf-text);
  font-size: 0.88rem;
  letter-spacing: -0.011em;
  line-height: 1.45;
  text-align: center;
}

.bf-essay-body .bf-menu-b-ecosystem {
  margin: 0.4rem 0 1.85rem;
}

.bf-essay-body .bf-menu-b-ecosystem:has(+ .bf-menu-b-journey) {
  margin-bottom: 0;
}

.bf-essay-body > figure.bf-menu-b-journey {
  margin-top: 1.15rem;
}

.bf-menu-b-journey-panel {
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 0.75rem;
  background: #fcfcfa;
  padding: clamp(1.15rem, 2.5vw, 1.5rem) clamp(1rem, 2.5vw, 1.35rem) 1.35rem;
  text-align: center;
}

.bf-essay-body .bf-menu-b-journey-kicker {
  margin: 0;
  color: #c9a227;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bf-essay-body .bf-menu-b-journey-deck {
  margin: 0.35rem 0 0;
  color: #888;
  font-size: 0.8125rem;
  letter-spacing: -0.011em;
  line-height: 1.4;
}

.bf-menu-b-journey-stage {
  position: relative;
  margin-top: 1.15rem;
}

.bf-menu-b-journey-rings {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4.6rem;
  pointer-events: none;
}

.bf-menu-b-journey-rings span {
  position: absolute;
  border: 1px dashed rgba(201, 162, 39, 0.42);
  border-bottom: 0;
  border-radius: 1.15rem 1.15rem 0 0;
  background: rgba(255, 245, 210, 0.2);
}

.bf-menu-b-journey-rings span:nth-child(1) {
  inset: 0;
}

.bf-menu-b-journey-rings span:nth-child(2) {
  inset: 0.72rem 4% 0 18%;
  background: rgba(255, 245, 210, 0.38);
}

.bf-menu-b-journey-rings span:nth-child(3) {
  inset: 1.45rem 7% 0 42%;
  background: rgba(255, 245, 210, 0.62);
}

.bf-menu-b-journey-rings span:nth-child(4) {
  inset: 1.85rem 3% 0.35rem 68%;
  border-style: solid;
  border-bottom-style: solid;
  border-color: rgba(201, 162, 39, 0.72);
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 0 0 4px #f5e6a8;
}

.bf-essay-body .bf-menu-b-journey ol {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0;
  padding: 3.9rem 0 0;
  list-style: none;
}

.bf-essay-body .bf-menu-b-journey li {
  position: relative;
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: -0.011em;
  line-height: 1.35;
}

.bf-essay-body .bf-menu-b-journey li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -0.7rem;
  left: calc(50% + 0.7rem);
  width: calc(100% - 1.4rem + 0.35rem);
  height: 1px;
  background: rgba(201, 162, 39, 0.75);
}

.bf-menu-b-journey-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  margin: -0.7rem auto 0.55rem;
  border: 1px dashed rgba(201, 162, 39, 0.85);
  border-radius: 50%;
  background: #fff;
  color: var(--bf-ink);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.bf-essay-body .bf-menu-b-journey li:last-child .bf-menu-b-journey-num {
  border-style: solid;
  border-color: var(--bf-ink);
  background: var(--bf-ink);
  color: #fff;
  box-shadow: 0 0 0 4px #f5e6a8;
}

.bf-essay-body .bf-menu-b-journey-ring {
  margin: 0;
  color: #c9a227;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bf-essay-body .bf-menu-b-journey-title {
  margin: 0.28rem 0 0;
  color: var(--bf-ink);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.bf-essay-body .bf-menu-b-journey li p:last-child {
  margin: 0.28rem 0 0;
  color: var(--bf-muted);
  font-size: 0.8125rem;
  letter-spacing: -0.011em;
  line-height: 1.4;
}

@container (max-width: 46rem) {
  .bf-menu-b-journey-rings {
    display: none;
  }

  .bf-essay-body .bf-menu-b-journey ol {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
    text-align: left;
  }

  .bf-essay-body .bf-menu-b-journey li {
    display: grid;
    grid-template-columns: 1.4rem minmax(0, 1fr);
    column-gap: 0.85rem;
    align-items: start;
    padding: 0 0 1.05rem 0.35rem;
    border-radius: 0.7rem;
  }

  .bf-essay-body .bf-menu-b-journey li:nth-child(1) {
    background: rgba(255, 245, 210, 0.2);
  }

  .bf-essay-body .bf-menu-b-journey li:nth-child(2) {
    background: rgba(255, 245, 210, 0.38);
  }

  .bf-essay-body .bf-menu-b-journey li:nth-child(3) {
    background: rgba(255, 245, 210, 0.62);
  }

  .bf-essay-body .bf-menu-b-journey li:nth-child(4) {
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.45);
  }

  .bf-essay-body .bf-menu-b-journey li:last-child {
    padding-bottom: 0.7rem;
  }

  .bf-essay-body .bf-menu-b-journey li:not(:last-child)::after {
    top: 0.7rem;
    bottom: -0.7rem;
    left: calc(0.35rem + 0.7rem);
    width: 1px;
    height: auto;
    transform: translateX(-50%);
  }

  .bf-menu-b-journey-num {
    margin: 0.7rem 0 0;
  }

  .bf-essay-body .bf-menu-b-journey-ring,
  .bf-essay-body .bf-menu-b-journey-title,
  .bf-essay-body .bf-menu-b-journey li p:last-child {
    grid-column: 2;
  }

  .bf-essay-body .bf-menu-b-journey-ring {
    margin-top: 0.62rem;
  }
}

.bf-essay-body .bf-menu-b-ecosystem :is(figure, figcaption, p, li, ul) {
  all: revert-layer;
}

.bf-essay-body blockquote {
  margin: 2rem 0 2.1rem;
  padding: 0.1rem 0 0.1rem 1.05rem;
  border-left: 1px solid var(--bf-ink);
}

.bf-essay-body blockquote p {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.bf-essay-body blockquote p + p {
  margin-top: 0.9rem;
}

.bf-essay-body p.bf-essay-links,
.bf-essay .bf-essay-links {
  margin-top: 2.5rem;
  margin-bottom: 2.6rem;
}

.bf-essay-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.bf-essay-links a,
.bf-essay-links button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  border: 1px solid var(--bf-ink);
  border-radius: 0.25rem;
  background: transparent;
  color: var(--bf-ink);
  font-family: var(--bf-text);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: -0.011em;
  line-height: 1.35;
  text-decoration: none;
  text-transform: none;
  text-underline-offset: 0;
  cursor: pointer;
}

.bf-frame .bf-essay-links a:hover,
.bf-frame .bf-essay-links button:hover {
  border-color: var(--bf-ink);
  background: var(--bf-ink);
  color: #fff;
  text-decoration: none;
}

.bf-essay-links a::after {
  content: "↗";
  font-size: 0.85em;
  line-height: 1;
}

.bf-contact .bf-essay-links a::after {
  content: none;
}

.bf-soundspot-page .bf-soundspot-links {
  justify-content: flex-start;
  margin-top: 2.5rem;
  margin-bottom: 2.6rem;
}

.bf-essay-em {
  font-weight: 500;
}

.bf-essay-body p.bf-essay-label {
  display: flex;
  margin: 6.5rem 0 1.85rem;
  font-size: inherit;
  letter-spacing: normal;
  line-height: 1;
}

.bf-essay-label span {
  padding: 0.22rem 0.5rem;
  border-radius: 0.25rem;
  background: #3f3f46;
  color: #fff;
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bf-essay-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.5rem;
  align-items: start;
  margin-top: 2.1rem;
}

.bf-essay-step > span {
  color: var(--bf-muted);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: calc(1.15rem - 2px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.bf-essay-body h2 {
  margin-top: 6.5rem;
}

.bf-essay-label + h2 {
  margin-top: 0;
}

.bf-essay-step h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.bf-essay-points {
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.bf-essay-points li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.4rem;
  align-items: start;
}

.bf-essay-points li + li {
  margin-top: 1.15rem;
}

.bf-essay-point-num {
  color: var(--bf-muted);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.bf-essay-point-title {
  margin: 0 0 0.3rem !important;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35 !important;
}

.bf-essay-points li p:last-child {
  margin: 0;
  color: var(--bf-muted);
}

.bf-essay-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.2rem 0 1.85rem;
}

.bf-essay-icons img {
  width: min(100%, 7.5rem);
  margin-inline: auto;
  object-fit: contain;
}

.bf-essay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0.4rem 0 1.85rem;
}

.bf-essay-grid figure {
  margin: 0;
}

.bf-essay-body .bf-essay-pair img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.bf-essay-body video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #f3f4f6;
}

.bf-menu-b-phone-slot {
  display: flex;
  justify-content: center;
  margin: 0.4rem 0 1.85rem;
}

.bf-menu-b-phone {
  width: 100%;
  max-width: 16.1rem;
  margin: 0;
}

.bf-menu-b-phone > div {
  overflow: hidden;
  border-radius: 20px;
  background: #0a0a0a;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.bf-essay-body .bf-menu-b-phone video {
  border-radius: 20px;
  background: #0a0a0a;
}

@media (min-width: 640px) {
  .bf-menu-b-phone {
    max-width: 19.228rem;
  }
}

@media (max-width: 800px) {
  .bf-essay-grid {
    grid-template-columns: 1fr;
  }

  .bf-main.bf-study,
  .bf-main.bf-essay {
    padding-top: calc(var(--bf-nav-space, 54px) + 0.85rem);
  }

  .bf-essay-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bf-essay-body > figure.bf-menu-b-problem,
  .bf-essay-body > figure.bf-menu-b-personality {
    width: 100%;
  }

  .bf-study-source .grid.grid-cols-2.max-w-\[52rem\] {
    grid-template-columns: minmax(0, 1fr);
  }

  .bf-study-hero h1,
  .bf-essay h1,
  .bf-about-hero h1 {
    font-size: calc(2.05rem - 2px);
  }
}

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

  .bf-study-media :is(img, video),
  .bf-research-preview,
  .bf-research-preview img {
    transition: none;
  }

  .bf-stamp-ring {
    animation: none;
  }
}
