/* Breno Treviso + The Path shared tokens. v1 beta, November 2026.
   One file for brenotreviso.com, thepath.studio and the portal. Generated from build-src/tokens_v2.py: edit there, not here.
   The programme is branded The Path; token names stay prog-. */
:root{
  /* colour: core */
  --bt-pine:#2C6E62;
  --bt-spark:#F2B544;
  --bt-ink:#16171C;
  --bt-paper:#F5F4F0;
  /* colour: supporting */
  --bt-mute:#5E6168;
  --bt-pine-deep:#175D51;
  --bt-line:#E4E3DE;
  /* colour: functional */
  --bt-white:#FFFFFF;
  --bt-canvas:#FBFAF7;
  --bt-error:#9B3A2A;
  /* font families */
  --bt-font-display:"Bricolage Grotesque","Avenir Next",system-ui,sans-serif;
  --bt-font-body:"IBM Plex Sans","Segoe UI",system-ui,sans-serif;
  --bt-font-mono:"IBM Plex Mono",ui-monospace,monospace;
  --bt-font-hand:Caveat,"Bradley Hand",cursive;
  /* type: web, both public sites (390 / 768 / 1024 / 1440 shown in tokens.json) */
  --bt-fs-h1:clamp(2.986rem, 2.5011rem + 1.989vw, 4.2915rem);
  --bt-lh-h1:1.05;
  --bt-fs-h2:clamp(2.0736rem, 1.8236rem + 1.025vw, 2.7466rem);
  --bt-lh-h2:1.05;
  --bt-fs-h3:clamp(1.2rem, 1.1234rem + 0.314vw, 1.4062rem);
  --bt-lh-h3:1.15;
  --bt-fs-lede:clamp(1.2rem, 1.1234rem + 0.314vw, 1.4062rem);
  --bt-lh-lede:1.5;
  --bt-fs-body:clamp(1rem, 0.9536rem + 0.19vw, 1.125rem);
  --bt-lh-body:1.55;
  --bt-fs-quote:clamp(1.44rem, 1.322rem + 0.484vw, 1.7578rem);
  --bt-lh-quote:1.3;
  --bt-fs-small:clamp(0.875rem, 0.8657rem + 0.038vw, 0.9rem);
  --bt-lh-small:1.45;
  --bt-fs-label:0.75rem;
  --bt-lh-label:1.2;
  --bt-fs-button:1rem;
  --bt-lh-button:1.2;
  --bt-fs-nav:1rem;
  --bt-lh-nav:1.2;
  --bt-fs-note:clamp(1.44rem, 1.322rem + 0.484vw, 1.7578rem);
  --bt-lh-note:1.1;
  /* type: portal */
  --bt-app-fs-title:clamp(1.7281rem, 1.5997rem + 0.527vw, 2.0737rem);
  --bt-app-lh-title:1.05;
  --bt-app-fs-section:1.44rem;
  --bt-app-lh-section:1.15;
  --bt-app-fs-vision:1.44rem;
  --bt-app-lh-vision:1.2;
  --bt-app-fs-card-title:1rem;
  --bt-app-lh-card-title:1.3;
  --bt-app-fs-body:1rem;
  --bt-app-lh-body:1.5;
  --bt-app-fs-small:0.8331rem;
  --bt-app-lh-small:1.45;
  --bt-app-fs-label:0.75rem;
  --bt-app-lh-label:1.3;
  --bt-app-fs-status:0.75rem;
  --bt-app-lh-status:1;
  --bt-app-fs-button:1rem;
  --bt-app-lh-button:1.2;
  --bt-app-fs-nav:1rem;
  --bt-app-lh-nav:1.3;
  --bt-app-fs-note:1.44rem;
  --bt-app-lh-note:1.1;
  /* display spacing (Bricolage at 28px and up; body text unchanged) */
  --bt-tracking-display:-0.025em;
  --bt-tracking-display-xl:-0.03em; /* 60px and up */
  --bt-leading-display:1.05;
  --bt-leading-display-2line:1.1; /* H2 that runs to two lines */
  --bt-pad-card-display:clamp(24px, 4cqw, 32px); /* headline cards */
  --tracking-display:var(--bt-tracking-display);
  --leading-display:var(--bt-leading-display);
  /* measures */
  --bt-measure-h1:16ch;
  --bt-measure-h2:22ch;
  --bt-measure-lede:52ch;
  --bt-measure-body:64ch;
  --bt-measure-quote:34ch;
  /* spacing: 8 px scale; 4 and 12 are the half steps */
  --bt-s1:4px;
  --bt-s2:8px;
  --bt-s3:12px;
  --bt-s4:16px;
  --bt-s5:24px;
  --bt-s6:32px;
  --bt-s7:48px;
  --bt-s8:64px;
  --bt-s9:96px;
  --bt-s10:128px;
  --bt-space-4:4px;
  --bt-space-8:8px;
  --bt-space-12:12px;
  --bt-space-16:16px;
  --bt-space-24:24px;
  --bt-space-32:32px;
  --bt-space-48:48px;
  --bt-space-64:64px;
  --bt-space-96:96px;
  --bt-space-128:128px;
  /* space and placement: values below 1024px; the 1024px query swaps in the desktop values */
  --bt-gap-block:24px;
  --bt-gap-section:64px;
  --bt-gap-related:8px;
  --bt-gap-label:8px;
  --bt-gap-heading-body:16px;
  --bt-gap-heading-above:48px;
  --bt-gap-caption:8px;
  --bt-gap-pad-sm:16px;
  --bt-gap-pad-md:24px;
  --bt-gap-pad-lg:32px;
  /* grid */
  --bt-container:1200px;
  --bt-margin:20px;
  --bt-gutter:24px;
  --bt-cols:4;
  --bt-section-y:64px;
  --bt-section-y-xl:128px;
  /* radii */
  --bt-r-xs:2px;
  --bt-r-sm:4px;
  --bt-r-md:6px;
  --bt-r-lg:8px;
  --bt-r-xl:8px;
  --bt-r-pill:999px;
  --bt-r-prog-tile:23.4375%;
  /* borders and shadows */
  --bt-border-card:2px solid #16171C;
  --bt-border-hairline:1px solid #E4E3DE;
  --bt-border-input:1px solid #5E6168;
  --bt-border-focus:3px solid #16171C;
  --bt-shadow-none:none;
  --bt-shadow-hairline:0 1px 2px rgba(22,23,28,.06);
  --bt-shadow-overlay:0 12px 32px rgba(22,23,28,.12);
  --bt-focus-offset:3px;
  /* motion */
  --bt-dur-fast:150ms;
  --bt-dur-base:300ms;
  --bt-dur-slow:500ms;
  --bt-dur-emphasis:750ms;
  --bt-dur-word-interval:420ms;
  --bt-dur-stop-delay:200ms;
  --bt-dur-stop-land:300ms;
  --bt-dur-stop-cut:600ms;
  --bt-dur-hold-short:1500ms;
  --bt-dur-hold-max:3000ms;
  --bt-dur-annotate:900ms;
  --bt-dur-reduced:200ms;
  --bt-dur-float-min:4000ms;
  --bt-dur-float-max:6500ms;
  --bt-dur-pop:240ms;
  --bt-dur-stagger-xs:40ms;
  --bt-dur-stagger-sm:60ms;
  --bt-dur-stagger-md:120ms;
  --bt-dur-sticker-spin:650ms;
  --bt-dur-sticker-wobble:500ms;
  --bt-dur-plane-flight:900ms;
  --bt-dur-plane-return:300ms;
  --bt-ease-enter:cubic-bezier(0.16,1,0.3,1);
  --bt-ease-exit:cubic-bezier(0.7,0,0.84,0);
  --bt-ease-move:cubic-bezier(0.65,0,0.35,1);
  --bt-ease-soft:cubic-bezier(0.37,0,0.63,1);
  --bt-ease-reveal:cubic-bezier(0.22,1,0.36,1);
  --bt-ease-pop:cubic-bezier(0.34,1.56,0.64,1);
  --bt-fade-rise:12px;
  --bt-float:14px;
  --bt-breathe:1.012;
  /* stickers */
  --bt-sticker-min:44px;
  --bt-sticker-max:64px;
  --bt-sticker-rotate-max:8deg;
  --bt-sticker-cluster-rotate-max:12deg; /* clusters of 3 to 5 */
  /* icons: Lucide, restyled. Rendered stroke stays 1.5 px at every size. */
  --bt-icon-stroke:1.5;
  --bt-icon-sm:16px;
  --bt-icon-md:20px;
  --bt-icon-lg:24px;
  --bt-icon-gap:8px;
}
.bt-icon{width:var(--bt-icon-lg);height:var(--bt-icon-lg);flex:none;fill:none;stroke:currentColor;stroke-width:var(--bt-icon-stroke);stroke-linecap:round;stroke-linejoin:round}
.bt-icon--sm{width:var(--bt-icon-sm);height:var(--bt-icon-sm);stroke-width:calc(var(--bt-icon-stroke) * 24 / 16)}
.bt-icon--md{width:var(--bt-icon-md);height:var(--bt-icon-md);stroke-width:calc(var(--bt-icon-stroke) * 24 / 20)}
@media (min-width:600px){:root{--bt-margin:32px;--bt-gutter:24px;--bt-cols:8;--bt-section-y:64px}}
@media (min-width:1024px){:root{--bt-margin:40px;--bt-gutter:32px;--bt-cols:12;--bt-section-y:96px;--bt-sticker-min:64px;--bt-sticker-max:96px;--bt-gap-block:32px;--bt-gap-section:96px;--bt-gap-related:16px;--bt-gap-heading-body:24px;--bt-gap-heading-above:64px;--bt-gap-caption:12px;}}
/* Portal: brighter canvas. Four themes: portal only. Everywhere else: Pine. The client picks a theme in the portal; Pine is the default. Put data-surface="portal" and data-theme="pine|harbour|ember|dusk" on <html>. */
[data-surface="portal"]{--bt-ground:var(--bt-canvas);--bt-sidebar:var(--bt-paper);--bt-card:var(--t-wash)}
:root,[data-theme="pine"]{--t-base:#2C6E62;--t-deep:#175D51;--t-mid:#396C62;--t-tint:#D7E8E4;--t-wash:#E8EFEB;--t-line:#B4C9C5;--t-on:#F5F4F0;--t-mute:var(--bt-mute)}
[data-surface="portal"][data-theme="harbour"]{--t-base:#3D6586;--t-deep:#1C3648;--t-mid:#43657F;--t-tint:#D7E3EC;--t-wash:#E8ECEE;--t-line:#B5C4CE;--t-on:#F5F4F0;--t-mute:var(--bt-mute)}
[data-surface="portal"][data-theme="ember"]{--t-base:#81553C;--t-deep:#4A3022;--t-mid:#74503C;--t-tint:#E8DED6;--t-wash:#EFEAE4;--t-line:#CCBFB6;--t-on:#F5F4F0;--t-mute:var(--bt-mute)}
[data-surface="portal"][data-theme="dusk"]{--t-base:#605A86;--t-deep:#322E4A;--t-mid:#645C88;--t-tint:#E1DEEA;--t-wash:#ECEAED;--t-line:#C2BECD;--t-on:#F5F4F0;--t-mute:var(--bt-mute)}
/* Reduced motion: one 200 ms fade, nothing moves. */
@media (prefers-reduced-motion:reduce){:root{--bt-dur-pop:0ms;--bt-dur-sticker-spin:0ms;--bt-dur-sticker-wobble:0ms;--bt-dur-plane-flight:0ms;--bt-dur-plane-return:0ms;--bt-dur-stagger-xs:0ms;--bt-dur-stagger-sm:0ms;--bt-dur-stagger-md:0ms;--bt-dur-fast:0ms;--bt-dur-base:200ms;--bt-dur-slow:200ms;--bt-dur-emphasis:200ms;--bt-fade-rise:0px;--bt-float:0px;--bt-breathe:1}}
/* Line-break rules, shared by every surface. */
h1,h2,h3,.bt-lede,blockquote p,.bt-btn{text-wrap:balance}
p,li,figcaption{text-wrap:pretty}
/* Short aliases. Prefer --bt-* in new code. */
:root{--pine:var(--bt-pine);--spark:var(--bt-spark);--ink:var(--bt-ink);--paper:var(--bt-paper);--pine-deep:var(--bt-pine-deep);--muted:var(--bt-mute);--mute:var(--bt-mute);--line:var(--bt-line)}
