/* About Us page (user, 2026-10-09). Layout reference = about-us-refrence.jpeg. Loaded AFTER home-3.css; body classes
   "home-3 page-about", so the header, footer, colours, hero banner + spacing + floating icons come from home-3.css.
   Locked rules kept: one content width, type scale. Eyebrow: left out in the hero (user), KEPT from section 2 (user).
   Built section by section; numbered list:
   1. HERO = the TITLE CARD (css/title-card.css; user, 2026-10-12) - the same hero on every inner page.
   2. OUR STORY (user, 2026-10-09): "Our Story" = a lead line UNDER the H2 (home style; first an eyebrow above it);
      card labels = 14px caps; H2 two colours +
      the dotted squiggle icon; photo (backing shape) + white "32 children licenced" badge LEFT; drop-cap "W"
      paragraph (user: keep) + light-blue text box + 2 white cards + "A place to belong" in Caveat (user: add a
      handwritten font; self-hosted, OFL) RIGHT. Card notes stay 16px (user: locked body). Labels 14px caps in
      --dolphin-deep (plain Dolphin is 3.2:1 on white, too light for 14px).
   3. A LEGACY OF LEARNING (2026-10-09): soft #E9F6FC section, centred H2 + "Our History" lead line + intro;
      THEN/NOW photo prints LEFT + dotted timeline RIGHT (stacked < 1024). The old unused base.css legacy/timeline
      rules (deleted 2026-10-08 versions) were removed.
   4. MEET OUR KAIAKO (V3, user 2026-10-23): replaces the removed Our Philosophy section. Rules copied from v2
      css/our-team.css (section.team-kaiako) and re-scoped .page-team -> .page-about; the rules only the removed
      parts used (faces-*, team-qual, team-more) are not copied. */

/* 1. HERO = THE TITLE CARD (user, 2026-10-12: "replace the current about us page with this one"): all hero
   rules + icons are in title-card.css. The old About-only hero / icon rules were removed (backup:
   scratchpad/tc-rollout-2026-10-12/about-us.css). */

/* 2. OUR STORY ------------------------------------------------------------------------------------------------- */
@font-face{
  font-family:'Caveat';
  src:url('../assets/fonts/caveat-400-latin.woff2') format('woff2');   /* Google Fonts latin subset, SIL OFL 1.1 */
  font-weight:400;font-display:swap;font-style:normal;
}
.page-about .about-story{overflow-x:clip}   /* the turned photo backing must not widen the page (phones) */
/* Eyebrow label (small caps line above a heading / in a card). Elementor: Heading widget (native typography). */
.page-about .eyebrow{margin:0 0 10px;font-family:var(--bf);font-size:var(--fs-small);font-weight:700;line-height:1.4;
  letter-spacing:.14em;text-transform:uppercase;color:var(--dolphin-deep)}
.page-about .story-grid{display:grid;grid-template-columns:1fr;gap:28px;
  grid-template-areas:"head" "body" "media"}
.page-about .story-head{grid-area:head}
.page-about .story-head h2{font-size:var(--fs-h2)}
/* "Our Story" = a lead line UNDER the heading, like the home section heads (user, 2026-10-09: was an eyebrow above) */
.page-about .story-head .lead{margin:0}   /* = home: lead right under the H2 */
.page-about .story-squiggle{display:block;width:96px;height:auto;margin-top:14px;opacity:.75}
.page-about .story-body{grid-area:body}
/* drop cap: Capriola, Dolphin, ~3 lines tall (decoration, like the Why numbers - not a text level) */
.page-about .story-lead{margin:0}
.page-about .story-lead::first-letter{float:left;font-family:var(--hf);font-size:66px;line-height:.8;
  color:var(--dolphin);margin:5px 10px 0 0}   /* ~2 lines tall, top level with line 1 (reference) */
.page-about .story-box{margin-top:28px;background:var(--sky-100);border-radius:20px;padding:24px 28px}   /* #E9F6FC = the photo border colour (user, 2026-10-09) */
.page-about .story-box p{margin:0}
/* 3 cards (client feedback, 2026-10-15: + "Age group 0–6 years", age-group.jpeg): 1 column on phones, 3 in a row from
   560px (was auto-fit 220px = 2 cards); a little less side padding in the row so the text has room */
.page-about .story-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-top:22px}
@media (min-width:768px){   /* phone = 1 column (user, 2026-10-23; was 3 from 560) */
  .page-about .story-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .page-about .story-cards .story-card{padding:20px 18px}
}
.page-about .story-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px 22px;
  box-shadow:var(--shadow-sm)}
.page-about .story-card h3{font-size:var(--fs-h3)}
.page-about .story-note{margin:4px 0 0;font-size:var(--fs-body);color:var(--muted)}   /* caption = 16 (rule) */
/* script line BIGGER + turned to rise to the right (user, 2026-10-09: "font size boost ... diagonally above, just
   like the reference"). Decoration, not a text level. Elementor: Heading widget + Transform > Rotate (native). */
.page-about .story-script{width:fit-content;margin:34px auto 6px;white-space:nowrap;text-align:center;font-family:'Caveat',cursive;font-size:64px;line-height:1.05;
  color:var(--dolphin);transform:rotate(-6deg);transform-origin:50% 50%}
.page-about .story-heart{display:inline-block;width:.62em;height:.62em;vertical-align:.02em;margin-left:.12em;
  fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
/* photo: rounded rectangle on a light-blue backing - SAME as the hero photo (user, 2026-10-09: "rotate the border, it
   is not the same as the hero pic"): oversized on every side + rotate(2.5deg); the photo stays straight. */
.page-about .story-media{grid-area:media;position:relative;max-width:460px;width:100%;justify-self:center;
  margin:14px 0 30px}
.page-about .story-photo{position:relative;aspect-ratio:4/5}
.page-about .story-photo::before{content:"";position:absolute;inset:-18px -20px -22px -16px;background:var(--sky-100);   /* #E9F6FC (user) */
 
  border-radius:30px;transform:rotate(2.5deg)}
.page-about .story-photo img{position:relative;width:100%;height:100%;object-fit:cover;border-radius:24px;
  box-shadow:var(--shadow)}
/* white badge over the photo's bottom-right corner */
.page-about .story-badge{position:absolute;right:-12px;bottom:-26px;background:#fff;border-radius:18px;padding:16px 20px;
  box-shadow:var(--shadow);min-width:200px}
.page-about .story-badge .eyebrow{margin:6px 0 0}
.page-about .story-badge-num{margin:0;font-family:var(--hf);font-size:44px;line-height:1;color:var(--dolphin)}
@media (max-width:767px){
  .page-about .story-script{font-size:min(50px,13vw)}   /* one line down to 300px (decoration, not a text level) */
  .page-about .story-badge{right:-6px}
  .page-about .story-photo::before{inset:-10px -8px -12px -8px}   /* = the hero phone backing; inside the 16px gutter */
}
/* >= 1024: two columns - heading + photo LEFT (5 parts), text RIGHT (7 parts) */
@media (min-width:1024px){
  .page-about .story-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:clamp(48px,6vw,96px);row-gap:36px;
    grid-template-areas:"head body" "media body";grid-template-rows:auto 1fr}
  /* the photo fills the height left beside the text, so both columns end level (our 1370 width makes the right
     text shorter than in the reference); never shorter than 360px. */
  .page-about .story-media{justify-self:start;align-self:stretch;display:flex;flex-direction:column;
    margin:18px 0 26px 16px}   /* backing outer edge = content left edge (like the hero right edge) */
  .page-about .story-photo{flex:1 1 auto;aspect-ratio:auto;min-height:360px}
}

/* 3. A LEGACY OF LEARNING (2026-10-09; reference section 3) ----------------------------------------------------
   Soft section = THE light blue #E9F6FC (--sky-100, LOCKED for section backgrounds). Centred H2 (two colours) +
   "Our History" = a LEAD line under the H2 (like Our Story; no eyebrow) + intro paragraph (18px, page default).
   THEN/NOW photos = white "photo print" frames with a caption (reference), turned a little, NOW overlaps THEN's lower
   right corner. Timeline = dashed --sky line + filled discs (user: not rings; years #D1ECF7, Today Dolphin); years = H3 size; "Today" =
   --dolphin-deep year (plain Dolphin is 2.86:1 on #E9F6FC). Elementor: container bg + Image widgets with white bg,
   padding, radius, shadow, Transform > Rotate (native); timeline = Icon List / text widgets + the line in custom CSS. */
.page-about .about-legacy{background:var(--sky-100);overflow-x:clip}   /* the turned photos must not widen the page */
.page-about .about-legacy .lead{margin:0}   /* = home: lead right under the H2 */
.page-about .legacy-intro{margin:18px 0 0}
.page-about .legacy-grid{display:grid;grid-template-columns:1fr;gap:clamp(44px,7vw,64px);align-items:center}
.page-about .legacy-media{position:relative;width:100%;max-width:600px;justify-self:center;aspect-ratio:5/4}
.page-about .legacy-photo{position:absolute;margin:0;background:#fff;padding:10px 10px 0;border-radius:14px;
  box-shadow:var(--shadow)}
.page-about .legacy-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:8px}
.page-about .legacy-photo figcaption{padding:8px 4px 10px;font-size:var(--fs-body);line-height:1.4;color:var(--muted)}   /* caption = 16 */
.page-about .legacy-then{left:3%;top:0;width:70%;transform:rotate(-3deg)}   /* 3% in: the turned corners stay inside the gutter (user, 2026-10-23) */
.page-about .legacy-now{right:3%;bottom:0;z-index:2;width:62%;transform:rotate(3deg)}
.page-about .legacy-now figcaption{color:var(--dolphin-deep)}   /* "Now" in blue (reference); 5.0:1 on white */
.page-about .timeline{list-style:none;margin:0;padding:0 0 0 34px;position:relative;width:100%;max-width:640px;justify-self:center}
.page-about .timeline::before{content:"";position:absolute;left:7px;top:10px;bottom:10px;width:2px;
  background:repeating-linear-gradient(to bottom,var(--sky) 0 7px,transparent 7px 13px)}   /* DASHED, clear dashes 7px / gap 6px
  (user, 2026-10-09: "not dotted but dashed"; a 2px dotted border showed tiny dots) */
.page-about .timeline li{position:relative;padding-bottom:30px}
.page-about .timeline li:last-child{padding-bottom:0}
.page-about .timeline li::before{content:"";position:absolute;left:-34px;top:5px;width:16px;height:16px;box-sizing:border-box;
  border-radius:50%;background:#D1ECF7}   /* filled DISC (user, 2026-10-09: "not circles"); years = the HERO photo
                                             border colour #D1ECF7 (user: light-blue section) */
.page-about .timeline .tl-today::before{background:var(--dolphin)}   /* Today = Dolphin disc (user: "okay") */
.page-about .tl-year{font-size:var(--fs-h3);margin:0 0 4px}
.page-about .tl-today .tl-year{color:var(--dolphin-deep)}
.page-about .timeline p{margin:0}
@media (max-width:767px){   /* was 559 (3 levels only, user 2026-10-23) */
  .page-about .legacy-media{aspect-ratio:10/9}   /* narrow: taller box, so NOW covers less of THEN */
}
/* >= 1024: photos LEFT, timeline RIGHT; the photos sit at the inner edge of their column (next to the timeline, like
   the reference), so the pair reads as one group in the middle */
@media (min-width:1024px){
  .page-about .legacy-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(48px,6vw,96px)}
  .page-about .legacy-media{justify-self:end}
  .page-about .timeline{justify-self:start}
}

/* HOVER on the Our Story cards + the "32" badge (user, 2026-10-09): they slide RIGHT like the home Why cards (8px, .45s ease,
   mouse/trackpad only). (The philosophy cards that shared this rule were removed with their section, 2026-10-23.)
   Elementor: Advanced > Transform > Hover tab (Offset X) + transition duration. */
.page-about .story-card,.page-about .story-badge{transition:translate .45s ease}
@media (hover:hover){ .page-about .story-card:hover,.page-about .story-badge:hover{translate:8px 0} }

/* 4. MEET OUR KAIAKO (V3, user 2026-10-23) --------------------------------------------------------------------
   = v2 Our Team section 3 (css/our-team.css, 2026-10-13), the same rules re-scoped to this page. White section,
   #E9F6FC cards (Option C, user), 5 REAL cards in ONE list in reading order 1-5 (Eamon, Winnie, Shirley, Jenny, Demi):
   a 2-column grid >= 768 (row 1 = 1 + 2, row 2 = 3 + 4, row 3 = 5, so the left column is 1, 3, 5 and the right 2, 4;
   cards in a row stretch to the same height), 1 column below. (v2 used 2 free columns only because of the
   "Get to know" boxes; they are gone, so no `order` / display:contents is needed - source order = visual order.) COLOURS - existing tokens only (LOCKED in project-notes/our-team-page-2026-10-13.md):
   card #E9F6FC, photo frame #D1ECF7 (one frame rule: photo on any light blue), role --dolphin-deep. */
.page-about .kaiako-head{text-align:center;margin-bottom:clamp(30px,4.5vw,48px)}
.page-about .kaiako-head h2{font-size:var(--fs-h2)}
.page-about .kaiako-head .lead{margin:2px 0 0}   /* = About / Our Rooms: lead right under the H2 */
/* the card list = a grid (1 column; 2 columns >= 768), same gap as v2 */
.page-about .team-cols{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(24px,3vw,36px)}
/* card = #E9F6FC (--sky-100, the locked soft panel colour) on the white section; soft shadow; centred text */
.page-about .team-card{background:var(--sky-100);border-radius:22px;padding:28px clamp(20px,3vw,32px) 26px;
  text-align:center;box-shadow:var(--shadow-sm);transition:transform .18s,box-shadow .18s}
/* HOVER = the home boutique / About area cards (-4px + bigger shadow, .18s), mouse only */
@media (hover:hover){ .page-about .team-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)} }
/* photo on the #E9F6FC card = #D1ECF7 6px frame (ONE frame rule); 440px square, on a narrow card it fills the card width */
.page-about .team-photo{display:block;width:min(440px,100%);height:auto;aspect-ratio:1;object-fit:cover;margin:0 auto;
  border:6px solid #D1ECF7;border-radius:22px;box-shadow:var(--shadow-sm)}
.page-about .team-card h3{font-size:var(--fs-h3);margin-top:20px}
/* role = --dolphin-deep bold (= About card labels; plain Dolphin is too light for text) */
.page-about .team-role{margin:6px 0 0;font-size:var(--fs-body);font-weight:700;color:var(--dolphin-deep)}
/* intro = 16px (--fs-body, the locked caption size) */
.page-about .team-intro{margin:14px 0 0;font-size:var(--fs-body)}
@media (min-width:768px){
  .page-about .team-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
