/* Bald Bear — Home page
   Fork of the website UI kit, adapted for the homepage credibility brief.
   ----------------------------------------------------------------------- */

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--raisin-black);
  color: var(--fg-1);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

a { background-image: none; }

/* ---- Page stage ---- */
.bb-stage {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

/* Subtle film grain over the whole page. */
.bb-stage::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: url("assets/grain.svg");
  background-size: 240px 240px;
  opacity: 0.05;
  mix-blend-mode: overlay;
  z-index: 999;
}

/* ---- Primitives ------------------------------------------------------ */

.bb-eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}
.bb-eyebrow--muted { color: var(--fg-2); }

.bb-wordmark {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: url("assets/logo-inline.svg") center / contain no-repeat;
  mask: url("assets/logo-inline.svg") center / contain no-repeat;
}
.bb-pfp {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: url("assets/logo-pfp.svg") center / contain no-repeat;
  mask: url("assets/logo-pfp.svg") center / contain no-repeat;
}

/* Buttons */
.bb-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans);
  font-weight: 500; font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 6px;
  padding: 14px 22px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 200ms var(--ease);
  text-decoration: none;
}
.bb-btn--sm { padding: 10px 16px; font-size: 13px; }
.bb-btn--primary { background: var(--accent); color: var(--raisin-black); border-color: var(--accent); }
.bb-btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.bb-btn--ghost { background: transparent; color: var(--fg-1); border-color: var(--fg-3); }
.bb-btn--ghost:hover { background: var(--surface-1); border-color: var(--fg-1); }
.bb-btn:active { transform: scale(0.985); }
.bb-arrow {
  display: inline-block; width: 14px; height: 1px;
  background: currentColor; position: relative;
}
.bb-arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ---- Navigation ------------------------------------------------------ */
.bb-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background 300ms var(--ease), border-color 300ms var(--ease);
  border-bottom: 1px solid transparent;
}
.bb-nav--scrolled {
  background: rgba(48, 43, 44, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--fg-4);
}
.bb-nav__inner {
  max-width: 1280px; margin: 0 auto;
  height: 72px; padding: 0 40px;
  display: flex; align-items: center; gap: 32px;
}
.bb-nav__brand { color: var(--fg-1); text-decoration: none; display: inline-flex; align-items: center; }
.bb-nav__brand .bb-wordmark { height: 20px; width: calc(20px * 5.92); }

.bb-nav__logo {
  display: block;
  height: 40px;
  width: auto;
  transition: opacity 200ms var(--ease);
}
.bb-nav__brand:hover .bb-nav__logo { opacity: 0.85; }
.bb-nav__links {
  margin-left: auto;
  display: flex; align-items: center; gap: 32px;
}
.bb-nav__link {
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  color: var(--fg-1); text-decoration: none;
  position: relative; padding: 6px 0;
  transition: color 200ms var(--ease);
  letter-spacing: 0.01em;
}
.bb-nav__link--active { color: var(--accent); }
.bb-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 200ms var(--ease);
}
.bb-nav__link:hover { color: var(--accent); }
.bb-nav__link:hover::after, .bb-nav__link--active::after { transform: scaleX(1); }

.bb-nav__menu {
  display: none;
  background: transparent; border: none; color: var(--fg-1);
  margin-left: auto; cursor: pointer; padding: 8px;
}
.bb-nav__menu svg { width: 24px; height: 24px; stroke-width: 1.5; }
.bb-nav__drawer {
  display: none;
  background: var(--raisin-black);
  border-top: 1px solid var(--fg-4);
  padding: 16px 40px 28px;
  flex-direction: column; gap: 12px;
}
.bb-nav__drawer a {
  font-family: var(--font-serif); font-weight: 300; font-size: 28px;
  color: var(--fg-1); text-decoration: none;
}

@media (max-width: 720px) {
  .bb-nav__links { display: none; }
  .bb-nav__menu { display: inline-flex; }
  .bb-nav__drawer { display: flex; }
}

/* ---- Hero ------------------------------------------------------------ */
.bb-hero {
  min-height: 100vh; min-height: 100dvh;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: 72px;
}

.bb-hero__status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 40px 0;
  max-width: 1280px; width: 100%;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.bb-hero__status-l, .bb-hero__status-r {
  display: inline-flex; align-items: center; gap: 18px;
}
.bb-hero__status-sep { color: var(--fg-4); }
.bb-hero__status .bb-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(200, 166, 110, 0.5);
  animation: bb-pulse 2.4s infinite;
}

@keyframes bb-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200, 166, 110, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(200, 166, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 166, 110, 0); }
}

.bb-hero__main {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex; align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  pointer-events: none;
}
.bb-hero__main > * { pointer-events: auto; }

.bb-hero__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  max-width: 22ch;
  text-align: left;
}
.bb-hero__headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.bb-hero__headline-trail {
  display: inline-block;
  vertical-align: top;
  margin-left: 0.12em;
  margin-top: 0.42em;
  width: 0.46em; height: 1px;
  background: var(--accent);
}

.bb-hero__bottom {
  padding: 28px 40px 40px;
  max-width: 1280px; width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  align-items: last baseline;
}
.bb-hero__lede {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--fg-1);
  max-width: 28ch;
  margin: 0;
  text-wrap: balance;
}
.bb-hero__lede em { color: var(--accent); font-style: italic; }
.bb-hero__meta-col {
  display: flex; flex-direction: column; gap: 8px;
}
.bb-hero__meta-col p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px; line-height: 1.5;
  color: var(--fg-1);
}
.bb-hero__meta-col small {
  font-family: var(--font-sans);
  font-size: 13px; color: var(--fg-2);
}

@media (max-width: 980px) {
  .bb-hero__bottom { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bb-hero__lede { grid-column: 1 / -1; font-size: 19px; }
}
@media (max-width: 540px) {
  .bb-hero__status-l span:nth-child(n+3) { display: none; }
  .bb-hero__bottom { grid-template-columns: 1fr; gap: 24px; }
  .bb-hero__main { padding: 0 24px; }
  .bb-hero__status { padding: 16px 24px 0; }
  .bb-hero__bottom { padding-left: 24px; padding-right: 24px; }
}

/* ---- Section frame -------------------------------------------------- */
.bb-section {
  position: relative;
  padding: 160px 0;
}
.bb-section--tight { padding: 120px 0; }
.bb-section__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 40px;
}
.bb-section__head {
  display: grid; grid-template-columns: 5fr 7fr; gap: 64px;
  align-items: end;
  margin-bottom: 80px;
  border-bottom: 1px solid var(--fg-4);
  padding-bottom: 32px;
}
.bb-section__head-l { display: flex; flex-direction: column; gap: 16px; }
.bb-section__head-r {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  padding-bottom: 4px;
}
.bb-section__title {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  max-width: 16ch;
}
.bb-section__title em { font-style: italic; color: var(--accent); }
.bb-section__caption {
  font-family: var(--font-sans);
  font-size: 14px; color: var(--fg-2);
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .bb-section { padding: 96px 0; }
  .bb-section__head { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .bb-section__head-r { padding-bottom: 0; }
  .bb-section__inner { padding: 0 24px; }
}

/* ---- Work grid ------------------------------------------------------ */
.bb-work {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--fg-4);
  border-left: 1px solid var(--fg-4);
}
.bb-work__cell {
  display: flex; flex-direction: column;
  min-width: 0;
  border-right: 1px solid var(--fg-4);
  border-bottom: 1px solid var(--fg-4);
  padding: 28px 28px 32px;
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: background 240ms var(--ease);
  background: transparent;
  min-height: 380px;
}
.bb-work__cell:hover { background: var(--surface-1); }
.bb-work__cell:hover .bb-work__view {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--raisin-black);
}
.bb-work__cell:hover .bb-work__art {
  border-color: var(--accent);
}

.bb-work__num {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--fg-2);
}

.bb-work__art {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 18px 0 22px;
  border: 1px solid var(--fg-4);
  display: flex;
  align-items: center; justify-content: center;
  overflow: hidden;
  transition: all 240ms var(--ease);
  background: rgba(255,255,255,0.015);
  position: relative;
}
.bb-work__letter {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 168px; line-height: 1;
  letter-spacing: -0.06em;
  color: var(--fg-4);
  transition: color 320ms var(--ease);
}
.bb-work__cell:hover .bb-work__letter { color: var(--accent); }

.bb-work__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms var(--ease), filter 320ms var(--ease);
  filter: saturate(0.95);
}
.bb-work__cell:hover .bb-work__img {
  transform: scale(1.02);
  filter: saturate(1.05);
}

.bb-work__letter--italic { font-style: italic; }

/* Variant: dot mark */
.bb-work__dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
}
/* Variant: rule mark */
.bb-work__rule {
  width: 64%; height: 1px;
  background: var(--fg-2);
}

.bb-work__body {
  display: flex; flex-direction: column; gap: 10px;
}
.bb-work__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--fg-1);
  text-wrap: balance;
}
.bb-work__client {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--fg-2);
  margin-top: 2px;
}
.bb-work__client b {
  color: var(--fg-1);
  font-weight: 500;
}
.bb-work__foot {
  margin-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.bb-work__discipline {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(249, 249, 249, 0.5);
}
.bb-work__view {
  width: 32px; height: 32px;
  border: 1px solid var(--fg-3);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 200ms var(--ease);
  color: var(--fg-1);
  flex-shrink: 0;
}
.bb-work__view svg { width: 14px; height: 14px; stroke-width: 1.5; }

.bb-work__award {
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C8A66E;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 980px) {
  .bb-work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .bb-work { grid-template-columns: 1fr; }
  .bb-work__cell { min-height: 320px; }
}

/* ---- About strip ---------------------------------------------------- */
.bb-about {
  display: grid; grid-template-columns: 3fr 9fr;
  gap: 80px;
  align-items: start;
  padding-top: 16px;
}
.bb-about__left {
  display: flex; flex-direction: column; gap: 24px;
}
.bb-about__mark {
  width: 56px; height: 56px;
  color: var(--accent);
}
.bb-about__mark .bb-pfp { width: 100%; height: 100%; }
.bb-about__copy {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--fg-1);
  text-wrap: pretty;
  max-width: 22ch;
}
.bb-about__copy em { font-style: italic; color: var(--accent); }
.bb-about__sig {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 14px;
}
.bb-about__more {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #C8A66E;
  text-decoration: none;
  letter-spacing: 0.01em;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dur-sm, 200ms) var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
  align-self: flex-start;
}
.bb-about__more:hover { background-size: 100% 1px; }
.bb-about__more span { transition: transform 200ms var(--ease); }
.bb-about__more:hover span { transform: translateX(3px); }
.bb-about__sig-eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(249, 249, 249, 0.5);
}
.bb-about__sig-row {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.bb-about__sig-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: 36px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--accent);
}
.bb-about__sig-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(249, 249, 249, 0.6);
}
.bb-about__sig-divider {
  width: 32px; height: 1px;
  background: var(--fg-3);
  align-self: center;
}

@media (max-width: 980px) {
  .bb-about { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- Contact + footer ---------------------------------------------- */
.bb-contact {
  padding: 160px 0 0;
  position: relative;
}
.bb-contact__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 40px;
}
.bb-contact__eyebrow-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.bb-contact__eyebrow-row .bb-rule {
  flex: 1; height: 1px; background: var(--fg-4);
}
.bb-contact__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 56px;
  text-wrap: balance;
  max-width: 16ch;
}
.bb-contact__headline em { font-style: italic; color: var(--accent); }
.bb-contact__email {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.015em;
  color: var(--accent);
  text-decoration: none;
  line-height: 1.1;
  position: relative;
}
.bb-contact__email::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease);
}
.bb-contact__email:hover::after { transform: scaleX(1); }
.bb-contact__email svg { width: 20px; height: 20px; color: var(--accent); stroke-width: 1.5; }

.bb-contact__detail {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-top: 80px;
  border-top: 1px solid var(--fg-4);
  padding-top: 40px;
}
.bb-contact__detail .bb-eyebrow { color: var(--fg-2); }
.bb-contact__detail-block {
  display: flex; flex-direction: column; gap: 10px;
}
.bb-contact__detail-block p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px; line-height: 1.55;
  color: var(--fg-1);
}
.bb-contact__detail-block a {
  color: var(--fg-1);
  text-decoration: none;
  transition: color 200ms var(--ease);
}
.bb-contact__detail-block a:hover { color: var(--accent); }

.bb-social {
  display: flex; gap: 10px; margin-top: 6px;
}
.bb-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--fg-3); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-1);
  transition: all 200ms var(--ease);
}
.bb-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--raisin-black);
}
.bb-social svg { width: 15px; height: 15px; stroke-width: 1.5; }

.bb-foot {
  margin-top: 120px;
  border-top: 1px solid var(--fg-4);
  padding: 24px 0 32px;
}
.bb-foot__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 40px;
  display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px; color: var(--fg-3);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.bb-foot__wordmark {
  color: var(--fg-3);
}
.bb-foot__powered {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bb-foot__powered svg {
  width: 14px;
  height: 14px;
  color: #C8A66E;
  stroke-width: 1.5;
  vertical-align: middle;
}
.bb-foot__wordmark .bb-wordmark { height: 14px; width: calc(14px * 5.92); }

@media (max-width: 980px) {
  .bb-contact__detail { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bb-contact { padding-top: 96px; }
  .bb-contact__detail { grid-template-columns: 1fr; gap: 28px; }
  .bb-contact__inner { padding: 0 24px; }
  .bb-foot__inner {
    padding: 0 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
}

/* ---- Entrance animation -------------------------------------------- */
.bb-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.bb-fade.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Global resets (all viewports) ----------------------------------- */
html { overflow-x: hidden; }
img  { max-width: 100%; height: auto; }

/* Default values for hero-headline custom properties (desktop = fixed px) */
:root {
  --hero-dir-size: 160px;
  --hero-sub-size: 112px;
}

/* ---- Mobile (375–768 px) ---------------------------------------------- */
@media (max-width: 768px) {
  /* Override hero headline sizes with a responsive clamp */
  :root {
    --hero-dir-size: clamp(52px, 14vw, 160px);
    --hero-sub-size: clamp(28px, 9vw, 112px);
  }

  /* Section frames */
  .bb-section        { padding: 56px 0; }
  .bb-section--tight { padding: 48px 0; }
  .bb-section__inner { padding: 0 20px; }
  .bb-section__head  { gap: 24px; margin-bottom: 40px; }

  /* Hero layout */
  .bb-hero__main   { padding: 0 20px; }
  .bb-hero__status { padding: 16px 20px 0; }
  .bb-hero__status-l { gap: 10px; }
  /* Sub-bar: truncate to 2 items at mobile widths to prevent overflow */
  .bb-hero__status-l span:nth-child(n+3) { display: none; }
  .bb-hero__bottom {
    padding-left: 20px;
    padding-right: 20px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Work grid: single column */
  .bb-work      { grid-template-columns: 1fr; }
  .bb-work__cell { min-height: 0; }

  /* Touch targets: minimum 44 × 44 px */
  .bb-btn           { min-height: 44px; }
  .bb-social a      { width: 44px; height: 44px; }
  .bb-work__view    { width: 44px; height: 44px; }
  .bb-nav__drawer a {
    min-height: 44px;
    padding: 10px 0;
    display: flex;
    align-items: center;
  }

  /* Contact */
  .bb-contact         { padding-top: 48px; padding-bottom: 48px; }
  .bb-contact__inner  { padding: 0 20px; }
  .bb-contact__detail { grid-template-columns: 1fr; gap: 24px; }

  /* Footer */
  .bb-foot__inner {
    padding: 0 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  /* Hero main: restore document flow so it pushes bottom section down */
  .bb-hero__main {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
  }

  /* Nav logo: cap rendered height — HeaderLogo injects inline width/height */
  .bb-nav__brand > span {
    height: 32px !important;
    width: calc(32px * (1050 / 480)) !important;
  }

  /* No right-aligned text on mobile — also overrides inline textAlign:"right" */
  .bb-section__head-r { justify-content: flex-start; }
  .bb-section__caption { text-align: left !important; }
  .bb-section__head-r > * { text-align: left !important; }

  /* Hero: block layout so h1 fills full width and is unambiguously left-aligned */
  .bb-hero__main { display: block; padding-top: 80px; padding-bottom: 60px; }
  .bb-hero__headline { text-align: left !important; max-width: none !important; }
  .bb-hero__status { display: none; }

  /* WHO/WHAT/HOW: hide labels, stack values with thin dividers */
  .bb-hero__meta-col .bb-eyebrow { display: none; }
  .bb-hero__meta-col { border-top: 1px solid var(--fg-4); padding-top: 16px; padding-bottom: 16px; }

  /* Work section: hide "All work" button and arrow icons */
  .bb-section__head-r .bb-btn { display: none; }
  .bb-work__view { display: none; }

  /* Contact details: centre-align address/info block */
  .bb-contact__detail-block { text-align: center; }
  .bb-contact__detail-block .bb-social { justify-content: center; }

  /* Footer logo: cap width so inline JS dimension can't overflow viewport */
  .bb-foot__wordmark { overflow: visible; max-width: 100%; }
  .bb-foot__wordmark > span { max-width: 100% !important; }
}

/* Very small viewports: stack sub-bar vertically so both items remain visible */
@media (max-width: 480px) {
  .bb-hero__status {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
