/* Our Rooms page (user, 2026-10-12; first built as "Our Programme" - user: the title is "Our Rooms", a sub-page of
   Our Programme). References our-room-1/2/3.jpeg. Loaded AFTER home-3.css + title-card.css;
   body classes "home-3 page-rooms". Locked rules kept: one content width (sections fill .wrap), type scale (body
   18 inherited, captions 16, small 14, H2 --fs-h2, H3 --fs-h3), no eyebrows (user: the reference eyebrows are LEAD
   lines under the headings), photo border rule. COLOURS = existing tokens only (user: "do not invent new blue
   colours"; toggle = Mapping A, user 2026-10-12) - see project-notes/our-rooms-page-2026-10-12.md.
   1. HERO = the title card (title-card.css).
   2. OUR ROOMS: lightest #F5FBFE (--sky-50) section (user, 2026-10-13: #E9F6FC merged with the hero bottom),
      centred H2, 2 room cards.
   3. A DAY IN OUR ROOMS: heading + lead + intro LEFT, 3-way toggle RIGHT; 2 room columns (>= 1024) with photo, title
      + age pill and a timeline (icon discs on a line); one room = that column only, centred (js/our-rooms.js). */

/* 2. OUR ROOMS ------------------------------------------------------------------------------------------------- */
/* LOCKED (user, 2026-10-13): section bg = --sky-50 #F5FBFE, NOT #E9F6FC (#E9F6FC merged with the hero bottom) */
.page-rooms .rooms{background:var(--sky-50);overflow-x:clip}   /* the turned phone photo backing must not widen the page */
.page-rooms .room-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:44px}
.page-rooms .room-card{border-top:2px solid var(--sky);padding-top:22px}   /* line = the About "5 areas" title lines */
/* photo on the near-white #F5FBFE section: #D1ECF7 frame = the hero photo border colour (user, 2026-10-13: #E9F6FC
   merged with the #F5FBFE bg; a white frame would vanish too) */
.page-rooms .room-photo img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;
  border:6px solid #D1ECF7;border-radius:22px;box-shadow:var(--shadow-sm)}
.page-rooms .room-card h3{font-size:var(--fs-h3);margin-top:22px}
.page-rooms .room-card .lead{margin:2px 0 0}   /* = About: lead right under the heading */
.page-rooms .room-text{margin:12px 0 0}
@media (min-width:768px){
  .page-rooms .room-cards{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(32px,5vw,72px)}
}

/* 3. A DAY IN OUR ROOMS --------------------------------------------------------------------------------------- */
.page-rooms .day{overflow-x:clip}   /* the slide (js/our-rooms.js, 48px) must not widen the page */
.page-rooms .day-head{display:grid;gap:26px;margin-bottom:clamp(30px,4.5vw,48px)}
.page-rooms .day-head h2{font-size:var(--fs-h2)}
.page-rooms .day-head .lead{margin:0}
.page-rooms .day-intro{margin:14px 0 0;max-width:640px}
@media (min-width:1024px){
  .page-rooms .day-head{grid-template-columns:minmax(0,1fr) auto;column-gap:48px;align-items:center}
}
/* TOGGLE = Mapping A (user, 2026-10-12): track #F5FBFE (--sky-50) + 1px #CDEBF8 (--sky-200) border; ACTIVE = navy
   #0D2B4E + white text; HOVER = #CDEBF8 (--sky-200) + navy text; NORMAL = navy text, no fill. Buttons = the site
   button font (Nunito 800, 16px). Elementor: 3 Button widgets in a container (native colours + hover tab); the
   show / hide = custom JS (CSS boundary). */
.page-rooms .day-toggle{display:inline-flex;justify-self:start;gap:4px;padding:5px;background:var(--sky-50);
  border:1px solid var(--sky-200);border-radius:999px}
.page-rooms .day-toggle button{font-family:var(--bf);font-weight:800;font-size:var(--fs-body);line-height:1.2;
  color:var(--navy);background:transparent;border:0;border-radius:999px;padding:13px 22px;cursor:pointer;
  transition:background-color .18s,color .18s}
@media (hover:hover){
  .page-rooms .day-toggle button:hover:not([aria-pressed="true"]){background:var(--sky-200)}
}
.page-rooms .day-toggle button[aria-pressed="true"]{background:var(--navy);color:#fff}
.page-rooms .day-toggle button:focus-visible{outline:3px solid var(--dolphin);outline-offset:2px}
/* phones: the toggle = full width; each button as wide as its label + an equal share of the rest (one line from
   ~340px; below that a label may take 2 lines) */
@media (max-width:767px){   /* was 559 (3 levels only, user 2026-10-23) */
  .page-rooms .day-toggle{display:flex;width:100%}
  .page-rooms .day-toggle button{flex:1 1 auto;padding:12px 6px;text-wrap:balance}
}

.page-rooms .day-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:64px}
.page-rooms .day-col[hidden]{display:none}
@media (min-width:1024px){
  .page-rooms .day[data-view="both"] .day-cols{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(32px,5vw,72px)}
}
/* one room: only its column, centred (reference our-room-2.jpeg: ~63% of the content width) */
.page-rooms .day[data-view="tui"] .day-cols,.page-rooms .day[data-view="pukeko"] .day-cols{
  grid-template-columns:minmax(0,860px);justify-content:center}
/* photo on WHITE = #E9F6FC frame (photo border rule) */
.page-rooms .day-photo img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;
  border:6px solid var(--sky-100);border-radius:22px}
.page-rooms .day-col-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-top:24px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.page-rooms .day-col-head h3{font-size:var(--fs-h3)}
/* age pill: #E9F6FC (--sky-100) + --dolphin-deep text (= About "Today"), small 14 */
.page-rooms .day-age{flex:none;background:var(--sky-100);color:var(--dolphin-deep);border-radius:999px;
  padding:6px 14px;font-size:var(--fs-small);font-weight:700;line-height:1.3}
/* timeline: line #D1ECF7 (= About timeline discs), icon discs #E9F6FC + Dolphin line icons (= About area icons) */
.page-rooms .day-tl{list-style:none;margin:28px 0 0;padding:0 0 0 58px;position:relative}
.page-rooms .day-tl::before{content:"";position:absolute;left:20px;top:22px;bottom:22px;width:2px;background:#D1ECF7}
.page-rooms .day-tl li{position:relative;padding-bottom:28px}
.page-rooms .day-tl li:last-child{padding-bottom:0}
.page-rooms .tl-ico{position:absolute;left:-58px;top:0;display:grid;place-items:center;width:42px;height:42px;
  box-sizing:border-box;border-radius:50%;background:var(--sky-100);border:3px solid #fff;color:var(--dolphin)}
.page-rooms .tl-ico svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.page-rooms .tl-ico svg .mask{fill:var(--sky-100)}   /* the leaf covers half of the sun (filled with the disc colour) */
.page-rooms .tl-time{margin:0 0 2px;font-size:var(--fs-small);font-weight:700;line-height:1.4;color:var(--dolphin-deep)}
.page-rooms .day-tl h4{font-size:var(--fs-h3)}
.page-rooms .day-tl p:not(.tl-time){margin:6px 0 0}
.page-rooms .tl-note strong{color:var(--navy)}
