/* The shared stylesheet: the tokens, the base type, the top bar and the footer band. Linked by the home page
   (index.html), the privacy page and the support page, before each page's own inline styles, so the three
   bars cannot drift apart. Moved as they were from the home page "the flock"; class names unchanged. */

/* The fonts, served from honkhonk.ing itself so no visitor's address goes to a font host: Bagel Fat One (the honk
   bubbles) and Google Sans Flex (everything else), both under the SIL Open Font License (fonts/OFL-*.txt). The
   files are the ones Google Fonts served on 29 October 2026, latin and latin-ext only; the Google Sans Flex file is
   variable (weight 1 to 1000), one file for every weight. */
@font-face {
  font-family: "Bagel Fat One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/bagel-fat-one-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: "Bagel Fat One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/bagel-fat-one-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: "Google Sans Flex";
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/google-sans-flex-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: "Google Sans Flex";
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/google-sans-flex-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: "Google Sans Flex";
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/google-sans-flex-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: "Google Sans Flex";
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/google-sans-flex-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;
}

/* Tokens from DESIGN.md. Names mirror the design file so values can be traced back. */
:root {
  --sun: #ffc008;          /* colors.sun: the ground */
  --sun-mid: #ffcf43;      /* colors.sun-mid: the footer band */
  --lime-bright: #f8ff27;  /* colors.lime-bright: the big background logo */
  --primary: #f76102;      /* colors.primary: beak orange, the honk words */
  --ink: #000000;          /* colors.ink: the pill, the footer links */
  --body: #333333;         /* colors.body: the small wordmarks, the instagram glyph */
  --muted: #777777;        /* colors.muted: the copyright line */
  --canvas: #ffffff;       /* colors.canvas: bubble paper, the pill's words */
  --font: "Google Sans Flex", "Google Sans", "Product Sans", Inter, system-ui, sans-serif;
  --footer-h: 71px;        /* the footer band's height; the big logo centres in the ground above it */
}
html, body { margin: 0; }
body {
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-variation-settings: "wdth" 100, "GRAD" 0, "ROND" 0;
  letter-spacing: 0;
}

/* The small wordmark: honkhonk.svg as a mask over body grey, letters 114 x 20. The letters are a layer inside
   the box, because a mask on the link itself would also mask its focus ring. */
.wordmark {
  display: block;
  position: relative;
  width: 114px;
  aspect-ratio: 85.1572 / 14.8469;
}
.wordmark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--body);
  -webkit-mask: url(honkhonk.svg) center / contain no-repeat;
  mask: url(honkhonk.svg) center / contain no-repeat;
}
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* The top bar (frame 475:25101): the wordmark at (64, 32); at the right the instagram tap box at top 23,
   22 px further right the pill at top 21, its right edge 43 px from the page's right */
header.site {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  padding: 0 43px 0 64px;
  pointer-events: none;   /* geese walking in under the bar stay tappable between its parts */
  z-index: 10;
}
header.site a { pointer-events: auto; }
header.site .wordmark { margin: 32px auto 0 0; min-width: 0; }
.instagram {
  display: block;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  margin-top: 23px;
  border-radius: 12px;    /* shapes the focus ring */
}
.instagram svg { display: block; }
/* The pill: black, Bold 16 white, 119 x 44 in the frame; since launch (19 November 2026) it reads
   "download" and opens honkhonk's App Store page */
.download {
  flex-shrink: 0;
  margin: 21px 0 0 22px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
  text-decoration: none;
}

/* The footer band (frame 475:25101): 71 high, sun-mid, padding 20 x 80; the frame's row is 26 high
   at the top of the padding, so 25 px is left under it */
footer.site {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  height: var(--footer-h);
  padding: 20px 80px 25px;
  display: flex;
  align-items: center;
  column-gap: 18px;
  background: var(--sun-mid);
  z-index: 10;
}
footer.site .wordmark { flex-shrink: 0; margin: 0 3.5px; }   /* the frame's logo box is 121 wide, letters centred */
.copyright {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: var(--muted);
  white-space: nowrap;
}
footer.site nav { display: flex; gap: 32px; margin-left: auto; }
footer.site nav a {
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 23px;
  text-decoration: none;
}
footer.site nav a:hover,
footer.site nav a:focus-visible { text-decoration: underline; }

/* Phones (no frame; Claude's call): 22 px side margins in the top bar; the footer band wraps,
   the wordmark and the copyright on the first line, the links on the second */
@media (max-width: 699.98px) {
  :root { --footer-h: 83px; }   /* 16 + 20 + 8 + 23 + 16: the two-line band */
  header.site { padding: 0 22px; }
  footer.site {
    height: auto;
    flex-wrap: wrap;
    row-gap: 8px;
    padding: 16px 22px;
  }
  footer.site .wordmark { margin: 0; }
  footer.site nav { flex-basis: 100%; margin-left: 0; }
}
