/* CPM 3D — Our Story page styles (extends home-pop.css + shop-pop.css page-hero) */

/* ===== Story hero ===== */
.page-hero[data-screen-label="Our Story hero"] .page-hero-bg {
  background:
    linear-gradient(90deg, rgba(16, 29, 58, 0.78) 0%, rgba(16, 29, 58, 0.34) 20%, rgba(7, 17, 38, 0.74) 50%, rgba(16, 29, 58, 0.34) 80%, rgba(16, 29, 58, 0.8) 100%),
    linear-gradient(180deg, rgba(16, 29, 58, 0.12) 0%, rgba(16, 29, 58, 0.64) 100%),
    url("brand/story-studio-hero.png") center 48% / cover no-repeat,
    var(--ink);
}
.page-hero[data-screen-label="Our Story hero"] h1 {
  font-size: 62px;
  max-width: calc(100vw - 48px);
  white-space: nowrap;
}
.page-hero[data-screen-label="Our Story hero"] h1 br { display: none; }
.page-hero[data-screen-label="Our Story hero"] h1 br + .c-yellow::before { content: " "; }

/* ===== Story intro ===== */
.story-intro { padding: 72px 0 96px; }
.story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.story-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.story-copy h2 { font-size: 56px; line-height: 1.06; }
.story-copy p { color: var(--text-soft); font-size: 16px; line-height: 1.75; font-weight: 500; }
.story-copy .signoff { font-family: var(--font-display); color: var(--teal); font-size: 19px; text-shadow: 1.5px 1.5px 0 var(--ink); }
.story-collage { position: relative; padding: 24px 28px 40px 0; }
.story-collage .ph-a {
  height: 360px; border-radius: var(--radius-lg);
  border: var(--ow) solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-1.5deg);
  background:
    linear-gradient(180deg, rgba(16, 29, 58, 0) 50%, rgba(16, 29, 58, 0.24) 100%),
    url("brand/story-origin-spare-room.png") center 52% / cover no-repeat,
    var(--cream);
}
.story-collage .ph-a .ph-tag { display: none; }
.story-collage .ph-b {
  position: absolute; right: -6px; bottom: -8px; width: 46%; height: 200px;
  border-radius: var(--radius-md); border: var(--ow) solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink); transform: rotate(3deg); z-index: 2;
  background:
    linear-gradient(180deg, rgba(16, 29, 58, 0) 48%, rgba(16, 29, 58, 0.2) 100%),
    url("brand/story-print-40-mug.png") center 50% / cover no-repeat,
    var(--cream);
}
.story-collage .ph-b .ph-tag { display: none; }
.story-collage .seal-float {
  position: absolute; top: -16px; right: 6px; transform: rotate(7deg); z-index: 3;
  background: #FFFFFF; border: var(--ow) solid var(--ink); border-radius: 20px;
  box-shadow: 5px 5px 0 var(--ink); padding: 9px;
}
.story-collage .seal-float img { width: 92px; display: block; }

/* ===== Process steps ===== */
.process { padding: 30px 0 110px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 39px; border-top: 3px dashed rgba(27, 42, 74, 0.3); }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; position: relative; }
.step-num {
  width: 78px; height: 78px; border-radius: 50%;
  font-family: var(--font-display); font-size: 28px; color: var(--ink);
  border: var(--ow) solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  display: flex; align-items: center; justify-content: center; background: var(--paper);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover .step-num { transform: translate(-2px, -2px) rotate(-5deg); box-shadow: 6px 6px 0 var(--ink); }
.step:nth-child(1) .step-num { background: var(--teal); color: #FFFFFF; }
.step:nth-child(2) .step-num { background: var(--yellow); }
.step:nth-child(3) .step-num { background: var(--red); color: #FFFFFF; }
.step:nth-child(4) .step-num { background: var(--mint); }
.step:nth-child(5) .step-num { background: var(--orange); }
.step h3 { font-size: 21px; }
.step p { font-size: 13.5px; color: var(--text-soft); line-height: 1.55; font-weight: 500; max-width: 200px; }

/* ===== Stats band ===== */
.stats-band { position: relative; background: var(--band); color: var(--cream); }
.stats-inner { padding: 26px 0 88px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat b {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: 70px; line-height: 1.05;
}
.stat:nth-child(1) b { color: var(--yellow); text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45); }
.stat:nth-child(2) b { color: var(--mint); text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45); }
.stat:nth-child(3) b { color: var(--red); text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45); }
.stat:nth-child(4) b { color: var(--teal); text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45); }
.stat span {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(250, 245, 234, 0.8);
}

/* ===== Crew ===== */
.crew { padding: 96px 0 100px; }
.crew-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.crew-card {
  background: var(--paper); border: var(--ow) solid var(--ink); border-radius: var(--radius-md);
  box-shadow: 5px 5px 0 var(--ink); overflow: hidden; text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.crew-card:hover { transform: translate(-2px, -2px) rotate(-0.6deg); box-shadow: 8px 8px 0 var(--ink); }
.crew-card .ph { height: 230px; border-bottom: var(--ow) solid var(--ink); }
.crew-body { padding: 18px 18px 24px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.crew-body h3 { font-size: 21px; }
.crew-role {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border: 2px solid var(--ink); border-radius: 999px; padding: 4px 13px; color: var(--ink);
}
.crew-card:nth-child(1) .crew-role { background: var(--yellow); }
.crew-card:nth-child(2) .crew-role { background: var(--teal); color: #FFFFFF; }
.crew-card:nth-child(3) .crew-role { background: var(--mint); }
.crew-card:nth-child(4) .crew-role { background: var(--red); color: #FFFFFF; }
.crew-body p { font-size: 13.5px; color: var(--text-soft); line-height: 1.55; font-weight: 500; }

/* ===== Sustainability ===== */
.sustain { padding: 20px 0 110px; }
.sustain-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.sustain .ph-big {
  height: 400px; border-radius: var(--radius-lg); border: var(--ow) solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: rotate(1deg);
  background:
    linear-gradient(180deg, rgba(16, 29, 58, 0) 48%, rgba(16, 29, 58, 0.18) 100%),
    url("brand/story-pla-recycling.png") center 52% / cover no-repeat,
    var(--cream);
}
.sustain .ph-big .ph-tag { display: none; }
.sustain-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.sustain-copy h2 { font-size: 52px; line-height: 1.08; }
.sustain-copy > p { color: var(--text-soft); font-size: 16px; line-height: 1.7; font-weight: 500; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; font-weight: 600; color: var(--ink); }
.check-list .ck {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--mint); border: 2.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--ink); margin-top: -2px;
}

/* ===== Visit CTA band ===== */
.visit-band { position: relative; background: var(--teal); color: #FFFFFF; }
.visit-inner { padding: 30px 0 92px; }
.visit-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.visit-grid h2 { color: #FFFFFF; font-size: 48px; line-height: 1.1; margin-top: 18px; }
.visit-grid h2 .c-yellow { text-shadow: 3px 3px 0 var(--ink); }
.visit-left .eyebrow { background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }
.visit-left p { margin-top: 18px; font-size: 15.5px; font-weight: 500; color: rgba(255, 255, 255, 0.9); line-height: 1.7; max-width: 520px; }
.visit-right { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.visit-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--paper); color: var(--ink); border: var(--ow) solid var(--ink);
  border-radius: var(--radius-md); box-shadow: 4px 4px 0 var(--ink);
  padding: 18px 22px; font-size: 14.5px; font-weight: 600; line-height: 1.6;
}
.visit-card .vc-ic { display: inline-flex; color: var(--red); margin-top: 2px; }
.visit-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .page-hero[data-screen-label="Our Story hero"] h1 { font-size: 52px; }
  .story-grid, .sustain-grid, .visit-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .crew-grid { grid-template-columns: repeat(2, 1fr); }
  .story-copy h2, .sustain-copy h2 { font-size: 42px; }
}
@media (max-width: 760px) {
  .page-hero[data-screen-label="Our Story hero"] h1 { font-size: 36px; }
  .story-intro,
  .sustain,
  .visit-band {
    text-align: center;
  }
  .story-grid,
  .sustain-grid,
  .visit-grid {
    justify-items: center;
    gap: 36px;
  }
  .story-copy,
  .sustain-copy,
  .visit-left,
  .visit-right {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .story-copy,
  .sustain-copy {
    max-width: 560px;
    margin: 0 auto;
  }
  .story-copy p,
  .sustain-copy > p,
  .visit-left p {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .story-collage,
  .sustain .ph-big {
    width: 100%;
    max-width: 560px;
    justify-self: center;
  }
  .check-list {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    align-items: center;
  }
  .check-list li {
    justify-content: center;
    width: 100%;
    max-width: 520px;
    text-align: left;
  }
  .visit-card {
    width: min(100%, 520px);
    justify-content: center;
    text-align: center;
  }
  .visit-actions {
    justify-content: center;
  }
}
@media (max-width: 520px) {
  .page-hero[data-screen-label="Our Story hero"] h1 { font-size: 20px; }
}
@media (max-width: 390px) {
  .page-hero[data-screen-label="Our Story hero"] h1 { font-size: 17px; }
}
@media (max-width: 340px) {
  .page-hero[data-screen-label="Our Story hero"] h1 { font-size: 15px; }
}
