/* Not The Couch website: the one base stylesheet, linked by every page.
   Fonts, colours, the page basics, and the header and footer that
   website/build/common.py writes into every page (HEADER and FOOTER).
   Each page's own styles come after this (pages.css for the generated
   pages, a <style> block on the hand-edited ones). */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/bricolage-grotesque-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/bricolage-grotesque-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:'Figtree';font-style:normal;font-weight:300 900;font-display:swap;src:url(/fonts/figtree-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Figtree';font-style:normal;font-weight:300 900;font-display:swap;src:url(/fonts/figtree-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}
:root {
  --ground:#F4F1EA; --ink:#1C1F1A; --ink-soft:#3D4038; --muted:#5B5E55; --line:#DDD7C9; --sand:#E6E0D2;
  --accent:#B8471A; --accent-deep:#9A3A13; --white:#FFFFFF; --error:#A4231C;
  --display:'Bricolage Grotesque','Helvetica Neue',Arial,sans-serif; --body:'Figtree','Helvetica Neue',Arial,sans-serif;
}
*, *::before, *::after { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--ground); color:var(--ink); font-family:var(--body); font-size:17px; line-height:1.6;
       padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px); }
a { color:var(--ink); }
:focus-visible { outline:3px solid var(--accent); outline-offset:3px; border-radius:6px; }
.wrap { max-width:1240px; margin:0 auto; padding:0 24px; }

header .wrap { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; min-height:76px; border-bottom:1px solid var(--line); }
.wordmark { font-family:var(--display); font-weight:800; font-size:24px; letter-spacing:-0.02em; text-decoration:none; color:var(--ink); white-space:nowrap; }
.wordmark span { color:var(--accent); }
.top-nav { display:flex; flex-wrap:wrap; align-items:center; gap:8px 22px; }
.top-nav a { font-weight:600; font-size:15px; text-decoration:none; white-space:nowrap; }
.top-nav a:hover, .top-nav a[aria-current="page"] { text-decoration:underline; text-underline-offset:4px; }
.top-nav a.pill { background:var(--accent); color:var(--white); padding:9px 16px; border-radius:999px; }
.top-nav a.pill:hover { text-decoration:none; background:var(--accent-deep); }
@media (max-width:600px) {
  header .wrap { padding-top:12px; padding-bottom:12px; }
  .top-nav { gap:6px 16px; }
  .top-nav a { font-size:14px; }
  .top-nav a.pill { padding:7px 14px; }
}
@media (max-width:400px) {
  .wordmark { font-size:20px; }
  .top-nav { gap:6px 14px; }
  .top-nav a.pill { padding:7px 12px; }
}

footer { border-top:1px solid var(--line); }
footer .wrap { display:flex; flex-wrap:wrap; gap:12px 32px; justify-content:space-between; align-items:center; padding-top:24px; padding-bottom:32px; font-size:15px; color:var(--muted); }
footer nav { display:flex; flex-wrap:wrap; gap:10px 24px; }
footer a { color:var(--ink); font-weight:600; text-decoration:none; }
footer a:hover { text-decoration:underline; }
