/*
  The Gow School: web brand tokens
  Taken from the live site (www.gow.org, src/styles/global.css), November 2026.
  Drop this file into a project and use the variables; do not repeat raw hex values.

  Fonts: copy the /fonts folder from this kit next to this file (or change the url() paths).
  All three families are SIL Open Font License; keep the OFL files with them.
*/

/* ===== Fonts (self-hosted, WOFF2) ===== */
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:300 700;font-display:swap;src:url(fonts/atkinson-hyperlegible-next-latin.woff2) format('woff2');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';font-style:normal;font-weight:300 700;font-display:swap;src:url(fonts/atkinson-hyperlegible-next-latin-ext.woff2) format('woff2');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:'Atkinson Hyperlegible';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/atkinson-hyperlegible-400-latin.woff2) format('woff2');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';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/atkinson-hyperlegible-700-latin.woff2) format('woff2');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:'Newsreader';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/newsreader-latin.woff2) format('woff2');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:'Newsreader';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/newsreader-latin-ext.woff2) format('woff2');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}
/* Size-matched fallbacks, so text does not jump when the web fonts arrive */
@font-face{font-family:'Atkinson Fallback';font-style:normal;font-weight:400;src:local('Arial'),local('ArialMT'),local('Liberation Sans');size-adjust:99%;ascent-override:99.39%;descent-override:31.92%;line-gap-override:0%}
@font-face{font-family:'Atkinson Fallback';font-style:normal;font-weight:700;src:local('Arial Bold'),local('Arial-BoldMT'),local('Liberation Sans Bold');size-adjust:98.45%;ascent-override:99.95%;descent-override:32.1%;line-gap-override:0%}
@font-face{font-family:'Newsreader Fallback';font-style:normal;font-weight:400;src:local('Times New Roman'),local('TimesNewRomanPSMT'),local('Liberation Serif');size-adjust:107.5%;ascent-override:68.37%;descent-override:24.65%;line-gap-override:0%}

:root{
  /* ----- Brand colors (official Gow palette) ----- */
  --gow-navy:#00205B;      /* Pantone 281. The institution: headings, links, nav, navy buttons */
  --gow-crimson:#A6192E;   /* Pantone 187. The action: Inquire, kickers, page heroes, footer */
  --gow-blue:#009CDE;      /* Pantone 2925. Accent: text only on navy; focus ring; stripes */
  --gow-red:#E4002B;       /* Pantone 185. Accent: markers and stripes only, never body text */
  --gow-silver:#D9E1E2;    /* Pantone 7541. Hairlines on light; body text on navy */
  --gow-white:#FFFFFF;
  --gow-black:#000000;

  /* ----- Neutrals and working shades ----- */
  --gow-ink:#121A2E;          /* body text on light backgrounds */
  --gow-muted:#4A5568;        /* captions, summaries, labels under stats */
  --gow-mist:#F4F6F6;         /* alternate section background; text color on crimson */
  --gow-rule:#D9E1E2;         /* 1px borders and dividers (same as Silver) */
  --gow-navy-deep:#00163F;    /* navy button hover only */
  --gow-crimson-deep:#8C1427; /* crimson button hover only */
  --gow-field-stroke:#8A97A6; /* form field border (see accessibility note: #6B7785 meets 3:1) */
  --gow-blush:#FBE9EC;        /* body text on a crimson band */

  /* ----- Type ----- */
  --gow-font-display:"Newsreader","Newsreader Fallback",Georgia,"Times New Roman",serif;
  --gow-font-body:"Atkinson Hyperlegible Next","Atkinson Hyperlegible","Atkinson Fallback",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --gow-fs-display:clamp(2.4rem,4.6vw,4.4rem);  /* homepage hero headline */
  --gow-fs-h1:clamp(2.6rem,5.6vw,4.6rem);       /* page hero <h1> */
  --gow-fs-h2:clamp(1.9rem,3.4vw,2.75rem);      /* section headline */
  --gow-fs-h3:1.5rem;                           /* card / sub-section title */
  --gow-fs-stat:2.5rem;                         /* big figures */
  --gow-fs-kicker:1.15rem;                      /* eyebrow above headings */
  --gow-fs-lead:1.25rem;                        /* opening paragraph */
  --gow-fs-body:1.125rem;                       /* 18px running text: the floor */
  --gow-fs-small:.98rem;                        /* summaries, captions */
  --gow-fs-label:.95rem;                        /* buttons are 1rem; nav and form labels .95rem */
  --gow-lh-body:1.6;
  --gow-lh-heading:1.12;
  --gow-weight-heading:500;  /* Newsreader */
  --gow-weight-bold:700;     /* Atkinson: labels, buttons, emphasis */
  --gow-measure:41.5em;      /* paragraph max width, about 64-70 characters */

  /* Reading-comfort hooks (keep: a future comfort mode changes these in one place) */
  --fs:var(--gow-fs-body); --lh:var(--gow-lh-body); --ls:0; --ws:0;

  /* ----- Layout and spacing ----- */
  --gow-max:1200px;          /* single centered column */
  --gow-gutter:24px;         /* 16px at 560px and below */
  --gow-gutter-phone:16px;
  --gow-space-band:128px;    /* standard band, top and bottom (88px at 860px and below) */
  --gow-space-content-top:112px;    /* 72px at 860px and below */
  --gow-space-content-bottom:128px; /* 88px at 860px and below */
  --gow-gap-columns:64px;    /* two-column splits */
  --gow-gap-cards:22px;      /* card grids */
  --gow-gap-buttons:14px;    /* button rows */
  --gow-pad-card:24px;
  --gow-sidebar:340px;       /* sidebar width, 72px from content */

  /* ----- Shape and depth ----- */
  --gow-radius-control:3px;  /* buttons, inputs */
  --gow-radius-panel:2px;    /* panels, dialogs */
  --gow-radius-pill:22px;    /* filter chips */
  --gow-photo-radius:6px;    /* standalone photos only */
  --gow-photo-shadow:0 1px 2px rgba(0,32,91,.08),0 12px 28px -16px rgba(0,32,91,.4);
  --gow-shadow-overlay:0 24px 40px -24px rgba(0,32,91,.4);   /* menus that float */
  --gow-shadow-dialog:0 24px 60px -20px rgba(0,32,91,.55);
  --gow-backdrop:rgba(0,32,91,.6);
  --gow-edge:3px;            /* colored top edge on cards */

  /* ----- Controls ----- */
  --gow-button-height:48px;
  --gow-target-min:44px;
  --gow-focus:3px solid var(--gow-blue);
  --gow-focus-offset:3px;

  /* ----- Rep stripes (from the Gow tie; keep exact colors and proportions) ----- */
  --gow-stripes-navy:linear-gradient(180deg,var(--gow-navy) 0 5px,var(--gow-blue) 5px 9px,var(--gow-navy) 9px 14px);   /* beside crimson */
  --gow-stripes:linear-gradient(180deg,var(--gow-navy) 0 5px,var(--gow-blue) 5px 9px,var(--gow-crimson) 9px 14px);
  --gow-stripes-red:linear-gradient(180deg,var(--gow-crimson) 0 5px,var(--gow-red) 5px 9px,var(--gow-crimson) 9px 14px);
  --gow-stripe-height:14px;
  --gow-stripe-fill-blue:repeating-linear-gradient(180deg,var(--gow-navy) 0 28px,var(--gow-blue) 28px 44px,var(--gow-navy) 44px 52px,var(--gow-blue) 52px 56px);
  --gow-stripe-fill-red:repeating-linear-gradient(180deg,var(--gow-crimson) 0 28px,var(--gow-red) 28px 44px,var(--gow-crimson) 44px 52px,var(--gow-red) 52px 56px);
}
