/* =========================================================
   BARKBUDDY — OUR STORY
   ========================================================= */

:root {
  --bb-story-black: #070707;
  --bb-story-panel: #111111;
  --bb-story-panel-soft: rgba(18, 18, 18, 0.92);
  --bb-story-cream: #fffaf0;
  --bb-story-gold: var(--bb-gold);
  --bb-story-gold-light: #f1d58d;
  --bb-story-muted: rgba(255, 250, 240, 0.66);
  --bb-story-border: rgba(223, 188, 106, 0.32);
  --bb-story-radius: 34px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bb-story-black);
  color: var(--bb-story-cream);
}

.bb-story {
  position: relative;
  z-index: 1;
  overflow: clip;
}

.bb-story-container {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.bb-story-section {
  position: relative;
  padding: 25px 0;
}

.bb-story-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--bb-story-gold-light);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.bb-story-eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bb-story-gold);
  box-shadow: 0 0 0 6px rgba(223, 188, 106, 0.12);
}

.bb-story-heading {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.bb-story-heading h2,
.bb-story-origin h2,
.bb-story-mission h2,
.bb-story-dream h2,
.bb-story-final h2 {
  margin: 0;
  color: var(--bb-story-cream);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.bb-story-heading p {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--bb-story-muted);
  font-size: 17px;
  line-height: 1.75;
}


/* BUTTONS */

.bb-story-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.bb-story-button:hover,
.bb-story-button:focus-visible {
  transform: translateY(-2px);
}

.bb-story-button--gold {
  border-color: var(--bb-story-gold);
  color: #111;
  background: linear-gradient(
    135deg,
    var(--bb-story-gold-light),
    var(--bb-story-gold)
  );
  box-shadow: 0 12px 30px rgba(223, 188, 106, 0.23);
}

.bb-story-button--outline {
  border-color: rgba(223, 188, 106, 0.45);
  color: var(--bb-story-cream);
  background: rgba(255, 255, 255, 0.03);
}

.bb-story-button--outline:hover,
.bb-story-button--outline:focus-visible {
  color: #111;
  background: var(--bb-story-gold);
}


/* HERO */

.bb-story-hero {
  position: relative;
  padding: 25px 0 105px;
}

.bb-story-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  align-items: center;
  gap: clamp(25px, 8vw, 110px);
}

.bb-story-hero__content h1 {
  max-width: 780px;
  margin: 0;
  color: var(--bb-story-cream);
  font-size: clamp(55px, 6.5vw, 92px);
  font-weight: 880;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.bb-story-hero__content h1 em {
  display: block;
  margin-top: 8px;
  color: transparent;
  background: linear-gradient(
    100deg,
    #a77c2c,
    var(--bb-story-gold-light),
    var(--bb-story-gold)
  );
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.bb-story-hero__content > p {
  max-width: 670px;
  margin: 30px 0 0;
  color: var(--bb-story-muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.75;
}

.bb-story-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.bb-story-hero__visual {
  position: relative;
  min-height: 620px;
}

.bb-story-hero__glow {
  position: absolute;
  inset: 12% 2%;
  border-radius: 50%;
  background: rgba(223, 188, 106, 0.22);
  filter: blur(85px);
}

.bb-story-hero__image {
  position: absolute;
  inset: 20px 22px 55px;
  overflow: hidden;
  border: 1px solid rgba(223, 188, 106, 0.56);
  border-radius: 40px;
  background: #111;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
  transform: rotate(1.7deg);
}

.bb-story-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(2, 2, 2, 0.62)
  );
}

.bb-story-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-story-hero__note {
  position: absolute;
  z-index: 2;
  left: -30px;
  bottom: 5px;
  width: min(360px, 82%);
  padding: 21px 23px;
  border: 1px solid rgba(223, 188, 106, 0.5);
  border-radius: 21px;
  color: var(--bb-story-cream);
  background: rgba(8, 8, 8, 0.9);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.bb-story-hero__note span {
  display: block;
  margin-bottom: 8px;
  color: var(--bb-story-gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bb-story-hero__note strong {
  display: block;
  font-size: 17px;
  line-height: 1.45;
}


/* ORIGIN */

.bb-story-origin__grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 850px);
  justify-content: center;
  gap: 50px;
}

.bb-story-origin__number {
  color: rgba(223, 188, 106, 0.3);
  font-size: clamp(70px, 9vw, 130px);
  font-weight: 900;
  line-height: 0.8;
}

.bb-story-origin__content p {
  margin: 25px 0 0;
  color: var(--bb-story-muted);
  font-size: 17px;
  line-height: 1.8;
}


/* TIMELINE */

.bb-story-timeline {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
}

.bb-story-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 161px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(223, 188, 106, 0.6) 8%,
    rgba(223, 188, 106, 0.6) 92%,
    transparent
  );
}

.bb-story-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 62px;
  padding: 0 0 34px;
}

.bb-story-timeline__marker {
  position: absolute;
  top: 29px;
  left: 153px;
  z-index: 2;
  width: 17px;
  height: 17px;
  border: 4px solid var(--bb-story-black);
  border-radius: 50%;
  background: var(--bb-story-gold);
  box-shadow: 0 0 0 5px rgba(223, 188, 106, 0.15);
}

.bb-story-timeline__date {
  padding-top: 29px;
  color: var(--bb-story-gold-light);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-align: right;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bb-story-timeline__card {
  position: relative;
  padding: 30px 33px;
  border: 1px solid var(--bb-story-border);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 92% 12%,
      rgba(223, 188, 106, 0.1),
      transparent 28%
    ),
    linear-gradient(135deg, rgba(22, 22, 22, 0.95), rgba(8, 8, 8, 0.95));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.bb-story-timeline__number {
  position: absolute;
  top: 23px;
  right: 25px;
  color: rgba(223, 188, 106, 0.28);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.bb-story-timeline__card h3 {
  margin: 0 55px 12px 0;
  color: var(--bb-story-cream);
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.bb-story-timeline__card p {
  margin: 0;
  color: var(--bb-story-muted);
  font-size: 15px;
  line-height: 1.75;
}


/* MISSION */

.bb-story-mission__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(55px, 8vw, 100px);
}

.bb-story-mission__image {
  min-height: 660px;
  overflow: hidden;
  border: 1px solid rgba(223, 188, 106, 0.44);
  border-radius: var(--bb-story-radius);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.3);
}

.bb-story-mission__image img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
}

.bb-story-mission__content > p {
  max-width: 640px;
  margin: 25px 0 0;
  color: var(--bb-story-muted);
  font-size: 17px;
  line-height: 1.8;
}

.bb-story-mission__values {
  display: grid;
  gap: 6px;
  margin-top: 34px;
}

.bb-story-mission__values > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(223, 188, 106, 0.15);
}

.bb-story-mission__values span {
  color: var(--bb-story-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.bb-story-mission__values strong {
  color: var(--bb-story-cream);
  font-size: 17px;
}

.bb-story-mission__values p {
  grid-column: 2;
  margin: -8px 0 0;
  color: rgba(255, 250, 240, 0.56);
  font-size: 13px;
  text-indent: 12px;
  line-height: 1.55;
}


/* BUILDING */

.bb-story-building__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bb-story-building__card {
  position: relative;
  min-height: 370px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--bb-story-border);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 95% 8%,
      rgba(223, 188, 106, 0.12),
      transparent 30%
    ),
    linear-gradient(145deg, #151515, #090909);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.24);
}

.bb-story-building__card > span {
  position: absolute;
  top: 26px;
  right: 27px;
  color: rgba(223, 188, 106, 0.28);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.bb-story-building__icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 31px;
  place-items: center;
  border: 1px solid rgba(223, 188, 106, 0.4);
  border-radius: 20px;
  background: rgba(223, 188, 106, 0.09);
  font-size: 27px;
}

.bb-story-building__card h3 {
  margin: 0 0 16px;
  color: var(--bb-story-cream);
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.bb-story-building__card p {
  margin: 0;
  color: var(--bb-story-muted);
  font-size: 15px;
  line-height: 1.75;
}


/* BRANSON */

.bb-story-branson__card {
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid rgba(223, 188, 106, 0.42);
  border-radius: var(--bb-story-radius);
  background:
    radial-gradient(
      circle at 84% 17%,
      rgba(223, 188, 106, 0.1),
      transparent 30%
    ),
    linear-gradient(135deg, #181818, #090909);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

.bb-story-branson__image {
  min-height: 560px;
  padding: 18px;
}

.bb-story-branson__image img {
  width: 100%;
  height: 100%;
  min-height: 524px;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  filter: grayscale(1);
}

.bb-story-branson__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(45px, 6vw, 78px);
}

.bb-story-branson__intro {
  margin: 0 0 5px;
  color: rgba(255, 250, 240, 0.72);
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 750;
}

.bb-story-branson__content h2 {
  margin: 0;
  color: var(--bb-story-gold);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.045em;
}

.bb-story-branson__content blockquote {
  margin: 28px 0 8px;
  color: rgba(255, 250, 240, 0.84);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.7;
}

.bb-story-branson__credit {
  margin: 0 0 31px;
  color: rgba(255, 250, 240, 0.52);
  font-size: 14px;
  font-style: italic;
}

.bb-story-branson__content .bb-story-button {
  align-self: flex-start;
}


/* DRAGONS' DEN DREAM */

.bb-story-dream__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: clamp(55px, 8vw, 25px);
}

.bb-story-dream__content > p {
  max-width: 670px;
  margin: 25px 0 0;
  color: var(--bb-story-muted);
  font-size: 17px;
  line-height: 1.8;
}

.bb-story-dream__small {
  font-size: 12px !important;
  color: rgba(255, 250, 240, 0.4) !important;
}

.bb-story-dream__frame {
  position: relative;
  display: grid;
  min-height: 520px;
  padding: 48px 35px;
  place-items: center;
  align-content: center;
  overflow: hidden;
  border: 2px solid var(--bb-story-gold);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 50% 28%,
      rgba(223, 188, 106, 0.16),
      transparent 35%
    ),
    #080808;
  box-shadow:
    0 0 0 8px rgba(223, 188, 106, 0.06),
    0 30px 90px rgba(0, 0, 0, 0.4),
    inset 0 0 55px rgba(223, 188, 106, 0.08);
  text-align: center;
}

.bb-story-dream__frame::before,
.bb-story-dream__frame::after {
  content: "";
  position: absolute;
  width: 75px;
  height: 75px;
  border-color: var(--bb-story-gold-light);
  opacity: 0.72;
}

.bb-story-dream__frame::before {
  top: 15px;
  left: 15px;
  border-top: 1px solid;
  border-left: 1px solid;
  border-radius: 18px 0 0;
}

.bb-story-dream__frame::after {
  right: 15px;
  bottom: 15px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  border-radius: 0 0 18px;
}

.bb-story-dream__top,
.bb-story-dream__on {
  color: var(--bb-story-gold-light);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.26em;
}

.bb-story-dream__frame strong {
  color: var(--bb-story-cream);
  font-size: clamp(80px, 9vw, 120px);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-shadow: 0 0 32px rgba(223, 188, 106, 0.2);
}

/* FINAL */

.bb-story-final__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: 56px;
  border: 1px solid rgba(223, 188, 106, 0.42);
  border-radius: var(--bb-story-radius);
  background:
    radial-gradient(
      circle at 87% 24%,
      rgba(223, 188, 106, 0.14),
      transparent 28%
    ),
    linear-gradient(135deg, #171717, #070707);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.28);
}

.bb-story-final__icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid rgba(223, 188, 106, 0.45);
  border-radius: 24px;
  background: rgba(223, 188, 106, 0.09);
  font-size: 32px;
}

.bb-story-final__content > span {
  display: block;
  margin-bottom: 13px;
  color: var(--bb-story-gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bb-story-final__content h2 {
  max-width: 710px;
  font-size: clamp(34px, 4vw, 54px);
}

.bb-story-final__content p {
  max-width: 650px;
  margin: 17px 0 0;
  color: var(--bb-story-muted);
  line-height: 1.7;
}

.bb-story-final__buttons {
  display: flex;
  flex-direction: column;
  gap: 11px;
}


/* TABLET */

@media screen and (max-width: 1050px) {
  .bb-story-hero {
    padding-top: 21px;
  }

  .bb-story-hero__grid,
  .bb-story-mission__grid,
  .bb-story-dream__grid,
  .bb-story-branson__card {
    grid-template-columns: 1fr;
  }

  .bb-story-hero__visual {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .bb-story-building__grid {
    grid-template-columns: 1fr 1fr;
  }

  .bb-story-building__card:last-child {
    grid-column: 1 / -1;
  }

  .bb-story-mission__image {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .bb-story-dream__frame {
    width: min(520px, 100%);
    margin-inline: auto;
  }

  .bb-story-branson__content {
    padding: 52px;
  }

  .bb-story-final__inner {
    grid-template-columns: auto 1fr;
  }

  .bb-story-final__buttons {
    grid-column: 1 / -1;
    flex-direction: row;
    padding-left: 116px;
  }
}


/* MOBILE */

@media screen and (max-width: 700px) {
  .bb-story-container {
    width: min(100% - 24px, 1240px);
  }

  .bb-story-section {
    padding: 25px 0;
  }

  .bb-story-hero {
    padding: 25px 0 70px;
  }

  .bb-story-hero__content h1 {
    font-size: clamp(45px, 14vw, 64px);
  }

  .bb-story-hero__content > p,
  .bb-story-origin__content p,
  .bb-story-mission__content > p,
  .bb-story-dream__content > p {
    font-size: 16px;
  }

  .bb-story-hero__buttons {
    display: grid;
  }

  .bb-story-button {
    width: 100%;
  }

  .bb-story-hero__visual {
    min-height: auto;
    margin-top: 30px;
    padding-bottom: 0;
  }

  .bb-story-hero__image {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 27px;
    transform: none;
  }

  .bb-story-hero__image img {
    object-position: center;
  }

  .bb-story-hero__note {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
  }

  .bb-story-origin__grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .bb-story-origin__number {
    font-size: 70px;
  }

  .bb-story-timeline::before {
    left: 8px;
  }

  .bb-story-timeline__item {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-left: 32px;
  }

  .bb-story-timeline__marker {
    top: 7px;
    left: 0;
  }

  .bb-story-timeline__date {
    padding-top: 2px;
    text-align: left;
  }

  .bb-story-timeline__card {
    padding: 26px 22px;
    border-radius: 21px;
  }

  .bb-story-timeline__card h3 {
    font-size: 22px;
  }

  .bb-story-mission__image {
    min-height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 27px;
  }

  .bb-story-mission__image img {
    min-height: auto;
  }

  .bb-story-building__grid {
    grid-template-columns: 1fr;
  }

  .bb-story-building__card:last-child {
    grid-column: auto;
  }

  .bb-story-branson__card {
    border-radius: 25px;
  }

  .bb-story-branson__image {
    min-height: auto;
    padding: 10px;
  }

  .bb-story-branson__image img {
    min-height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }

  .bb-story-branson__content {
    padding: 35px 24px 42px;
  }

  .bb-story-branson__content .bb-story-button {
    width: 100%;
  }

  .bb-story-dream__frame {
    min-height: 470px;
    padding: 40px 22px;
    border-radius: 25px;
  }

  .bb-story-dream__frame strong {
    font-size: clamp(78px, 27vw, 105px);
  }

  .bb-story-final__inner {
    grid-template-columns: 1fr;
    padding: 38px 24px;
  }

  .bb-story-final__icon {
    width: 64px;
    height: 64px;
  }

  .bb-story-final__buttons {
    grid-column: auto;
    flex-direction: column;
    padding-left: 0;
  }

  .bb-story-dream__frame p {
    font-size: 12px;
  }

  .bb-story-branson__image::after {
      left: 10px;
      right: 10px;
      bottom: 10px;
      height: 130px;
      border-radius: 0 0 18px 18px;
  }
}

.bb-dd-card {
    position: relative;
    overflow: hidden;
}

.bb-dd-card__content,
.bb-dd-card h2,
.bb-dd-card p,
.bb-dd-card small,
.bb-dd-card strong {
    position: relative;
    z-index: 2;
}

.bb-story-dream__frame {
  position: relative;
  overflow: hidden;
}

.bb-story-dream__frame p {
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.bb-story-dream__frame p b {
  color: var(--bb-story-gold-light);
  font-weight: 800;
}

.bb-story-dream__frame p span {
  margin-inline: 8px;
  color: var(--bb-story-gold);
}

.bb-dd-card__watermark {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 1;

  width: min(78%, 360px);
  height: auto;

  transform: translate(-50%, -50%) rotate(-6deg);

  opacity: 0.055;
  filter: blur(0.6px) grayscale(1) sepia(1) saturate(2.2);

  pointer-events: none;
  user-select: none;
}

.bb-story-dream__top,
.bb-story-dream__on,
.bb-story-dream__frame > strong,
.bb-story-dream__frame > p {
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 324px) {

  .bb-story-hero__note {
    left: 14px;
    bottom: -42px;
    width: calc(100% - 28px);
  }
}

.bb-story-gold {
    color: var(--bb-gold);
    font-weight: 700;
}

.desktop-heading {
    display: block;
}

.mobile-heading {
    display: none;
}

@media (max-width: 768px) {
    .desktop-heading {
        display: none;
    }

    .mobile-heading {
        display: block;
    }
}

/* BB ON DD CLOCK TRANSITION */

.bb-dd-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(0, 0, 0, 0.94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.bb-dd-transition.is-active {
    opacity: 1;
    visibility: visible;
}

.bb-dd-transition__box {
    width: min(520px, 100%);
    padding: 38px 28px;

    text-align: center;

    background: #080808;
    border: 1px solid var(--bb-gold);
    border-radius: 22px;

    box-shadow:
        0 0 35px rgba(223, 188, 106, 0.18);
}

.bb-dd-transition__small {
    display: block;
    margin-bottom: 12px;

    color: var(--bb-gold);

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.bb-dd-transition__box strong {
    display: block;

    color: #fff;

    font-size: clamp(1.45rem, 5vw, 2.35rem);
    line-height: 1.2;
}

.bb-dd-transition__paw {
    display: block;
    margin-top: 18px;

    font-size: 1.5rem;
}

.bb-oaktree-link {
    color: #fd7e14;
    text-decoration: underline;
}

.bb-ddtechlabs-link {
    color: #39ff14;
    text-decoration: underline;
}

/* =========================================================
   DRAGONS' DEN DREAM — DESKTOP BUTTON POSITION
   Mobile/tablet remains unchanged
   ========================================================= */

@media screen and (min-width: 1051px) {

    .bb-story-dream__grid {
        display: grid;

        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
        grid-template-rows: auto auto;

        column-gap: 64px;
        row-gap: 32px;

        align-items: center;
    }


    /* Text — top left */
    .bb-story-dream__content {
        grid-column: 1;
        grid-row: 1;

        align-self: end;
    }


    /* Button — directly below text */
    #bb-dd-clock-link {
        grid-column: 1;
        grid-row: 2;

        align-self: start;

        width: 100%;
        margin: 0;
    }


    /* BB / DD card — entire right side */
    .bb-story-dream__frame {
        grid-column: 2;
        grid-row: 1 / 3;

        align-self: center;
    }
}

/* =========================================================
   BUILDING NOW — CARD POLISH
   ========================================================= */

.bb-story-building__card {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* Number — top right */
.bb-story-building__number {
    position: absolute;
    top: 26px;
    right: 28px;

    color: var(--bb-gold);
    opacity: 0.38;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}


/* Icon container */
.bb-story-building__icon {
    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    margin-bottom: 28px;

    border: 1px solid rgba(215, 186, 127, 0.42);
    border-radius: 20px;

    color: var(--bb-gold);

    background:
        linear-gradient(
            145deg,
            rgba(215, 186, 127, 0.10),
            rgba(215, 186, 127, 0.025)
        );
}


/* Actual SVG */
.bb-story-building__icon svg {
    width: 30px;
    height: 30px;
}


/* COMMUNITY / TOOLS / PURPOSE */
.bb-story-building__label {
    margin-bottom: 8px;

    color: var(--bb-gold);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.75;
}


/* Gold detail at bottom */
.bb-story-building__accent {
    position: absolute;

    left: 30px;
    bottom: 0;

    width: 44px;
    height: 2px;

    background: var(--bb-gold);

    opacity: 0.45;

    transition:
        width 0.3s ease,
        opacity 0.3s ease;
}


/* Desktop interaction */
@media (hover: hover) {

    .bb-story-building__card:hover {
        transform: translateY(-4px);

        border-color: rgba(215, 186, 127, 0.65);

        box-shadow:
            0 20px 45px rgba(0, 0, 0, 0.28),
            0 0 28px rgba(215, 186, 127, 0.05);
    }

    .bb-story-building__card:hover
    .bb-story-building__accent {
        width: 90px;
        opacity: 0.9;
    }
}

.bb-story-button:hover,
.bb-story-button:focus-visible {
  transform: translateY(-2px);
}

.bb-story-branson__image {
    position: relative;
    min-height: 560px;
    padding: 18px;
}

.bb-story-branson__image::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    height: 150px;

    border-radius: 0 0 24px 24px;

    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(9, 9, 9, 0.15) 25%,
        rgba(9, 9, 9, 0.65) 70%,
        #090909 100%
    );

    pointer-events: none;
}

.bb-dd-clock-button {
    position: relative;
    top: -20px;
}

/* BB ON DD — match button width to card */
@media screen and (max-width: 1050px) {

    #bb-dd-clock-link {
        width: min(520px, 100%);
        margin-inline: auto;
    }

}

/* =========================================================
   SHARED BUTTON ARROW
   ========================================================= */

.bb-button-arrow {
    width: 36px;
    height: 36px;
    min-width: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 16px;
    line-height: 1;

    flex-shrink: 0;

    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}


.bb-button-arrow--dark {
    border: 1px solid rgba(10, 10, 10, 0.32);

    background: rgba(10, 10, 10, 0.04);

    color: #0a0a0a;
}

/* =========================================================
   REUSABLE OUTLINE GOLD BUTTON
   ========================================================= */

.bb-button--outline-gold {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 54px;

    border: 1px solid rgba(223, 188, 106, 0.65);
    border-radius: 999px;

    background: rgba(223, 188, 106, 0.035);
    color: var(--bb-gold);

    font-weight: 800;
    text-decoration: none;

    transition:
        background 180ms ease,
        color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}


/* Arrow */

.bb-button--outline-gold .bb-button-arrow {
    position: absolute;

    right: 9px;
    top: 50%;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(223, 188, 106, 0.55);
    border-radius: 50%;

    background: rgba(223, 188, 106, 0.08);
    color: var(--bb-gold);

    transform: translateY(-50%);
}


/* Hover */

.bb-button--outline-gold:hover {
    background: var(--bb-gold);
    color: #090909;

    transform: translateY(-2px);
}


.bb-button--outline-gold:hover .bb-button-arrow {
    border-color: rgba(9, 9, 9, 0.28);
    background: rgba(9, 9, 9, 0.08);
    color: #090909;
}

/* =========================================================
   TRUE INVERTED GOLD BUTTON
   ========================================================= */

.bb-button--outline-gold {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 0 54px;

    border: 1px solid transparent;
    border-radius: 999px;

    background:
        linear-gradient(#0a0a0a, #0a0a0a) padding-box,
        linear-gradient(135deg, #f1d58d, #d8bb6d) border-box;

    color: #d8bb6d;

    font-weight: 800;
    text-decoration: none;

    transition:
        transform 180ms ease,
        color 180ms ease,
        background 180ms ease;
}


/* Gold gradient text */

.bb-button--outline-gold {
    background:
        linear-gradient(#0a0a0a, #0a0a0a) padding-box,
        linear-gradient(135deg, #f1d58d, #d8bb6d) border-box;
}


/* Arrow */

.bb-button--outline-gold .bb-button-arrow {
    position: absolute;

    right: 9px;
    top: 50%;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid #d8bb6d;
    border-radius: 50%;

    background: transparent;
    color: #d8bb6d;

    transform: translateY(-50%);
}


/* Hover flips back to the normal gold button */

.bb-button--outline-gold:hover {
    background:
        linear-gradient(135deg, #f1d58d, #d8bb6d);

    color: #0a0a0a;

    transform: translateY(-2px);
}


.bb-button--outline-gold:hover .bb-button-arrow {
    border-color: rgba(10, 10, 10, 0.28);

    background: rgba(10, 10, 10, 0.05);

    color: #0a0a0a;
}