/* Perform Within Reach — site styles
   Palette: calm dusk-blue background with near-white text, light sky blue
   for labels, links and thin divider lines, chalk for inverted panels, and
   pops of sky and tennis-ball green behind photos. Type: Figtree throughout,
   with weight carrying the hierarchy. */

:root {
  --bg: #2c4373;           /* page background: dusk blue */
  --bg-deep: #25385f;      /* tonal panels on the blue */
  --chalk: #edeee9;        /* light: headings, inverted panels */
  --chalk-deep: #25385f;
  --ice: #c9d6de;
  --ice-deep: #b4c4cf;
  --court: #a9c0ee;        /* sky blue: labels, links, accents */
  --court-deep: #2c4373;   /* the dusk blue, for text on light panels */
  --ink: #eef0f2;          /* body text */
  --ink-soft: #b8c3d9;
  --rule: rgba(169, 192, 238, 0.5);  /* thin sky-blue lines */
  --ball: #c6d44e;
  --heading: var(--chalk);  /* wordmark and big headings */

  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1180px;
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: var(--measure); }
h1 { margin: 0; font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
h2, h3 { margin: 0; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }

:focus-visible {
  outline: 3px solid var(--ball);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* ---- Header ---- */

.site-header {
  position: relative;
  padding-block: 22px 20px;
}

/* The header bar: a line under the header that extends past the text column,
   same width as the section dividers */
.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--rule-inset);
  right: var(--rule-inset);
  border-top: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Desktop: brand left, menu centered, empty right column keeps it centered */
@media (min-width: 721px) {
  .site-header .wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .nav { justify-content: center; }
}

.brand {
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-family: var(--sans);
  font-size: 1.05rem;
}

.nav a {
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  font-size: 1.25rem;
  font-weight: 500;
}

.nav a:hover, .nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

/* Round floating "book a call" button, like the reference site's Réserver */
.book-float {
  position: fixed;
  right: clamp(16px, 3vw, 44px);
  top: clamp(84px, 11vh, 120px);
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--ball);
  color: #22355b;
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 14px;
  transform: rotate(-12deg);
  z-index: 30;
  transition: transform 180ms ease, background-color 180ms ease;
}

.book-float:hover { transform: rotate(-6deg) scale(1.03); background: var(--chalk); }

@media (max-width: 720px) {
  .book-float { width: 96px; height: 96px; font-size: 0.9rem; top: auto; bottom: 18px; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font: inherit;
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 6px 14px;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 12px var(--gutter) 18px;
    z-index: 20;
  }
  .nav.is-open { display: flex; }
  .nav a { padding-block: 10px; border-bottom: 0; font-size: 1.4rem; }
}

/* ---- Hero ---- */

.hero {
  padding-block: clamp(32px, 6vw, 80px) clamp(44px, 7vw, 96px);
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  margin-bottom: clamp(26px, 5vw, 56px);
}

.hero-top > div:empty { display: none; }

.tagline {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 40ch;
  line-height: 1.35;
}

/* Tagline sits centered just below the hero photo */
.hero .tagline {
  text-align: center;
  margin: clamp(18px, 2.5vw, 28px) auto 0;
}

.wordmark {
  text-align: center;
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  color: var(--heading);
}

/* Homepage: slogan in place of the wordmark, tagline right under it */
.slogan { font-size: clamp(2.6rem, 6.4vw, 5.6rem); max-width: 22ch; }
.hero-top .tagline {
  margin: 0;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--ink-soft);
}

/* Opening line under the hero photo: sits in the second grid column, in
   line with the section headings below it */
.hero-lede {
  max-width: 32ch;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.22;
  margin: 0;
}

.hero .section-grid { margin-top: clamp(24px, 3vw, 40px); }

/* ---- Figures (image blocks) ---- */

.fig {
  position: relative;
  margin: 0;
}

.fig-frame {
  position: relative;
  background: var(--ice);
  overflow: hidden;
}

.fig-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* When the image file is missing we hide the broken <img> and show the ice
   block with faint court lines instead. */
.fig.is-empty .fig-frame img { display: none; }
.fig.is-empty .fig-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, transparent calc(50% - 1px), rgba(255,255,255,0.7) calc(50% - 1px), rgba(255,255,255,0.7) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to bottom, transparent 18%, rgba(255,255,255,0.7) 18%, rgba(255,255,255,0.7) calc(18% + 2px), transparent calc(18% + 2px)),
    linear-gradient(to bottom, transparent 82%, rgba(255,255,255,0.7) 82%, rgba(255,255,255,0.7) calc(82% + 2px), transparent calc(82% + 2px)),
    radial-gradient(ellipse at 50% 50%, transparent 32%, rgba(255,255,255,0.55) 32%, rgba(255,255,255,0.55) calc(32% + 2px), transparent calc(32% + 2px));
}

/* Captions only appear while a photo is missing, to say which file to add */
.fig-caption {
  display: none;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.3;
  margin-top: 10px;
}

.fig.is-empty .fig-caption { display: block; }
.fig.is-empty .fig-caption .file { opacity: 0.8; }
.fig.has-caption .fig-caption { display: block; }

/* Hero figure: full width, fixed proportion so it holds its shape with or
   without a photo */
.fig-hero .fig-frame { width: 100%; height: min(56.25vw, 82vh); }
@media (max-width: 720px) { .fig-hero .fig-frame { height: 120vw; } }
.fig-hero .fig-caption { margin-top: 10px; }

/* Figures with a vertical caption running up the left side, like the
   reference's "Fig.1" labels */
.fig-side {
  position: relative;
  padding-left: 32px;
}

/* The caption runs up the left edge. It is absolutely positioned and capped
   at the frame's height so a long caption can never stretch the figure. */
.fig-side .fig-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-height: 100%;
  overflow: hidden;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fig-tall .fig-frame { aspect-ratio: 4 / 5; }
.fig-wide .fig-frame { aspect-ratio: 3 / 2; }
.fig-square .fig-frame { aspect-ratio: 1 / 1; }

/* ---- Sections ---- */

.section {
  position: relative;
  padding-block: clamp(44px, 7vw, 96px);
}

/* Dividing line between sections: inset from both edges. It extends 150px
   past the text column on each side, but never closer than 24px to the edge. */
:root { --rule-inset: max(24px, calc(max(var(--gutter), (100% - var(--max)) / 2) - 150px)); }

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--rule-inset);
  right: var(--rule-inset);
  border-top: 1px solid var(--rule);
}

.section:first-of-type::before,
.section-dark::before { display: none; }

.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px clamp(24px, 5vw, 80px);
}

@media (min-width: 860px) {
  .section-grid { grid-template-columns: minmax(140px, 1fr) minmax(0, 3fr); }
  .section-grid.has-figure { grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr) minmax(280px, 1.7fr); }
}

.label {
  font-family: var(--sans);
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--court);
  padding-top: 0.45em;
}

.lead {
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
  max-width: 24ch;
  margin-bottom: 0.6em;
}

.big {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 34ch;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--court);
  border-bottom: 1px solid transparent;
}

.more svg { width: 28px; height: 10px; transition: transform 160ms ease; }
.more:hover { border-bottom-color: var(--court); }
.more:hover svg { transform: translateX(4px); }

/* Dark tonal section (like the reference's "bien-être" block) */
/* Inverted panel: chalk with dusk-blue text */
.section-dark {
  background: var(--chalk);
  color: var(--court-deep);
  --ink-soft: #4f5f80;
  --rule: rgba(44, 67, 115, 0.3);
}

.section-dark .label,
.section-dark .more { color: var(--court-deep); }
.section-dark .more:hover { border-bottom-color: var(--court-deep); }
.section-dark .button { background: var(--court-deep); color: var(--chalk); }
.section-dark .button:hover { background: #1f3156; }

/* Split section: text on the tonal panel, photo bleeding off the right edge
   (the reference's wellness block) */
.split {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
}

@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
}

.split-text {
  padding: clamp(44px, 7vw, 96px) var(--gutter);
}

@media (min-width: 860px) {
  .split-text { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-right: clamp(32px, 5vw, 80px); }
}

.split-text .label { margin-bottom: 1.2em; }

/* Light variant: photo on the left, text on a slightly deeper chalk panel */
.split-light .split-text { background: var(--chalk-deep); }
.split-left .split-fig { order: -1; }

@media (min-width: 860px) {
  .split-left .split-text {
    padding-left: clamp(32px, 5vw, 80px);
    padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  }
}

@media (max-width: 859px) {
  .split-fig .fig-frame { min-height: 0; height: 78vw; }
  /* On phones, photo always comes before text, whichever side it sits on wide screens */
  .split .split-fig { order: -1; }
}

.split-fig {
  margin: 0;
  position: relative;
}

.split-fig .fig-frame {
  height: 100%;
  min-height: 62vh;
}

.split-fig .fig-caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.split-fig.is-empty .fig-caption { color: var(--ink-soft); }

/* ---- Homepage editorial rows ----
   A few photos at different sizes, spread across a 12-column grid with
   plenty of empty space around them. Nothing overlaps; each row has its own
   arrangement (ed-a, ed-b, ed-c). */

.ed { padding-block: clamp(64px, 10vw, 150px); }

.ed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* Two levels only: one large section title, then body text */
.ed-title {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin-bottom: 0.6em;
}
.ed-fig .fig-caption { margin-top: 10px; }

@media (min-width: 860px) {
  .ed-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2vw, 28px);
    row-gap: 0;
  }

  /* A: text top left, tall photo on the right, a small second photo set
     lower down in the open space between them */
  .ed-a .ed-text { grid-column: 1 / 6; grid-row: 1; }
  .ed-a .ed-fig-main { grid-column: 8 / 13; grid-row: 1 / 3; }
  .ed-a .ed-fig-main .fig-frame { aspect-ratio: 4 / 5; }
  .ed-a .ed-fig-accent {
    grid-column: 3 / 6;
    grid-row: 2;
    align-self: end;
    margin-top: clamp(48px, 6vw, 96px);
  }
  .ed-a .ed-fig-accent .fig-frame { aspect-ratio: 1 / 1; }

  /* B: wide photo on the left, text low on the right */
  .ed-b .ed-grid { align-items: end; }
  .ed-b .ed-fig-main { grid-column: 1 / 8; grid-row: 1; }
  .ed-b .ed-fig-main .fig-frame { aspect-ratio: 4 / 3; }
  .ed-b .ed-text { grid-column: 9 / 13; grid-row: 1; }

  /* C: text on the left, a smaller photo pushed to the far right and
     dropped lower */
  .ed-c .ed-grid { align-items: center; }
  .ed-c .ed-text { grid-column: 1 / 6; grid-row: 1; }
  .ed-c .ed-fig-main { grid-column: 7 / 13; grid-row: 1; }
  .ed-c .ed-fig-main .fig-frame { aspect-ratio: 4 / 5; }
}

@media (max-width: 859px) {
  .ed-fig { order: -1; }
  .ed-fig-main .fig-frame { aspect-ratio: 4 / 3; }
  .ed-fig-accent { display: none; }
}

/* ---- Light band: blue on white ----
   Re-points the colour tokens inside the band, so labels, links, text and
   divider lines all switch to blue-on-white automatically. */
.section-light {
  background: var(--chalk);
  color: var(--ink);
  --ink: #22355b;
  --ink-soft: #56658a;
  --court: #2c4373;
  --rule: rgba(44, 67, 115, 0.3);
}
.section-light h2, .section-light h3 { color: #22355b; }

/* No divider line where the background colour changes */
:not(.section-light) + .section-light::before,
.section-light + :not(.section-light)::before { display: none; }

.pillars-stack { grid-template-columns: 1fr; gap: 28px; }

.pillars {
  display: grid;
  gap: 32px clamp(24px, 4vw, 64px);
}

@media (min-width: 720px) { .pillars { grid-template-columns: 1fr 1fr; } }

.pillars h3 {
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  margin-bottom: 0.4em;
}

/* Plain lists for session options, workshop topics, facts */
.rows { list-style: none; margin: 8px 0 0; padding: 0; max-width: 64ch; }
.rows li { padding-block: 14px; }
.rows h3 { font-size: 1.3rem; margin-bottom: 0.2em; }
.rows p { margin-bottom: 0; color: var(--ink-soft); }

/* Pricing */
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 32px;
  padding-block: 26px;
  border-top: 1px solid var(--rule);
}
.price-list li:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 720px) {
  .price-list li { grid-template-columns: minmax(0, 2fr) minmax(160px, 1fr); align-items: start; }
}
.price-list h3 { font-size: 1.5rem; margin-bottom: 0.3em; }
.price-list p { margin-bottom: 0.4em; }
.price {
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 3.4vw, 2.8rem);
  line-height: 1;
  color: var(--court);
}
.price small {
  display: block;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 8px;
}
.price-note {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.free-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--court-deep);
  background: var(--ball);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Buttons */
.button {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1.05rem;
  text-decoration: none;
  background: var(--chalk);
  color: var(--court-deep);
  padding: 12px 22px;
  border-radius: 999px;
  transition: background-color 160ms ease;
}
.button:hover { background: var(--court); }
.button-quiet {
  background: transparent;
  color: var(--court);
  border: 1px solid var(--court);
}
.button-quiet:hover { background: rgba(169, 192, 238, 0.12); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Testimonial */
.quote {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.quote footer {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-soft);
  margin-top: 18px;
}

/* About page portrait */
.portrait .fig-frame { aspect-ratio: 4 / 5; max-width: 420px; }

/* Story / article list on resources */
.stories { list-style: none; margin: 0; padding: 0; max-width: 70ch; }
.stories li { padding-block: 22px; border-top: 1px solid var(--rule); }
.stories li:last-child { border-bottom: 1px solid var(--rule); }
.stories h3 { font-size: 1.45rem; margin-bottom: 0.3em; }
.stories .meta { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.5em; }

/* Small print */
.small { font-family: var(--sans); font-size: 0.95rem; color: var(--ink-soft); }

/* ---- Footer ---- */

.site-footer {
  position: relative;
  padding-block: clamp(36px, 6vw, 72px) 40px;
  font-family: var(--sans);
  font-size: 0.98rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--rule-inset);
  right: var(--rule-inset);
  border-top: 1px solid var(--rule);
}

.site-footer .wrap {
  display: grid;
  gap: 28px 40px;
}

@media (min-width: 720px) {
  .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; }
}

.site-footer h2 {
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding-block: 3px; }
.site-footer .legal { grid-column: 1 / -1; color: var(--ink-soft); font-size: 0.88rem; margin-top: 10px; }


/* ---- Homepage theme: blue text on light, with a blue band ----
   index.html has <body class="theme-light">. The colour tokens are
   re-pointed for the whole page; .section-blue switches them back to the
   dusk blue for the band you reach as you scroll. */
.theme-light {
  --bg: var(--chalk);
  --ink: #22355b;
  --ink-soft: #56658a;
  --court: #2c4373;
  --rule: rgba(44, 67, 115, 0.3);
  --heading: #2c4373;
}
.theme-light .button { background: #2c4373; color: var(--chalk); }
.theme-light .button:hover { background: #22355b; }
.theme-light .button-quiet { background: transparent; color: #2c4373; border-color: #2c4373; }
.theme-light .button-quiet:hover { background: rgba(44, 67, 115, 0.08); }

.section-blue {
  background: #2c4373;
  color: var(--ink);
  --ink: #eef0f2;
  --ink-soft: #b8c3d9;
  --court: #a9c0ee;
  --rule: rgba(169, 192, 238, 0.5);
  --heading: var(--chalk);
}
.section-blue .button { background: var(--chalk); color: #2c4373; }

:not(.section-blue) + .section-blue::before,
.section-blue + :not(.section-blue)::before { display: none; }

/* Expandable sidebar navigation */
.site-header .wrap { display:flex; justify-content:space-between; }
.nav-toggle { display:inline-flex; align-items:center; gap:9px; cursor:pointer; }
.sidebar-open { overflow:hidden; }
.sidebar { box-sizing:border-box; position:fixed; inset:16px auto 16px 16px; margin:0; width:390px; max-width:calc(100vw - 32px); height:calc(100dvh - 32px); max-height:none; padding:34px 24px 22px; border:1px solid #dedede; border-radius:24px; background:#fff; color:#111; font-family:var(--sans); overflow:auto; box-shadow:0 20px 80px #0002; }
.sidebar::backdrop { background:rgb(0 0 0 / .3); }
.sidebar-close { position:absolute; top:7px; right:13px; border:0; background:none; color:#666; font-size:26px; cursor:pointer; padding:2px 8px; }
.sidebar svg { width:25px; height:25px; flex-shrink:0; }
.sidebar-brand { display:flex; gap:12px; align-items:center; text-decoration:none; padding:8px 0 28px; border-bottom:1px solid #ebebeb; }
.sidebar-logo { display:grid; place-items:center; width:46px; height:46px; border-radius:14px; background:#f4f4f4; flex-shrink:0; }
.sidebar-brand strong { display:block; font-size:21px; font-weight:650; letter-spacing:-.5px; white-space:nowrap; }
.sidebar-brand small { display:block; color:#626262; font-size:11px; letter-spacing:.5px; margin-top:5px; }
.sidebar nav { padding:20px 0; }
.sidebar-group summary { display:flex; align-items:center; gap:16px; padding:19px 9px; cursor:pointer; list-style:none; font-size:22px; font-weight:500; }
.sidebar-group summary::-webkit-details-marker { display:none; }
.sidebar-chevron { margin-left:auto; border:solid #666; border-width:0 2px 2px 0; padding:4px; transform:rotate(-45deg); transition:transform .15s; }
.sidebar-group[open] .sidebar-chevron { transform:rotate(45deg); }
.sidebar-links { padding:0 0 8px 29px; display:grid; gap:4px; }
.sidebar-links a { display:block; border-radius:11px; padding:12px 13px; font-size:18px; line-height:1.4; text-decoration:none; }
.sidebar-links a:hover,.sidebar-links a[aria-current] { background:#f3f3f3; }
.sidebar-help { display:flex; align-items:center; gap:13px; padding:25px 9px 5px; border-top:1px solid #ebebeb; color:#666; font-size:19px; text-decoration:none; }
.sidebar :focus-visible { outline:2px solid #305786; outline-offset:4px; }
#founder, #contact { scroll-margin-top:100px; }
@media(max-width:420px) { .sidebar { padding-inline:18px; } .sidebar-brand strong { font-size:19px; } .sidebar-brand small { font-size:10px; } .site-header .brand { font-size:1.35rem; } }


/* Responsive Acely-inspired navigation */
body { padding-left:260px; }
.sidebar { --ink:#20314c; --ink-soft:#667084; color:#20314c; background:#faf9f6; display:block; position:fixed; inset:0 auto 0 0; width:260px; max-width:none; height:100dvh; margin:0; border:0; border-right:1px solid #e7e5e0; border-radius:0; box-shadow:none; padding:36px 16px 24px; z-index:70; overflow-y:auto; }
.sidebar a { color:inherit; }
.sidebar-brand { gap:8px; padding:0 0 28px; }
.sidebar-logo { width:32px; height:40px; background:#efeeeb; border-radius:11px; }
.sidebar-logo svg { width:22px; }
.sidebar-brand strong { font-size:16px; letter-spacing:-.55px; }
.sidebar-brand small { font-size:8px; letter-spacing:.25px; color:#667084; }
.sidebar nav { padding:23px 0; }
.sidebar-group summary { gap:12px; padding:17px 7px; font-size:18px; }
.sidebar-group summary svg { width:22px; height:22px; }
.sidebar-chevron { padding:3px; margin-right:3px; border-color:#667084; }
.sidebar-links { padding-left:25px; gap:5px; }
.sidebar-links a { font-size:15px; padding:11px 10px; border-radius:9px; }
.sidebar-links a:hover { background:#f0efec; }
.sidebar-links a[aria-current] { background:#eaeae7; font-weight:600; }
.sidebar-help { font-size:15px; gap:11px; padding-top:24px; }
.drawer-toggle,.drawer-close,.drawer-backdrop { display:none; }
.skip-content { position:fixed; left:275px; top:-100px; z-index:100; padding:12px 18px; background:#fff; color:#20314c; border-radius:8px; }
.skip-content:focus { top:12px; }
@media (max-width:900px) {
 body { padding-left:0; }
 .drawer-toggle { display:grid; place-items:center; width:42px; height:42px; flex-shrink:0; border:1px solid var(--rule); border-radius:12px; background:transparent; color:var(--ink); cursor:pointer; }
 .drawer-toggle svg { width:24px; height:24px; }
 .sidebar { width:min(300px,86vw); max-width:none; inset:0 auto 0 0; height:100dvh; margin:0; padding:50px 20px 24px; transform:translateX(-100%); visibility:hidden; transition:transform .22s ease, visibility .22s; }
 .drawer-open .sidebar { transform:translateX(0); visibility:visible; }
 .drawer-open { overflow:hidden; }
 .drawer-close { display:block; position:absolute; top:9px; right:12px; width:34px; height:34px; border:0; background:transparent; color:#20314c; font-size:28px; cursor:pointer; }
 .drawer-backdrop:not([hidden]) { display:block; position:fixed; inset:0; z-index:65; border:0; background:rgb(20 30 48 / .35); }
 .skip-content { left:16px; }
}
@media (prefers-reduced-motion:reduce) { .sidebar,.sidebar-chevron { transition:none; } }

/* Mission pages share the homepage palette and typography. */
.mission-page { padding-block:clamp(44px,6vw,84px) 64px; }
.mission-hero { max-width:820px; padding-bottom:36px; }
.mission-hero h1 { font-size:clamp(2.6rem,5vw,4.8rem); line-height:1.05; margin:14px 0 22px; }
.mission-subtitle { font-size:clamp(1.2rem,2vw,1.6rem); line-height:1.5; color:var(--ink-soft); max-width:44ch; }
.mission-intro { border:1px solid var(--rule); border-left:5px solid var(--ball); border-radius:18px; padding:clamp(24px,3vw,38px); margin-bottom:48px; background:rgba(255,255,255,.26); }
.mission-intro p:last-child { margin-bottom:0; max-width:72ch; }
.mission-section-title { font-size:1.5rem; margin-bottom:24px; }
.mission-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.mission-card { padding:clamp(24px,3vw,36px); border:1px solid var(--rule); border-radius:20px; background:#f8f8f3; display:flex; flex-direction:column; align-items:flex-start; }
.mission-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:var(--ball); color:#22355b; margin-bottom:24px; }
.mission-icon svg { width:23px; height:23px; }
.mission-card h2 { font-size:clamp(1.25rem,1.9vw,1.6rem); line-height:1.25; margin-bottom:18px; }
.mission-card p { font-size:1.05rem; line-height:1.7; color:var(--ink-soft); }
.mission-card p:last-child { margin-bottom:0; }
.mission-link { font-size:1rem; font-weight:600; margin-top:auto; padding-top:12px; text-underline-offset:5px; }
.impact-empty { margin-top:auto; border-top:1px solid var(--rule); padding-top:20px; font-size:.95rem!important; width:100%; }
.impact-empty span { display:block; font-size:.75rem; font-weight:600; text-transform:uppercase; letter-spacing:.06em; color:#22355b; margin-bottom:9px; }
.mission-note { margin-top:28px; color:var(--ink-soft); font-size:.98rem; max-width:75ch; }
.mission-next { margin-top:48px; padding-top:28px; border-top:1px solid var(--rule); display:flex; flex-wrap:wrap; gap:12px; }
.mission-next a { border:1px solid var(--rule); border-radius:999px; padding:10px 18px; text-decoration:none; font-size:1rem; }
.mission-next a:hover { background:var(--ball); color:#22355b; }
@media(max-width:1050px) { .mission-grid { gap:18px; } .mission-card { padding:24px; } }
@media(max-width:650px) { .mission-grid { grid-template-columns:1fr; } .mission-hero { padding-bottom:20px; } .mission-intro { margin-bottom:32px; } }

/* Keep the skier visible in the narrow mobile hero crop. */
@media (max-width:720px) { .fig-hero img { object-position:28% center; } }

/* Financial access panels */
.assistance-intro { margin-top:14px; }
.financial-assistance { margin-top:30px; padding:clamp(24px,3vw,38px); border:1px solid rgba(201,214,222,.32); border-radius:20px; background:#25385f; color:#eef0f2; }
.financial-assistance .assistance-icon { display:block; width:28px; height:28px; color:#c6d44e; margin-bottom:18px; }
.financial-assistance h2 { font-size:clamp(1.5rem,2.3vw,2rem); line-height:1.2; margin-bottom:20px; color:#eef0f2; }
.financial-assistance p { font-size:1.05rem; line-height:1.65; color:#d3dbea; max-width:70ch; }
.assistance-button { display:inline-flex; justify-content:center; align-items:center; background:#c6d44e; color:#22355b; border-radius:999px; padding:13px 22px; margin-top:10px; font-size:1rem; font-weight:600; line-height:1.4; text-decoration:none; text-align:center; }
.assistance-button:hover { background:#d5e26a; }
.assistance-resource-link { display:block; margin-top:20px; color:#eef0f2; font-size:1rem; text-underline-offset:4px; }
@media(max-width:600px) { .assistance-button { width:100%; } }

/* Resources learning hub: scoped to resource pages. */
.resource-page { padding-block:clamp(40px,6vw,80px) 64px; }
.resource-hero { max-width:800px; margin-bottom:40px; }
.resource-hero h1 { font-size:clamp(2.5rem,4.8vw,4.5rem); line-height:1.06; margin:16px 0 24px; }
.resource-hero > p:last-child { font-size:clamp(1.15rem,2vw,1.5rem); color:var(--ink-soft); }
.resource-hub { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.resource-card { min-width:0; padding:clamp(22px,2.4vw,32px); border:1px solid var(--rule); border-radius:18px; background:rgba(15,28,55,.18); display:flex; flex-direction:column; }
.resource-number { color:var(--ball); font-size:.85rem; font-weight:600; letter-spacing:.12em; margin-bottom:26px; }
.resource-card h2 { font-size:1.5rem; margin-bottom:18px; }
.resource-card p { font-size:1.02rem; color:var(--ink-soft); line-height:1.65; }
.resource-card a { margin-top:auto; padding-top:16px; color:var(--ball); text-underline-offset:5px; font-size:1rem; }
.resource-content { margin-top:40px; display:grid; gap:16px; }
.resource-detail { border:1px solid var(--rule); border-radius:18px; scroll-margin-top:24px; }
.resource-detail > summary { cursor:pointer; padding:24px 28px; font-size:1.4rem; font-weight:500; }
.resource-detail-body { padding:0 clamp(22px,3vw,36px) 32px; }
.resource-detail-body h2 { font-size:1.7rem; margin-block:16px 24px; }
.resource-detail-body h3 { font-size:1.25rem; margin-block:24px 16px; }
.resource-detail-body p { font-size:1.05rem; line-height:1.7; max-width:74ch; }
.resource-empty { border:1px dashed var(--rule); border-radius:12px; padding:22px; margin-top:22px; background:rgba(15,28,55,.13); }
.resource-empty p { margin:12px 0 0; color:var(--ink-soft); }
.resource-status { display:inline-block; font-size:.75rem; text-transform:uppercase; letter-spacing:.07em; color:var(--ball); }
.resource-disclaimer,.exercise-state { color:var(--ink-soft); font-size:.95rem!important; }
.video-audience + .video-audience { border-top:1px solid var(--rule); margin-top:30px; padding-top:12px; }
.video-audience { scroll-margin-top:24px; }
.resource-next { margin-top:48px; padding-top:30px; border-top:1px solid var(--rule); }
.resource-next h2 { margin-bottom:16px; font-size:1.5rem; }
.resource-next p { color:var(--ink-soft); }
.resource-page .button { background:var(--ball); color:#22355b; }
.exercise-intro { margin-bottom:28px; }
.exercise-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
@media(max-width:1150px) { .resource-hub { grid-template-columns:1fr; } .resource-card { padding:26px; } .resource-number { margin-bottom:16px; } }
@media(max-width:600px) { .exercise-grid { grid-template-columns:1fr; } .resource-detail > summary { padding:20px; } }

/* Sidebar social links, between About and Help & Contact. */
.sidebar-socials { display:flex; align-items:center; gap:12px; padding:0 7px 22px; }
.sidebar-socials a { display:grid; place-items:center; width:38px; height:38px; border:1px solid #e3e3df; border-radius:11px; color:#20314c; text-decoration:none; }
.sidebar-socials a:hover { background:#eaeae7; }
.sidebar-socials svg { width:21px; height:21px; }

/* Place the divider above the social icons. */
.sidebar-socials { border-top:1px solid #ebebeb; padding-top:22px; padding-bottom:12px; }
.sidebar-help { border-top:0; padding-top:10px; }

/* Reflective educational stories */
.story-read-more { font-size:1rem; text-underline-offset:5px; }
.published-story { display:block; margin-top:26px; padding:26px; border:1px solid var(--rule); border-radius:14px; text-decoration:none; background:rgba(20,33,59,.16); }
.published-story h3 { margin:16px 0; font-size:1.6rem; }
.published-story p { color:var(--ink-soft); }
.published-story:hover { border-color:var(--ball); }
.published-story-action { color:var(--ball); font-weight:600; font-size:1rem; }
.relationship-page { padding-block:clamp(36px,6vw,76px) 64px; }
.relationship-article { max-width:820px; margin-inline:auto; }
.story-back { display:inline-block; margin-bottom:32px; font-size:1rem; text-underline-offset:5px; }
.relationship-article header .label { font-size:.9rem; color:var(--ball); }
.relationship-article h1 { font-size:clamp(2.5rem,5vw,4.5rem); line-height:1.08; margin:18px 0 24px; }
.relationship-subtitle { font-size:clamp(1.15rem,2vw,1.5rem); color:var(--ink-soft); line-height:1.6; }
.relationship-prose { margin-top:48px; max-width:62ch; }
.relationship-article h2 { font-size:1.55rem; margin-bottom:28px; font-weight:600; }
.relationship-prose p { line-height:1.8; margin-bottom:1em; font-size:1.15rem; }
.relationship-psychology { margin-top:52px; padding-top:32px; border-top:1px solid var(--rule); }
.relationship-concepts { display:grid; gap:24px; }
.relationship-concepts section { padding:26px; border:1px solid var(--rule); border-radius:14px; background:rgba(20,33,59,.16); }
.relationship-concepts h3 { font-size:1.25rem; color:var(--ball); margin-bottom:14px; }
.relationship-concepts p { font-size:1.05rem; line-height:1.7; color:var(--ink-soft); margin:0; }
.relationship-reflection { margin:36px 0; padding:clamp(24px,4vw,36px); border:1px solid var(--rule); border-left:4px solid var(--ball); border-radius:14px; background:rgba(255,255,255,.04); }
.relationship-reflection p { font-size:1.2rem; line-height:1.7; margin:0; }
.beyond-performance { margin-top:40px; padding:28px; border:1px solid var(--rule); border-radius:18px; }
.beyond-performance h2 { font-size:1.55rem; margin-bottom:20px; }
.beyond-performance p { line-height:1.7; margin:0; color:var(--ink-soft); }

/* Standard, expandable Stories library grid. */
.story-library-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-top:26px; }
.story-library-grid .published-story { margin-top:0; }
@media(max-width:1000px) { .story-library-grid { grid-template-columns:1fr; } }

/* Unboxed social icons across the site. */
.sidebar-socials a,.site-refined .sidebar-socials a { border:0; border-radius:0; background:transparent; box-shadow:none; }
.sidebar-socials a:hover,.site-refined .sidebar-socials a:hover { background:transparent; }

/* Slightly larger, closely grouped social icons. */
.sidebar-socials { gap:6px; }
.sidebar-socials a { width:34px; height:38px; }
.sidebar-socials svg { width:25px; height:25px; }
