/* =========================================
   BUSH BAGS - OUR STORY PAGE
   Loaded automatically from the theme /css folder.
========================================= */

.bb-story-page {
  --bb-story-paper: #f7f5f1;
  --bb-story-line: #dedbd5;
  color: var(--bb-black);
  overflow: hidden;
}

.bb-story-page *,
.bb-story-page *::before,
.bb-story-page *::after {
  box-sizing: border-box;
}

.bb-story-container {
  width: min(90%, 90%);
  margin-inline: auto;
}

.bb-story-page h1,
.bb-story-page h2,
.bb-story-page h3,
.bb-story-page p,
.bb-story-page figure {
  margin-top: 0;
}

.bb-story-page h1,
.bb-story-page h2,
.bb-story-page h3 {
  color: var(--bb-black);
  line-height: 1.12;
}

.bb-story-page h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(38px, 5.2vw, 70px);
  letter-spacing: -0.035em;
  font-weight: 800;
}

.bb-story-page h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 3.5vw, 48px);
  letter-spacing: -0.025em;
  font-weight: 800;
}

.bb-story-page h3 {
  font-size: 22px;
  font-weight: 700;
}

/* .bb-story-page p {
  font-size: 16px;
  line-height: 1.85;
} */

.bb-story-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--bb-orange);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.bb-story-hero {
  padding: var(--bb-padding);
  background:
    radial-gradient(
      ellipse at 83% 20%,
      rgba(184, 79, 38, 0.07),
      transparent 36%
    ),
    var(--bb-story-paper);
}

.bb-story-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 7vw, 95px);
}

.bb-story-hero-copy {
  padding-block: 12px;
}

.bb-story-intro {
  margin-bottom: 26px;

  /* font-size: clamp(17px, 1.55vw, 20px) !important; */
  line-height: 1.75 !important;
}

.bb-story-rule {
  display: block;
  width: 72px;
  height: 5px;
  background: var(--bb-orange);
}

.bb-story-photo-placeholder {
  min-height: 360px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.04), rgba(5, 5, 5, 0.3)),
    repeating-linear-gradient(
      135deg,
      #e7e3dc 0,
      #e7e3dc 14px,
      #eeebe6 14px,
      #eeebe6 28px
    );
  border: 1px solid #ded9d0;
}

.bb-story-photo-placeholder::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 220px;
  right: -40px;
  top: -45px;
  border: 1px solid rgba(184, 79, 38, 0.35);
  border-radius: 50%;
}

.bb-story-photo-placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  right: -70px;
  top: -75px;
  border: 1px solid rgba(184, 79, 38, 0.2);
  border-radius: 50%;
}

.bb-story-placeholder-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--bb-orange);
}

.bb-story-photo-placeholder strong {
  max-width: 360px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}

.bb-story-photo-placeholder > span:last-child {
  max-width: 300px;
  color: #555;
  font-size: 13px;
  line-height: 1.6;
}

.bb-story-section {
  padding: clamp(70px, 9vw, 115px) 0;
}

.bb-story-section-heading {
  margin: 0 auto 48px;
  text-align: center;
}

.bb-story-section-heading .bb-story-eyebrow {
  margin-bottom: 14px;
}

.bb-story-section-heading h2 {
  margin-bottom: 0;
}

.bb-story-milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 70px;
  border-top: 1px solid var(--bb-story-line);
  border-bottom: 1px solid var(--bb-story-line);
}

.bb-story-milestone {
  position: relative;
  padding: 30px clamp(18px, 3vw, 42px) 34px;
}

.bb-story-milestone + .bb-story-milestone {
  border-left: 1px solid var(--bb-story-line);
}

.bb-story-milestone-number {
  display: block;
  margin-bottom: 22px;
  color: var(--bb-orange);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.bb-story-milestone h3 {
  margin-bottom: 12px;
  font-size: clamp(19px, 2vw, 25px);
}

.bb-story-milestone p {
  margin-bottom: 0;
  color: var(--bb-story-muted);

  line-height: 1.7;
}

.bb-story-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 90px);
}

.bb-story-purpose-detail {
  align-items: stretch;
}

.bb-story-photo-placeholder--workshop {
  min-height: 500px;
}

.bb-story-body p {
  margin-bottom: 20px;
}

.bb-story-body p:last-child {
  margin-bottom: 0;
}

.bb-story-roots {
  background: var(--bb-story-paper);
}

.bb-story-roots-intro {
  align-items: center;
}

.bb-story-drawing-wrap {
  max-width: 510px;
  margin: 0 auto;
}

.bb-story-drawing {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.bb-story-image-caption {
  margin: 16px 0 0;
  color: var(--bb-story-muted);
  font-size: 12px !important;
  line-height: 1.5 !important;
  text-align: center;
}

.bb-story-roots-copy h2 {
  max-width: 540px;
}

.bb-story-logo-evolution {
  margin-top: clamp(70px, 9vw, 115px);
  padding: clamp(30px, 5vw, 62px);
  background: #fff;
  border: 1px solid var(--bb-story-line);
}

.bb-story-logo-evolution-heading {
  margin-bottom: 35px;
  text-align: center;
}

.bb-story-logo-evolution-heading .bb-story-eyebrow {
  margin-bottom: 12px;
}

.bb-story-logo-evolution-heading h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.bb-story-logo-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(20px, 4vw, 55px);
  max-width: 950px;
  margin: 0 auto;
}

.bb-story-logo-card {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.bb-story-logo-card img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
}

.bb-story-logo-card--brand img {
  padding: 22px;
  background: #f4f2ee;
}

.bb-story-logo-card figcaption {
  margin-top: 14px;
  color: var(--bb-story-muted);
  font-size: 13px;
}

.bb-story-logo-arrow {
  color: var(--bb-orange);
  font-size: 38px;
  font-weight: 300;
}

.bb-story-next {
  padding-bottom: clamp(70px, 9vw, 115px);
  background: #fff;
}

.bb-story-next-image {
  width: 100%;
  max-height: 570px;
  overflow: hidden;
  background: #e8e5df;
}

.bb-story-next-image img {
  display: block;
  width: 100%;
  max-height: 570px;
  object-fit: cover;
  object-position: center;
}

.bb-story-next-copy {
  max-width: 820px;
  margin: 0 auto;
  padding-top: clamp(45px, 6vw, 75px);
  text-align: center;
}

.bb-story-next-copy h2 {
  margin-bottom: 25px;
}

.bb-story-next-copy p:not(.bb-story-eyebrow) {
  max-width: 760px;
  margin: 0 auto 18px;
}

.bb-story-closing {
  padding: clamp(60px, 8vw, 95px) 0;
  background: #242421;
  color: #fff;
  text-align: center;
}

.bb-story-closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bb-story-closing-inner > img {
  display: block;
  width: min(300px, 70%);
  max-height: 180px;
  margin-bottom: 28px;
  object-fit: contain;
  /* Keep the logo's transparent background transparent on the dark section. */
}

.bb-story-closing-line {
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(23px, 3vw, 34px) !important;
  line-height: 1.25 !important;
  font-weight: 700;
}

.bb-story-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border: 1px solid var(--bb-orange);
  background: var(--bb-orange);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.bb-story-button:hover,
.bb-story-button:focus {
  background: transparent;
  border-color: #fff;
  color: #fff !important;
}

/* Tablet */
@media (max-width: 900px) {
  .bb-story-container {
    width: 92%;
  }

  .bb-story-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 32px;
  }

  .bb-story-photo-placeholder {
    min-height: 320px;
    padding: 22px;
  }

  .bb-story-photo-placeholder--workshop {
    min-height: 430px;
  }

  .bb-story-two-column {
    gap: 34px;
  }

  .bb-story-logo-card img {
    height: 240px;
  }
}

/* Mobile */
@media (max-width: 650px) {
  .bb-story-hero {
    padding: 55px 0 60px;
  }

  .bb-story-hero-grid,
  .bb-story-two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .bb-story-hero-grid {
    gap: 32px;
  }

  .bb-story-page h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .bb-story-page h2 {
    font-size: clamp(29px, 8vw, 38px);
  }

  .bb-story-photo-placeholder {
    min-height: 300px;
  }

  .bb-story-section {
    padding: 60px 0;
  }

  .bb-story-section-heading {
    margin-bottom: 32px;
    text-align: left;
  }

  .bb-story-milestones {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 45px;
  }

  .bb-story-milestone {
    padding: 24px 0;
  }

  .bb-story-milestone + .bb-story-milestone {
    border-left: 0;
    border-top: 1px solid var(--bb-story-line);
  }

  .bb-story-milestone-number {
    margin-bottom: 10px;
  }

  .bb-story-purpose-detail .bb-story-photo-placeholder {
    order: 2;
  }

  .bb-story-purpose-detail .bb-story-body {
    order: 1;
  }

  .bb-story-drawing-wrap {
    width: min(100%, 440px);
  }

  .bb-story-logo-evolution {
    margin-top: 55px;
    padding: 26px 18px;
  }

  .bb-story-logo-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .bb-story-logo-card img {
    height: 230px;
  }

  .bb-story-logo-arrow {
    transform: rotate(90deg);
    justify-self: center;
    font-size: 30px;
  }

  .bb-story-next-image img {
    min-height: 260px;
    object-fit: cover;
  }

  .bb-story-next-copy {
    text-align: left;
  }

  .bb-story-closing-line {
    max-width: 340px;
  }
}
