/* =========================================================================
   Concept C — Pathways
   Inspire Connections and Pathways
   A connector line runs down the left of the content, with a marker at the
   head of each section.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --teal:      #14343C;  /* primary, large fields and footer, 12.4:1        */
  --teal-deep: #0E262C;  /* teal pressed                                    */
  --offwhite:  #FAF7F2;  /* page background                                 */
  --sap:       #4E8C5C;  /* secondary, program identification               */
  --sap-deep:  #3A6B46;  /* sap at text weight, 5.8:1 on off-white          */
  --sap-soft:  #7FA98A;  /* wellbeing program marker, never text            */
  --apricot:   #E8975A;  /* calls to action and progression markers         */
  --apricot-d: #D9833F;  /* apricot pressed                                 */
  --apricot-ink: #9A5418; /* apricot for text and focus rings, 5.4:1        */
  --charcoal:  #1E2224;  /* body text                                       */
  --char-70:   #50575A;  /* secondary text, 6.9:1 on off-white              */
  --rule:      rgba(30, 34, 36, 0.14);
  --connector: rgba(30, 34, 36, 0.22);
  --rule-light: rgba(250, 247, 242, 0.24);

  --head: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-caption: 0.9375rem;                        /* 15px                    */
  --t-small:   1rem;                             /* 16px                    */
  --t-body:    1.125rem;                         /* 18px                    */
  --t-lead:    1.3125rem;                        /* 21px                    */
  --t-h3:      1.375rem;                         /* 22px                    */
  --t-h2:      clamp(1.875rem, 3.4vw, 2.75rem);  /* 30 → 44px               */
  --t-h1:      clamp(2.125rem, 4.4vw, 3.375rem); /* 34 → 54px               */

  --wrap: 1340px;        /* wider content area than the other two concepts  */
  --gutter-line: 24px;   /* x position of the connector inside the wrap     */
  --gutter-text: 72px;   /* where content starts                            */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--charcoal);
  font-family: var(--text);
  font-size: var(--t-body);
  line-height: 1.64;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.16;
  letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); margin-bottom: 0.5em; }
h3 { font-size: var(--t-h3); line-height: 1.28; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--sap-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }

:focus-visible { outline: 3px solid var(--apricot-ink); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 30; background: var(--teal);
  color: var(--offwhite); padding: 12px 20px; text-decoration: none; }
.skip:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* Shared inner for every section. Padding lives here, not on the section, so the
   connector line runs unbroken from one section to the next. */
.band-inner {
  position: relative;
  max-width: var(--wrap); margin-inline: auto;
  padding: 92px 24px 92px var(--gutter-text);
}
.band-inner::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--gutter-line);
  width: 1px; background: var(--connector);
}
.section { padding: 0; }
.section--teal { background: var(--teal); color: var(--offwhite); }
.section--teal .band-inner::before { background: var(--rule-light); }
.section--teal h2, .section--teal h3 { color: var(--offwhite); }

/* Section marker: a dot sitting on the connector at the head of each band. */
.marker {
  position: absolute; left: calc(var(--gutter-line) - 6px); top: 100px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--sap); box-shadow: 0 0 0 4px var(--offwhite);
}
.marker--light { background: var(--apricot); box-shadow: 0 0 0 4px var(--teal); }

/* Two-column arrangement: claim on the left, supporting detail alongside. */
.two-col { display: grid; gap: 32px 56px; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
  .two-col__main { max-width: 44ch; }
}
.two-col + .two-col { margin-top: 44px; }
.lead { font-size: var(--t-lead); line-height: 1.5; }
.two-col__main .lead { max-width: 42ch; }
.two-col__side p { font-size: var(--t-small); line-height: 1.66; color: var(--char-70); max-width: 58ch; }
.section--teal .two-col__side p { color: rgba(250, 247, 242, 0.86); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 14; background: var(--offwhite);
  border-bottom: 1px solid var(--rule); }
.site-head__inner { display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 80px; }
.wordmark { display: inline-block; text-decoration: none;
  color: var(--charcoal); }
.wordmark__text { display: block; line-height: 1.12; }
.wordmark__l1 { display: block; font-family: var(--head); font-size: 1.25rem; font-weight: 600;
  letter-spacing: -0.015em; }
.wordmark__l2 { display: block; font-family: var(--head); font-size: 0.9375rem; font-weight: 500;
  color: var(--char-70); }
.site-nav ul { list-style: none; display: flex; gap: 28px; }
.site-nav a { color: var(--charcoal); font-size: var(--t-small); text-decoration: none;
  padding-bottom: 4px; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--apricot); }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; border-radius: 8px;
  font-family: var(--text); font-size: var(--t-small); font-weight: 600; line-height: 1.2;
  padding: 15px 28px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.btn--solid { background: var(--apricot); color: var(--charcoal); border-color: var(--apricot); }
.btn--solid:hover { background: var(--apricot-d); border-color: var(--apricot-d);
  color: var(--charcoal); }
.btn--solid:active { background: #C4762F; border-color: #C4762F; }
.btn--outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--offwhite); }
/* On teal bands the primary action reverses to off-white. */
.section--teal .btn--solid { background: var(--offwhite); color: var(--teal);
  border-color: var(--offwhite); }
.section--teal .btn--solid:hover { background: #EDE6DA; border-color: #EDE6DA; }
.section--teal :focus-visible { outline-color: var(--apricot); }

/* ---------- Hero: split, type left, tall image right ---------- */
.hero { border-bottom: 1px solid var(--rule); }
.hero__inner { display: grid; gap: 44px; padding-block: 72px 80px; align-items: center; }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px;
    padding-block: 84px 92px; }
}
.hero__entity { font-size: var(--t-small); font-weight: 600; color: var(--sap-deep);
  margin-bottom: 16px; }
.hero h1 { max-width: 16ch; margin-bottom: 24px; }
.hero__lede { font-size: var(--t-lead); line-height: 1.5; color: var(--char-70);
  max-width: 42ch; margin-bottom: 32px; }
/* Hero fades up once on load. Disabled under reduced motion. */
.hero__text > * { animation: step 600ms cubic-bezier(0.2, 0.6, 0.2, 1) both; }
.hero__text > :nth-child(2) { animation-delay: 70ms; }
.hero__text > :nth-child(3) { animation-delay: 140ms; }
.hero__text > :nth-child(4) { animation-delay: 210ms; }
@keyframes step { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Access strip: three steps ---------- */
.access { background: var(--teal); color: var(--offwhite); padding-block: 52px 56px; }
.access__title { font-size: var(--t-h3); color: var(--offwhite); margin-bottom: 30px; }
.access__steps { list-style: none; display: grid; gap: 34px; counter-reset: none; }
@media (min-width: 820px) { .access__steps { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.step { position: relative; padding-top: 30px; }
/* The connecting rail between the three steps. */
.step::before {
  content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 1px;
  background: var(--rule-light);
}
@media (min-width: 820px) {
  .step { padding-right: 40px; }
  .step:first-child::before { left: 0; }
  .step:last-child::before { right: 40px; }
}
.step__dot { position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--apricot); }
.step h3 { font-size: 1.1875rem; color: var(--offwhite); margin-bottom: 8px; }
.step p { font-size: var(--t-small); line-height: 1.6; color: rgba(250, 247, 242, 0.86);
  max-width: 36ch; }

/* ---------- Programs: four rows ---------- */
.program-rows { margin-top: 48px; }
.program {
  display: grid; gap: 14px 48px;
  padding-block: 32px 34px; border-top: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .program { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
}
.program:last-child { border-bottom: 1px solid var(--rule); }
.program__id { display: flex; gap: 14px; align-items: flex-start; }
.program__swatch { width: 14px; height: 14px; border-radius: 4px; flex: none; margin-top: 6px; }
.program--first-nations .program__swatch { background: var(--sap); }
.program--youth        .program__swatch { background: var(--teal); }
.program--wellbeing    .program__swatch { background: var(--sap-soft); }
.program--subsidised   .program__swatch { background: var(--apricot); }
.program__id h3 { font-size: 1.3125rem; }
.program__detail > p { max-width: 62ch; font-size: var(--t-small); line-height: 1.66;
  margin-bottom: 20px; }

.facts { margin: 0; display: grid; gap: 12px 36px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts dt { font-size: var(--t-caption); font-weight: 600; color: var(--sap-deep);
  margin-bottom: 3px; }
.facts dd { margin: 0; font-size: var(--t-caption); line-height: 1.55; color: var(--char-70); }

/* ---------- Mission ---------- */
.belief {
  font-family: var(--head); font-weight: 500; font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.3; letter-spacing: -0.015em; color: var(--apricot);
  margin-top: 26px; padding-top: 24px; border-top: 2px solid rgba(232, 151, 90, 0.5);
  max-width: 24ch;
}

/* ---------- Six points ---------- */
.points { margin-top: 48px; display: grid; gap: 34px 56px; }
@media (min-width: 780px)  { .points { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1120px) { .points { grid-template-columns: repeat(3, 1fr); } }
.point { padding-top: 22px; border-top: 2px solid var(--sap); }
.point h3 { font-size: 1.1875rem; margin-bottom: 10px; max-width: 22ch; }
.point p { font-size: var(--t-small); line-height: 1.62; color: var(--char-70); }

/* ---------- Safety: on teal ---------- */
.standards { margin-top: 48px; display: grid; gap: 34px 56px; }
@media (min-width: 860px) { .standards { grid-template-columns: repeat(3, 1fr); } }
.standard { padding-top: 22px; border-top: 2px solid var(--apricot); }
.standard h3 { font-size: 1.1875rem; margin-bottom: 12px; }
.standard p { font-size: var(--t-small); line-height: 1.64; color: rgba(250, 247, 242, 0.88);
  max-width: 42ch; }

/* ---------- Governance diagram ---------- */
.entity-diagram {
  margin: 44px 0; display: grid; gap: 0;
  border: 1px solid var(--rule); border-radius: 12px; overflow: hidden;
  background: #FFFFFF;
}
@media (min-width: 900px) { .entity-diagram { grid-template-columns: 1fr auto 1fr; } }
.entity { padding: 28px 30px 32px; }
.entity__kind { font-size: var(--t-caption); font-weight: 600; color: var(--sap-deep);
  margin-bottom: 6px; }
.entity h3 { font-size: 1.25rem; margin-bottom: 14px; }
.entity ul { list-style: none; }
.entity li { font-size: var(--t-caption); line-height: 1.5; color: var(--char-70);
  padding-left: 18px; position: relative; margin-bottom: 7px; }
.entity li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 9px;
  height: 2px; background: var(--sap); border-radius: 1px; }
.entity-link {
  padding: 26px 26px; background: #F2EEE7;
  border-block: 1px solid var(--rule);
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
@media (min-width: 900px) {
  .entity-link { border-block: 0; border-inline: 1px solid var(--rule); max-width: 260px; }
}
.entity-link__row { font-size: var(--t-caption); line-height: 1.45; color: var(--char-70);
  margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.entity-link__label { font-size: var(--t-caption); font-weight: 600; color: var(--teal);
  margin: 0; padding-block: 8px; border-block: 1px solid var(--rule); }
.entity-link__arrow { flex: none; width: 22px; height: 2px; background: var(--teal);
  margin-top: 8px; position: relative; }
.entity-link__arrow::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px;
  border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); }
.entity-link__arrow--right::after { right: 0; transform: rotate(45deg); }
.entity-link__arrow--left::after  { left: 0; transform: rotate(-135deg); }

/* ---------- Scope ---------- */
.stages { list-style: none; margin-top: 44px; display: grid; gap: 32px; }
@media (min-width: 820px) { .stages { grid-template-columns: repeat(3, 1fr); gap: 0 40px; } }
.stage { position: relative; padding-top: 30px; }
.stage::before { content: ""; position: absolute; top: 6px; left: 0; right: -40px; height: 1px;
  background: var(--rule); }
.stage:last-child::before { right: 0; }
@media (max-width: 819px) { .stage::before { right: 0; } }
.stage__dot { position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--sap); }
.stage:last-child .stage__dot { background: var(--apricot); }
.stage h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.stage p { font-size: var(--t-small); line-height: 1.6; color: var(--char-70); max-width: 36ch; }

/* ---------- Get involved ---------- */
.routes { margin-top: 44px; display: grid; gap: 28px 48px; }
@media (min-width: 700px)  { .routes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .routes { grid-template-columns: repeat(4, 1fr); } }
.route { padding-top: 20px; border-top: 2px solid var(--teal); }
.route h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.route p { font-size: var(--t-small); line-height: 1.6; color: var(--char-70); }

.contact-grid { margin-top: 60px; display: grid; gap: 44px 64px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.contact-grid h3 { margin-bottom: 22px; }
.field-row { display: grid; gap: 0 20px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: var(--t-small); font-weight: 600; margin-bottom: 7px; }
.opt { font-weight: 400; color: var(--char-70); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--text); font-size: var(--t-body); color: var(--charcoal);
  background: #FFFFFF; border: 1px solid rgba(30, 34, 36, 0.26); border-radius: 8px;
  padding: 13px 15px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal); }
.field textarea { resize: vertical; }
.contact-grid__direct { background: #F2EEE7; border-radius: 12px; padding: 30px 30px 34px; }
.contact-grid__direct .facts { grid-template-columns: 1fr; gap: 16px; }
.note { font-size: var(--t-caption); line-height: 1.55; color: var(--char-70); margin-top: 22px;
  padding-top: 16px; border-top: 1px solid var(--rule); }

/* ---------- Placeholders ---------- */
.ph { background: #F2EEE7; border: 1px dashed rgba(30, 34, 36, 0.3); border-radius: 12px;
  margin: 0; display: grid; place-items: center; padding: 28px; }
.ph--tall { aspect-ratio: 4 / 5; }
.ph--inset { aspect-ratio: 16 / 9; margin-top: 52px; }
.ph__body { max-width: 40ch; }
.ph__label { font-size: var(--t-caption); font-weight: 600; color: var(--sap-deep);
  margin-bottom: 10px; }
.ph__subject { font-family: var(--head); font-weight: 600; font-size: 1.25rem; line-height: 1.25;
  margin-bottom: 12px; }
.ph__spec { list-style: none; font-size: var(--t-caption); line-height: 1.5; color: var(--char-70); }
.ph__spec li { padding-left: 18px; position: relative; }
.ph__spec li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px;
  height: 2px; background: var(--apricot); border-radius: 1px; }

.tbc { font-size: var(--t-small); line-height: 1.6; color: var(--char-70);
  border-left: 3px solid var(--apricot); padding-left: 18px; }
.tbc strong { color: var(--teal); }
.tbc-inline { font-size: var(--t-caption); color: var(--apricot-ink); white-space: nowrap; }

/* ---------- Footer ---------- */
.site-foot { background: var(--teal); color: var(--offwhite); padding-block: 76px 40px; }
.site-foot a { color: var(--offwhite); }
.site-foot a:hover { color: var(--apricot); }
.site-foot :focus-visible { outline-color: var(--apricot); }
.site-foot__grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .site-foot__grid { grid-template-columns: 1.5fr 1.1fr 0.7fr; gap: 60px; } }
.wordmark--foot { color: var(--offwhite); }
.wordmark--foot .wordmark__l2 { color: rgba(250, 247, 242, 0.76); }
.acknowledgement { font-size: var(--t-caption); line-height: 1.65; margin-top: 22px;
  color: rgba(250, 247, 242, 0.84); max-width: 44ch; }
.h-foot { font-family: var(--text); font-size: var(--t-small); font-weight: 600;
  color: var(--apricot); margin-bottom: 14px; letter-spacing: 0; }
.site-foot p, .site-foot li { font-size: var(--t-caption); line-height: 1.68; }
.site-foot__nav ul { list-style: none; }
.site-foot__nav li { margin-bottom: 7px; }
.site-foot .tbc-inline { color: var(--apricot); }
.site-foot__legal { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--rule-light);
  color: rgba(250, 247, 242, 0.7); }

/* Photography */
.ph.is-photo { position: relative; padding: 0; border: 0; background: none; overflow: hidden; }
.ph.is-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Link back to the concept overview (presentation only, not part of the site) ---------- */
.concept-back {
  position: fixed; left: 16px; bottom: 16px; z-index: 30;
  font-family: var(--text); font-size: 0.875rem; font-weight: 600; line-height: 1;
  padding: 11px 16px; border-radius: 999px;
  background: #1B1E20; color: #FFFFFF; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.concept-back:hover { background: #000000; color: #FFFFFF; }
.concept-back:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 0; box-shadow: 0 0 0 6px #1B1E20; }
@media print { .concept-back { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  :root { --gutter-text: 52px; --gutter-line: 20px; }
  .site-nav { display: none; } /* footer carries the section list */
  .band-inner { padding-block: 64px; padding-right: 20px; }
  .marker { top: 72px; }
  .program__id { margin-bottom: 4px; }
}
@media (max-width: 620px) {
  :root { --t-body: 1.0625rem; --t-lead: 1.1875rem; --gutter-text: 40px; --gutter-line: 16px; }
  .wrap { padding-inline: 20px; }
  .hero__inner { padding-block: 44px 56px; }
  .site-head__inner { min-height: 68px; }
  .wordmark__l1 { font-size: 1.0625rem; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
  .ph--tall { aspect-ratio: 4 / 5; }
  .ph { padding: 20px; }
  .contact-grid__direct { padding: 24px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__text > * { animation: none; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-head, .skip, form { display: none; }
  body { background: #fff; font-size: 11pt; }
  .section--teal, .access, .site-foot { background: #fff; color: #000; }
  .section--teal h2, .section--teal h3, .access h2, .access h3,
  .site-foot a, .wordmark--foot { color: #000; }
  .section--teal .two-col__side p, .standard p, .step p, .acknowledgement { color: #333; }
  .band-inner { padding-block: 20pt; }
  .entity-diagram, .program { break-inside: avoid; }
}
