/* The Chayil Foundation For Children: one-page site.
   Mobile first; wider layouts switch on at 640px and 900px.
   Big headings in Source Serif 4 at a regular weight (echoes the serif in the logo);
   everything else in Atkinson Hyperlegible Next, made for low-vision readers.
   One corner radius (6px), gold only for the main action. */

/* Fonts, served from this site (all free under the SIL Open Font License).
   Each file holds every weight we use. The -latin-ext files only load for letters such as ẹ, ọ, ṣ and ₦ */
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(fonts/atkinson-hyperlegible-next-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(fonts/atkinson-hyperlegible-next-latin-ext.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; src: url(fonts/source-serif-4-latin.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; src: url(fonts/source-serif-4-latin-ext.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Italic, only for the motto, at one optical size to keep the file small */
@font-face { font-family: "Source Serif 4"; src: url(fonts/source-serif-4-italic-latin.woff2) format("woff2"); font-style: italic; font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Colours: same names as the Figma variables */
  --indigo-deep: #1F2A5A;
  --indigo-mid: #3D4E8C;
  --indigo-night: #162047;
  --gold: #E0A526;
  --cream: #F7F3E8;
  --paper: #FFFFFF;
  --tint: #EEF2FA;   /* light blue, for the top of the page and the partners strip */
  --sand: #ECE6D6;
  --slate: #4B5374;
  --mist: #C9CDE3;
  --line: #D9D2BF;
  --field-border: #8C93AE;
  --night-line: #2E3A6B;
  --terracotta: #A84B2F;
  --terracotta-dark: #8E3E26;

  /* Type */
  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --step-eyebrow: 0.875rem;                                  /* 14 */
  --step-small: 1rem;                                        /* 16 */
  --step-body: 1.125rem;                                     /* 18 */
  --step-lead: 1.25rem;                                      /* 20 */
  --step-item: 1.25rem;                                      /* 20 */
  /* the serif reads lighter than the sans, so these sizes are about 10% up */
  --step-section: clamp(1.875rem, 1.5rem + 1.3vw, 2.625rem); /* 30 to 42 */
  --step-display: clamp(2.625rem, 1.85rem + 2.7vw, 3.625rem); /* 42 to 58 */

  /* Space and shape */
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(44px, 8vw, 96px);
  --radius: 6px;
  --max: 1200px;

  /* Adire eleko: nine hand-drawn-style squares, pale on indigo like starch-resist cloth.
     Original drawings, generated by tools/adire.py in the project folder (outside the repo). */
  --adire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='168' fill='none' stroke='%23F7F3E8' stroke-width='2' stroke-opacity='0.3' fill-opacity='0.3'%3E%3Cpath d='M0 0H168M0 0V168M56 0V168M112 0V168M0 56H168M0 112H168'/%3E%3Cg transform='translate%280 0%29'%3E%3Ccircle cx='28' cy='28' r='20'/%3E%3Ccircle cx='28' cy='28' r='13'/%3E%3Ccircle cx='28' cy='28' r='6'/%3E%3C/g%3E%3Cg transform='translate%2856 0%29'%3E%3Cpath d='M6 22L22 6M6 34L34 6M6 46L46 6M10 50L50 10M22 50L50 22M34 50L50 34'/%3E%3C/g%3E%3Cg transform='translate%28112 0%29'%3E%3Cpath d='M6 18l8-8 8 8 8-8 8 8 8-8M6 32l8-8 8 8 8-8 8 8 8-8M6 46l8-8 8 8 8-8 8 8 8-8'/%3E%3C/g%3E%3Cg transform='translate%280 56%29'%3E%3Cpath d='M6 18q5.5-8 11 0t11 0 11 0 11 0M6 30q5.5-8 11 0t11 0 11 0 11 0M6 42q5.5-8 11 0t11 0 11 0 11 0'/%3E%3C/g%3E%3Cg transform='translate%2856 56%29'%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%280 28 28%29'/%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%2890 28 28%29'/%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%28180 28 28%29'/%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%28270 28 28%29'/%3E%3Ccircle cx='28' cy='28' r='3' fill='%23F7F3E8' stroke='none'/%3E%3C/g%3E%3Cg transform='translate%28112 56%29'%3E%3Ccircle cx='10' cy='10' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='10' cy='22' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='10' cy='34' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='10' cy='46' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='22' cy='10' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='22' cy='22' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='22' cy='34' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='22' cy='46' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='34' cy='10' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='34' cy='22' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='34' cy='34' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='34' cy='46' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='46' cy='10' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='46' cy='22' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='46' cy='34' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='46' cy='46' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3C/g%3E%3Cg transform='translate%280 112%29'%3E%3Cpath d='M9 9L47 47M47 9L9 47'/%3E%3Crect x='22' y='22' width='12' height='12'/%3E%3C/g%3E%3Cg transform='translate%2856 112%29'%3E%3Crect x='8' y='8' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='8' y='28' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='18' y='18' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='18' y='38' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='28' y='8' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='28' y='28' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='38' y='18' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='38' y='38' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3C/g%3E%3Cg transform='translate%28112 112%29'%3E%3Cpath d='M28.0 28.0L28.2 28.0L28.4 28.2L28.5 28.3L28.6 28.6L28.6 28.9L28.5 29.1L28.3 29.4L28.0 29.6L27.6 29.8L27.2 29.9L26.7 29.9L26.3 29.7L25.8 29.5L25.3 29.1L25.0 28.6L24.7 28.0L24.6 27.3L24.6 26.6L24.7 25.8L25.1 25.1L25.6 24.4L26.3 23.8L27.1 23.3L28.0 23.1L29.0 22.9L30.1 23.0L31.1 23.4L32.1 23.9L33.0 24.7L33.7 25.6L34.3 26.8L34.6 28.0L34.7 29.3L34.5 30.7L34.0 32.0L33.2 33.2L32.2 34.3L31.0 35.2L29.6 35.9L28.0 36.2L26.4 36.3L24.7 36.0L23.1 35.4L21.6 34.4L20.3 33.2L19.2 31.6L18.5 29.9L18.1 28.0L18.1 26.0L18.5 24.1L19.3 22.2L20.4 20.4L21.9 18.9L23.7 17.7L25.8 16.9L28.0 16.5L30.3 16.5L32.6 17.0L34.8 17.9L36.7 19.3L38.5 21.0L39.8 23.1L40.7 25.5L41.2 28.0L41.1 30.6L40.6 33.2L39.5 35.7L37.9 37.9L35.9 39.8L33.5 41.3L30.9 42.4L28.0 42.8L25.1 42.8L22.2 42.1L19.4 40.9L16.9 39.1L14.8 36.8L13.1 34.2L12.0 31.2L11.5 28.0L11.6 24.7L12.4 21.5L13.8 18.5L15.8 15.8L18.3 13.4L21.2 11.6L24.5 10.4L28.0 9.9L31.6 10.0L35.1 10.9L38.4 12.4L41.4 14.6L43.9 17.3L45.9 20.6L47.2 24.2L47.8 28.0'/%3E%3C/g%3E%3C/svg%3E");
  /* The logo's star as a mask, so CSS can paint it any colour */
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='116.4 3.5 24 24.8'%3E%3Cpath d='M128.2 4.5C128.2 4.7 127.9 5.4 127.7 6.2C126.8 8.9 126 10.4 124.8 11.6C123.9 12.4 122.9 13.2 122 13.8C121 14.5 118.8 15.4 117.9 15.5C116.9 15.7 117.1 16.1 118.2 16.4C118.6 16.5 118.9 16.6 119 16.6C119 16.7 119.4 16.9 119.9 17C120.3 17.2 120.7 17.4 120.8 17.4C120.8 17.5 121.2 17.7 121.6 17.9C123.1 18.6 124.8 20.2 125.8 21.7C126.4 22.6 127.1 24 127.4 24.7C127.5 24.9 127.7 25.5 127.9 26C128.1 26.5 128.2 27.1 128.2 27.2C128.2 27.5 128.5 27.8 128.6 27.7C128.7 27.7 128.8 27.4 128.9 27.1C129.3 26 131.3 21.8 132 20.9C132.6 20 134 18.9 135.1 18.2C136.4 17.4 138 16.6 138.8 16.3C139.2 16.2 139.6 16 139.6 16C139.8 15.8 139.5 15.6 139.1 15.5C138.6 15.4 136.7 14.6 135.7 14.1C134.4 13.5 132.5 11.9 131.8 10.9C131 9.9 130.3 8.6 129.4 6.2C128.7 4.3 128.4 4 128.2 4.5Z'/%3E%3C/svg%3E");
  /* The same nine squares, undyed: faint indigo drawings on no background */
  --adire-undyed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='504' height='56'%3E%3Cg fill='none' stroke='%231F2A5A' stroke-width='2' stroke-opacity='0.3' fill-opacity='0.3'%3E%3Cpath d='M0 1H504M0 55H504M0 0V56M56 0V56M112 0V56M168 0V56M224 0V56M280 0V56M336 0V56M392 0V56M448 0V56'/%3E%3Cg transform='translate%280 0%29'%3E%3Ccircle cx='28' cy='28' r='20'/%3E%3Ccircle cx='28' cy='28' r='13'/%3E%3Ccircle cx='28' cy='28' r='6'/%3E%3C/g%3E%3Cg transform='translate%2856 0%29'%3E%3Cpath d='M6 22L22 6M6 34L34 6M6 46L46 6M10 50L50 10M22 50L50 22M34 50L50 34'/%3E%3C/g%3E%3Cg transform='translate%28112 0%29'%3E%3Cpath d='M6 18l8-8 8 8 8-8 8 8 8-8M6 32l8-8 8 8 8-8 8 8 8-8M6 46l8-8 8 8 8-8 8 8 8-8'/%3E%3C/g%3E%3Cg transform='translate%28168 0%29'%3E%3Cpath d='M6 18q5.5-8 11 0t11 0 11 0 11 0M6 30q5.5-8 11 0t11 0 11 0 11 0M6 42q5.5-8 11 0t11 0 11 0 11 0'/%3E%3C/g%3E%3Cg transform='translate%28224 0%29'%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%280 28 28%29'/%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%2890 28 28%29'/%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%28180 28 28%29'/%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%28270 28 28%29'/%3E%3Ccircle cx='28' cy='28' r='3' fill='%231F2A5A' stroke='none'/%3E%3C/g%3E%3Cg transform='translate%28280 0%29'%3E%3Ccircle cx='10' cy='10' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='10' cy='22' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='10' cy='34' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='10' cy='46' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='22' cy='10' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='22' cy='22' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='22' cy='34' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='22' cy='46' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='34' cy='10' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='34' cy='22' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='34' cy='34' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='34' cy='46' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='46' cy='10' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='46' cy='22' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='46' cy='34' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='46' cy='46' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3C/g%3E%3Cg transform='translate%28336 0%29'%3E%3Cpath d='M9 9L47 47M47 9L9 47'/%3E%3Crect x='22' y='22' width='12' height='12'/%3E%3C/g%3E%3Cg transform='translate%28392 0%29'%3E%3Crect x='8' y='8' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='8' y='28' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='18' y='18' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='18' y='38' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='28' y='8' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='28' y='28' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='38' y='18' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='38' y='38' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3C/g%3E%3Cg transform='translate%28448 0%29'%3E%3Cpath d='M28.0 28.0L28.2 28.0L28.4 28.2L28.5 28.3L28.6 28.6L28.6 28.9L28.5 29.1L28.3 29.4L28.0 29.6L27.6 29.8L27.2 29.9L26.7 29.9L26.3 29.7L25.8 29.5L25.3 29.1L25.0 28.6L24.7 28.0L24.6 27.3L24.6 26.6L24.7 25.8L25.1 25.1L25.6 24.4L26.3 23.8L27.1 23.3L28.0 23.1L29.0 22.9L30.1 23.0L31.1 23.4L32.1 23.9L33.0 24.7L33.7 25.6L34.3 26.8L34.6 28.0L34.7 29.3L34.5 30.7L34.0 32.0L33.2 33.2L32.2 34.3L31.0 35.2L29.6 35.9L28.0 36.2L26.4 36.3L24.7 36.0L23.1 35.4L21.6 34.4L20.3 33.2L19.2 31.6L18.5 29.9L18.1 28.0L18.1 26.0L18.5 24.1L19.3 22.2L20.4 20.4L21.9 18.9L23.7 17.7L25.8 16.9L28.0 16.5L30.3 16.5L32.6 17.0L34.8 17.9L36.7 19.3L38.5 21.0L39.8 23.1L40.7 25.5L41.2 28.0L41.1 30.6L40.6 33.2L39.5 35.7L37.9 37.9L35.9 39.8L33.5 41.3L30.9 42.4L28.0 42.8L25.1 42.8L22.2 42.1L19.4 40.9L16.9 39.1L14.8 36.8L13.1 34.2L12.0 31.2L11.5 28.0L11.6 24.7L12.4 21.5L13.8 18.5L15.8 15.8L18.3 13.4L21.2 11.6L24.5 10.4L28.0 9.9L31.6 10.0L35.1 10.9L38.4 12.4L41.4 14.6L43.9 17.3L45.9 20.6L47.2 24.2L47.8 28.0'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  /* The same nine squares lit up: indigo drawings on gold */
  --adire-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='504' height='56'%3E%3Crect width='504' height='56' fill='%23E0A526'/%3E%3Cg fill='none' stroke='%231F2A5A' stroke-width='2' stroke-opacity='0.5' fill-opacity='0.5'%3E%3Cpath d='M0 1H504M0 55H504M0 0V56M56 0V56M112 0V56M168 0V56M224 0V56M280 0V56M336 0V56M392 0V56M448 0V56'/%3E%3Cg transform='translate%280 0%29'%3E%3Ccircle cx='28' cy='28' r='20'/%3E%3Ccircle cx='28' cy='28' r='13'/%3E%3Ccircle cx='28' cy='28' r='6'/%3E%3C/g%3E%3Cg transform='translate%2856 0%29'%3E%3Cpath d='M6 22L22 6M6 34L34 6M6 46L46 6M10 50L50 10M22 50L50 22M34 50L50 34'/%3E%3C/g%3E%3Cg transform='translate%28112 0%29'%3E%3Cpath d='M6 18l8-8 8 8 8-8 8 8 8-8M6 32l8-8 8 8 8-8 8 8 8-8M6 46l8-8 8 8 8-8 8 8 8-8'/%3E%3C/g%3E%3Cg transform='translate%28168 0%29'%3E%3Cpath d='M6 18q5.5-8 11 0t11 0 11 0 11 0M6 30q5.5-8 11 0t11 0 11 0 11 0M6 42q5.5-8 11 0t11 0 11 0 11 0'/%3E%3C/g%3E%3Cg transform='translate%28224 0%29'%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%280 28 28%29'/%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%2890 28 28%29'/%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%28180 28 28%29'/%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%28270 28 28%29'/%3E%3Ccircle cx='28' cy='28' r='3' fill='%231F2A5A' stroke='none'/%3E%3C/g%3E%3Cg transform='translate%28280 0%29'%3E%3Ccircle cx='10' cy='10' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='10' cy='22' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='10' cy='34' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='10' cy='46' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='22' cy='10' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='22' cy='22' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='22' cy='34' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='22' cy='46' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='34' cy='10' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='34' cy='22' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='34' cy='34' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='34' cy='46' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='46' cy='10' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='46' cy='22' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='46' cy='34' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3Ccircle cx='46' cy='46' r='2.5' fill='%231F2A5A' stroke='none'/%3E%3C/g%3E%3Cg transform='translate%28336 0%29'%3E%3Cpath d='M9 9L47 47M47 9L9 47'/%3E%3Crect x='22' y='22' width='12' height='12'/%3E%3C/g%3E%3Cg transform='translate%28392 0%29'%3E%3Crect x='8' y='8' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='8' y='28' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='18' y='18' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='18' y='38' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='28' y='8' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='28' y='28' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='38' y='18' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3Crect x='38' y='38' width='10' height='10' fill='%231F2A5A' stroke='none'/%3E%3C/g%3E%3Cg transform='translate%28448 0%29'%3E%3Cpath d='M28.0 28.0L28.2 28.0L28.4 28.2L28.5 28.3L28.6 28.6L28.6 28.9L28.5 29.1L28.3 29.4L28.0 29.6L27.6 29.8L27.2 29.9L26.7 29.9L26.3 29.7L25.8 29.5L25.3 29.1L25.0 28.6L24.7 28.0L24.6 27.3L24.6 26.6L24.7 25.8L25.1 25.1L25.6 24.4L26.3 23.8L27.1 23.3L28.0 23.1L29.0 22.9L30.1 23.0L31.1 23.4L32.1 23.9L33.0 24.7L33.7 25.6L34.3 26.8L34.6 28.0L34.7 29.3L34.5 30.7L34.0 32.0L33.2 33.2L32.2 34.3L31.0 35.2L29.6 35.9L28.0 36.2L26.4 36.3L24.7 36.0L23.1 35.4L21.6 34.4L20.3 33.2L19.2 31.6L18.5 29.9L18.1 28.0L18.1 26.0L18.5 24.1L19.3 22.2L20.4 20.4L21.9 18.9L23.7 17.7L25.8 16.9L28.0 16.5L30.3 16.5L32.6 17.0L34.8 17.9L36.7 19.3L38.5 21.0L39.8 23.1L40.7 25.5L41.2 28.0L41.1 30.6L40.6 33.2L39.5 35.7L37.9 37.9L35.9 39.8L33.5 41.3L30.9 42.4L28.0 42.8L25.1 42.8L22.2 42.1L19.4 40.9L16.9 39.1L14.8 36.8L13.1 34.2L12.0 31.2L11.5 28.0L11.6 24.7L12.4 21.5L13.8 18.5L15.8 15.8L18.3 13.4L21.2 11.6L24.5 10.4L28.0 9.9L31.6 10.0L35.1 10.9L38.4 12.4L41.4 14.6L43.9 17.3L45.9 20.6L47.2 24.2L47.8 28.0'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  /* The same nine squares in one row, for the edge of the Sponsor band */
  --adire-strip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='504' height='56'%3E%3Crect width='504' height='56' fill='%231F2A5A'/%3E%3Cg fill='none' stroke='%23F7F3E8' stroke-width='2' stroke-opacity='0.45' fill-opacity='0.45'%3E%3Cpath d='M0 1H504M0 55H504M0 0V56M56 0V56M112 0V56M168 0V56M224 0V56M280 0V56M336 0V56M392 0V56M448 0V56'/%3E%3Cg transform='translate%280 0%29'%3E%3Ccircle cx='28' cy='28' r='20'/%3E%3Ccircle cx='28' cy='28' r='13'/%3E%3Ccircle cx='28' cy='28' r='6'/%3E%3C/g%3E%3Cg transform='translate%2856 0%29'%3E%3Cpath d='M6 22L22 6M6 34L34 6M6 46L46 6M10 50L50 10M22 50L50 22M34 50L50 34'/%3E%3C/g%3E%3Cg transform='translate%28112 0%29'%3E%3Cpath d='M6 18l8-8 8 8 8-8 8 8 8-8M6 32l8-8 8 8 8-8 8 8 8-8M6 46l8-8 8 8 8-8 8 8 8-8'/%3E%3C/g%3E%3Cg transform='translate%28168 0%29'%3E%3Cpath d='M6 18q5.5-8 11 0t11 0 11 0 11 0M6 30q5.5-8 11 0t11 0 11 0 11 0M6 42q5.5-8 11 0t11 0 11 0 11 0'/%3E%3C/g%3E%3Cg transform='translate%28224 0%29'%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%280 28 28%29'/%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%2890 28 28%29'/%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%28180 28 28%29'/%3E%3Cpath d='M28 28Q35 18 28 8Q21 18 28 28' transform='rotate%28270 28 28%29'/%3E%3Ccircle cx='28' cy='28' r='3' fill='%23F7F3E8' stroke='none'/%3E%3C/g%3E%3Cg transform='translate%28280 0%29'%3E%3Ccircle cx='10' cy='10' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='10' cy='22' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='10' cy='34' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='10' cy='46' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='22' cy='10' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='22' cy='22' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='22' cy='34' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='22' cy='46' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='34' cy='10' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='34' cy='22' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='34' cy='34' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='34' cy='46' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='46' cy='10' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='46' cy='22' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='46' cy='34' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3Ccircle cx='46' cy='46' r='2.5' fill='%23F7F3E8' stroke='none'/%3E%3C/g%3E%3Cg transform='translate%28336 0%29'%3E%3Cpath d='M9 9L47 47M47 9L9 47'/%3E%3Crect x='22' y='22' width='12' height='12'/%3E%3C/g%3E%3Cg transform='translate%28392 0%29'%3E%3Crect x='8' y='8' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='8' y='28' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='18' y='18' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='18' y='38' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='28' y='8' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='28' y='28' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='38' y='18' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3Crect x='38' y='38' width='10' height='10' fill='%23F7F3E8' stroke='none'/%3E%3C/g%3E%3Cg transform='translate%28448 0%29'%3E%3Cpath d='M28.0 28.0L28.2 28.0L28.4 28.2L28.5 28.3L28.6 28.6L28.6 28.9L28.5 29.1L28.3 29.4L28.0 29.6L27.6 29.8L27.2 29.9L26.7 29.9L26.3 29.7L25.8 29.5L25.3 29.1L25.0 28.6L24.7 28.0L24.6 27.3L24.6 26.6L24.7 25.8L25.1 25.1L25.6 24.4L26.3 23.8L27.1 23.3L28.0 23.1L29.0 22.9L30.1 23.0L31.1 23.4L32.1 23.9L33.0 24.7L33.7 25.6L34.3 26.8L34.6 28.0L34.7 29.3L34.5 30.7L34.0 32.0L33.2 33.2L32.2 34.3L31.0 35.2L29.6 35.9L28.0 36.2L26.4 36.3L24.7 36.0L23.1 35.4L21.6 34.4L20.3 33.2L19.2 31.6L18.5 29.9L18.1 28.0L18.1 26.0L18.5 24.1L19.3 22.2L20.4 20.4L21.9 18.9L23.7 17.7L25.8 16.9L28.0 16.5L30.3 16.5L32.6 17.0L34.8 17.9L36.7 19.3L38.5 21.0L39.8 23.1L40.7 25.5L41.2 28.0L41.1 30.6L40.6 33.2L39.5 35.7L37.9 37.9L35.9 39.8L33.5 41.3L30.9 42.4L28.0 42.8L25.1 42.8L22.2 42.1L19.4 40.9L16.9 39.1L14.8 36.8L13.1 34.2L12.0 31.2L11.5 28.0L11.6 24.7L12.4 21.5L13.8 18.5L15.8 15.8L18.3 13.4L21.2 11.6L24.5 10.4L28.0 9.9L31.6 10.0L35.1 10.9L38.4 12.4L41.4 14.6L43.9 17.3L45.9 20.6L47.2 24.2L47.8 28.0'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* How much blue: her pick from the choices page.
   The default below is "some"; <body data-blue="little"> or "lots" overrides it. */
body {
  --header-bg: var(--indigo-deep);
  --header-ink: var(--cream);
  --header-line: transparent;
  --hero-bg: var(--tint);
  --hero-ink: var(--indigo-deep);
  --hero-muted: var(--slate);
  --hero-eyebrow: var(--slate);
  --hero-outline: var(--indigo-deep);
  --band-bg: var(--indigo-deep);
  --band-ink: var(--cream);
  --band-muted: var(--mist);
  --band-amount: var(--gold);
  --photo-bg: var(--indigo-deep);
}
body[data-blue="lots"] {
  --hero-bg: var(--indigo-deep);
  --hero-ink: var(--cream);
  --hero-muted: var(--mist);
  --hero-eyebrow: var(--mist);
  --hero-outline: var(--cream);
  --photo-bg: var(--indigo-night);
}
body[data-blue="little"] {
  --header-bg: var(--paper);
  --header-ink: var(--indigo-deep);
  --header-line: var(--line);
  --band-bg: var(--cream);
  --band-ink: var(--indigo-deep);
  --band-muted: var(--slate);
  --band-amount: var(--indigo-deep); /* gold text on a light ground is only 2.2:1 */
}
body[data-warm] { --photo-bg: var(--terracotta); }
body[data-warm]:not([data-blue="lots"]) {
  --hero-eyebrow: var(--terracotta); /* 5.1:1 on paper; too dark on indigo, so not with "lots" */
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--indigo-deep);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
@media (max-width: 639px) { body { line-height: 1.5; } }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
h1 { line-height: 1.1; }
h2 { font-size: var(--step-section); line-height: 1.15; }
h3 { font-size: var(--step-item); font-weight: 700; line-height: 1.3; }
p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
a { color: var(--indigo-mid); text-underline-offset: 0.18em; }
/* Two-tone ring: the gold shows on indigo, the indigo shows on light grounds */
:focus-visible { outline: 3px solid var(--indigo-deep); outline-offset: 3px; box-shadow: 0 0 0 3px var(--gold); }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 10;
  background: var(--gold); color: var(--indigo-deep); font-weight: 700;
  padding: 12px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }
.hide-narrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Layout helpers */
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-cream { background: var(--cream); }
.section-sand { background: var(--sand); }
.section-tint { background: var(--tint); }
.section-title { max-width: 22em; }
.muted { color: var(--slate); }

/* Buttons: links that look like buttons go somewhere; real <button>s do something */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: 1.0625rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.button:active { transform: translateY(1px); }
.button-small { min-height: 44px; padding: 8px 16px; font-size: 0.9375rem; }
.button-gold { background: var(--gold); color: var(--indigo-deep); }
.button-gold:hover { filter: brightness(1.06); }
.button-indigo { background: var(--indigo-deep); color: var(--cream); }
.button-indigo:hover { background: var(--indigo-mid); }
.button-outline { color: var(--hero-outline); border-color: currentColor; }

/* Header */
.site-header { background: var(--header-bg); color: var(--header-ink); border-bottom: 1px solid var(--header-line); }
.header-inner {
  max-width: var(--max); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  /* the menu icon has 12px of its own space, so pull the button in to line the icon up with the gutter */
  padding: 14px var(--gutter) 14px max(4px, calc(var(--gutter) - 12px));
}
.menu-button {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: none; border: 0; border-radius: var(--radius); color: inherit; cursor: pointer;
}
.logo { display: flex; align-items: center; gap: 8px; color: inherit; }
.logo .logo-symbol { width: 44px; height: 44px; }
.logo .logo-wordmark { width: 111px; height: 36px; }
.header-cta { margin-left: auto; }
.site-nav { flex-basis: 100%; order: 3; }
.site-nav ul { display: grid; padding-block: 6px 10px; }
.site-nav a {
  display: block; padding: 12px; color: inherit; font-weight: 700; text-decoration: none;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
/* The header, with its Sponsor button, stays at the top while you scroll, and links land below it */
.site-header { position: sticky; top: 0; z-index: 25; }
html { scroll-padding-top: 96px; }
/* Without JavaScript the menu stays open, so nobody is locked out of it */
.js .site-nav { display: none; }
.js .site-header.is-open .site-nav { display: block; }

@media (min-width: 900px) {
  .header-inner { padding: 18px var(--gutter); gap: 28px; flex-wrap: nowrap; }
  .menu-button { display: none; }
  .js .site-nav, .site-nav { display: block; flex-basis: auto; order: 0; margin-left: auto; }
  .site-nav ul { display: flex; gap: 28px; padding: 0; }
  .site-nav a { padding: 8px 0; border: 0; font-size: var(--step-small); }
  .site-nav a:hover { text-decoration: underline; }
  .header-cta { margin-left: 0; }
  .hide-narrow { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
}

/* Photo slots: an indigo adire panel until a real photo with consent replaces it */
.photo-slot {
  display: flex; align-items: flex-end; padding: 14px;
  min-height: 160px; border-radius: var(--radius);
  background: var(--photo-bg) var(--adire) center / 168px;
  outline: 1px solid color-mix(in srgb, var(--indigo-mid) 60%, transparent); outline-offset: -1px;
}
.photo-slot span {
  background: var(--indigo-night); color: var(--mist);
  font-size: 0.9375rem; font-weight: 700; line-height: 1.3;
  padding: 6px 10px; border-radius: var(--radius);
}

/* Hero: text and one photo, side by side from 900px */
.hero { background: var(--hero-bg); color: var(--hero-ink); }
.hero-inner { display: grid; gap: 40px; padding-block: 40px 64px; }
.hero-text { display: grid; gap: 22px; align-content: center; }
.eyebrow { font-size: var(--step-eyebrow); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hero-eyebrow); }
.hero h1 { font-size: var(--step-display); }
.lead { font-size: var(--step-lead); color: var(--hero-muted); max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 6px; }
.hero-photo { --frame: 20px; display: none; aspect-ratio: 4 / 3; }
/* the photo sits in a cloth frame, one row of small squares.
   "round" stretches the tile so whole squares fit each edge */
.hero-photo {
  padding: var(--frame); border-radius: var(--radius);
  background: var(--photo-bg) var(--adire) 0 0 / calc(var(--frame) * 3) round;
}
.hero-photo > * { border-radius: 2px; }
.hero-photo .photo-slot { background: var(--sand); outline: 0; }
/* the night sky inside the cloth: a soft indigo glow, gold stars, and the child from the logo in cream */
.hero-photo .hero-sky { padding: 0; overflow: hidden; background: radial-gradient(circle at 70% 30%, #2B3A78, var(--indigo-night) 70%); }
.hero-sky svg { display: block; width: 100%; height: 100%; }
.hero-sky .sky-child { color: var(--cream); }
/* until a photo arrives, the logo sits on the sand mount inside the cloth */
.hero-mark { align-items: center; justify-content: center; }
.hero-mark svg { width: 48%; aspect-ratio: 154 / 152; color: var(--indigo-deep); }

/* a hand-drawn gold line under the promise */
.mark { position: relative; white-space: nowrap; }
.mark-line {
  display: block; position: absolute; left: -1%; bottom: -0.22em; width: 102%; height: 0.3em;
  overflow: visible; fill: none; stroke: var(--gold); stroke-linecap: round;
}
.mark-line path { stroke-width: 5px; vector-effect: non-scaling-stroke; }
.mark-line path + path { stroke-width: 3px; }
/* It draws itself whenever the headline comes into view (main.js adds .is-in) */
@media (prefers-reduced-motion: no-preference) {
  .js .mark-line path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .mark.is-in .mark-line path { animation: draw 0.8s ease-out 0.5s forwards; }
  .mark.is-in .mark-line path + path { animation-duration: 0.5s; animation-delay: 1.2s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; padding-block: 72px 96px; }
  .hero-photo { --frame: 28px; display: grid; aspect-ratio: 4 / 5; }
}

/* What Chayil means: one narrow column. The heading is set bold in the body font, the foundation's own voice (24 Oct feedback) */
/* Narrow the content, not the container, so every section keeps the same left edge */
.about-text { display: grid; gap: 14px; max-width: 46rem; }
.about h2 { font-family: var(--font); font-weight: 800; font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.2; letter-spacing: -0.01em; }
.say { color: var(--slate); font-weight: 400; }

/* One sourced fact, straight after the headline: a big gold number on indigo */
.fact { background: var(--indigo-deep); color: var(--cream); padding-block: 36px; }
.fact-inner { display: grid; gap: 8px; align-items: center; }
.fact-number { font-family: var(--font-display); font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem); line-height: 1; color: var(--gold); }
.fact-text { color: var(--mist); max-width: 46rem; }
.fact-text a { display: inline-block; margin-left: 6px; color: var(--cream); font-size: var(--step-small); }
@media (min-width: 900px) { .fact-inner { grid-template-columns: auto minmax(0, 1fr); column-gap: 40px; } }

/* The founder's note: her words in italics, set off by a gold rule */
.founder-note { margin: 12px 0 0; padding-left: 20px; border-left: 3px solid var(--gold); }
.founder-note blockquote { margin: 0; }
.founder-note p { font-family: var(--font-display); font-style: italic; font-size: 1.1875rem; line-height: 1.55; }
.founder-note figcaption { margin-top: 10px; color: var(--slate); font-size: var(--step-small); font-weight: 700; }
@media (min-width: 900px) {
  .about-text { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; max-width: none; align-items: start; }
  .about-text > p { padding-top: 6px; }
  .founder-note { grid-column: 2; }
}

/* Everything a child needs: one heading to tap, with a + that turns into a −, opening a plain list */
.needs { border-block: 1px solid var(--line); }
.needs summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px; cursor: pointer; list-style: none;
}
.needs summary::-webkit-details-marker { display: none; }
.needs summary h2 { font-size: var(--step-item); font-family: var(--font); font-weight: 700; }
.needs summary::after { content: "+"; font-size: 1.75rem; line-height: 1; color: var(--indigo-mid); }
.needs[open] summary::after { content: "−"; }
.needs-list { display: grid; gap: 10px; padding: 0 0 20px; }
.needs-list li { display: flex; align-items: center; gap: 12px; }
/* each need has a square of the cloth, one drawing from the strip (--m picks it), like the school years */
.needs-icon {
  flex: none; width: 32px; aspect-ratio: 1; border-radius: 3px;
  background: var(--adire-strip) calc(var(--m) / 8 * 100%) 0 / 900% 100%;
}
/* Laptops: the heading reads as a section title, and the needs sit in a row of five tiles, nothing to tap */
@media (min-width: 900px) {
  .needs { border: 0; }
  .needs summary { pointer-events: none; padding-block: 0 28px; }
  .needs summary::after, .needs[open] summary::after { content: none; }
  .needs summary h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--step-section); }
  .needs-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding: 0; }
  .needs-list li {
    flex-direction: column; justify-content: flex-start; gap: 16px; padding: 28px 16px 24px;
    background: var(--cream); border-radius: var(--radius); text-align: center; font-weight: 700; line-height: 1.3;
  }
  .needs-icon { width: 72px; }
}
/* "How we support a child" in bold, as Seun asked */
.how-title { margin-top: 72px; font-family: var(--font); font-weight: 800; font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.2; }

/* How it works: a timeline, down the page on phones and across from 900px */
.timeline { display: grid; gap: 24px; margin-top: 40px; }
.timeline li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
.step-num {
  grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--indigo-deep); color: var(--cream); font-weight: 800;
}
.timeline li::before { content: ""; position: absolute; left: 21px; top: 52px; bottom: -20px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
/* On phones a gold line runs down the steps as you scroll (main.js sets --p on each step from 0 to 1) */
.timeline li::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: -20px; width: 2px; background: var(--gold); transform-origin: top; transform: scaleY(var(--p, 0)); }
.timeline li:last-child::after { display: none; }
.timeline p { color: var(--slate); font-size: 1.0625rem; }
.step-num { position: relative; z-index: 1; }
/* The last step points onward: university, a trade or a job */
.step-next { background: var(--gold); color: var(--indigo-deep); }
.step-next svg { width: 22px; height: 22px; }
@media (min-width: 900px) {
  .timeline { --gap: 24px; position: relative; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
  .timeline li { grid-template-columns: minmax(0, 1fr); row-gap: 10px; align-content: start; }
  .step-num { grid-row: auto; }
  /* the steps climb, like the child reaching for the star in the logo */
  .timeline { --rise: 22px; }
  .timeline li:nth-child(1) { margin-top: calc(var(--rise) * 5); }
  .timeline li:nth-child(2) { margin-top: calc(var(--rise) * 4); }
  .timeline li:nth-child(3) { margin-top: calc(var(--rise) * 3); }
  .timeline li:nth-child(4) { margin-top: calc(var(--rise) * 2); }
  .timeline li:nth-child(5) { margin-top: var(--rise); }
  /* One straight line through every step's centre, from the first circle up to the last;
     the gold copy on top is uncovered from the left as you scroll (main.js sets --tl from 0 to 1) */
  .timeline li::before, .timeline li::after { display: none; }
  .timeline::before, .timeline::after {
    content: ""; position: absolute; top: 22px; left: 22px; height: calc(var(--rise) * 5);
    right: calc((100% - 5 * var(--gap)) / 6 - 22px);
    background: linear-gradient(to bottom right, transparent calc(50% - 1px), var(--line) 0 calc(50% + 1px), transparent 0);
  }
  .timeline::after {
    background: linear-gradient(to bottom right, transparent calc(50% - 1.5px), var(--gold) 0 calc(50% + 1.5px), transparent 0);
    clip-path: inset(0 calc((1 - var(--tl, 0)) * 100%) 0 0);
  }
}

/* twelve school years as squares of cloth. Each square shows one of the nine drawings
   (--m picks it from the strip) and is dyed indigo, one after another, when the row scrolls into view */
.journey { display: grid; gap: 6px; margin-top: 72px; }
.journey > p { color: var(--slate); }
/* Stages: Primary takes a full row on phones, then Junior and Senior secondary side by side,
   so every square is the same size. One row of 6 + 3 + 3 squares and Next from 900px */
.journey-years { --gap: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px var(--gap); margin-top: 20px; position: relative; }
.stage { display: grid; gap: 8px; align-content: start; }
.stage:first-of-type { grid-column: 1 / -1; }
.stage-years { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--gap); }
.stage-years li { display: grid; gap: 4px; justify-items: center; font-size: 0.875rem; font-weight: 700; color: var(--slate); }
.age { font-size: 0.75rem; font-weight: 400; }
.stage-name { border-top: 2px solid var(--line); padding-top: 6px; font-size: 0.875rem; font-weight: 700; color: var(--indigo-deep); }
.exam { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--slate); }
.exam svg { width: 14px; height: 14px; flex: none; color: var(--gold); }
/* Next sits on its own row on phones, the size of one square */
.stage-next { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 700; color: var(--indigo-deep); }
.stage-next .next { width: calc((100% - 5 * var(--gap)) / 6); }
.sq {
  position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 3px;
  background: var(--cream) var(--adire-undyed) calc(var(--m) / 8 * 100%) 0 / 900% 100%;
}
.sq::after {
  content: ""; position: absolute; inset: 0;
  background: var(--adire-strip) calc(var(--m) / 8 * 100%) 0 / 900% 100%;
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s ease calc(var(--i) * 110ms);
}
.journey.is-in .sq::after, .no-js .journey .sq::after { transform: none; }
.next { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); color: var(--indigo-deep); }
.next svg { width: 55%; height: 55%; }
@media (min-width: 900px) {
  /* fr shares match the square counts, so squares stay (nearly) equal across stages */
  .journey-years { --gap: 8px; grid-template-columns: 6fr 3fr 3fr 1fr; }
  .stage:first-of-type { grid-column: auto; }
  .stage-next { grid-column: auto; display: grid; justify-items: center; align-content: start; gap: 6px; }
  .stage-next .next { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sq::after { transition: none; } }

/* The child from the logo walks along the top of the squares while they are dyed, and stops above Next.
   Wide screens only: on phones the stages wrap onto two rows */
.climber { display: none; }
@media (min-width: 900px) {
  .journey-years:has(.climber) { padding-top: 52px; }
  .climber {
    --w: 40px;
    display: block; position: absolute; top: 2px; left: 0; width: var(--w); color: var(--indigo-deep);
    transition: left 1.9s ease-in-out;
  }
  .climber svg { display: block; width: 100%; aspect-ratio: 82 / 100; }
  /* centred over the Next circle: the last 1fr of 13, after three 8px gaps */
  .journey.is-in .climber, .no-js .climber { left: calc(100% - (100% - 3 * var(--gap)) / 26 - var(--w) / 2); }
  @media (prefers-reduced-motion: no-preference) {
    .journey.is-in .climber svg { animation: hop 0.32s ease-in-out 6; }
  }
  @media (prefers-reduced-motion: reduce) { .climber { transition: none; } }
}
@keyframes hop { 50% { transform: translateY(-8px); } }

/* Gallery: one large photo with three around it */
.mosaic { display: grid; gap: 12px; margin-top: 32px; grid-auto-rows: clamp(150px, 24vw, 230px); }
.note { margin-top: 16px; max-width: 40em; color: var(--slate); font-size: var(--step-small); }
@media (min-width: 480px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic > :first-child, .mosaic > :nth-child(4) { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .mosaic { grid-template-columns: 2fr 1fr 1fr; }
  .mosaic > :first-child { grid-column: auto; grid-row: span 2; }
  .mosaic > :nth-child(4) { grid-column: 2 / span 2; }
}

/* What comes next */
.plan { display: grid; gap: 32px; }
.plan > * { max-width: 52rem; }
.plan > div { display: grid; gap: 14px; }
.plan-rows { display: grid; gap: 18px; padding-top: 22px; border-top: 2px solid var(--indigo-deep); }
.plan-rows div { display: grid; gap: 4px; }
@media (min-width: 640px) { .plan-rows div { grid-template-columns: 10rem minmax(0, 1fr); gap: 16px; } }
.plan-rows dt { font-weight: 800; }
.plan-rows dd { color: var(--slate); }

/* Sponsor a school year: what a gift covers, the bank details in gold, then the calculator */
/* The band opens with a strip of the cloth */
.band {
  background: var(--adire-strip) top left / 504px 56px repeat-x, var(--band-bg); color: var(--band-ink);
  padding-top: calc(var(--section-y) + 56px);
}
.sponsor { display: grid; gap: 40px; }
.sponsor-intro { display: grid; gap: 12px; align-content: start; }
.sponsor-intro p { color: var(--band-muted); max-width: 40em; }
/* Big, gold and first (24 Oct call) */
.bank {
  display: grid; gap: 24px; align-content: start; padding: clamp(24px, 4vw, 36px);
  background: var(--gold); color: var(--indigo-deep); border-radius: var(--radius);
}
.bank h3 { font-size: 1.625rem; font-weight: 800; }
.details { display: grid; gap: 16px; }
.details dt { font-size: var(--step-small); }
.details dd { font-size: 1.125rem; font-weight: 800; }
.account { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.account-number { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; user-select: all; }
.bank-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 20px; border-top: 1px solid rgb(31 42 90 / 0.25); }
.bank-more a:not(.button) { color: var(--indigo-deep); font-weight: 700; }
.bank .button[aria-disabled="true"] { cursor: default; }

/* the calculator: any amount and roughly what it covers, or children and time and roughly what it costs */
.calc { display: grid; gap: 18px; align-content: start; }
.calc h3 { font-size: 1.5rem; }
.calc-modes { display: inline-flex; justify-self: start; border: 2px solid currentColor; border-radius: var(--radius); }
.calc-modes button { min-height: 44px; padding: 8px 16px; background: none; border: 0; color: inherit; font: inherit; font-size: var(--step-small); font-weight: 700; cursor: pointer; }
.calc-modes button[aria-pressed="true"] { background: var(--cream); color: var(--indigo-deep); }
.calc-panel { display: grid; gap: 14px; }
.calc-label { font-weight: 700; }
.amount-field {
  display: flex; align-items: center; max-width: 18rem;
  background: var(--paper); color: var(--indigo-deep); border: 2px solid var(--field-border); border-radius: var(--radius);
}
.amount-field:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.amount-field span { padding-left: 14px; font-size: 1.375rem; font-weight: 800; }
.amount-field input { min-height: 52px; padding-left: 6px; border: 0; background: none; font-size: 1.375rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.amount-field input:focus-visible { outline: 0; box-shadow: none; }
.amount-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.amount-picks button {
  min-height: 44px; padding: 6px 12px; background: none; color: inherit; cursor: pointer;
  border: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: var(--radius);
  font: inherit; font-size: var(--step-small); font-weight: 700;
}
.amount-picks button:hover { border-color: currentColor; }
.calc .calc-reach { color: var(--band-amount); font-size: 1.375rem; font-weight: 800; line-height: 1.3; }
/* The bar is one child's school year: it fills as the gift grows, coloured by what the money goes to */
.split { height: 14px; overflow: hidden; border-radius: var(--radius); background: color-mix(in srgb, currentColor 15%, transparent); }
.split-fill { display: flex; height: 100%; width: calc(var(--reach, 0) * 100%); transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.split-legend { display: grid; gap: 6px; font-size: var(--step-small); }
.split-legend li { display: flex; align-items: center; gap: 10px; }
.split-legend i { flex: none; width: 12px; height: 12px; border-radius: 3px; }
.split-legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
.calc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-weight: 700; }
.stepper { display: inline-flex; align-items: center; border: 2px solid currentColor; border-radius: var(--radius); }
.stepper button { width: 44px; height: 44px; background: none; border: 0; color: inherit; font: inherit; font-size: 1.375rem; cursor: pointer; }
.stepper output { min-width: 2ch; text-align: center; font-size: 1.25rem; font-weight: 800; }
.calc select { width: auto; }
.calc .calc-total { color: var(--band-amount); font-size: 2.25rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc .calc-note { color: var(--band-muted); font-size: var(--step-small); }
.calc .calc-small { color: var(--band-muted); font-size: 0.875rem; }
/* the twelve school years light up gold as the gift grows.
   main.js sets --fill on each square: a term lights a third of the first year */
.calc-journey { display: grid; gap: 8px; }
.calc-years { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 4px; align-items: center; }
.calc-years .sq {
  background: var(--adire-strip) calc(var(--m) / 8 * 100%) 0 / 900% 100%;
  outline: 1px solid color-mix(in srgb, currentColor 35%, transparent); outline-offset: -1px;
}
.calc-years .sq::after { background-image: var(--adire-gold); transform: scaleY(var(--fill, 0)); transition-delay: calc(var(--i) * 60ms); }
.calc-years .next { background: color-mix(in srgb, currentColor 25%, transparent); color: var(--band-bg); transition: background-color 0.3s ease 0.7s; }
.calc-years.is-full .next { background: var(--gold); color: var(--indigo-deep); }
.calc .calc-years-note { font-size: var(--step-small); font-weight: 700; color: var(--band-ink); }
@media (prefers-reduced-motion: no-preference) {
  .calc-years.is-full .next { animation: pop 0.5s ease 0.8s both; }
}
@media (min-width: 900px) {
  .sponsor { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; }
  .sponsor-intro { grid-column: 1 / -1; }
}

/* How giving works: three numbered steps beside the bank card */
.give-steps { display: grid; gap: 24px; align-content: start; }
.give-steps h3 { font-size: 1.625rem; font-weight: 800; }
.give-steps ol { display: grid; gap: 24px; counter-reset: step; }
.give-steps li { counter-increment: step; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
.give-steps li > * { grid-column: 2; }
.give-steps li::before {
  content: counter(step); grid-column: 1; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--indigo-deep); font-weight: 800;
}
.give-steps h4 { margin: 0; font-size: var(--step-item); padding-top: 8px; }
.give-steps p { color: var(--band-muted); }
.give-steps a { color: var(--band-ink); }
@media (min-width: 900px) { .give-steps { padding-top: clamp(24px, 4vw, 36px); } }

/* Questions people ask: tap a question to open its answer. The heading sits beside the list on laptops */
.faq { display: grid; gap: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: 1.75rem; line-height: 1; color: var(--indigo-mid); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { padding-bottom: 20px; color: var(--slate); max-width: 40em; }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; } }

/* Schools and partners: a slow strip of logos that loops.
   It stops under the pointer, and stays still for people who ask for less motion */
.marquee {
  margin-top: 32px; overflow: hidden;
  -webkit-mask: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track ul { display: flex; gap: 16px; padding-right: 16px; }
.marquee li {
  display: grid; place-items: center; width: 180px; height: 84px;
  background: var(--paper); border: 1px dashed var(--field-border); border-radius: var(--radius);
  color: var(--slate); font-size: var(--step-small); font-weight: 700;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* Work with us, contact details and the form */
.involved { display: grid; gap: 48px; align-items: start; }
.involved-text { display: grid; gap: 28px; }
.ways { display: grid; gap: 12px; }
.ways a { color: var(--indigo-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.ways a::after { content: " →"; color: var(--indigo-mid); }
/* Seun's line closes the page, as a quotation under the form */
.closing { margin: 64px auto 0; max-width: 36rem; text-align: center; }
.closing p {
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.25;
}
.closing::before { content: "“"; display: block; font-family: var(--font-display); font-size: 4rem; line-height: 0.6; color: var(--gold); }
.contact-details { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-details dt { color: var(--slate); }
.contact-details dd { font-weight: 700; overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.contact-form {
  display: grid; gap: 18px; padding: clamp(24px, 4vw, 32px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-form h3 { font-size: 1.5rem; font-weight: 800; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--step-small); font-weight: 700; }
.optional { font-weight: 400; color: var(--slate); }
/* 16px or more stops iPhones zooming in when a field is tapped */
input, select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; font-size: 1.0625rem; color: var(--indigo-deep);
  background: var(--paper); border: 2px solid var(--field-border); border-radius: var(--radius);
}
textarea { min-height: 128px; resize: vertical; }
.contact-form .button { justify-self: start; }
.botcheck { display: none; }
.form-privacy, .form-status { color: var(--slate); font-size: var(--step-small); }
.form-status:empty { display: none; }
@media (min-width: 900px) { .involved { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Motion and small touches */

/* Things arrive as they scroll into view, each kind in its own way.
   main.js marks them .reveal, numbers neighbours in --d so they follow one another, and adds .is-in in view */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), -webkit-mask-position 1s ease, mask-position 1s ease;
    transition-delay: calc(var(--d, 0) * 110ms);
  }
  /* Text and lists rise */
  .reveal:not(.is-in) { opacity: 0; transform: translateY(32px); }
  /* The top of the page rises without fading, so the headline shows from the first frame (it is what loading speed is measured by) */
  .hero .reveal:not(.is-in) { opacity: 1; transform: translateY(16px); }
  /* Headings are uncovered from the left with a soft edge: a half-solid mask slides across.
     (Not clip-path: Chrome then counts the heading as off-screen and never reveals it) */
  h2.reveal {
    -webkit-mask: linear-gradient(to right, #000 45%, transparent 55%) 0 0 / 220% 100% no-repeat;
    mask: linear-gradient(to right, #000 45%, transparent 55%) 0 0 / 220% 100% no-repeat;
  }
  h2.reveal:not(.is-in) { opacity: 1; transform: none; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  /* Photos settle in from slightly smaller */
  .hero-photo.reveal:not(.is-in), .mosaic > .reveal:not(.is-in) { transform: scale(0.94); }
  /* Step circles pop once their step has risen, and the last one nudges onward */
  .timeline li.is-in .step-num:not(.step-next) { animation: pop 0.5s ease calc(var(--d, 0) * 110ms + 0.45s) both; }
  .timeline li.is-in .step-next svg { animation: nudge 0.8s ease 1.2s 2 both; }
}
@keyframes pop { 50% { transform: scale(1.2); } }
@keyframes nudge { 50% { transform: translate(3px, -3px); } }
@keyframes twinkle {
  from { transform: scale(0) rotate(-90deg); }
  70% { transform: scale(1.25) rotate(8deg); }
  to { transform: none; }
}

/* on phones the three lines turn into a cross, and the sections drop in one by one */
.menu-button .bar { transform-box: view-box; transform-origin: 12px 12px; }
.menu-button .bar { transition: transform 0.3s ease, opacity 0.2s ease; }
.site-header.is-open .bar-1 { transform: rotate(45deg) translateY(6px); }
.site-header.is-open .bar-2 { opacity: 0; transform: scaleX(0); }
.site-header.is-open .bar-3 { transform: rotate(-45deg) translateY(-6px); }
@media (prefers-reduced-motion: no-preference) {
  .site-header.is-open .site-nav li { animation: drop-in 0.35s ease both; }
  .site-header.is-open .site-nav li:nth-child(2) { animation-delay: 0.05s; }
  .site-header.is-open .site-nav li:nth-child(3) { animation-delay: 0.1s; }
  .site-header.is-open .site-nav li:nth-child(4) { animation-delay: 0.15s; }
  .site-header.is-open .site-nav li:nth-child(5) { animation-delay: 0.2s; }
}
@keyframes drop-in { from { opacity: 0; transform: translateY(-10px); } }

/* buttons lift under the pointer and press in when tapped; the gold ones show the star;
   desktop menu links underline with a sweep. Hover effects only where there is a real pointer */
.button { transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.button:active { transform: scale(0.97); box-shadow: none; }
.button-gold::after {
  content: ""; width: 0; height: 15px; margin-left: 0; background: currentColor;
  -webkit-mask: var(--star-mask) center / contain no-repeat; mask: var(--star-mask) center / contain no-repeat;
  transform: rotate(-90deg) scale(0.4); transition: width 0.25s ease, margin 0.25s ease, transform 0.45s ease;
}
@media (hover: hover) {
  .button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgb(22 32 71 / 0.18); }
  .button-gold:hover::after { width: 15px; margin-left: 8px; transform: none; }
}
@media (min-width: 900px) {
  .site-nav a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.25s ease; }
  .site-nav a:hover { text-decoration: none; background-size: 100% 2px; }
}


/* a gold thread along the top grows as you read, with the star riding its tip.
   main.js keeps --progress between 0 and 1 */
body::before, body::after { content: ""; position: fixed; top: 0; z-index: 30; pointer-events: none; }
body::before { left: 0; width: 100%; height: 3px; background: var(--gold); transform-origin: left; transform: scaleX(var(--progress, 0)); }
body::after {
  top: -4px; left: calc(var(--progress, 0) * (100% - 16px)); width: 16px; height: 16px; background: var(--gold);
  -webkit-mask: var(--star-mask) center / contain no-repeat; mask: var(--star-mask) center / contain no-repeat;
  opacity: calc(var(--progress, 0) * 40); transform: rotate(calc(var(--progress, 0) * 720deg));
}

/* Footer */
.site-footer { background: var(--indigo-night); color: var(--cream); padding-block: 64px 40px; }
.footer-grid { display: grid; gap: 40px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.footer-about { display: grid; gap: 16px; justify-items: center; }
@media (min-width: 900px) { .footer-about { justify-items: start; } }
.footer-logo { display: inline-flex; flex-direction: column; align-items: center; gap: 7px; color: var(--cream); }
.footer-logo .logo-symbol { width: 88px; height: 87px; }
.footer-logo .logo-wordmark { width: 184px; height: 60px; }
.site-footer p { color: var(--mist); font-size: var(--step-small); }
/* phones: the links and contacts are already on the page, so only the logo, motto and bottom line show */
.footer-col { display: none; gap: 10px; font-size: var(--step-small); }
@media (min-width: 900px) { .footer-col { display: grid; } }
.footer-col .footer-heading { color: var(--cream); font-weight: 700; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 0.875rem; text-align: center; }
@media (min-width: 900px) { .site-footer .footer-bottom { text-align: left; } }

/* Simple pages: privacy policy and page not found. A light header with the logo, then one readable column */
.page-header { border-bottom: 1px solid var(--line); }
.page-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 16px; }
.page-logo { display: flex; align-items: center; gap: 12px; color: var(--indigo-deep); font-weight: 800; text-decoration: none; }
.prose { max-width: calc(44rem + 2 * var(--gutter)); padding-block: clamp(40px, 6vw, 72px); }
.prose h1 { font-size: var(--step-display); margin-bottom: 12px; }
.prose h2 { font-size: 1.625rem; margin: 40px 0 12px; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { padding-left: 1.25em; list-style: disc; }
.prose li { margin-bottom: 8px; }
.not-found { min-height: 60vh; }
.page-footer { padding-block: 32px; border-top: 1px solid var(--line); color: var(--slate); font-size: var(--step-small); }
