@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-600.ttf") format("truetype");
  font-style: normal; font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-400.ttf") format("truetype");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-700.ttf") format("truetype");
  font-style: normal; font-weight: 700; font-display: swap;
}
:root {
  --cream: #fff7e6;
  --ink: #123f3d;
  --muted: #506c65;
  --orange: #f56a24;
  --orange-dark: #cf4711;
  --teal: #07999a;
  --teal-dark: #006e70;
  --sun: #ffc64d;
  --line: rgba(18, 63, 61, .15);
  --shadow: 0 24px 60px rgba(37, 101, 91, .14);
  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", sans-serif;
  --sans: "DM Sans", "Avenir Next", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Type scale. Small text stays distinct without becoming ornamental;
     display sizes keep the hierarchy broad but not abrupt. */
  --fs-micro: .72rem;   /* sub-labels, pills, and compact hints */
  --fs-kicker: .82rem;  /* free-standing uppercase mono labels */
  --fs-xs: .875rem;     /* fineprint, copyright */
  --fs-sm: .94rem;      /* nav, footer, meta, captions */
  --fs-ui: 1rem;        /* buttons and inputs */
  --fs-lead: 1.12rem;   /* hero and section lead paragraphs */
  --fs-h3: 1.5rem;
  --fs-h2: clamp(2rem, 3.5vw, 2.75rem);
  --fs-h1: clamp(3rem, 5vw, 4.5rem);
  /* Free-standing kickers track wide; chips keep their own tighter value
     so the bordered shape does not stretch. */
  --track-kicker: .12em;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(720px 480px at 4% 2%, rgba(255, 130, 74, .25), transparent 66%),
    linear-gradient(180deg, rgba(255, 243, 211, .96) 0%, rgba(255, 215, 171, .9) 38%, rgba(218, 242, 228, .9) 65%, rgba(143, 211, 204, .86) 100%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .16;
  background-image: radial-gradient(rgba(18, 63, 61, .3) .55px, transparent .55px);
  background-size: 7px 7px;
  mix-blend-mode: multiply;
}
::selection { background: var(--sun); color: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 5px; }
.page { position: relative; z-index: 1; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ---- nav ---- */
nav { position: absolute; top: 0; left: 0; right: 0; z-index: 3; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 28px; }
.wordmark { display: flex; align-items: center; text-decoration: none; }
.brand-wordmark { width: 168px; height: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; }
.nav-links a:hover { color: var(--teal-dark); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .13em; text-transform: uppercase;
  color: var(--teal-dark); background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(7, 153, 154, .25); border-radius: 999px; padding: 8px 14px;
  white-space: nowrap;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(245, 106, 36, .12); }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 38px 0 46px; }
.foot { align-items: center; color: var(--muted); font-size: var(--fs-sm); }
.footer-brand { display: flex; align-items: center; }
.footer-wordmark { width: 154px; height: auto; display: block; }
.foot .cite { color: var(--orange-dark); font-family: var(--display); font-weight: 600; letter-spacing: -.025em; }

@media (max-width: 900px) {
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 22px 20px; }
  .brand-wordmark { width: 146px; }
  .pill { padding: 7px 10px; font-size: var(--fs-micro); }
}
