/* FlouLabs — shared site chrome (variables, reset, buttons, footer). The header and its menu live in nav.css, which every page
   loads, privacy-policy pages included; those two still run on their own legacy inline styles for the rest. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin.woff2?v=20260830") format("woff2");
}

:root {
  --cream: #F6F0E8;
  --paper: #FFFFFF;
  --sand: #EEE5D9;
  --charcoal: #1A1A1A;
  --orange: #FF5B11;
  --orange-text: #A93600;
  --line: #252525;
  --max-width: 1240px;
  --gutter: clamp(18px, 4vw, 52px);
  --radius: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
/* The eyebrow keeps the previous body line height (it has no line-height of its own in any of its definitions). */
.eyebrow { line-height: 1.45; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
svg { display: block; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.button {
  min-height: 46px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--charcoal);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button::after { content: "↗"; content: "↗" / ""; font-size: 17px; line-height: 1; }
.button:hover { background: var(--charcoal); color: var(--paper); transform: translate(-2px, -2px); }
/* Focus ring: charcoal on the cream/paper/sand surfaces (>= 15:1); paper on the charcoal ones (see the .cta rules). */
.button:focus-visible, a:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; }
main { overflow-x: clip; }
h1, h2, h3, p { overflow-wrap: break-word; }

.site-footer { border-top: 1px solid var(--line); background: var(--cream); }
.footer-inner { width: min(100%, var(--max-width)); margin: 0 auto; padding: 40px var(--gutter) 28px; }
.footer-main { padding-bottom: 44px; display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: 48px; align-items: start; }
.footer-brand p { max-width: 470px; margin: 22px 0 0; font-size: clamp(21px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.04em; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.footer-nav a { min-height: 52px; padding: 14px 16px; display: flex; align-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.footer-nav a:hover, .footer-nav a:focus-visible { background: var(--orange); }
/* With an odd number of links the last cell spans the full row instead of leaving a gap. */
.footer-nav a:last-child:nth-child(odd) { grid-column: 1 / -1; }
.footer-meta { padding-top: 18px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 980px) {
  .footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .footer-nav { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
