/* =========================================================================
   Black & Orange — Colors & Type
   The 5-color brand palette, type system, and semantic tokens.
   Source of truth: BnO NEW BRAND.fig (/COLORS, /TYPOGRAPHY).
   ========================================================================= */

/* ── FONTS (woff2-first; ttf fallback) ──────────────────────────────────
   font-display: optional → both fonts (with <link rel="preload"> in HTML head)
   Behavior: if font arrives before first paint → uses it; else uses metric-matched
   fallback for the full session. Eliminates CLS completely on desktop.
   Updated: 2026-06-27 — woff2 conversion for ~55% size reduction
   ──────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/brand/fonts/Fraunces-VariableFont_SOFT_WONK_opsz_wght.woff2") format("woff2-variations"),
       url("/assets/brand/fonts/Fraunces-VariableFont_SOFT_WONK_opsz_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
unicode-range:U+100-130,U+132-148,U+14A-151,U+154-17E,U+18F,U+192,U+1A0-1A1,U+1AF-1B0,U+1C4-1CC,U+1D9-1DA,U+1E6-1E7,U+1EA-1EB,U+1FA-21B,U+22A-22D,U+230-233,U+237,U+259,U+2B9-2BA,U+2BC,U+2C6-2C7,U+2D8-2DD,U+300-304,U+306-308,U+30B-30C,U+30F,U+311-312,U+315,U+31B,U+324,U+326-328,U+32E,U+331,U+1E08-1E09,U+1E0C-1E0F,U+1E14-1E17,U+1E1C-1E1D,U+1E20-1E21,U+1E24-1E25,U+1E2A-1E2B,U+1E2E-1E2F,U+1E36-1E37,U+1E3A-1E3B,U+1E42-1E43,U+1E46-1E49,U+1E4C-1E53,U+1E5A-1E5B,U+1E5E-1E5F,U+1E62-1E65,U+1E6C-1E6F,U+1E78-1E7B,U+1E80-1E85,U+1E92-1E93,U+1E97,U+1E9E,U+1EA0-1EF9,U+2070,U+2074,U+20A1,U+20A3-20A4,U+20A6-20A7,U+20A9,U+20AB,U+20AD,U+20B1-20B2,U+20B5,U+20B9-20BA,U+20BC-20BD,U+2116,U+2215,U+2219,U+2248,U+2260,U+2264-2265,U+27E8-27E9,U+E132-E133,U+FB00-FB04;}
@font-face {
  font-family: "Fraunces";
  src:url("/assets/brand/fonts/latin/Fraunces-VariableFont_SOFT_WONK_opsz_wght-6e900d0be6c7.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
unicode-range:U+20-7E,U+A0-FF,U+131,U+152-153,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2032-2033,U+2039-203A,U+2044,U+2052,U+20AC,U+2122,U+2212;}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/brand/fonts/Fraunces-Italic-VariableFont_SOFT_WONK_opsz_wght.woff2") format("woff2-variations"),
       url("/assets/brand/fonts/Fraunces-Italic-VariableFont_SOFT_WONK_opsz_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: optional;
unicode-range:U+100-130,U+132-148,U+14A-151,U+154-17E,U+18F,U+192,U+1A0-1A1,U+1AF-1B0,U+1C4-1CC,U+1D9-1DA,U+1E6-1E7,U+1EA-1EB,U+1FA-21B,U+22A-22D,U+230-233,U+237,U+259,U+2B9-2BA,U+2BC,U+2C6-2C7,U+2D8-2DD,U+300-304,U+306-308,U+30B-30C,U+30F,U+311-312,U+315,U+31B,U+323-324,U+326-328,U+32E,U+331,U+1E08-1E09,U+1E0C-1E0F,U+1E14-1E17,U+1E1C-1E1D,U+1E20-1E21,U+1E24-1E25,U+1E2A-1E2B,U+1E2E-1E2F,U+1E36-1E37,U+1E3A-1E3B,U+1E42-1E43,U+1E46-1E49,U+1E4C-1E53,U+1E5A-1E5B,U+1E5E-1E5F,U+1E62-1E65,U+1E6C-1E6F,U+1E78-1E7B,U+1E80-1E85,U+1E92-1E93,U+1E97,U+1E9E,U+1EA0-1EF9,U+2070,U+2074,U+20A1,U+20A3-20A4,U+20A6-20A7,U+20A9,U+20AB,U+20AD,U+20B1-20B2,U+20B5,U+20B9-20BA,U+20BC-20BD,U+2116,U+2215,U+2219,U+2248,U+2260,U+2264-2265,U+27E8-27E9,U+E132-E133,U+FB00-FB04;}
@font-face {
  font-family: "Fraunces";
  src:url("/assets/brand/fonts/latin/Fraunces-Italic-VariableFont_SOFT_WONK_opsz_wght-3263dae3fdbf.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: optional;
unicode-range:U+20-7E,U+A0-FF,U+131,U+152-153,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2032-2033,U+2039-203A,U+2044,U+2052,U+20AC,U+2122,U+2212;}
@font-face {
  font-family: "Inter";
  src: url("/assets/brand/fonts/Inter-VariableFont_opsz_wght.woff2") format("woff2-variations"),
       url("/assets/brand/fonts/Inter-VariableFont_opsz_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
unicode-range:U+100-130,U+132-148,U+14A-151,U+154-1C3,U+1C5-254,U+256-27B,U+27E-284,U+286-290,U+292-2A4,U+2A6-304,U+306-30A,U+30C,U+30F,U+313,U+315,U+31B,U+323,U+326-328,U+32C,U+337-338,U+342-343,U+346-36F,U+374-376,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3D7,U+3DC-3DD,U+3F0-3F6,U+3F9-3FA,U+3FC-479,U+480-49D,U+4A0-4FF,U+52F,U+E3F,U+1D00,U+1D0D,U+1D1B,U+1D43,U+1D47-1D49,U+1D4D,U+1D4F-1D50,U+1D52,U+1D56-1D58,U+1D5B,U+1D62-1D65,U+1D9C,U+1DA0,U+1DBB,U+1DBF-1DF5,U+1DFC-1E9B,U+1E9D-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2070-2071,U+2074-208E,U+2090-209C,U+20A0-20AB,U+20AD-20AF,U+20B1-20B5,U+20B8-20BA,U+20BC-20BF,U+20DB-20DE,U+20E8,U+20F0,U+2100-2101,U+2103,U+2105-2106,U+2109,U+2113,U+2116-2117,U+211E-2121,U+2126,U+212A-212B,U+212E,U+2132,U+213B,U+214D,U+2150-217F,U+2183-2186,U+2189,U+2193-2199,U+21A9-21AA,U+21B0-21B1,U+21B3-21B4,U+21BA-21BB,U+21D0,U+21D2,U+21D4,U+21DE-21DF,U+21E4-21E5,U+21E7,U+21EA,U+2202,U+2205-2206,U+220F,U+2211,U+221A,U+221E,U+222B,U+2236,U+2248,U+2260,U+2264-2265,U+2295-2298,U+2303-2305,U+2318,U+2325-2327,U+232B,U+2380,U+2387,U+238B,U+23CE-23CF,U+2423,U+2460-2468,U+24B6-24CF,U+24EA,U+25A0-25A2,U+25AA,U+25B2-25B3,U+25B6-25B7,U+25BA-25BD,U+25C0-25C1,U+25C4-25C7,U+25CA-25CB,U+25CF,U+25E6,U+25EF,U+2600,U+263C,U+2661,U+2665,U+26A0,U+2717,U+2756,U+2764,U+2780-2788,U+27EF,U+27F5-27FA,U+2913,U+2A38,U+2B06,U+2B12-2B13,U+2B1C,U+2B24,U+2C7C,U+2C7F,U+2DFF,U+2E18,U+A69F,U+A7FF,U+A92E,U+E000,U+E002-E05E,U+E06A-E0BD,U+E0C8-E0CC,U+E0DC-E0E6,U+E0F3-E0F5,U+E106,U+E109-E10A,U+E10C-E10F,U+E111-E113,U+E117-E118,U+E121-E122,U+E124,U+E12A-E15E,U+E163,U+E1C3,U+E1D2-E1DF,U+E1E1-E2DC,U+EE01-EE07,U+EE09-EE0A,U+EE0C-EE12,U+EE14,U+EE17,U+EE1D-EE45,U+EE47-EE84,U+EE87-EED6,U+EED8-EEE1,U+F6C3,U+FEFF,U+1F12F-1F149,U+1F16A-1F16B,U+1F850,U+1F852;}
@font-face {
  font-family: "Inter";
  src:url("/assets/brand/fonts/latin/Inter-VariableFont_opsz_wght-4df24b6442d1.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
unicode-range:U+0,U+20-7E,U+A0-AC,U+AE-FF,U+131,U+152-153,U+2000-200B,U+2010-2027,U+202F-2055,U+2057,U+205F,U+20AC,U+2122,U+2190-2192,U+21B5,U+2212,U+2605-2606,U+2713;}
@font-face {
  font-family: "Inter";
  src: url("/assets/brand/fonts/Inter-Italic-VariableFont_opsz_wght.woff2") format("woff2-variations"),
       url("/assets/brand/fonts/Inter-Italic-VariableFont_opsz_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: optional;
unicode-range:U+100-130,U+132-148,U+14A-151,U+154-1C3,U+1C5-254,U+256-27B,U+27E-284,U+286-290,U+292-2A4,U+2A6-304,U+306-30A,U+30C,U+30F,U+313,U+315,U+31B,U+323,U+326-328,U+32C,U+337-338,U+342-343,U+346-36F,U+374-376,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3D7,U+3DC-3DD,U+3F0-3F6,U+3F9-3FA,U+3FC-479,U+480-49D,U+4A0-4FF,U+52F,U+E3F,U+1D00,U+1D0D,U+1D1B,U+1D43,U+1D47-1D49,U+1D4D,U+1D4F-1D50,U+1D52,U+1D56-1D58,U+1D5B,U+1D62-1D65,U+1D9C,U+1DA0,U+1DBB,U+1DBF-1DF5,U+1DFC-1E9B,U+1E9D-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2070-2071,U+2074-208E,U+2090-209C,U+20A0-20AB,U+20AD-20AF,U+20B1-20B5,U+20B8-20BA,U+20BC-20BF,U+20DB-20DE,U+20E8,U+20F0,U+2100-2101,U+2103,U+2105-2106,U+2109,U+2113,U+2116-2117,U+211E-2121,U+2126,U+212A-212B,U+212E,U+2132,U+213B,U+214D,U+2150-217F,U+2183-2186,U+2189,U+2193-2199,U+21A9-21AA,U+21B0-21B1,U+21B3-21B4,U+21BA-21BB,U+21D0,U+21D2,U+21D4,U+21DE-21DF,U+21E4-21E5,U+21E7,U+21EA,U+2202,U+2205-2206,U+220F,U+2211,U+221A,U+221E,U+222B,U+2236,U+2248,U+2260,U+2264-2265,U+2295-2298,U+2303-2305,U+2318,U+2325-2327,U+232B,U+2380,U+2387,U+238B,U+23CE-23CF,U+2423,U+2460-2468,U+24B6-24CF,U+24EA,U+25A0-25A2,U+25AA,U+25B2-25B3,U+25B6-25B7,U+25BA-25BD,U+25C0-25C1,U+25C4-25C7,U+25CA-25CB,U+25CF,U+25E6,U+25EF,U+2600,U+263C,U+2661,U+2665,U+26A0,U+2717,U+2756,U+2764,U+2780-2788,U+27EF,U+27F5-27FA,U+2913,U+2A38,U+2B06,U+2B12-2B13,U+2B1C,U+2B24,U+2C7C,U+2C7F,U+2DFF,U+2E18,U+A69F,U+A7FF,U+A92E,U+E000,U+E002-E02B,U+E04B-E05E,U+E06A-E0BD,U+E0C8-E0CC,U+E0DC-E0E6,U+E0F3-E0F5,U+E106,U+E109-E10A,U+E10C-E10F,U+E111-E113,U+E117-E118,U+E121-E122,U+E124,U+E12A-E15E,U+E163,U+E1C3,U+E1D2-E1DF,U+E1E1-E274,U+E27B-E2DC,U+EE01-EE07,U+EE09-EE0A,U+EE0C-EE12,U+EE14,U+EE17,U+EE1D-EE45,U+EE47-EE84,U+EE87-EEE1,U+F6C3,U+FEFF,U+1F12F-1F149,U+1F16A-1F16B,U+1F850,U+1F852;}
@font-face {
  font-family: "Inter";
  src:url("/assets/brand/fonts/latin/Inter-Italic-VariableFont_opsz_wght-dbdfa861d75d.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: optional;
unicode-range:U+0,U+20-7E,U+A0-AC,U+AE-FF,U+131,U+152-153,U+2000-200B,U+2010-2027,U+202F-2055,U+2057,U+205F,U+20AC,U+2122,U+2190-2192,U+21B5,U+2212,U+2605-2606,U+2713;}

/* ── FALLBACK FONTS with adjusted metrics (eliminates CLS on font swap) ──
   "Fraunces Fallback" uses Georgia metrics scaled to match Fraunces x-height.
   "Inter Fallback" uses Arial metrics scaled to match Inter.
   Browser uses these while waiting for the real font; no layout jump occurs.
   ─────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 115%;
  ascent-override: 86%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("-apple-system");
  size-adjust: 100%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  /* -------- PRIMITIVE COLORS ------------------------------------------- */
  /* Named per the official palette — "Fiery orange / Mellow yellow /
     Lively pink / Cool gray / Slack black". These are the ONLY brand colors. */
  --bno-fiery-orange: #FE8301;      /* 254, 131, 1  */
  --bno-mellow-yellow: #FFED02;     /* 255, 237, 2  */
  --bno-lively-pink: #ED8BFA;       /* 237, 139, 250 */
  --bno-cool-gray: #EBEAE8;         /* 235, 234, 232 — the "paper" neutral */
  --bno-slack-black: #000000;       /* 0, 0, 0      */
  --bno-paper: #FFFFFF;             /* pure white, secondary neutral */

  /* Accent ink (used sparingly in doodles — a soft red/coral) */
  --bno-doodle-pink: #FF5678;       /* from hand-drawn doodle accents */

  /* Soft solids for large content cards. Keep the saturated palette for
     accents, lines, gradients and UI details. */
  --bno-soft-orange: #ffd9ba;
  --bno-soft-yellow: #fff3b8;
  --bno-soft-pink: #f4cdf8;
  --bno-soft-card-gray: #efeeec;
  --bno-shadow-soft: 0 0 10px rgba(0, 0, 0, 0.035), 0 2px 5px rgba(0, 0, 0, 0.018);
  --bno-shadow-panel: 0 0 14px rgba(0, 0, 0, 0.045), 0 3px 7px rgba(0, 0, 0, 0.022);
  --bno-shadow-hover: 0 0 18px rgba(0, 0, 0, 0.06), 0 4px 9px rgba(0, 0, 0, 0.028);

  /* -------- SIGNATURE GRADIENT ----------------------------------------- */
  /* The "squiggle" — yellow → orange → lively pink. This is the single
     most identifiable brand mark after the logo. */
  --bno-squiggle: linear-gradient(
    95deg,
    var(--bno-mellow-yellow) 0%,
    var(--bno-fiery-orange) 55%,
    var(--bno-lively-pink) 100%
  );
  --bno-squiggle-radial: radial-gradient(
    circle at 30% 40%,
    var(--bno-mellow-yellow) 0%,
    var(--bno-fiery-orange) 45%,
    var(--bno-lively-pink) 95%
  );
  --bno-squiggle-soft: linear-gradient(
    120deg,
    #FFF6C8 0%,
    #FFE1B3 35%,
    #FCD6E6 75%,
    #F7DBFB 100%
  );

  /* -------- SEMANTIC COLORS -------------------------------------------- */
  --color-bg: var(--bno-paper);
  --color-bg-alt: var(--bno-cool-gray);
  --color-bg-invert: var(--bno-slack-black);

  --color-fg: var(--bno-slack-black);
  --color-fg-muted: #575555;
  --color-fg-subtle: #8A8888;
  --color-fg-invert: var(--bno-paper);

  --color-accent: var(--bno-fiery-orange);
  --color-accent-2: var(--bno-mellow-yellow);
  --color-accent-3: var(--bno-lively-pink);

  --color-border: #E6E5E3;
  --color-border-strong: var(--bno-slack-black);

  /* -------- TYPE FAMILIES --------------------------------------------- */
  /* Display  → Fraunces (serif with optical sizing; signature italics).
     Body/UI  → Inter (the typography page references Inter specifically,
                with SF Pro used in some layouts; Inter is our canonical
                Google-Fonts-available pick for everything text-shaped).
     Mono     → system mono (rare in brand; used for data/code only). */
  --font-display: "Fraunces", "Fraunces 72pt Soft", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo,
               Consolas, "Liberation Mono", monospace;

  /* -------- TYPE SIZES (1080 design-space) ----------------------------- */
  /* Display scale mirrors the hero treatments on the Slogan & lockups. */
  --size-display-xl: clamp(72px, 9vw, 160px);  /* 140-160 in lockups */
  --size-display-lg: clamp(56px, 6.5vw, 112px);
  --size-display-md: clamp(40px, 4.5vw, 80px);
  --size-h1: 36px;
  --size-h2: 32px;
  --size-h3: 28px;
  --size-h4: 22px;
  --size-body-lg: 20px;
  --size-body: 16px;
  --size-body-sm: 14px;
  --size-label: 12px;
  --size-caption: 10px;

  /* -------- WEIGHTS & LETTER-SPACING ---------------------------------- */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;

  --tracking-tight: -0.02em;
  --tracking-display: 0.01em;  /* lockups use 1% tracking in Fraunces */
  --tracking-wide: 0.08em;
  --tracking-caps: 0.12em;

  /* -------- SPACING (8pt grid) ---------------------------------------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* -------- RADII ----------------------------------------------------- */
  /* The palette swatches use a soft superellipse-ish rounding; buttons
     are pill-shaped. Cards stay sharp or very gently rounded. */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 40px;      /* big palette-swatch feel */
  --radius-pill: 999px;
  --radius-card: 20px;

  /* -------- ELEVATION (used sparingly — brand is mostly flat) --------- */
  --shadow-1: 0 1px 2px rgba(0,0,0,0.06), 0 1px 1px rgba(0,0,0,0.04);
  --shadow-2: 0 4px 14px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-3: 0 20px 60px rgba(0,0,0,0.10), 0 6px 18px rgba(0,0,0,0.06);
  --shadow-ink: 0 2px 0 rgba(0,0,0,1);  /* hand-drawn cartoon offset */

  /* -------- MOTION ---------------------------------------------------- */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.6, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 120ms;
  --dur-med: 220ms;
  --dur-slow: 420ms;
}

/* =========================================================================
   ELEMENT DEFAULTS — apply design-system styles to raw HTML tags
   ========================================================================= */

html {
  font-family: var(--font-sans);
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-size: var(--size-body);
  line-height: 1.5;
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular); /* Fraunces reads best at 400-500 */
  letter-spacing: var(--tracking-display);
  line-height: 1.0;
  margin: 0 0 var(--space-4);
  color: var(--color-fg);
  text-wrap: balance;
}
h1 { font-size: var(--size-h1); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); line-height: 1.1; }
h4 { font-size: var(--size-h4); line-height: 1.2; }

p  { margin: 0 0 var(--space-4); text-wrap: pretty; max-width: 62ch; }

small { font-size: var(--size-body-sm); color: var(--color-fg-muted); }

code, kbd, pre, samp {
  font-family: var(--font-mono);
  font-size: 0.95em;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
a:hover { color: var(--bno-fiery-orange); }

hr {
  border: 0;
  border-top: 1.5px solid var(--color-border-strong);
  margin: var(--space-6) 0;
}

/* =========================================================================
   UTILITY CLASSES — the building blocks for every page
   ========================================================================= */

.display-xl { font-family: var(--font-display); font-size: var(--size-display-xl); font-weight: 400; line-height: 0.95; letter-spacing: var(--tracking-display); }
.display-lg { font-family: var(--font-display); font-size: var(--size-display-lg); font-weight: 400; line-height: 0.95; letter-spacing: var(--tracking-display); }
.display-md { font-family: var(--font-display); font-size: var(--size-display-md); font-weight: 400; line-height: 1.0;  letter-spacing: var(--tracking-display); }
.display-italic { font-style: italic; }              /* signature Fraunces italic emphasis */

.eyebrow { font-family: var(--font-sans); font-size: var(--size-label); font-weight: 500; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-fg-muted); }

.label  { font-family: var(--font-sans); font-size: var(--size-label); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.caption{ font-family: var(--font-sans); font-size: var(--size-caption); font-weight: 400; color: var(--color-fg-muted); }

.bg-paper   { background: var(--bno-paper); }
.bg-cool    { background: var(--bno-cool-gray); }
.bg-ink     { background: var(--bno-slack-black); color: var(--color-fg-invert); }
.bg-orange  { background: var(--bno-soft-orange); }
.bg-yellow  { background: var(--bno-soft-yellow); }
.bg-pink    { background: var(--bno-soft-pink); }
.bg-squiggle{ background: var(--bno-squiggle); }
.bg-squiggle-soft { background: var(--bno-squiggle-soft); }

.text-squiggle {
  background: var(--bno-squiggle);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Pill button — the black pill is the signature CTA across the brand. */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-sans); font-size: var(--size-body-sm);
  font-weight: 600; letter-spacing: var(--tracking-wide);
  padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast),
              color var(--dur-fast);
  text-decoration: none;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary   { background: var(--bno-slack-black); color: var(--bno-paper); }
.btn-primary:hover   { background: var(--bno-fiery-orange); color: var(--bno-slack-black); }
.btn-secondary { background: var(--bno-paper); color: var(--bno-slack-black); border-color: var(--bno-slack-black); }
.btn-secondary:hover { background: var(--bno-slack-black); color: var(--bno-paper); }
.btn-accent    { background: var(--bno-fiery-orange); color: var(--bno-slack-black); }
.btn-accent:hover    { background: var(--bno-mellow-yellow); }

/* Focus ring — accessible, brand-tinted. */
:where(a, button, input, textarea, select, .btn):focus-visible {
  outline: 2.5px solid var(--bno-fiery-orange);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Card */
.card {
  background: var(--bno-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-5);
}
.card-cool { background: var(--bno-cool-gray); border-color: transparent; }

:root {
  --site-max: 1220px;
  --site-line: rgba(0, 0, 0, 0.12);
  --site-muted: rgba(0, 0, 0, 0.64);
  --bno-soft-orange: #ffe1c8;
  --bno-soft-yellow: #fff5a8;
  --bno-soft-pink: #f4cdf8;
  --bno-soft-card-gray: #efeeec;
  --bno-shadow-soft: 0 0 12px rgba(0, 0, 0, 0.035), 0 2px 6px rgba(0, 0, 0, 0.022);
  --bno-shadow-panel: 0 0 16px rgba(0, 0, 0, 0.045), 0 3px 8px rgba(0, 0, 0, 0.026);
  --bno-shadow-hover: 0 0 20px rgba(0, 0, 0, 0.06), 0 4px 11px rgba(0, 0, 0, 0.034);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: calc(var(--site-max) + 48px);
  margin: 0 auto;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--site-line);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.brand-link img {
  width: 34px;
  height: 34px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.desktop-nav a,
.desktop-nav button {
  border: 0;
  background: transparent;
  color: #000;
  font: 800 13px/1.2 Inter, system-ui, sans-serif;
  text-decoration: none;
  padding: 10px 11px;
  border-radius: 999px;
  cursor: pointer;
}

.desktop-nav a:hover,
.desktop-nav button:hover,
.desktop-nav .nav-link:hover {
  background: #EBEAE8;
}

.site-header .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta {
  min-height: 44px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #000;
  border: 1.5px solid #000;
  border-radius: 999px;
  font: 900 13px/1.1 Inter, system-ui, sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

/* Shared polish: large content cards use softened fills and all-around shadows. */
.metric-card.orange,
.case-card.orange,
.contact-card.orange,
.answer-card.orange,
.cases-mini-card:nth-child(3) {
  color: #000;
  background: var(--bno-soft-orange);
}

.metric-card.yellow,
.case-card.featured,
.contact-card.yellow,
.answer-card.yellow,
.culture-card.yellow,
.about-ai-card.yellow,
.cases-mini-card:nth-child(2) {
  color: #000;
  background: var(--bno-soft-yellow);
}

.metric-card.pink {
  color: #000;
  background: var(--bno-soft-pink);
}

.score-card,
.answer-card,
.risk-card,
.case-card,
.case-logo,
.metric-card,
.route-grid article,
.deliverables article,
.service-grid article,
.timeline article,
.contact-card,
.location-chip,
.contact-faq-grid article,
.role-card,
.culture-card,
.value-card-careers,
.faq-card,
.expectations-grid article,
.proof-snapshot,
.boost-visual,
.seo-visual,
.ads-visual,
.aeo-visual,
.ai-visual,
.branding-visual,
.loop-visual,
.outbound-visual,
.implementation-visual,
.migration-visual,
.integrations-visual,
.education-visual,
.realestate-visual,
.about-visual,
.contact-form-shell,
.careers-form-card {
  box-shadow: var(--bno-shadow-panel);
}

.case-card:hover,
.case-card:focus-visible {
  box-shadow: var(--bno-shadow-hover);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: #000;
  background: #FE8301;
  border-color: #FE8301;
  transform: translateY(-1px);
  outline: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #000;
  font: 900 14px/1 Inter, system-ui, sans-serif;
  white-space: nowrap;
}

.language-switch a {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-size: 19px;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.language-switch a:hover,
.language-switch a:focus-visible {
  background: #FE8301;
  border-color: #FE8301;
  transform: translateY(-1px);
  outline: none;
}

.mobile-menu-toggle,
.mobile-nav-panel {
  display: none;
}

.mobile-menu-toggle {
  width: 46px;
  height: 46px;
  border: 1.5px solid #000;
  border-radius: 999px;
  background: #fff;
  color: #000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
  background: #FE8301;
  border-color: #FE8301;
  transform: translateY(-1px);
  outline: none;
}

.site-header.is-mobile-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-mobile-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-mobile-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.mobile-nav-open {
  overflow: hidden;
}

.btn {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  color: #fff;
  background: #000;
  border-color: #000;
}

.btn-secondary,
.btn-light {
  color: #000;
  background: #fff;
  border-color: #000;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn-light:hover,
.btn-light:focus-visible {
  color: #000;
  background: #FE8301;
  border-color: #FE8301;
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: -22px;
  right: -22px;
  top: 100%;
  height: 28px;
}

.mega-menu {
  position: fixed;
  left: 50%;
  top: 74px;
  width: min(1120px, calc(100vw - 32px));
  transform: translateX(-50%) translateY(8px);
  display: grid;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--site-line);
  border-radius: 18px;
  box-shadow: var(--bno-shadow-hover);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.services-menu {
  grid-template-columns: 1.2fr repeat(3, minmax(160px, 1fr));
}

.industry-menu {
  width: min(880px, calc(100vw - 32px));
  grid-template-columns: 1.2fr repeat(2, minmax(180px, 1fr));
}

.compact-menu {
  width: min(520px, calc(100vw - 32px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.simple-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  width: min(320px, calc(100vw - 32px));
  grid-template-columns: 1fr;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.is-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-feature,
.mega-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
}

.mega-feature {
  background: #000;
  color: #fff;
  min-height: 100%;
}

.site-header .mega-feature h3,
.site-header .mega-feature p {
  color: #fff;
}

.mega-feature span,
.mega-column span {
  font: 900 11px/1 Inter, system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #FE8301;
}

.mega-feature h3 {
  margin: 0;
  max-width: 12ch;
  font: 700 28px/0.98 Fraunces, Georgia, serif;
}

.mega-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font: 600 13px/1.45 Inter, system-ui, sans-serif;
}

.mega-column small {
  margin: 0;
  color: var(--site-muted);
  font: 600 13px/1.45 Inter, system-ui, sans-serif;
}

.mega-column {
  background: #EBEAE8;
}

.mega-column.highlight {
  background: linear-gradient(120deg, rgba(255, 237, 2, 0.32), rgba(254, 131, 1, 0.16), rgba(237, 139, 250, 0.18));
}

.mega-column a {
  width: 100%;
  padding: 10px 0;
  color: #000;
  border-radius: 0;
}

.mega-column a:hover {
  background: transparent;
  color: #FE8301;
}

.mega-column strong {
  display: block;
  font-size: 15px;
}

.mega-column small {
  display: block;
  color: var(--site-muted);
}

.logo-strip {
  padding: 32px max(20px, calc((100vw - var(--site-max)) / 2));
  color: var(--bno-paper);
  background: var(--bno-slack-black);
  border-top: 1.5px solid var(--bno-slack-black);
  border-bottom: 1.5px solid var(--bno-slack-black);
}

.logo-strip p {
  max-width: none;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(8, minmax(76px, 1fr));
  align-items: center;
  gap: 20px;
}

.logo-cloud img {
  width: 100%;
  height: 72px;
  padding: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--bno-paper);
  object-fit: contain;
}

.site-footer {
  display: block;
  margin-top: 0;
  padding: 0;
  background: #EBEAE8;
  color: #000;
  border-top: 1px solid var(--site-line);
}

.footer-main {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.55fr);
  gap: 72px;
}

.footer-proof {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #000;
  text-decoration: none;
  font: 900 24px/1 Inter, system-ui, sans-serif;
}

.footer-logo img {
  width: 46px;
  height: 46px;
}

.footer-proof p {
  max-width: 32ch;
  margin: 0;
  color: var(--site-muted);
  font: 650 18px/1.45 Inter, system-ui, sans-serif;
}

.footer-accent {
  width: min(100%, 520px);
  height: 2px;
  background-image: linear-gradient(90deg, #FE8301 0 12px, transparent 12px 28px), linear-gradient(90deg, #FFED02, #FE8301, #ED8BFA);
  background-size: 28px 2px, 100% 2px;
  background-repeat: repeat-x, no-repeat;
  border-radius: 999px;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  gap: 12px;
  width: min(100%, 460px);
}

.badge-grid img {
  width: 100%;
  height: 84px;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.footer-map {
  display: grid;
  grid-template-columns: 0.95fr 0.9fr 1.1fr 1.05fr;
  gap: 36px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-height: auto;
  padding: 0;
  border-right: 0;
}

.footer-column:last-child {
  padding-right: 0;
  border-right: 0;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: #000;
  font: 750 24px/1.05 Fraunces, Georgia, serif;
}

.footer-column h3:not(:first-child) {
  margin-top: 22px;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  text-decoration: none;
  font: 700 15px/1.35 Inter, system-ui, sans-serif;
}

.footer-column a:hover,
.footer-social a:hover {
  color: #FE8301;
}

.footer-brand-bar {
  min-height: 96px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-top: 1px solid var(--site-line);
}

.footer-brand-bar img {
  width: 44px;
  height: 44px;
  justify-self: center;
}

.footer-brand-bar p {
  margin: 0;
  text-align: center;
  color: #000;
  font: 650 clamp(20px, 2.2vw, 28px)/1.15 Fraunces, Georgia, serif;
}

.site-footer em {
  font-style: italic;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  color: rgba(0, 0, 0, 0.72);
  text-decoration: none;
  font: 750 14px/1.2 Inter, system-ui, sans-serif;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    justify-self: end;
    grid-column: 3;
  }

  .site-header .btn {
    display: inline-flex;
    justify-self: end;
    grid-column: 4;
  }

  .site-header > .language-switch {
    display: none;
  }

  .mobile-nav-panel {
    position: fixed;
    top: var(--mobile-nav-top, 76px);
    left: 50%;
    z-index: 80;
    width: min(100vw - 24px, 760px);
    max-height: calc(100dvh - var(--mobile-nav-top, 76px) - 12px);
    display: block;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--bno-shadow-panel);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity 180ms ease, transform 180ms ease;
    overflow: hidden;
  }

  .site-header.is-mobile-open .mobile-nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .mobile-nav-scroll {
    max-height: calc(100dvh - var(--mobile-nav-top, 76px) - 34px);
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-nav-cta {
    min-height: 54px;
    margin: 0 0 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #000;
    border: 1.5px solid #000;
    border-radius: 999px;
    font: 900 14px/1.1 Inter, system-ui, sans-serif;
    text-decoration: none;
    text-align: center;
  }

  .mobile-language {
    padding: 14px;
    display: grid;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    background: #EBEAE8;
  }

  .mobile-language strong {
    color: #000;
    font: 900 13px/1.1 Inter, system-ui, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-language div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-language a {
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1.5px solid #000;
    border-radius: 999px;
    color: #000;
    background: #fff;
    font: 900 14px/1.1 Inter, system-ui, sans-serif;
    text-decoration: none;
  }

  .mobile-language a:hover,
  .mobile-language a:focus-visible {
    background: #FE8301;
    border-color: #FE8301;
    outline: none;
  }

  .mobile-nav-cta:hover,
  .mobile-nav-cta:focus-visible {
    color: #000;
    background: #FE8301;
    border-color: #FE8301;
    outline: none;
  }

  .mobile-nav-group {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .mobile-nav-heading,
  .mobile-nav-direct {
    width: 100%;
    min-height: 58px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    color: #000;
    font: 900 18px/1.1 Inter, system-ui, sans-serif;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
  }

  .mobile-nav-direct {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .mobile-nav-icon {
    width: 26px;
    height: 26px;
    position: relative;
    flex: 0 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 999px;
  }

  .mobile-nav-icon::before,
  .mobile-nav-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 2px;
    background: #000;
    border-radius: 999px;
    transform: translate(-50%, -50%);
  }

  .mobile-nav-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 160ms ease;
  }

  .mobile-nav-heading[aria-expanded="true"] .mobile-nav-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .mobile-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 0 14px;
  }

  .mobile-nav-links[hidden] {
    display: none;
  }

  .mobile-nav-link {
    min-height: 96px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    color: #000;
    background: #EBEAE8;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    text-decoration: none;
  }

  .mobile-nav-link strong {
    font: 900 15px/1.08 Inter, system-ui, sans-serif;
  }

  .mobile-nav-link small {
    color: rgba(0, 0, 0, 0.62);
    font: 750 12px/1.28 Inter, system-ui, sans-serif;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:focus-visible {
    background: #FFF200;
    outline: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-cloud {
    grid-template-columns: repeat(4, minmax(76px, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
    padding: 12px 16px;
    gap: 12px;
  }

  .brand-link span {
    display: none;
  }

  .site-header .btn {
    display: none;
    padding: 12px 14px;
    font-size: 12px;
  }

  .site-header.mobile-short-cta .btn {
    display: inline-flex;
  }

  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
  }

  .mobile-nav-panel {
    width: calc(100vw - 20px);
    border-radius: 16px;
  }

  .mobile-nav-links {
    grid-template-columns: 1fr;
  }

  .footer-main {
    padding: 52px 18px 48px;
  }

  .badge-grid,
  .footer-map {
    grid-template-columns: 1fr 1fr;
  }

  .logo-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-cloud img {
    height: 68px;
    padding: 16px;
  }

  .badge-grid img {
    height: 72px;
  }

  .footer-brand-bar {
    grid-template-columns: 1fr;
  }

  .footer-social {
    justify-content: center;
  }

}
