/* All three study plates share the camera position and framing of the CGI. */
.bambu-reveal .reveal-sketch,
.bambu-reveal .reveal-cad { clip-path: none; }
.bambu-reveal .reveal-sketch { opacity: var(--sketch-opacity, 0); }
.bambu-reveal .reveal-cad { opacity: var(--model-opacity, 1); }
.bambu-reveal .reveal-layer img { filter: none !important; opacity: 1 !important; }
.bambu-reveal :is(.reveal-cad-grid,.reveal-divider,.reveal-handle) { display: none; }
.bambu-reveal .reveal-stage-buttons button { transition: color .16s ease, background-color .16s ease; }
.bambu-reveal .reveal-image-label { text-transform: uppercase; }

/* Drawings are decorative. The adjacent headings carry the process in reading order. */
:is(.bambu-journey-steps,.relaunch-method-grid,.illustrated-roadmap) > :nth-child(1) { --step-art: url('assets/studies/survey.svg'); }
:is(.bambu-journey-steps,.relaunch-method-grid,.illustrated-roadmap) > :nth-child(2) { --step-art: url('assets/studies/coordinate.svg'); }
:is(.bambu-journey-steps,.relaunch-method-grid,.illustrated-roadmap) > :nth-child(3) { --step-art: url('assets/studies/assemble.svg'); }
:is(.bambu-journey-steps,.relaunch-method-grid,.illustrated-roadmap) > :nth-child(4) { --step-art: url('assets/studies/handover.svg'); }
:is(.bambu-journey-steps,.relaunch-method-grid,.illustrated-roadmap) > :is(li,article)::before {
  content: '';
  display: block;
  width: 100%;
  height: clamp(4rem,7vw,6rem);
  background: var(--step-art) left center / auto 100% no-repeat;
  margin: 0 0 .8rem;
}
.bambu-journey-steps li::after { content: none; }
.bambu-journey-steps li>span { margin-bottom: .8rem; }
.relaunch-method-grid article { border-color: #96805c !important; }
.relaunch-method-grid h3 { margin-top: .8rem; }
.guide-page .intro {
  background-image: linear-gradient(90deg, var(--paper,#f4f3ee) 45%, transparent 95%), url('assets/studies/coordinate.svg');
  background-repeat: no-repeat;
  background-position: center, right 12%;
  background-size: cover, min(38%,22rem) auto;
}
@media (max-width: 680px) {
  .guide-page .intro { background-image: none; }
  .relaunch-method-grid { grid-template-columns: 1fr; }
  :is(.bambu-journey-steps,.relaunch-method-grid,.illustrated-roadmap) > :is(li,article) {
    padding-left: 5.5rem; min-height: 5rem; position: relative;
  }
  :is(.bambu-journey-steps,.relaunch-method-grid,.illustrated-roadmap) > :is(li,article)::before {
    position: absolute; left: .35rem; top: 1.15rem; width: 4.3rem; height: 3.6rem;
  }
  .relaunch-method-grid p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bambu-reveal .reveal-stage-buttons button { transition: none; }
}

/* The hero caption is a direct route into the same room's design study. */
.relaunch-hero .hero-study-link {
  position:absolute; inset:auto 0 0; display:flex; align-items:center;
  justify-content:space-between; gap:1rem; color:#fff; text-decoration:none;
  background:linear-gradient(0deg,rgba(24,24,25,.92),rgba(24,24,25,.73));
  padding:.8rem clamp(1rem,2.3vw,2rem); border-top:1px solid rgba(255,255,255,.28);
}
.hero-study-link small,.hero-study-link strong { display:block; }
.hero-study-link small { font-size:.65rem; line-height:1.4; letter-spacing:.12em; text-transform:uppercase; color:#e3d3b5; }
.hero-study-link strong { font-size:clamp(1.02rem,1.7vw,1.38rem); font-weight:550; letter-spacing:-.025em; }
.hero-study-link svg { width:1.4rem; height:1.4rem; stroke:currentColor; stroke-width:1.4; }
.hero-study-link:focus-visible {outline:3px solid var(--brand-cyan,#00b9eb);outline-offset:-4px;}
.relaunch-reveal .bambu-reveal { --study-surface:#e9e6dc; }
.bambu-reveal .study-plates {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.4rem,1.5vw,1.1rem);
  margin:0; padding:clamp(.45rem,1.4vw,1.1rem); background:var(--study-surface);
}
.bambu-reveal .study-plates button {
  min-width:0; min-height:44px; padding:0; text-align:left; border:1px solid #a69e8d;
  background:#f6f4ed; color:#302f2b; overflow:hidden;
}
.study-plates img { width:100%; height:clamp(3.1rem,11vw,8.8rem); display:block; object-fit:cover; object-position:50% 53%; }
.bambu-reveal .study-plates .plate-name { display:flex; align-items:center; gap:.65rem; padding:.42rem .65rem; font-size:clamp(.75rem,1.3vw,1rem); line-height:1.3; }
.plate-name small { font-size:.66rem; font-variant-numeric:tabular-nums; opacity:.85; }
.bambu-reveal .study-plates button[aria-pressed="true"] { background:#242527; color:#fff; border-color:#242527; }
.bambu-reveal .study-plates button:focus-visible { outline:3px solid #007391; outline-offset:1px; }
.guide-page .intro {
  background-image:linear-gradient(90deg,var(--paper,#f4f3ee) 40%,transparent 84%),url('assets/studies/partition-section.svg');
  background-size:cover,min(47%,33rem) auto;
  background-position:center,right center;
}
@media(max-width:680px){
  .guide-page .intro {background-image:none;}
  .bambu-reveal .study-plates .plate-name {padding:.4rem .35rem;gap:.25rem;}
  .study-plates .plate-name small {font-size:.58rem;}
}

/* On a phone the section detail shares a line with the guide caption,
   leaving the heading and introductory copy on plain limestone. */
@media (max-width:680px) {
  .guide-page .intro:not(.product-intro) > .kicker:first-child {
    display:flex; align-items:center; gap:1rem; max-width:none;
  }
  .guide-page .intro:not(.product-intro) > .kicker:first-child::after {
    content:""; display:block; flex:1 0 4rem; height:3.25rem;
    background:url("assets/studies/partition-section.svg") right center / auto 100% no-repeat;
  }
}
