/* Breno Treviso public site, "Breno Treviso & The Path brand book" v1 beta (ed1). tokens.css is loaded first. */
@font-face{font-family:"Bricolage Grotesque";src:url("/brand/fonts/BricolageGrotesque.woff2") format("woff2");font-weight:200 800;font-stretch:75% 100%;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url("/brand/fonts/ibm-plex-sans-latin-wght-normal.woff2") format("woff2");font-weight:100 700;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("/brand/fonts/IBMPlexMono-Medium.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:Caveat;src:url("/brand/fonts/caveat-latin-400-normal.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Caveat;src:url("/brand/fonts/caveat-latin-700-normal.woff2") format("woff2");font-weight:700;font-display:swap}

html{
  background:var(--bt-paper);
  font-size:100%; /* 16px, so book rem clamps measure correctly */
}
body{
  background:var(--bt-paper);
  color:var(--bt-ink);
  font-family:var(--bt-font-body);
  font-size:var(--bt-fs-body);
  line-height:var(--bt-lh-body);
  overflow-x:clip;
}
html,body{color:var(--bt-ink);font-family:var(--bt-font-body)}
/* Beat the Astro export's larger heading clamps (specificity + important). */
html body h1, html body h1.statement, html body #home-title{
  font-family:var(--bt-font-display) !important;
  font-weight:700 !important;
  font-stretch:92% !important;
  letter-spacing:-.035em !important;
  line-height:1 !important;
  font-size:var(--bt-fs-h1) !important;
  max-width:var(--bt-measure-h1);
  text-wrap:balance;
}
html body h2, html body h2.statement{
  font-family:var(--bt-font-display) !important;
  font-weight:700 !important;
  font-stretch:92% !important;
  letter-spacing:-.03em !important;
  line-height:1.08 !important;
  font-size:var(--bt-fs-h2) !important;
  max-width:var(--bt-measure-h2);
  text-wrap:balance;
}
html body h3{
  font-family:var(--bt-font-display) !important;
  font-weight:650 !important;
  font-stretch:100% !important;
  letter-spacing:-.02em !important;
  line-height:1.15 !important;
  font-size:var(--bt-fs-h3) !important;
  text-wrap:balance;
}
html body .lede{font-size:var(--bt-fs-lede) !important;line-height:var(--bt-lh-lede);max-width:var(--bt-measure-lede)}
html body .hero .lede,
html body .hero .kicker,
html body .page-intro .lede,
html body .page-intro .kicker{
  text-wrap:balance;
}
p,li,figcaption{text-wrap:pretty;max-width:var(--bt-measure-body)}
.kicker, time, .label, .draft-flag{
  font-family:var(--bt-font-mono);
  font-size:var(--bt-fs-label);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--bt-mute);
}
/* Name in the footer is body type, not a mono label. */
.who, .site-footer .who, .site-footer .who span{
  font-family:var(--bt-font-display);
  font-size:var(--bt-fs-nav);
  letter-spacing:-.02em;
  text-transform:none;
  color:var(--bt-ink);
  font-weight:650;
}
.bt-note, .hand{
  font-family:var(--bt-font-hand);
  font-size:var(--bt-fs-note);
  line-height:var(--bt-lh-note);
}

.frame, .shell, .hero.frame, .paths-wrap.frame, .site-header .bar, .site-footer .foot{
  width:min(var(--bt-container), calc(100% - (2 * var(--bt-margin))));
  margin-inline:auto;
}

/* Buttons: one visual primary (Pine fill). Ghost / secondary is outline. No Spark, no shadow. */
.btn, button.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:var(--bt-icon-gap);
  min-height:3rem;padding:var(--bt-space-12) var(--bt-space-24);
  border-radius:var(--bt-r-sm);
  border:2px solid var(--bt-pine);
  background:var(--bt-pine);color:var(--bt-paper);
  font-family:var(--bt-font-body);font-size:var(--bt-fs-button);font-weight:600;
  line-height:var(--bt-lh-button);
  text-decoration:none;box-shadow:none;
}
.btn:hover, button.btn:hover{background:var(--bt-pine-deep);border-color:var(--bt-pine-deep);color:var(--bt-paper)}
.btn-ghost, .btn.btn-ghost, a.btn-ghost, .actions a.btn-ghost{
  background:transparent;color:var(--bt-ink);border:1px solid var(--bt-ink);box-shadow:none;
}
.btn-ghost:hover, a.btn-ghost:hover{background:var(--bt-ink);color:var(--bt-paper);border-color:var(--bt-ink)}

/* Hero: at most one primary later on the page; hero asks are secondary. */
.hero .actions .btn{background:transparent;color:var(--bt-ink);border:1px solid var(--bt-ink);box-shadow:none}
.hero .actions .btn:hover{background:var(--bt-ink);color:var(--bt-paper)}

/* Close band may keep the page's last primary, inverted on ink. */
.bt-band, .close-band{
  background:var(--bt-ink);color:var(--bt-paper);
}
.bt-band .btn, .close-band .btn{
  background:var(--bt-paper);color:var(--bt-ink);border-color:var(--bt-paper);
}
.bt-band .btn:hover, .close-band .btn:hover{
  background:transparent;color:var(--bt-paper);
}

.site-header{
  background:var(--bt-paper);
  border-bottom:var(--bt-border-hairline);
  position:sticky;top:0;z-index:20;
}
.site-header .bar, .header-bar{
  display:flex;align-items:center;justify-content:space-between;
  gap:var(--bt-s4);min-height:4.75rem;
}
.brand img, .site-header .brand img{
  height:48px;width:auto;display:block;
}
.site-header nav ul{
  display:flex;flex-wrap:wrap;gap:var(--bt-s3) var(--bt-s5);
  list-style:none;margin:0;padding:0;
}
.site-header nav a, .site-footer nav a{
  display:inline-flex;align-items:center;gap:var(--bt-icon-gap);
  color:var(--bt-ink);text-decoration:none;font-size:var(--bt-fs-nav);font-weight:600;
}
.site-header nav a:hover, .site-footer nav a:hover{color:var(--bt-pine-deep)}
.bt-icon, .site-header nav img, .site-footer nav img{
  width:var(--bt-icon-sm);height:var(--bt-icon-sm);flex:none;
}

/* Stickers: felt PNGs, never on a face, text or button.
   Width comes from --bt-sticker-max (64px below 1024, 96px from 1024).
   Photo rules must not apply to .fx-st, or they fill the figure. */
img.fx-st, .fx-st,
figure img.fx-st, .hero-photo img.fx-st, .workshop img.fx-st,
.speak-photo img.fx-st, .intro-photo img.fx-st, .fx-sticker-host img.fx-st,
.routes article img.fx-st{
  position:absolute !important;
  width:var(--bt-sticker-max) !important;
  max-width:none !important;
  height:auto !important;
  max-height:none !important;
  pointer-events:none;
  z-index:2;
  box-shadow:none !important;
  border:0 !important;
  border-radius:0 !important;
  transform:rotate(var(--r, 0deg));
}
.hero-photo, .fx-sticker-host, figure.hero-photo, figure.workshop,
figure.speak-photo, figure.intro-photo, .page-intro, .routes article{
  position:relative;
}
.hero-photo img:not(.fx-st), .hero-photo picture img,
figure img:not(.fx-st), .workshop img:not(.fx-st),
.speak-photo img:not(.fx-st), .intro-photo img:not(.fx-st){
  border-radius:var(--bt-r-lg);box-shadow:none;transform:none;border:0;
  max-width:100%;height:auto;
}
/* Retired spark underlines, tape, scraps, yellow dots. */
.fx-ul, .fx-scrap, .fx-marquee, .fx-tape{display:none !important}

.routes{
  display:grid;gap:var(--bt-gap-block);
}
@media (min-width:1024px){
  .routes{grid-template-columns:repeat(3,1fr);gap:var(--bt-gap-block)}
}
.routes article{
  background:var(--bt-paper);
  border:var(--bt-border-hairline);
  border-radius:var(--bt-r-md);
  padding:var(--bt-gap-pad-md);
  box-shadow:none;transform:none;
  position:relative;
}
.section, .band, .page, .paths-wrap, .show{
  padding-block:var(--bt-section-y);
}
.site-footer{
  border-top:var(--bt-border-hairline);
  background:var(--bt-paper);
  color:var(--bt-ink);
}


.draft-flag{
  font-family:var(--bt-font-mono);
  font-size:var(--bt-fs-label);
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--bt-mute);
  margin:0 0 var(--bt-s3);
}

.contact-form .types{display:flex;flex-wrap:wrap;gap:var(--bt-s3)}
.contact-form .types label{
  display:inline-flex;align-items:center;gap:var(--bt-s2);
  border:var(--bt-border-hairline);border-radius:var(--bt-r-sm);
  padding:8px 16px;background:var(--bt-white);
}
input, select, textarea, button, .contact-form input, .contact-form select, .contact-form textarea{
  font:inherit !important;
}
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea, .contact-form select{
  border:var(--bt-border-input);border-radius:var(--bt-r-sm);
  background:var(--bt-white);color:var(--bt-ink);
  font:inherit !important;padding:12px 12px;
}
.hp{position:absolute;left:-100vw;width:1px;height:1px;overflow:hidden}

.page-404{display:block}
.page-404 .fx-sticker-host{position:relative}

@media (prefers-reduced-motion:reduce){
  *{animation:none !important;transition-duration:var(--bt-dur-reduced) !important}
}

/* W5 / W7: only the last close-band button is a filled primary. Everything else is a text link. */
main a.btn, main a.btn-ghost, .hero .actions .btn, .hero .actions .btn-ghost{
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  min-height:0 !important;
  padding:0 !important;
  color:var(--bt-pine) !important;
  text-decoration:underline !important;
  text-underline-offset:.18em;
  text-decoration-thickness:1px;
  display:inline;
  font-size:var(--bt-fs-button);
  font-weight:600;
}
main a.btn:hover, main a.btn-ghost:hover, .hero .actions .btn:hover{
  background:transparent !important;
  color:var(--bt-pine-deep) !important;
}
main .bt-band a.btn, main .close-band a.btn, main section.bt-band a.btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:3rem !important;
  padding:var(--bt-space-12) var(--bt-space-24) !important;
  border-radius:var(--bt-r-sm) !important;
  border:2px solid var(--bt-paper) !important;
  background:var(--bt-paper) !important;
  color:var(--bt-ink) !important;
  text-decoration:none !important;
}
main .bt-band a.btn:hover, main section.bt-band a.btn:hover{
  background:transparent !important;
  color:var(--bt-paper) !important;
}
.text-link{
  color:var(--bt-pine);
  text-underline-offset:.18em;
  text-decoration-thickness:1px;
  font-weight:600;
}

/* W6: 48px from a neighbouring card, balloon, photo or list. */
main p.actions, main .actions{margin-top:48px}

/* W3: stacked photos centred, max 480px below 1024. */
@media (max-width:1023px){
  main figure:not(.hero-photo){
    width:min(100%,480px);
    margin-inline:auto;
  }
}

/* S10: hide decoration in print and forced colours. */
@media print{
  .fx-st, .fx-sticker-host, .line-field-panel{display:none !important}
}
@media (forced-colors:active){
  .fx-st, .fx-sticker-host{display:none !important}
}

/* Nav: labelled Menu below 600px. */
.nav-menu{
  display:none;
  font:inherit;
  font-size:var(--bt-fs-nav);
  font-weight:600;
  color:var(--bt-ink);
  background:transparent;
  border:0;
  padding:8px 4px;
  min-height:44px;
  min-width:44px;
  cursor:pointer;
}
@media (max-width:599px){
  .nav-menu{display:inline-flex;align-items:center}
  .site-header nav ul{display:none}
  .site-header nav.is-open ul{
    display:flex;flex-direction:column;align-items:flex-start;
    position:absolute;right:var(--bt-margin);top:100%;
    background:var(--bt-paper);
    border:var(--bt-border-hairline);
    border-radius:var(--bt-r-lg);
    padding:var(--bt-s4);
    min-width:14rem;
    z-index:30;
  }
  .site-header .bar{position:relative}
}

/* Page intro with a photo fills the empty right half from 1024. */
.page-intro.has-photo{
  display:grid;
  gap:var(--bt-s6);
  align-items:center;
}
@media (min-width:1024px){
  .page-intro.has-photo{
    grid-template-columns:minmax(0,1fr) minmax(18rem,.9fr);
  }
}
.intro-photo img:not(.fx-st), .workshop img:not(.fx-st){
  width:100%;height:auto;display:block;
}

/* Text links: Pine, underline, arrow. */
a.text-link{
  color:var(--bt-pine);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:.18em;
  text-decoration-thickness:1px;
  display:inline-flex;
  align-items:center;
  gap:var(--bt-icon-gap, 4px);
}
a.text-link:hover{color:var(--bt-pine-deep)}
a.text-link .bt-icon{width:16px;height:16px;flex:none}

/* Last primary on a page stays a filled button, even outside the close band. */
main a.btn.page-primary, main .bt-band a.btn, main .close-band a.btn, main section.bt-band a.btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:3rem !important;
  padding:var(--bt-space-12) var(--bt-space-24) !important;
  border-radius:var(--bt-r-sm) !important;
  box-shadow:none !important;
}
main a.btn.page-primary{
  border:2px solid var(--bt-pine) !important;
  background:var(--bt-pine) !important;
  color:var(--bt-paper) !important;
  text-decoration:none !important;
}
main a.btn.page-primary:hover{
  background:var(--bt-pine-deep) !important;
  border-color:var(--bt-pine-deep) !important;
  color:var(--bt-paper) !important;
}

.site-footer .role{
  font-family:var(--bt-font-body);
  font-size:var(--bt-fs-small);
  letter-spacing:0;
  text-transform:none;
  color:var(--bt-ink);
  max-width:var(--bt-measure-body);
  text-wrap:pretty;
}

.preview-notice, .what-next{
  font-size:var(--bt-fs-small);
  color:var(--bt-mute);
  max-width:var(--bt-measure-body);
  text-wrap:pretty;
}


/* v0.95 Cable Smile is 2:1; do not squash the footer mark into a square. */
.site-footer .who img, .who img{
  width:auto;
  height:40px;
  display:block;
}


/* Intro photos fill the right half from 1024, not shrink-wrapped. */
html body .page-intro.has-photo{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(20rem,1fr);
  gap:var(--bt-gutter);
  align-items:center;
  width:100%;
  max-width:none;
}
html body .page-intro.has-photo .intro-photo{
  width:100%;
  max-width:none;
  margin:0;
}
html body .page-intro.has-photo .intro-photo img:not(.fx-st){
  width:100%;
  height:auto;
  display:block;
}
@media (max-width:1023px){
  html body .page-intro.has-photo{
    grid-template-columns:1fr;
  }
}

/* R1: workshop photo is only 560w; cap at ~648px, left-aligned with the text column. */
html body figure.workshop{
  max-width:648px;
  width:100%;
  margin-left:0;
  margin-right:auto;
}
html body figure.workshop img:not(.fx-st){
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
}

/* =====================================================================
   ed1: "Breno Treviso & The Path brand book", v1 beta (25 Nov 2026).
   Brandy's DELTA-ed1-for-engie.md, brenotreviso.com checklist. Pine only.
   ===================================================================== */

/* 3/4. Type scale from tokens; display tracking and leading. */
html body h1, html body h1.statement, html body #home-title{
  font-size:var(--bt-fs-h1) !important;
  letter-spacing:var(--bt-tracking-display-xl) !important;
  line-height:var(--bt-leading-display) !important;
}
@media (max-width:1199px){
  html body h1, html body h1.statement, html body #home-title{letter-spacing:var(--bt-tracking-display) !important}
}
html body h2, html body h2.statement{
  font-size:var(--bt-fs-h2) !important;
  letter-spacing:var(--bt-tracking-display) !important;
  line-height:var(--bt-leading-display-2line) !important;
}
html body h3{font-size:var(--bt-fs-h3) !important}
html body small, html body .small, html body figcaption{font-size:var(--bt-fs-small)}

/* 2. Radii: buttons 4, cards 6, photos 8 + hairline, nothing above 8. */
main a.btn.page-primary, main .bt-band a.btn, main .close-band a.btn, main section.bt-band a.btn,
.btn, button.btn, .contact-form button, .contact-form .types label, .choices span{
  border-radius:var(--bt-r-sm) !important;
}
.routes article, .contact-form, .essay-link{border-radius:var(--bt-r-md) !important}
figure img:not(.fx-st):not(.diecut), .intro-photo img:not(.fx-st), .workshop img:not(.fx-st),
.speak-photo img:not(.fx-st){
  border-radius:var(--bt-r-lg) !important;
  border:var(--bt-border-hairline) !important;
  box-shadow:none !important;
}

/* 5. Space and placement: 8px scale, block gaps 24/32 minimum. */
.routes{gap:var(--bt-gap-block) !important}
.page-intro.has-photo, html body .page-intro.has-photo, .hero{column-gap:var(--bt-gutter) !important;row-gap:var(--bt-gap-block) !important}
main h2{margin-top:0}
main h2 + p, main h2 + .lede, main h1 + p, main h1 + .lede{margin-top:var(--bt-gap-heading-body)}
figure figcaption{margin-top:var(--bt-gap-caption)}
main figure:not(.bt-balloon), .routes, .bt-notebook{margin-block:var(--bt-gap-block)}
main p.actions, main .actions{margin-top:var(--bt-s7)}

/* 7. Stickers: one cluster of 3 to 5, mixed sizes, +-12deg, behind the die-cut. */
.fx-cluster{position:absolute;pointer-events:none;z-index:1}
.fx-cluster img.fx-st{
  position:absolute !important;
  pointer-events:auto;
  cursor:pointer;
  z-index:1;
  transform:rotate(var(--r,0deg));
  transform-origin:50% 50%;
}
.fx-cluster img.fx-st.fx-lg{width:var(--bt-sticker-max) !important}
.fx-cluster img.fx-st.fx-md{width:calc((var(--bt-sticker-min) + var(--bt-sticker-max)) / 2) !important}
.fx-cluster img.fx-st.fx-sm{width:var(--bt-sticker-min) !important}

/* Home hero: Breno die-cut with the white paper border; no Pine card. */
html body .hero-photo.hero-diecut, .hero-photo.hero-diecut:not(#_){
  background:transparent !important;
  border-radius:0 !important;
  overflow:visible !important;
  position:relative;
  isolation:isolate;
  box-shadow:none !important;
}
.hero-photo.hero-diecut img.diecut{
  position:relative;
  z-index:2; /* stickers always sit behind the cut-out */
  display:block;
  width:100%;
  max-width:440px;
  height:auto;
  margin-inline:auto;
  border:0 !important;
  border-radius:0 !important;
  filter:none;
}
html body .hero-photo.hero-diecut{width:min(100%,440px);max-width:440px;justify-self:end;margin:0}
.hero-photo.hero-diecut img.diecut{max-width:none}
.hero-cluster{left:-16%;top:28%;width:36%;height:66%}
@media (max-width:1023px){
  html body .hero-photo.hero-diecut{width:min(76%,320px);justify-self:center;margin-inline:auto}
}
/* Intro clusters sit in their own column, right of a text-only page intro. */
html body .page-intro:has(> .intro-cluster), html body .page-404:has(> .intro-cluster){
  display:grid;grid-template-columns:minmax(0,1fr) 240px;column-gap:var(--bt-gutter);max-width:none;align-items:start;
}
.page-intro:has(> .intro-cluster) > :not(.intro-cluster), .page-404:has(> .intro-cluster) > :not(.intro-cluster){grid-column:1}
.fx-cluster.intro-cluster{position:relative;grid-column:2;grid-row:1 / span 8;width:240px;height:220px;margin-top:var(--bt-s6)}
@media (max-width:1023px){
  html body .page-intro:has(> .intro-cluster), html body .page-404:has(> .intro-cluster){display:block}
  .fx-cluster.intro-cluster{width:180px;height:150px;margin:var(--bt-gap-block) 0 0 auto}
}

/* 6. Motion: pop once in view (240ms, 60ms stagger); spin or wobble on tap;
   the plane flies on click and comes back. Nothing loops. */
@keyframes bt-pop{from{opacity:0;transform:scale(.6) rotate(var(--r,0deg))}to{opacity:1;transform:scale(1) rotate(var(--r,0deg))}}
@keyframes bt-spin{from{transform:rotate(var(--r,0deg))}to{transform:rotate(calc(var(--r,0deg) + 360deg))}}
@keyframes bt-wobble{0%,100%{transform:rotate(var(--r,0deg))}25%{transform:rotate(calc(var(--r,0deg) - 8deg))}75%{transform:rotate(calc(var(--r,0deg) + 8deg))}}
@keyframes bt-plane{0%{transform:translate(0,0) rotate(var(--r,0deg));opacity:1}70%{transform:translate(180px,-120px) rotate(calc(var(--r,0deg) + 12deg));opacity:0}71%{transform:translate(0,0) rotate(var(--r,0deg));opacity:0}100%{opacity:0}}
@keyframes bt-plane-back{from{opacity:0}to{opacity:1}}
@keyframes bt-fade{from{opacity:.35}to{opacity:1}}
html.fx .fx-cluster img.fx-st{opacity:0}
html.fx .fx-cluster.is-in img.fx-st{
  animation:bt-pop var(--bt-dur-pop) var(--bt-ease-pop) calc(var(--i,0) * var(--bt-dur-stagger-sm)) 1 both;
}
html.fx .fx-cluster.is-in img.fx-st.is-popped{animation:none;opacity:1}
html.fx .fx-cluster.is-in img.fx-st.is-spin{animation:bt-spin var(--bt-dur-sticker-spin) var(--bt-ease-move) 0s 1 both}
html.fx .fx-cluster.is-in img.fx-st.is-wobble{animation:bt-wobble var(--bt-dur-sticker-wobble) var(--bt-ease-move) 0s 1 both}
html.fx .fx-cluster.is-in img.fx-st.is-fly{animation:bt-plane var(--bt-dur-plane-flight) var(--bt-ease-move) 0s 1 both}
html.fx .fx-cluster.is-in img.fx-st.is-return{animation:bt-plane-back var(--bt-dur-plane-return) var(--bt-ease-enter) 0s 1 both}
@media (prefers-reduced-motion:reduce){
  html.fx .fx-cluster img.fx-st{opacity:1}
  html.fx .fx-cluster.is-in img.fx-st,
  html.fx .fx-cluster.is-in img.fx-st.is-spin,
  html.fx .fx-cluster.is-in img.fx-st.is-wobble,
  html.fx .fx-cluster.is-in img.fx-st.is-fly,
  html.fx .fx-cluster.is-in img.fx-st.is-return{
    animation:bt-fade var(--bt-dur-reduced) linear 0s 1 both !important;
    transform:rotate(var(--r,0deg)) !important;
  }
}
@media print{.fx-cluster{display:none !important}}
@media (forced-colors:active){.fx-cluster{display:none !important}}

/* 8. Notebook pattern: one per surface, counts as the decorative layer. */
.bt-notebook{
  background-color:var(--bt-paper);
  background-image:linear-gradient(90deg,transparent 54px,rgba(44,110,98,.45) 54px,rgba(44,110,98,.45) 56px,transparent 56px),repeating-linear-gradient(180deg,transparent 0 31px,rgba(94,97,104,.18) 31px 32px);
  background-position:0 0,0 18px;
  border:var(--bt-border-hairline);
  border-radius:var(--bt-r-md);
  padding:22px 26px 26px 76px;
  max-width:44rem;
  line-height:32px;
}
.bt-notebook ul{margin:0;padding-left:16px}
.bt-notebook li{line-height:32px;margin:0}
html body .bt-notebook h3.bt-notebook-note{
  font-family:var(--bt-font-hand) !important;
  font-weight:700 !important;
  font-size:var(--bt-fs-note) !important;
  line-height:32px !important;
  letter-spacing:0 !important;
  color:var(--bt-pine-deep);
  margin:0 !important;
}
@media (max-width:599px){.bt-notebook{padding-left:64px}}
.spark-stop{color:var(--bt-spark)}

/* ==== Round 2: Brandy's ed1 preview review (25 Nov) ==== */

/* S1: footer lockup (the book's file, name ends in the Spark stop). */
html body .site-footer .who img.foot-lockup{height:48px;width:auto;display:block}

/* S2: every padding, margin and gap on the 8px scale. Desktop values first, then below 1024. */
html body .hero.frame.page{padding-top:var(--bt-space-64) !important}
html body .paths-wrap{padding-top:var(--bt-section-y-xl) !important}
html body .speak-photo{margin-top:var(--bt-space-48) !important}
html body .bt-band{padding-block:var(--bt-space-96) !important;margin-top:var(--bt-gap-section) !important}
html body .split{gap:var(--bt-space-64) !important}
html body main p.lede{margin-bottom:var(--bt-space-24) !important}
html body main section h3:not(:first-child), html body main section div > h3:first-child{margin-top:var(--bt-space-24) !important}
html body main h3 + p{margin-top:var(--bt-space-16) !important}
html body main section p + p{margin-top:var(--bt-space-16) !important}
html body main p.actions, html body main .actions{margin-top:var(--bt-space-48) !important}
html body .btn, html body button.btn, html body a.btn{padding-inline:var(--bt-space-24) !important}
html body .site-footer{margin-top:var(--bt-space-96) !important}
html body .site-footer .foot{padding-block:var(--bt-space-24) var(--bt-space-32) !important}
html body form.contact-form{padding:var(--bt-gap-pad-md) !important}
html body .essay-link{padding-block:var(--bt-space-24) !important}
@media (max-width:1023px){
  html body .hero.frame.page{padding-top:var(--bt-space-48) !important}
  html body .paths-wrap, html body .show, html body .speak{padding-top:var(--bt-gap-section) !important}
  html body .bt-band{padding-block:var(--bt-space-48) !important;margin-top:var(--bt-gap-section) !important}
  html body .split{gap:var(--bt-space-32) !important}
  html body .page-intro{margin-bottom:var(--bt-space-24) !important}
  html body .site-footer{margin-top:var(--bt-space-64) !important}
}

/* N1: notebook list lands on the 32px rules (one line-box per rule, no stray margins). */
html body .bt-notebook ul{margin:0 !important;padding-left:16px}
html body .bt-notebook li{line-height:32px !important;margin:0 !important;padding:0 !important}
html body .bt-notebook li + li{margin-top:0 !important}

/* N3: compounds never break at their hyphen. */
.nh{white-space:nowrap}

/* N4 / N6: forms on Paper with a hairline; input text Ink, in the body font. */
html body form.contact-form{background:var(--bt-paper) !important;border:var(--bt-border-hairline) !important;box-shadow:none !important}
html body input, html body select, html body textarea{color:var(--bt-ink);font:inherit}

/* N2: workshop photo shown no wider than its largest file (820w), capped at 648 as before. */
html body figure.workshop img{max-width:min(100%,648px);height:auto}

/* W10: speech balloon testimonials, to the book (space.html "Speech balloon testimonials").
   White fill, 1.5px Ink border, 8px radius, tail 28x22 on the bottom edge 48px in, pointing
   down-left, border unbroken into it. Attribution under the tail tip, label size, Mute, 16px
   below the tail. A pair is a conversation: the second tail bottom-right, one column right
   from 768. One fade with scale .97 to 1 over 300ms; none under reduced motion. No tilt, no shadow. */
html body main figure.bt-balloon{
  margin:var(--bt-gap-block) 0 !important;
  padding:0 !important;
  width:auto !important;
  max-width:520px;
  border:0;
  background:none;
  transform:none;
}
html body main figure.bt-balloon > blockquote{
  position:relative;
  margin:0 !important;
  padding:var(--bt-gap-pad-md) var(--bt-gap-pad-lg) !important;
  background:var(--bt-white);
  border:1.5px solid var(--bt-ink) !important;
  border-radius:var(--bt-r-xl) !important;
  box-shadow:none !important;
}
html body main figure.bt-balloon > blockquote::after{
  content:"";
  position:absolute;
  left:48px;
  top:calc(100% - 0.75px);
  width:28px;
  height:23.25px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 23.25'%3E%3Cpath d='M0 0H28L0.75 22.5Z' fill='%23fff'/%3E%3Cpath d='M0 0H28' stroke='%23fff' stroke-width='1.6'/%3E%3Cpath d='M0.75 0V22.25L27.25 0' fill='none' stroke='%2316171C' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 0 0/28px 23.25px;
}
html body main figure.bt-balloon > blockquote p{
  margin:0 !important;
  max-width:none !important;
  font-family:var(--bt-font-display) !important;
  font-weight:600 !important;
  font-size:var(--bt-fs-quote) !important;
  line-height:var(--bt-lh-quote) !important;
  letter-spacing:var(--bt-tracking-display) !important;
  color:var(--bt-ink) !important;
  text-indent:-.4em; /* quote mark hangs outside */
}
html body main figure.bt-balloon > figcaption{
  margin:0 !important;
  padding:38px 0 0 48px !important; /* tail 22 + 16 below */
  font-family:var(--bt-font-body);
  font-size:var(--bt-fs-label);
  color:var(--bt-mute);
}
html body main figure.bt-balloon.r > blockquote::after{left:auto;right:48px;transform:scaleX(-1)}
html body main figure.bt-balloon.r > figcaption{padding:38px 48px 0 0 !important;text-align:right}
html body main .balloons{display:grid;gap:var(--bt-gap-block);margin:var(--bt-gap-block) 0}
html body main .balloons > figure.bt-balloon{margin:0 !important}
@media (min-width:768px){
  html body main .balloons > figure.bt-balloon.r{margin-left:calc((100% + var(--bt-gutter)) / 12) !important}
}
.fx main figure.bt-balloon{opacity:0;transform:scale(.97);transform-origin:48px 100%}
.fx main figure.bt-balloon.r{transform-origin:calc(100% - 48px) 100%}
.fx main figure.bt-balloon.is-in{animation:bt-balloon-in 300ms var(--bt-ease-enter) 1 both}
@keyframes bt-balloon-in{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){
  .fx main figure.bt-balloon, .fx main figure.bt-balloon.is-in{opacity:1 !important;transform:none !important;animation:none !important}
}
@media print{.fx main figure.bt-balloon{opacity:1 !important;transform:none !important}}

/* ==== Round 3: Brandy's r2 re-check (25 Nov) ==== */
/* Home sections: no vw-derived values (122.88 at 1024). */
@media (min-width:1024px){
  html body .show, html body .speak{padding-top:var(--bt-section-y-xl) !important}
}
/* Paragraph default margins: 16px, not the browser's 1em (17.99 / 14.4 and so on). */
html body p{margin-block:var(--bt-space-16)}
/* 1024 to 1279: keep the hero lede's box clear of the cluster behind the die-cut (measure ~28rem). */
@media (min-width:1024px) and (max-width:1279px){html body .hero .lede{max-width:28rem}}

/* Round 4 (journey reports): home hero workshop door, Brands intro link, Path client login
   on For Creators, workshop one-pager, pending-Legal placeholders. 8px scale only. */
html body .hero .hero-more{margin:0 !important}
@media (min-width:1024px) and (max-width:1279px){html body .hero .hero-more{max-width:28rem}}
html body .hero .hero-more a, html body .bt-band p a, html body .path-login a{text-decoration:underline;text-underline-offset:3px}
html body .page-intro .intro-actions{margin-top:var(--bt-space-24) !important}
html body .path-login{margin-top:var(--bt-space-16) !important}
html body .bt-onepager .prose, html body .bt-legal .prose{max-width:720px}
html body .bt-onepager h1{margin-bottom:var(--bt-space-16) !important}
html body .bt-onepager h2{margin-top:var(--bt-space-48) !important;margin-bottom:var(--bt-space-16) !important}
html body .bt-onepager h3{margin-top:var(--bt-space-24) !important;margin-bottom:var(--bt-space-8) !important}
html body .bt-onepager ul{margin:0 !important;padding-left:24px}
html body .bt-onepager li{margin:0 0 var(--bt-space-8) !important}
html body .bt-onepager .actions{margin-top:var(--bt-space-24) !important}
html body .bt-legal h2{margin-top:var(--bt-space-48) !important;margin-bottom:var(--bt-space-16) !important}
html body .bt-legal ul{padding-left:24px;margin:var(--bt-space-16) 0 !important}
@media print{html body .site-header, html body .site-footer, html body .skip-link{display:none !important}}

/* Brandy prod nits (26 Nov). N1: inline sentence links in the hero and on For Creators are
   Pine 600, hover Pine deep (no arrow, no button). N2: lede to one-pager line is one on-scale gap,
   16 below 1024 and 24 from 1024 (--bt-gap-heading-body). The hero-copy grid's 4px row gap is
   moved onto the kicker and H1 margins (12+4 -> 16), so kicker-H1 (16) and H1-lede (32/40) are
   unchanged and nothing adds on top of the lede gap. */
html body .hero .hero-more a, html body .path-login a{color:var(--bt-pine);font-weight:600}
html body .hero .hero-more a:hover, html body .path-login a:hover{color:var(--bt-pine-deep)}
html body .hero .hero-copy{row-gap:0 !important}
html body .hero .hero-copy > .kicker{margin-bottom:var(--bt-space-16) !important}
html body .hero .hero-copy > h1{margin-bottom:var(--bt-space-16) !important}
html body main .hero p.lede{margin-bottom:0 !important}
html body .hero .hero-more{margin-top:var(--bt-gap-heading-body) !important}

/* Spacing steps from snap_spacing (build.py). */
:root{--bt-step-16-48:16px;--bt-step-24-48:24px;--bt-step-32-48:32px;--bt-step-32-64:32px;--bt-step-48-64:48px;--bt-step-48-96:48px;--bt-step-64-96:64px;--bt-step-64-128:64px}
@media (min-width:1024px){:root{--bt-step-16-48:48px;--bt-step-24-48:48px;--bt-step-32-48:48px;--bt-step-32-64:64px;--bt-step-48-64:64px;--bt-step-48-96:96px;--bt-step-64-96:96px;--bt-step-64-128:128px}}
