/* SBA: preserve the brand while scaling the reading column with large displays.
   At 1600px the scale matches the existing desktop; at 3840px body text is 22px.
   rem floors and ceilings retain the user's default font-size preference. */
@media (min-width:100rem) {
  :root {
    --max:clamp(80rem,calc(51.4286rem + 28.5714vw),120rem);
    --sba-body:clamp(1rem,calc(.73214rem + .26786vw),1.375rem);
    --sba-small:clamp(.875rem,calc(.65179rem + .22321vw),1.1875rem);
    --sba-label:clamp(.75rem,calc(.57143rem + .17857vw),1rem);
    --section-title-size:clamp(3rem,calc(2.2857rem + .71429vw),4rem);
    --card-title-size:clamp(1.5rem,calc(1.2321rem + .26786vw),1.875rem);
    --section-space:clamp(5.5rem,calc(3.7143rem + 1.78571vw),8rem);
    --heading-gap:clamp(2.25rem,calc(1.7143rem + .53571vw),3rem);
  }
  body:has(.rhythm-hero) { font-size:var(--sba-body); }
  .rhythm-header #navigation a,.rhythm-header .header-contact,.rhythm-header-rent { font-size:var(--sba-small); }
  .rhythm-header #navigation { gap:clamp(1.5rem,1.5625vw,2.5rem); }
  .rhythm-header-rent { height:auto;min-height:2.75rem;padding:.625em 1em; }
  [data-theme=dark] .rhythm-hero .hero-copy { width:min(65%,clamp(47.5rem,calc(29.6429rem + 17.8571vw),72.5rem)); }
  [data-theme=dark] .rhythm-hero .hero-copy h1 { font-size:clamp(4.25rem,calc(3rem + 1.25vw),6rem); }
  .rhythm-hero .hero-copy>p:not(.rhythm-location) { font-size:clamp(1.125rem,calc(.6786rem + .44643vw),1.75rem); }
  .rhythm-hero .hero-copy>.hero-location { font-size:clamp(1.25rem,calc(.8036rem + .44643vw),1.875rem); }
  .rhythm-hero .hero-copy>p.hero-backup-power { font-size:var(--sba-small);margin-top:1.25em; }
  .rhythm-hero .hero-copy>.hero-backup-power strong { font-size:var(--sba-body); }
  .rhythm-hero .hero-action { margin-top:2em; }
  .rhythm-hero .hero-action a,.rhythm-hero .hero-action button { font-size:var(--sba-body);padding:.875em 1.5em; }
  main>.section .section-head .eyebrow,#halls .section-head .eyebrow,#rules .arrival-copy>.eyebrow { font-size:var(--sba-label); }
  .rhythm-hall-tabs strong,.rhythm-hall-area { font-size:var(--sba-small); }
  .rhythm-room-number { font-size:var(--sba-label); }
  #halls .rhythm-hero-rail[data-compact=true] .rhythm-hall-area { font-size:var(--sba-small); }
  #halls .hall-fact dt { font-size:var(--sba-small); }
  #halls .hall-fact dd { font-size:var(--sba-body); }
  .equipment-grid { gap:clamp(3.25rem,3.3854vw,4.5rem) clamp(2rem,2.0833vw,3rem); }
  .equipment-note,.locker-rooms-head p,.hall-choice-note,.hall-comparison summary,.hall-comparison dd,
  .rental-conditions,.source-note,#pricing .calc-result p,#pricing .field label,
  #rules .arrival-address .arrival-metro,#rules .arrival-form-note,#rules .arrival-route>p,
  #rules .arrival-route .route-maps-link,#rules .route-links .arrival-phone,
  .faq-rules-link,.footer #footer-copyright,.field-hint,.request-disclaimer { font-size:var(--sba-small); }
  .equipment-description,.amenity-card>p,.step p,.faq-list details p,
  #rules .arrival-intro,.request-context p { font-size:var(--sba-body); }
  .faq-list summary { font-size:clamp(1.125rem,calc(.8571rem + .26786vw),1.5rem);padding-block:1.25em; }
  #pricing .calc-fields select,#rules input,#rules textarea,#request-form input,#request-form select,#request-form textarea { font-size:var(--sba-body);min-height:3.25em;height:auto; }
  #pricing .calc-result { padding:clamp(1.75rem,1.8229vw,2.5rem);gap:1.25em; }
  #pricing #calc-amount { font-size:clamp(3.5rem,calc(2.6071rem + .89286vw),4.75rem); }
  #pricing .calc-result button,#rules .arrival-form .primary,#request-form [type=submit] { font-size:var(--sba-body);padding:.875em 1.25em; }
  .locker-rooms,.amenities { margin-top:clamp(4rem,4.1667vw,6rem);padding-top:clamp(2.5rem,2.6042vw,3.5rem); }
  #rules .arrival-layout { grid-template-columns:minmax(15rem,clamp(21.25rem,22.1354vw,30rem)) minmax(0,1fr);gap:clamp(4.5rem,4.6875vw,6rem); }
  #rules .arrival-copy { max-width:65ch; }
  #rules .arrival-phone { font-size:clamp(1.5rem,calc(1.1429rem + .35714vw),2rem); }
  #rules .arrival-form { gap:1.25em; }
  #request-dialog { width:min(calc(100vw - 3rem),clamp(35rem,36.4583vw,48rem)); }
  #request-dialog h2 { font-size:clamp(2.25rem,calc(1.7143rem + .53571vw),3rem); }
  #request-form label,#rules .arrival-form label { font-size:var(--sba-small); }
  #rules .arrival-route>.eyebrow,.footer small,.footer .metro-station { font-size:var(--sba-label); }
  #love-wall .love-wall-intro { font-size:var(--sba-body);max-width:50ch; }
  #love-wall .love-wall-instagram { font-size:var(--sba-small); }
  #love-wall .love-wall-caption strong { font-size:var(--card-title-size); }
  #love-wall .love-wall-source,#love-wall .love-wall-caption small { font-size:var(--sba-label); }
}

/* Repeated objects share their type and spacing; subsections stay subordinate. */
.amenity-card h4 { font:600 var(--card-title-size)/1.3 var(--font-body);letter-spacing:-.015em;margin-bottom:.5em; }
.equipment-card h3 { margin-bottom:.5em; }
.equipment-description,.amenity-card>p,.step p,.faq-list details p { max-width:65ch; }
#pricing .source-note,#pricing .rental-conditions { max-width:65ch; }
#rules .arrival-form-note { max-width:65ch; }
.step p { line-height:1.65; }
@media (min-width:701px) {
  #pricing .calc-fields { grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5em; }
}
@media (min-width:701px) and (max-width:950px) {
  #pricing .calc-fields { grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); }
}
@media (max-width:700px) {
  .step p { font-size:1rem; }
  #rules .arrival-form { gap:1.25rem; }
}

/* The rules deck already has its own fluid scale. Extend its wide-screen cap. */
@media (min-width:160rem) and (min-height:50rem) {
  :root:has(.deck-header) {
    --title-size:clamp(5.875rem,calc(3.625rem + 1.40625vw),7rem);
    --h2-size:clamp(4.5rem,calc(2.5rem + 1.25vw),5.5rem);
    --body-size:clamp(1.5625rem,calc(1.1875rem + .234375vw),1.75rem);
    --small-size:clamp(.9375rem,calc(.3125rem + .390625vw),1.25rem);
  }
  .slide-content { max-width:120rem; }
}
