.rain-trigger,.rain-walk button { font:inherit; cursor:pointer; }
.rain-trigger {
  display:flex; align-items:center; justify-content:space-between; align-self:stretch;
  gap:12px; margin:0; padding:12px 20px; border:0; border-bottom:1px solid #c3d3d5;
  background:#e5f0ee; color:#153e47; text-align:left; font-weight:700; font-size:14px;
}
.rain-trigger:hover { background:#d7e9e7; }
.rain-trigger span:last-child { font-size:18px; line-height:1; }
.rain-open > :is(.home-roof-visual,.home-roof-controls,.model-surface,.roof-picks,.visual-note) { display:none; }
.rain-walk[hidden],.rain-walk [hidden] { display:none!important; }
.rain-walk { grid-column:1/-1; min-width:0; background:#faf7f0; color:#183447; }
#homepage-roof, .rain-walk { scroll-margin-top:112px; }
.rain-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 24px; border-bottom:1px solid #d7d9d1; }
.rain-header h3 { color:#173447; font:normal clamp(24px,3vw,36px)/1.13 var(--serif); margin:0; }
.rain-back,.rain-replay,.rain-photo-toggle { background:transparent; border:0; padding:6px 0; color:#255462; text-align:left; text-decoration:underline; text-underline-offset:3px; }
.rain-walk .rain-back,.rain-walk .rain-replay,.rain-walk .rain-photo-toggle { font-size:13px; font-weight:650; }
.rain-back { white-space:nowrap; }
.rain-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(255px,1fr); }
.rain-illustration { min-width:0; display:flex; flex-direction:column; justify-content:center; color:#e0ecec;
  background-color:#17303e;
  background-image:radial-gradient(ellipse at 55% 30%,#31536299,transparent 76%),linear-gradient(#90c4c610 1px,transparent 1px),linear-gradient(90deg,#90c4c610 1px,transparent 1px);
  background-size:auto,24px 24px,24px 24px; }
.rain-figure { position:relative; width:100%; }
.rain-figure canvas { display:block; width:100%; height:clamp(255px,29vw,390px); }
.rain-walk .rain-pin { position:absolute; transform:translate(-9px,-45%); border:1px solid #9cced0; border-radius:30px;
  display:flex; align-items:center; gap:6px; min-height:44px; padding:4px 13px 4px 5px;
  color:#173a45; background:#f4f6ed; font-size:13px; font-weight:700; box-shadow:0 2px 5px #10283355; }
.rain-pin span { display:grid; place-items:center; border-radius:50%; width:22px; height:22px; background:#285463; color:white; }
.rain-legend { display:flex; align-items:center; gap:9px; flex-wrap:wrap; padding:10px 20px 18px; color:#eeffff; font-size:12px; }
.rain-key { width:23px; height:3px; background:#72e4e5; }
.rain-revealed .rain-key { height:9px; border:1px solid #87979b; background:#252d30; }
.rain-scale { margin-left:auto; color:#c2d0d3; font-size:11px; }
.rain-story { padding:clamp(20px,3vw,38px); align-self:center; }
.rain-story .rain-eyebrow { color:#6f542c; text-transform:uppercase; font-size:11px; line-height:1.4; font-weight:750; letter-spacing:.12em; margin:0 0 9px; }
.rain-story h4 { font:normal clamp(25px,3vw,36px)/1.12 var(--serif); color:#132f42; margin:0 0 12px; }
.rain-story p { font-size:15px; line-height:1.55; color:#354b58; margin:0 0 17px; }
.rain-walk .rain-primary { display:inline-flex; align-items:center; justify-content:space-between; gap:14px; max-width:100%; padding:11px 15px; min-height:44px;
  color:#fff; background:#193b4b; border:1px solid #193b4b; border-radius:3px; font-size:14px; font-weight:650; text-align:left; }
.rain-walk .rain-primary:hover { background:#265064; }
.rain-walk .rain-primary:disabled { cursor:default; color:#173f38; background:#dceae3; border-color:#afc7bc; }
.rain-walk .rain-replay { display:block; margin-top:8px; min-height:36px; }
.rain-photo { display:grid; grid-template-columns:minmax(92px,30%) 1fr; align-items:center; gap:13px; margin:15px 0 20px; }
.rain-photo img { width:100%; height:auto; border-radius:2px; }
.rain-photo figcaption { padding:0; color:#43545a; font:13px/1.45 var(--sans); text-align:left; }
.rain-photo strong { display:block; color:#173345; margin-bottom:4px; }
.rain-photo-toggle { display:block; }
.rain-photo.enlarged { grid-template-columns:1fr; }
.rain-photo.enlarged img { max-height:380px; object-fit:contain; background:#eae6dc; }
.rain-story .rain-saved { font-size:13px; margin:5px 0 0; }
.rain-saved:empty { display:none; }
.rain-walk button:focus-visible,.rain-trigger:focus-visible { outline:3px solid #b28346; outline-offset:3px; }
@media(max-width:780px) {
  .rain-grid { grid-template-columns:1fr; }
  .rain-header { padding:14px 16px; }
  .rain-figure canvas { height:clamp(220px,55vw,320px); }
  .rain-legend { padding:5px 16px 13px; }
  .rain-story { padding:20px; }
}
