/* ------------------------------------------------------------------
   BisonTongue — MOBILE PASS (2026-11-03)
   Loaded last on every live page so it wins over the desktop sheets.
   Breakpoints: 860px (phones + small tablets), 600px (phones only).
   The --m-* values are dialled with the Mobile tweak bar (mobiletweak.js,
   localhost only: tap any page heading at phone/tablet width).
   ------------------------------------------------------------------ */
:root{  /* baked from the Mobile tweak bar 2026-11-11 (second bake: header + hero); footer + About + page type 2026-11-22 */
  --m-gutter:24px;      /* side margin on phones */
  --m-head-pt:11px;      /* header top padding */
  --m-head-pb:6px;      /* header bottom padding */
  --m-logo-y:0px;       /* logo nudge, + moves down */
  --m-burger-y:0px;     /* menu icon nudge, + moves down */
  --m-cta-px:24px;      /* Book a call side padding in the header */
  --m-mega:28px;        /* Home headline on phones */
  --m-h1:34px;          /* page headings (Work, About, News, Privacy) on phones */
  /* Page type — the small design system for inner pages on phones + small
     tablets (user, 2026-11-22: "we're crafting a design system as we go").
     Set from About; News and Article use the same tokens. */
  --m-t-top:24px;       /* header → page headline */
  --m-t-back:24px;      /* "← News" back link → headline (Article) */
  --m-t-h1:24px;        /* page headline */
  --m-t-h1-lh:1.24;
  --m-t-sub:15.5px;     /* sub-text under the headline (About philosophy, News + Article ledes) */
  --m-t-sub-lh:1.5;
  --m-t-body:15.5px;    /* body copy (About "Why we're here", Article text) */
  --m-t-body-lh:1.5;
  --m-ab-h1-mb:32px;    /* About headline → "Our Philosophy" (phone) */
  --m-ar-h1:32px;       /* article headline on phones */
  --m-logo-w:140px;     /* header logo width (phone + tablet) */
  --m-burger:26px;      /* menu icon size */
  --m-burger-w:1.75px;   /* menu icon line weight */
  --m-burger-gap:6px;   /* space between the two menu lines */
  --m-burger-nudge:12px; /* pulls the menu button toward the right edge */
  --m-trust-gap:55px;   /* sub-text → trusted-by carousel */
  --m-trust-item-gap:16px; /* space between logos in the carousel */
  --m-trust-logo:36px;  /* logo tile size in the carousel (logos only, no names) */
  --m-sub-gap:8px;     /* headline → sub-text */
  --m-sub-fs:14.5px;    /* sub-text size on phones */
  /* phone hero + field (added 2026-11-11; defaults = what phones showed before) */
  --m-mega-lh:1.21;     /* Home headline line height */
  --m-sub-lh:1.5;       /* sub-text line height */
  --m-hero-pt:56px;     /* space above the headline */
  --m-hero-pb:43px;    /* space below the hero (sub-text → section line; trusted-by moved to the reel on phones) */
  --m-tr-pt:28px;       /* work reel → trusted-by label (phone) */
  --m-tr-lgap:14px;      /* label → organization line */
  --m-tr-pb:32px;       /* trusted-by → section line */
  --m-trust-fs:13px;    /* trusted-by text size */
  --m-trust-ico:24px;   /* trusted-by logo tile size */
  --m-trust-ico-pad:0px;/* padding inside the logo tile */
  --m-trust-lbl-gap:7px;/* "organizations like" → logo */
  --m-trust-ico-gap:5px;/* logo → company name */
  --m-tab-x:47;         /* subject tabs across the field, 0 left → 100 right (user: centred, 2026-11-11) */
  --m-tab-y:0;          /* subject tabs down the field, 0 top → 100 bottom (user: top, 2026-11-11) */
  --m-tab-iny:0px;      /* how far the tabs stay inside the top/bottom edge */
  --m-tab-hang:-50;     /* % of the tabs' own height shifted down (+) or up (−); −50 at the top = centred on the field's top edge (user) */
  --m-ctl-pt:0px;       /* extra space above the control row (toggles now sit on the dividing line) */
  --m-ctl-lift:17px;    /* lifts the toggles onto the dividing line; half the 34px toggle = centred on it */
  --m-ctl-pb:48px;      /* space below the control row */
  --m-ctl-px:18px;      /* control row side padding */
  --m-ctl-gap:18px;     /* space between controls */
  --m-ctl-lgap:8px;     /* control label → toggle */
  --m-field-h:405px;    /* field height on phones */
  --m-field-sc:1.3;       /* asset size (1 = as before); read by app.js */
  /* section 5 on phones: fixed price intro + reviews (2026-11-11; defaults = what phones showed) */
  --m-pr-pt:64px;       /* section top → heading */
  --m-pr-h:28px;        /* heading size */
  --m-pr-hlh:1.06;      /* heading line height */
  --m-pr-hgap:16px;     /* heading → paragraphs */
  --m-pr-pfs:14.5px;      /* paragraph size */
  --m-pr-plh:1.65;      /* paragraph line height */
  --m-pr-pgap:16px;     /* between paragraphs */
  --m-pr-act:48px;      /* paragraphs → buttons */
  --m-pr-ngap:16px;     /* buttons → note */
  --m-pr-nfs:13px;    /* note size */
  --m-pr-stack:40px;    /* note → reviews rule */
  --m-rv-pt:28px;       /* reviews rule → dots */
  --m-rv-nav:16px;      /* dots → quote */
  --m-rv-fs:14.5px;     /* quote size */
  --m-rv-lh:1.5;        /* quote line height */
  --m-rv-who:13px;      /* quote → name */
  --m-rv-av:32px;       /* avatar size */
  --m-pr-pb:66px;       /* reviews → quote form */
  /* quote form (phone) */
  --qf-pt:43px;         /* space above the form */
  --qf-pb:40px;         /* space below the form */
  /* quote form colours: the green panel, like Book a call and Questions (user, 2026-11-11). Change these to recolour it. */
  --qf-bg:var(--forest);                  /* panel */
  --qf-fg:var(--ground);                  /* text, fields, selected badge */
  --qf-muted:rgba(255,253,250,.62);       /* labels, sub-text */
  --qf-line:rgba(255,253,250,.14);        /* hairlines */
  --qf-accent:#FFE14A;                    /* stepper (the site's yellow, as on Book a call's today) */
  --qf-mt:60px;          /* space above the panel (reviews → panel is also the section's 'Reviews → quote form') */
  --qf-mx:19px;         /* panel inset from the screen edges */
  --qf-px:24px;         /* panel inner side padding */
  --qf-mb:60px;         /* space below the panel */
  --qf-r:20px;          /* panel corner radius */
  --qf-mark-gap:64px;   /* answers → the pressed-in mark on screen 1 */
  --qf-mark-fs:32px;    /* "Run with the herd" size */
  --qf-mark-lh:56px;    /* bison mark height */
  --qf-mark-hi:.15;     /* strength of the light edge that makes it look pressed in */
  --qf-mark-lo:.61;     /* strength of the dark edge along the top */
  --qf-mark-d:.75px;      /* depth: how far the edges sit from the letters */
  --qf-mark-blur:.25px;   /* softness of those edges */
  --qf-mark-fill:31%;   /* how much darker than the panel the letters are */
  --qf-mark-op:.8;       /* overall opacity */
  --qf-mark-fw:600;     /* "Run with the herd" weight */
  --qf-mark-ls:-.015em; /* "Run with the herd" letter spacing */
  --qf-k-fs:11px;       /* "Quote" / Back / count size */
  --qf-q:18px;          /* question size */
  --qf-q-gap:40px;      /* question → answers */
  --qf-o-fs:14.5px;       /* answer text size */
  --qf-o-h:58px;        /* answer row height */
  /* section 6 on phones: mailing list + footer (2026-11-11; defaults = what phones showed) */
  --m-sf-h:680px;       /* footer height */
  --m-sf-pt:48px;       /* top of footer → logo */
  --m-sf-logo:150px;    /* logo width */
  --m-sf-bgap:20px;     /* logo → mailing-list text */
  --m-sf-cfs:13.5px;      /* mailing-list text size */
  --m-sf-clh:1.55;       /* mailing-list text line height */
  --m-sf-cgap:18px;     /* text → Join button */
  --m-sf-ph:40px;       /* Join button height */
  --m-sf-pfs:11px;      /* Join button text size */
  --m-sf-tpb:28px;      /* Join button → links */
  --m-sf-lfs:14px;      /* link size */
  --m-sf-lcg:9px;      /* space between links */
  --m-sf-lrg:6px;       /* space between link rows */
  --m-sf-cpy:15px;      /* © size */
  --m-sf-px:20px;       /* footer side padding (was the 24px page margin; widened, user) */
  --m-sf-cmw:100%;      /* mailing-list text width (was capped at 44ch; widened, user) */
  --m-sf-lfw:400;       /* link weight */
  --m-sf-lop:1;         /* link opacity */
  --m-sf-cpyb:20px;     /* © distance from the bottom */
  --m-sf-lgx:16px;      /* Join button → Legal (phones) */
  --m-sf-lgy:0px;       /* Legal nudge, + moves down */
  --m-sf-wide:1.35;     /* footer mountains drawn this many times wider than the phone (cropped); was 1, the front ridges stood up as walls */
  --m-sf-pan:50;        /* which slice of the wider range shows: 0 left · 100 right */
  --m-reel-peek:16px;   /* sliver of the neighbouring work cards (≤860) */
  --m-reel-gap:12px;    /* space between work cards (≤860) */
  --m-sat-dy:16;        /* satellite nudged down (px) to clear the subject tabs (user); read by app.js */
  --m-ship-v:3.2;       /* seconds, frame edge → storm eye (desktop 5.2); read by app.js */
  --m-ship-m:0.02;      /* how far outside the edge a ship starts (desktop 0.10) */
  /* phone scroll dock (2026-11-11) */
  --m-dock-after:80;    /* px scrolled before the dock can appear (unitless, read by mobile.js) */
  --m-dock-bottom:16px; /* pill distance from the bottom edge */
  --m-dock-speed:400ms; /* slide time for header + pill */
  --m-dock-fs:13px;     /* pill text size */
  --m-dock-ico:18px;    /* pill menu icon size */
  --m-dock-h:44px;      /* pill button height */
  --m-dock-px:18px;     /* pill button side padding */
  --m-dock-pad:6px;     /* space around the buttons inside the pill */
  --m-dock-gap:4px;     /* space between Menu and Book a call */
  --m-tab-ico:16px;     /* subject tab icon size */
  --m-tab-px:13px;      /* subject tab side padding */
  --m-tab-py:7px;       /* subject tab top/bottom padding */
}

/* ---------- header: one row, logo · (coords) · Book a call · Menu ---------- */
.head__menu{ display:none; }
@media (max-width:860px){
  html:root{ --gutter:var(--m-gutter); } /* html:root to beat baked.css (html:root --gutter 52px) */
  .head{ flex-wrap:nowrap !important; height:auto; gap:10px !important; padding-top:var(--m-head-pt) !important; padding-bottom:var(--m-head-pb) !important; }
  .head .head__l{ flex-direction:row !important; align-items:center; width:auto !important; flex:1 1 auto; gap:0 !important; }
  .head .head__r{ gap:10px !important; flex:none; }
  .head .head__cta{ padding-left:var(--m-cta-px) !important; padding-right:var(--m-cta-px) !important; white-space:nowrap; }
  .head__menu{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; margin:0 -8px 0 0; padding:0; border:0; background:none; color:var(--forest); cursor:pointer; border-radius:10px; }
  .head__menu:focus-visible{ outline:1.5px solid var(--forest); outline-offset:2px; }
  .head__menu svg path{ transition:transform .3s cubic-bezier(.22,1,.36,1), opacity .2s ease; transform-origin:center; transform-box:fill-box; }
  .head__menu svg path{ transform-box:view-box !important; transform-origin:10px 10px !important; }
  html[data-menu="open"] .head__menu .l1{ transform:rotate(45deg) translateY(3.5px); }
  html[data-menu="open"] .head__menu .l2{ transform:rotate(-45deg) translateY(-3.5px); }

  /* the nav becomes the menu sheet under the header */
  .head .nav{ display:flex !important; position:fixed !important; left:0 !important; right:0 !important; top:var(--m-head-bottom, 64px) !important; bottom:auto !important; width:auto !important; max-width:none !important; min-width:0 !important; z-index:60;
    flex-direction:column; align-items:stretch; gap:0; margin:0 !important; padding:8px var(--gutter) 20px; transform:none !important;
    background:var(--ground); border-bottom:1px solid var(--rule); box-shadow:0 24px 40px -28px rgba(22,40,27,.35);
    opacity:0; visibility:hidden; translate:0 -8px; transition:opacity .22s ease, translate .3s cubic-bezier(.22,1,.36,1), visibility 0s linear .3s; }
  html[data-menu="open"] .head .nav{ opacity:1; visibility:visible; translate:0 0; transition:opacity .22s ease, translate .3s cubic-bezier(.22,1,.36,1), visibility 0s; }
  .head .nav > a{ display:block !important; width:auto !important; padding:14px 0; font-size:24px !important; letter-spacing:var(--tr-t, -.01em); border-bottom:1px solid var(--rule); opacity:1 !important; }
  .head .nav > a:last-child{ border-bottom:0; }
  .head .nav > a[aria-current="page"]{ color:var(--forest); }
}
@media (max-width:600px){
  .head .wx{ display:none; }   /* coordinates + weather: desktop and tablet only */
}
@media (max-width:860px) and (prefers-reduced-motion: reduce){
  .head .nav, html[data-menu="open"] .head .nav, .head__menu svg path{ transition:none; translate:none; }
}

/* ---------- Home ---------- */
@media (max-width:860px){
  html .split{ grid-template-columns:minmax(0, 1fr) !important; }
  html .pane-l{ border-right:0; border-bottom:1px solid var(--rule); }
}
@media (max-width:600px){
  h1.mega{ font-size:var(--m-mega) !important; line-height:var(--m-mega-lh) !important; }
}

/* ---------- page headings ---------- */
@media (max-width:600px){
  .wp-top h1, .ab--3 .ab-h1, .wp-col .wp-head h1{ font-size:var(--m-h1) !important; }
  .ar--g .ar-h1, .ar-h1{ font-size:var(--m-ar-h1) !important; }
  .ar--g .ar-lede{ max-width:none !important; }
}
/* Page type on phones + small tablets (--m-t-*, see :root). About set the
   values; News and Article follow (user, 2026-11-22). */
@media (max-width:860px){
  /* header → headline */
  html .ab--3 .c, html .nw .wp-col{ padding-top:var(--m-t-top) !important; }
  html .ab--3 .ab-h1, html .nw .wp-head h1{ margin-top:0 !important; }
  /* Article: the "← News" link takes the header → headline slot, then a gap to the headline */
  html .ar-back-rail{ margin-top:var(--m-t-top) !important; display:flex; line-height:1; }   /* wrapper hugs the link, so gaps measure from the link itself */
  html .ar .wp-col{ padding-top:0 !important; }
  html .ar .ar-head{ margin-top:var(--m-t-back) !important; }
  /* headline */
  html .ab--3 .ab-h1, html .nw .wp-head h1, html .ar .ar-h1{ font-size:var(--m-t-h1) !important; line-height:var(--m-t-h1-lh) !important; }
  /* sub-text */
  html .ab--3 .ab-lede, html .nw .wp-head .lede, html .ar .ar-lede{ font-size:var(--m-t-sub) !important; line-height:var(--m-t-sub-lh) !important; }
  /* body */
  html .ab--3 .ab-body, html .ar .ar-body p, html .ar .ar-body li{ font-size:var(--m-t-body) !important; line-height:var(--m-t-body-lh) !important; }
}
@media (max-width:600px){
  html .ab--3 .ab-h1{ margin-bottom:var(--m-ab-h1-mb) !important; }
}

/* ---------- About + Privacy: no contents list on small screens ---------- */
@media (max-width:860px){
  .ab--3 .l{ display:none !important; }
}

/* ---------- footer: links get their own row under the mailing list ---------- */
@media (max-width:760px){
  .sf__line{ grid-row:2 !important; justify-self:start !important; align-self:start !important; margin:0 0 28px !important; }
}

/* ---------- Home field: the tag would sit under the subject tabs ---------- */
@media (max-width:600px){
  .stage .stage__tag{ display:none; }
}

/* ---------- touch polish (user, 2026-11-22: "I don't want the sloppy stuff") ----------
   · no double-tap zoom on taps (pinch zoom still works)
   · iOS zooms into any field under 16px and stays zoomed: every field is
     16px on phones + tablets */
html{ touch-action:manipulation; }
@media (max-width:860px){
  .ml__input, .ml__pill.is-form .ml__label, .qf__fi, .qf__oi, .bk__f input, .bk__f textarea{ font-size:16px !important; }
}

/* ---------- article reading bar: just the tracker on phones ---------- */
@media (max-width:600px){
  .ar-rbar .ar-rbar__cta{ display:none !important; }
  .ar-rbar{ padding-left:var(--gutter) !important; padding-right:var(--gutter) !important; }
}
/* phones: the reading bar keeps its sun + "4 min left", without the
   section title (user, 2026-11-22: the title text should be removed) */
@media (max-width:600px){
  .ar-rbar .sg-txt [data-read-sec], .ar-rbar .sg-txt .sep{ display:none !important; }
}

/* ---------- header tweaks: logo, menu icon, phone CTA (user, 2026-11-04) ---------- */
@media (max-width:860px){
  .head .wordmark--logo{ width:var(--m-logo-w) !important; }
  .head__menu{ margin-right:calc(var(--m-burger-nudge) * -1); }
  .head__menu svg{ width:var(--m-burger); height:var(--m-burger); }
  .head__menu svg path{ stroke-width:var(--m-burger-w); }
  .head__menu .l1{ transform:translateY(calc((7px - var(--m-burger-gap)) / 2)); }
  .head__menu .l2{ transform:translateY(calc((var(--m-burger-gap) - 7px) / 2)); }
}
@media (max-width:600px){
  .head .head__cta{ display:none !important; }   /* phones: Book a call lives in the page, not the header */
}

/* ---------- Home hero, phone (user, 2026-11-04) ----------
   No Book a call / note in the hero, no rule under the headline, sub-text
   under the h1, trusted-by as a swipeable logo carousel above the h1. */
.m-trust, .m-sub{ display:none; }
@media (max-width:600px){
  /* original trusted-by rotator, moved under the sub-text (user, 2026-11-04) */
  .headline{ display:flex; flex-direction:column; }
  .headline .trust{ order:3; margin:var(--m-trust-gap) 0 0 !important; }
  .m-trust[data-mode="off"]{ display:none !important; }
  .headline{ border-bottom:0 !important; }
  .split .pane-l__copy, .split .cta, .split .cta-note{ display:none !important; }

  .m-trust{ display:block; margin:var(--m-trust-gap) calc(var(--gutter) * -1) 0; }   /* below the sub-text (user, 2026-11-04) */
  .m-trust__label{ margin:0 0 12px; padding:0 var(--gutter); font-size:15px; line-height:1.5; color:var(--forest-mid); }
  .m-trust__scroller{ overflow-x:auto; overflow-y:hidden; scrollbar-width:none; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; touch-action:pan-x pan-y; cursor:grab;
    -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 40px), transparent 100%);
            mask-image:linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 40px), transparent 100%); }
  .m-trust__scroller::-webkit-scrollbar{ display:none; }
  .m-trust__scroller.is-drag{ cursor:grabbing; }
  .m-trust__track{ display:flex; gap:var(--m-trust-item-gap); width:max-content; margin:0; padding:2px var(--gutter); list-style:none; }
  .m-trust__item{ display:inline-flex; align-items:center; gap:8px; flex:none; font-size:15px; font-weight:500; color:var(--forest); white-space:nowrap; user-select:none; -webkit-user-select:none; }
  .m-trust__item img{ width:var(--m-trust-logo); height:var(--m-trust-logo); border-radius:calc(var(--m-trust-logo) * .24); object-fit:contain; box-shadow:inset 0 0 0 1px rgba(0,0,0,.08); pointer-events:none; }

  /* static row (current pick): logos lined up, no scroll, no fade */
  .m-trust[data-mode="row"] .m-trust__scroller{ overflow:visible; -webkit-mask-image:none; mask-image:none; cursor:auto; touch-action:auto; }
  .m-trust[data-mode="row"] .m-trust__track{ width:auto; flex-wrap:wrap; }

  .m-sub{ display:block; margin:var(--m-sub-gap) 0 0; font-size:var(--m-sub-fs); line-height:1.5; color:var(--forest-mid); max-width:34ch; }
}

/* ---------- header nudges + phone hero spacing (user, 2026-11-11) ---------- */
@media (max-width:860px){
  .head .wordmark--logo{ translate:0 var(--m-logo-y); }
  .head .head__menu{ translate:0 var(--m-burger-y); }
}
@media (max-width:600px){
  html .headline{ padding-top:var(--m-hero-pt) !important; padding-bottom:var(--m-hero-pb) !important; }
  .m-sub{ line-height:var(--m-sub-lh); }
  .headline .trust{ font-size:var(--m-trust-fs); gap:0 var(--m-trust-lbl-gap); }
  .headline .trust__who{ gap:var(--m-trust-ico-gap); }
  .headline .trust__logo{ width:var(--m-trust-ico); height:var(--m-trust-ico); border-radius:calc(var(--m-trust-ico) * .25); }
  .headline .trust__logo img{ box-sizing:border-box; padding:var(--m-trust-ico-pad); }
}

/* ---------- Home field, phone: readout gone, icon tabs, movable (user, 2026-11-11) ----------
   Tabs: 0/0 = top-left, 100/100 = bottom-right, 50/50 = centred; 20px in
   from the side edges. Down + "hang" let them sit across the field's bottom
   edge, half in the control row (user, 2026-11-11). For that the field
   stops clipping and the render clips itself instead. */
.index__ico{ display:none; }
@media (max-width:600px){
  .stage .stage__read{ display:none !important; }
  html[data-hero-layout="overlay"] .stage > #index{
    left:calc(20px + (100% - 40px) * var(--m-tab-x) / 100) !important;
    top:calc(var(--m-tab-iny) + (100% - var(--m-tab-iny) * 2) * var(--m-tab-y) / 100) !important;
    translate:calc(var(--m-tab-x) * -1%) calc(var(--m-tab-y) * -1% + var(--m-tab-hang) * 1%);
  }
  html[data-hero-layout="overlay"] .index__btn{ padding:var(--m-tab-py) var(--m-tab-px) !important; align-items:center; justify-content:center; }
  .index__ico{ width:var(--m-tab-ico); height:var(--m-tab-ico); flex:none; }
  /* icon set: html[data-m-icons] picks one; no attribute = Phosphor bold (the pick) */
  html:not([data-m-icons]) .index__ico[data-set="phb"],   /* picked: Phosphor bold (user, 2026-11-11) */
  html[data-m-icons="ph"]  .index__ico[data-set="ph"],
  html[data-m-icons="phb"] .index__ico[data-set="phb"],
  html[data-m-icons="phf"] .index__ico[data-set="phf"],
  html[data-m-icons="tb"]  .index__ico[data-set="tb"],
  html[data-m-icons="ms"]  .index__ico[data-set="ms"],
  html[data-m-icons="cb"]  .index__ico[data-set="cb"],
  html[data-m-icons="io"]  .index__ico[data-set="io"]{ display:block; }
  .index__lbl{ position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
}

/* ---------- Home field, phone: tabs on the seam + trimmed controls (user, 2026-11-11) ---------- */
@media (max-width:600px){
  /* clip sideways (satellite + ships start off the edge), let the tabs hang below */
  .split .stage{ overflow-x:clip !important; overflow-y:visible !important; }
  .split .stage > .render,
  .split .stage > .render__ships,
  .split .stage > .render__over{ bottom:0; height:auto !important; overflow:hidden; }   /* the field keeps its edge */
  .split #controls{ padding-top:var(--m-ctl-pt) !important; min-height:calc(var(--m-ctl-pt) + 12px); }
  /* weather: wind shear + send vessel only */
  .stage[data-subject="weather"] ~ #controls .ctl:has(> .seg[data-key="sst"]),
  .stage[data-subject="weather"] ~ #controls .ctl:has(> .seg[data-key="track"]),
  /* wildfire: wind + satellite scan only */
  .stage[data-subject="wildfire"] ~ #controls .ctl:has(> .seg[data-key="dir"]),
  .stage[data-subject="wildfire"] ~ #controls .ctl:has(> .seg[data-key="fuel"]),
  /* climate: ocean temp only (user, 2026-11-11) */
  .stage[data-subject="climate"] ~ #controls .ctl:has(> .seg[data-key="warm"]),
  .stage[data-subject="climate"] ~ #controls .ctl:has(> .seg[data-key="ice"]){ display:none !important; }
}

/* ---------- work reel: phone lightbox (reel.js, user 2026-11-11) ---------- */
@media (max-width:600px){ .reel__card:not(.reel__card--empty){ cursor:zoom-in; } }
html.rlb-open{ overflow:hidden; }
.rlb{
  width:100vw; max-width:none; height:100dvh; max-height:none; margin:0; padding:0; border:0;
  background:transparent; color:var(--ground); overflow:hidden;
}
.rlb::backdrop{ background:color-mix(in srgb, var(--forest) 92%, transparent); }
.rlb[open]{ display:grid; place-items:center; animation:rlb-in .22s ease; }
.rlb__fig{ margin:0; padding:0 var(--gutter, 24px); width:100%; box-sizing:border-box; }
.rlb__img{ display:block; width:100%; max-height:78dvh; object-fit:contain; border-radius:6px; }
.rlb__cap{ margin-top:14px; font:500 11px/1.3 var(--mono, ui-monospace, monospace); letter-spacing:.14em; text-transform:uppercase; color:color-mix(in srgb, var(--ground) 78%, transparent); }
.rlb__x{
  position:absolute; top:max(12px, env(safe-area-inset-top)); right:12px; width:44px; height:44px;
  border:0; border-radius:999px; background:color-mix(in srgb, var(--ground) 12%, transparent);
  color:var(--ground); font:300 26px/1 system-ui, sans-serif; cursor:pointer;
}
.rlb__x:focus-visible{ outline:1.5px solid var(--ground); outline-offset:2px; }
@keyframes rlb-in{ from{ opacity:0; } to{ opacity:1; } }
@media (prefers-reduced-motion: reduce){ .rlb[open]{ animation:none; } }

/* ---------- field section, phone: spacing + asset size (user, 2026-11-11) ----------
   Control row and labels centred (switchable to left in the tweak bar). Field height and asset size: the subject is meant to be cut off
   top and bottom, like desktop. Asset size is read by app.js. */
@media (max-width:600px){
  .split .stage{ height:var(--m-field-h) !important; min-height:0 !important; --m-field-scale:var(--m-field-sc);
    --m-ship-voyage:var(--m-ship-v); --m-ship-margin:var(--m-ship-m); --m-sat-y:var(--m-sat-dy); }
  .split #controls{ padding-left:var(--m-ctl-px) !important; padding-right:var(--m-ctl-px) !important; padding-bottom:var(--m-ctl-pb) !important; gap:var(--m-ctl-gap) !important; }
  .split #controls .ctl{ gap:var(--m-ctl-lgap) !important; }
  /* alignment: centred by default (user, 2026-11-11, third call); the tweak
     bar's "Align" switch sets html[data-m-ctl-align="left"] to compare */
  html:not([data-m-ctl-align="left"]) .split #controls{ justify-content:safe center; }
  html:not([data-m-ctl-align="left"]) .split #controls .ctl{ align-items:center; }
  html:not([data-m-ctl-align="left"]) .split #controls .ctl__label{ text-align:center; }
}

/* ---------- phone scroll dock (mobile.js, user 2026-11-11) ----------
   Header slides up via its sticky `top` (not transform, which would trap
   the fixed menu sheet inside it); the pill rises from below. */
.m-dock{ display:none; }
@media (max-width:600px){
  .head{ transition:top var(--m-dock-speed) cubic-bezier(.22,1,.36,1), box-shadow .2s ease; }
  html[data-dock="on"] .head{ top:calc(var(--btnav-total, 0px) - var(--m-head-h, 64px) - 12px) !important; }
  /* the header's backdrop blur makes it the containing block for the fixed
     menu sheet; drop it while the header is off-screen so the sheet can sit
     above the pill */
  html[data-dock="on"] .head{ -webkit-backdrop-filter:none !important; backdrop-filter:none !important; filter:none !important; }

  .m-dock{
    display:flex; align-items:center; gap:var(--m-dock-gap);
    position:fixed; left:50%; bottom:calc(var(--m-dock-bottom) + env(safe-area-inset-bottom)); z-index:950;
    padding:var(--m-dock-pad); border-radius:999px;
    background:color-mix(in srgb, var(--ground) 92%, transparent);
    -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
    border:1px solid color-mix(in srgb, var(--rule) 80%, var(--ground));
    box-shadow:0 1px 2px color-mix(in srgb, var(--forest) 8%, transparent), 0 14px 32px -12px color-mix(in srgb, var(--forest) 38%, transparent);
    translate:-50% calc(100% + var(--m-dock-bottom) + 24px); opacity:0;
    transition:translate var(--m-dock-speed) cubic-bezier(.22,1,.36,1), opacity calc(var(--m-dock-speed) * .6) ease;
  }
  html[data-dock="on"] .m-dock{ translate:-50% 0; opacity:1; }
  .m-dock__menu, .m-dock__cta{
    display:inline-flex; align-items:center; gap:8px; height:var(--m-dock-h); padding:0 var(--m-dock-px); border-radius:999px;
    font-family:inherit; font-weight:500; font-size:var(--m-dock-fs); line-height:1;   /* longhands: the old `font:` shorthand had an invalid family and was dropped, so the text fell back to 16px */ white-space:nowrap; text-decoration:none; cursor:pointer;
  }
  .m-dock__menu{ border:0; background:transparent; color:var(--forest); }
  .m-dock__menu svg{ width:var(--m-dock-ico); height:var(--m-dock-ico); }
  html[data-dock-pin="on"] .m-dock{ translate:-50% 0; opacity:1; }   /* tweak bar: keep the pill up while adjusting it */
  .m-dock__cta{ background:var(--forest); color:var(--ground); }
  .m-dock__menu:focus-visible, .m-dock__cta:focus-visible{ outline:1.5px solid var(--forest); outline-offset:2px; }

  /* menu opened from the pill: the sheet rises above it instead of hanging off the hidden header */
  html[data-dock="on"] .head .nav{
    top:auto !important; bottom:calc(var(--m-dock-bottom) + env(safe-area-inset-bottom) + 68px) !important;
    left:12px !important; right:12px !important; border:1px solid var(--rule); border-radius:18px;
    padding-top:8px; padding-bottom:8px; translate:0 8px;
  }
  html[data-dock="on"][data-menu="open"] .head .nav{ translate:0 0; }
}
@media (max-width:600px) and (prefers-reduced-motion: reduce){
  .head, .m-dock{ transition:none; }
}

/* ---------- trusted-by under the work reel, phone (user, 2026-11-11) ----------
   The hero's rotating line, unchanged, moved below the reel by mobile.js:
   centred, the changing organization on its own line under the label. */
@media (max-width:600px){
  .reel{ padding-bottom:var(--m-tr-pb) !important; }
  .reel > .trust{
    flex-direction:column; align-items:center; text-align:center;
    gap:var(--m-tr-lgap) 0 !important; margin:var(--m-tr-pt) 0 0 !important; padding:0 var(--gutter);
    font-size:var(--m-trust-fs);
  }
  .reel > .trust .trust__who{ gap:var(--m-trust-ico-gap); }
  .reel > .trust .trust__logo{ width:var(--m-trust-ico); height:var(--m-trust-ico); border-radius:calc(var(--m-trust-ico) * .25); }
  .reel > .trust .trust__logo img{ box-sizing:border-box; padding:var(--m-trust-ico-pad); }
  .reel > .trust .trust__name{ transform-origin:center; }
}

/* ---------- work reel, phone + small tablet: centred card, peeking neighbours, snap (user, 2026-11-11) ----------
   reel.js centres the first card on load and turns the drift off ≤860. */
@media (max-width:860px){
  .reel .reel__track{ gap:var(--m-reel-gap); padding:0; scroll-padding:0; scroll-snap-type:x mandatory; }
  .reel .reel__card{ width:calc(100vw - (var(--m-reel-peek) + var(--m-reel-gap)) * 2); scroll-snap-align:center; scroll-snap-stop:always; }
}

/* ---------- field controls, phone: label under its toggle (user, 2026-11-11) ---------- */
@media (max-width:600px){
  .split #controls .ctl{ flex-direction:column-reverse; }
}

/* ---------- field controls, phone: toggles centred on the dividing line (user, 2026-11-11) ----------
   The row's top border is the line under the field. Its toggles are pulled
   up by half their height so the line runs through their middle; labels
   stay underneath. The row stops scrolling sideways so nothing clips. */
@media (max-width:600px){
  .split #controls{ position:relative; z-index:4; overflow:visible !important; }
  .split #controls .ctl{ margin-top:calc(var(--m-ctl-lift) * -1); }
}

/* ---------- phone quote form (quote.js v3, user 2026-11-11) ----------
   Hairline rows like the pricing lists, mono letters + labels, a segmented
   progress line. Header row: "Quote" (step 1) or Back on the left, the
   count on the right. Stage height fixed by quote.js; screens cross-fade.
   Sizes are tweak-bar knobs (group "5 · Quote form"). */
.qf{ display:none; }
@media (max-width:600px){
  #pricing .pr__card{ display:none !important; }
  /* the light green around the panel is the grid's hairline colour (.pr background); kept on purpose (user, 2026-11-11) */
  .qf{ display:block; position:relative; margin:var(--qf-mt) var(--qf-mx) var(--qf-mb); padding:var(--qf-pt) var(--qf-px) var(--qf-pb);   /* no rule above (user) */
    background:var(--qf-bg); color:var(--qf-fg); border-radius:var(--qf-r); corner-shape:superellipse(1.25);
    box-shadow:0 0 0 1px rgba(255,255,255,.07) inset, 0 30px 60px -20px rgba(10,22,13,.45), 0 8px 18px -8px rgba(10,22,13,.25); }
  .qf__top{ display:flex; align-items:center; justify-content:space-between; min-height:32px; margin:0 0 10px; }
  .qf__kicker, .qf__count{ margin:0; font-size:var(--qf-k-fs); letter-spacing:.16em; text-transform:uppercase; color:var(--qf-muted); }
  .qf__count{ font-variant-numeric:tabular-nums; }
  .qf__back{ appearance:none; display:inline-flex; align-items:center; gap:8px; margin:0 0 0 -10px; padding:8px 10px; border:0; border-radius:999px; background:none; cursor:pointer;
    font-size:var(--qf-k-fs); letter-spacing:.16em; text-transform:uppercase; color:var(--qf-fg); -webkit-tap-highlight-color:transparent; }
  .qf__back:active{ background:rgba(255,253,250,.1); }
  .qf__back[hidden], .qf__kicker[hidden]{ display:none; }
  .qf__segs{ display:grid; grid-template-columns:repeat(6, 1fr); gap:4px; margin:0 0 28px; }
  .qf__segs i{ height:2px; background:var(--qf-line); position:relative; overflow:hidden; }
  .qf__segs i::after{ content:''; position:absolute; inset:0; background:var(--qf-accent); transform:scaleX(0); transform-origin:left; transition:transform .45s cubic-bezier(.22,1,.36,1); }
  .qf__segs i.is-on::after{ transform:scaleX(1); }

  .qf__stage{ position:relative; }
  .qf__screen{ position:absolute; inset:0; display:flex; flex-direction:column;
    transition:opacity .32s cubic-bezier(.22,1,.36,1), translate .32s cubic-bezier(.22,1,.36,1); }
  .qf__screen.is-enter{ opacity:0; }
  .qf__screen.is-enter.is-next{ translate:0 10px; }
  .qf__screen.is-enter.is-back{ translate:0 -10px; }
  .qf__screen.is-leave{ opacity:0; pointer-events:none; }
  .qf__screen.is-leave.is-next{ translate:0 -10px; }
  .qf__screen.is-leave.is-back{ translate:0 10px; }
  .qf__probe{ position:absolute; top:0; left:var(--qf-px); right:var(--qf-px); visibility:hidden; pointer-events:none; }
  .qf__probe .qf__screen{ position:static; transition:none; }

  .qf__q{ margin:0 0 var(--qf-q-gap); font-size:var(--qf-q); line-height:1.15; font-weight:400; letter-spacing:-.015em; color:var(--qf-fg); outline:none; }
  .qf__opts{ border-top:1px solid var(--qf-line); }
  .qf__opt{
    appearance:none; display:flex; align-items:center; gap:14px; width:100%; margin:0; box-sizing:border-box;
    min-height:var(--qf-o-h); padding:10px 2px; text-align:left; cursor:pointer;
    font:inherit; color:var(--qf-fg); background:none; border:0; border-bottom:1px solid var(--qf-line); border-radius:0;
    -webkit-tap-highlight-color:transparent;
  }
  /* a small radio circle; picked = ring + dot (user: no letters) */
  .qf__ok{ flex:none; position:relative; width:var(--qf-dot, 16px); height:var(--qf-dot, 16px); border:1.5px solid rgba(255,253,250,.32); border-radius:50%;
    transition:border-color .2s ease; }
  .qf__ok::after{ content:''; position:absolute; inset:3px; border-radius:50%; background:var(--qf-fg); transform:scale(0); transition:transform .22s cubic-bezier(.22,1,.36,1); }
  .qf__ot{ flex:1; display:flex; flex-direction:column; gap:2px; }
  .qf__ol{ font-size:var(--qf-o-fs); line-height:1.25; }
  .qf__os{ font-size:13px; color:var(--qf-muted); }
  .qf__opt[aria-pressed="true"] .qf__ok, .qf__ok.is-on{ border-color:var(--qf-fg); }
  .qf__opt[aria-pressed="true"] .qf__ok::after, .qf__ok.is-on::after{ transform:scale(1); }
  .qf__opt:focus-visible{ outline:1.5px solid var(--qf-fg); outline-offset:-1.5px; }

  /* "Something else": the row turns into a field, same height, same rule */
  .qf__opt--in{ cursor:text; border-bottom-color:var(--qf-fg); animation:qf-row-in .28s cubic-bezier(.22,1,.36,1); }
  .qf__oi{ flex:1; min-width:0; margin:0; padding:6px 0; border:0; background:none; outline:none; font:inherit; font-size:var(--qf-o-fs); color:var(--qf-fg); caret-color:var(--qf-fg); }
  .qf__oi::placeholder{ color:color-mix(in srgb, var(--qf-muted) 70%, transparent); }
  .qf__next{ flex:none; appearance:none; height:34px; padding:0 14px; border:0; border-radius:999px; background:var(--qf-fg); color:var(--qf-bg);
    font-size:11px; letter-spacing:.14em; text-transform:uppercase; cursor:pointer; }
  .qf__opt--in.is-need{ border-bottom-color:var(--qf-accent); }
  .qf__vh{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

  /* contact step: labelled hairline fields, like the rows above them */
  .qf__contact{ display:flex; flex-direction:column; }
  .qf__field{ display:flex; flex-direction:column; gap:6px; padding:12px 0 10px; border-bottom:1px solid var(--qf-line); }
  .qf__field:first-child{ border-top:1px solid var(--qf-line); }
  .qf__field:focus-within{ border-bottom-color:var(--qf-fg); }
  .qf__fl{ font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--qf-muted); }
  .qf__fi{ margin:0; padding:2px 0; border:0; background:none; outline:none; font:inherit; font-size:var(--qf-o-fs); color:var(--qf-fg); caret-color:var(--qf-fg); }
  .qf__send{ margin-top:24px; align-self:stretch; appearance:none; border:0; cursor:pointer; height:48px; border-radius:12px; corner-shape:superellipse(1.25);
    font:500 11px/1 var(--mono); letter-spacing:var(--tr-m, .2em); text-transform:uppercase;
    background:var(--qf-fg); color:var(--qf-bg);
    background-image:linear-gradient(180deg, #fff, color-mix(in srgb, var(--qf-fg) 90%, var(--qf-bg)) 140%);
    box-shadow:inset 0 2px 0 #fff, inset 0 -2px 0 color-mix(in srgb, var(--qf-bg) 10%, transparent), 0 10px 20px -12px rgba(0,0,0,.5);
    transition:transform .2s ease; }
  .qf__send:active{ transform:translateY(1px); }
  .qf__send.is-busy{ cursor:progress; opacity:.75; }
  .qf__note{ margin:12px 0 0; font-size:13px; line-height:1.5; color:var(--qf-muted); text-align:center; }
  .qf__note:empty{ display:none; }
  .qf__note a{ color:var(--qf-fg); }
  .qf__hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
  .qf__fi::placeholder{ color:rgba(255,253,250,.32); }

  .qf__q--done{ margin-top:8px; }
}
/* screen 1: the pressed-in mark (quote.js). Same green as the panel, a
   shade deeper, lit from below by a one-pixel light edge and shaded on top:
   reads as stamped into the panel rather than printed on it. */
@media (max-width:600px){
  .qf__mark{ display:flex; justify-content:center; margin-top:var(--qf-mark-gap); pointer-events:none; user-select:none; }
  .qf__mark{ opacity:var(--qf-mark-op); }
  .qf__mark-t{ font-size:var(--qf-mark-fs); font-weight:var(--qf-mark-fw); letter-spacing:var(--qf-mark-ls); line-height:1;
    color:color-mix(in srgb, var(--qf-bg) calc(100% - var(--qf-mark-fill)), #000);
    text-shadow:0 var(--qf-mark-d) var(--qf-mark-blur) rgba(255,255,255,var(--qf-mark-hi)), 0 calc(var(--qf-mark-d) * -1) var(--qf-mark-blur) rgba(0,0,0,var(--qf-mark-lo)); }
  .qf__mark-l{ display:none; width:calc(var(--qf-mark-lh) * 55 / 63); height:var(--qf-mark-lh);   /* the bison is exactly the first 55px of logo.png (63px tall), measured */
    background:color-mix(in srgb, var(--qf-bg) calc(100% - var(--qf-mark-fill)), #000);
    -webkit-mask:url("assets/logo.png") left center / auto 100% no-repeat; mask:url("assets/logo.png") left center / auto 100% no-repeat; }
  html[data-qf-mark="logo"] .qf__mark{ filter:drop-shadow(0 var(--qf-mark-d) var(--qf-mark-blur) rgba(255,255,255,var(--qf-mark-hi))) drop-shadow(0 calc(var(--qf-mark-d) * -1) var(--qf-mark-blur) rgba(0,0,0,var(--qf-mark-lo))); }
  html[data-qf-mark="logo"] .qf__mark-t{ display:none; }
  html[data-qf-mark="logo"] .qf__mark-l{ display:block; }
  html[data-qf-mark="none"] .qf__mark{ display:none; }
}
@keyframes qf-row-in{ from{ opacity:.4; } to{ opacity:1; } }
@media (max-width:600px) and (prefers-reduced-motion: reduce){
  .qf__screen, .qf__segs i::after, .qf__opt--in{ transition:none !important; animation:none !important; }
}

/* ---------- section 5, phone: fixed price intro + reviews (tweak bar group 5, 2026-11-11) ---------- */
@media (max-width:600px){
  #pricing .pr__info{ padding-top:var(--m-pr-pt) !important; padding-bottom:var(--m-pr-pb) !important; }
  #pricing .pr__stick{ gap:var(--m-pr-stack) !important; }
  #pricing .pr__h{ font-size:var(--m-pr-h) !important; line-height:var(--m-pr-hlh) !important; margin-bottom:var(--m-pr-hgap) !important; }
  #pricing .pr__how{ margin-top:0 !important; gap:var(--m-pr-pgap) !important; }
  #pricing .pr__how p{ font-size:var(--m-pr-pfs) !important; line-height:var(--m-pr-plh) !important; }
  #pricing .pr__actions{ margin-top:var(--m-pr-act) !important; }
  #pricing .pr__note{ margin-top:var(--m-pr-ngap) !important; font-size:var(--m-pr-nfs) !important; }
  #pricing .pr__rev{ padding-top:var(--m-rv-pt) !important; }
  #pricing .pr__revnav{ margin-bottom:var(--m-rv-nav) !important; }
  #pricing .pr__q{ font-size:var(--m-rv-fs) !important; line-height:var(--m-rv-lh) !important; }
  #pricing .pr__who{ margin-top:var(--m-rv-who) !important; }
  #pricing .pr__av, #pricing .pr__av img{ width:var(--m-rv-av) !important; height:var(--m-rv-av) !important; }
}

/* ---------- section 6, phone: mailing list + footer (tweak bar group 6, 2026-11-11) ---------- */
@media (max-width:600px){
  .sf{ min-height:var(--m-sf-h) !important; }
  .sf__top{ padding-top:var(--m-sf-pt) !important; padding-bottom:var(--m-sf-tpb) !important; }
  .sf__logo .wordmark--logo{ width:var(--m-sf-logo) !important; }
  .sf__brand{ gap:var(--m-sf-bgap) !important; }
  .ml{ gap:var(--m-sf-cgap) !important; }
  .ml__copy{ font-size:var(--m-sf-cfs) !important; line-height:var(--m-sf-clh) !important; }
  .ml__pill{ height:var(--m-sf-ph) !important; }
  .ml__text{ font-size:var(--m-sf-pfs) !important; }
  .sf__link{ font-size:var(--m-sf-lfs) !important; }
  .sf__line ul{ column-gap:var(--m-sf-lcg) !important; row-gap:var(--m-sf-lrg) !important; }
  .sf__bar, .sf__bar p{ font-size:var(--m-sf-cpy) !important; }
  /* widen (user: "looks smashed"): slimmer side padding, mailing-list text uses the full column */
  .sf__top{ padding-left:var(--m-sf-px) !important; padding-right:var(--m-sf-px) !important; }
  .sf__line{ padding-left:var(--m-sf-px) !important; padding-right:var(--m-sf-px) !important; }
  .sf__bar{ left:var(--m-sf-px) !important; bottom:calc(var(--m-sf-cpyb) + env(safe-area-inset-bottom, 0px)) !important; }
  .ml{ max-width:var(--m-sf-cmw) !important; }
  .sf__link{ font-weight:var(--m-sf-lfw) !important; opacity:var(--m-sf-lop); }
  /* phones: the footer link row is dropped (user, 2026-11-22: "they have a nav
     they can use"). Everything it held is still reachable: Work / About /
     Pricing / News + Home in the menu, FAQ = the "Questions" button in the
     pricing section, Book a call in the header + dock. Legal stays: it carries
     the company name, contact email and the privacy policy link. */
  .sf__line li:not(:last-child){ display:none !important; }
  /* Legal beside the Join button (mobile.js moves it into .m-mlrow) */
  .m-mlrow{ display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px var(--m-sf-lgx); }
  .m-mlrow .sf__line{ margin:0 !important; padding:0 !important; align-self:center !important; line-height:1; translate:0 var(--m-sf-lgy); }
  html[data-m-legal="bottom"] .m-mlrow .sf__line{ align-self:flex-end !important; }   /* tweak bar: Legal → Line up with */
  html[data-m-legal="top"] .m-mlrow .sf__line{ align-self:flex-start !important; }
  .m-mlrow .sf__line .sf__link{ line-height:1; }
  /* the floating nav steps aside at the bottom so the © line is never under it */
  html[data-dock-end] .m-dock{ translate:-50% calc(100% + var(--m-dock-bottom) + 24px) !important; opacity:0 !important; }
}
