/* The Canadian Tech Stack: site styles ("poster and ledger", 2026-11-20; red and white, chosen the same day)

   The poster is the loud part: one black expanded headline per page and the red.
   Everything else is a ledger: thin rules, no cards, no tints, no shadows, and a monospace for short facts
   (cities, years, counts). Buttons, chips and category tags share the stack's shape: a 6px rounded layer.

   Colour is the flag's two colours and nothing else, and red means one thing: on this directory.
   A category's layer is red when companies are listed in it and pale when it is open; listed companies
   are the red bars on the landscape chart. A category's layer colour arrives on an element as --cc and --cf. */

:root{
  /* Colour. Every colour on the site is set here and nowhere else. */
  --red:#da291c; --on-red:#fff;                         /* "Canadian", listed companies, actions */
  --paper:#fff;                                         /* page background */
  --ink:#161312; --ink-2:#473f3b; --mut:#857b75;        /* text: main, secondary, quiet */
  --plate:#fff; --hover:#f5f3f0;                        /* form fields; the plate behind a hovered row */
  --line:rgba(22,19,18,.13); --line-2:rgba(22,19,18,.22);
  /* solid dark surfaces (buttons, ticker, closing band, footer) and the text on them */
  --deep:#161312; --on-deep:#fff; --on-deep-2:rgba(255,255,255,.78); --on-deep-3:rgba(255,255,255,.62); --deep-line:rgba(255,255,255,.28);
  /* the stack: eight reds, top to bottom in category order, each a step deeper, with the text that sits on them */
  --c1:#da291c; --c2:#ca281f; --c3:#b9231b; --c4:#a81f17; --c5:#981a13; --c6:#88150f; --c7:#78110b; --c8:#690c08;
  --f1:#fff; --f2:#fff; --f3:#fff; --f4:#fff; --f5:#fff; --f6:#fff; --f7:#fff; --f8:#fff;
  --open:#efece8; --on-open:#473f3b;                    /* a category nobody has joined yet */
  /* landscape grid */
  --bar:#fff;                                           /* a Canadian-owned vendor that isn't listed */
  --tile:#fff;                                          /* the layers inside the logo tile */
  --yes:#1e7d4f;
  --r:6px; --r-lg:10px;
  --rail:clamp(200px,23vw,290px); --gut:clamp(20px,3.4vw,52px);
  --sans:"Archivo",system-ui,sans-serif; --mono:"Martian Mono",ui-monospace,"SF Mono",Menlo,monospace;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:20px;-webkit-text-size-adjust:100%}
html:has(.jump){scroll-padding-top:72px}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.5 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer}
[hidden]{display:none!important}
.wrap{max-width:1280px;margin:0 auto;padding:0 clamp(18px,3.2vw,40px)}
:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:var(--r)}
.skip{position:absolute;left:-999px;top:0;background:var(--deep);color:var(--on-deep);padding:10px 14px;z-index:50}
.skip:focus{left:8px;top:8px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Short facts are set in the monospace: places, years, counts. Never headings, never sentences. */
.hq,.own,.layer i,.cat>header span,.quick span,.crumb,.spec dt,.guide span,
.lg-seg span,.lg-band>header span,.lg-tile span,.prose .src,.g-item i{
  font-family:var(--mono);font-stretch:87.5%;font-style:normal;font-weight:400;letter-spacing:-.015em;font-variant-numeric:tabular-nums}

/* The poster voice: the home headline, each page title and the closing headline. Nothing else is set like this. */
.disp{font-weight:800;font-stretch:122%;text-transform:uppercase;letter-spacing:-.03em;line-height:.92}
/* A heading that carries its own subheading: the first sentence in ink, the rest in grey. */
.two{margin:0;font-weight:700;font-stretch:106%;font-size:clamp(24px,2.9vw,40px);line-height:1.08;letter-spacing:-.028em;max-width:24em}
.two span{color:var(--mut)}

/* ---------- nav ---------- */
.nav{display:flex;justify-content:space-between;align-items:center;height:72px;border-bottom:1px solid var(--ink)}
.brand{display:flex;align-items:center;gap:11px;font-weight:800;font-stretch:112%;font-size:15.5px;letter-spacing:.02em;text-transform:uppercase}
.brand svg{width:30px;height:30px}
.brand .lt{fill:var(--red)}
.brand .ll{fill:var(--tile)}
.nav-links{display:flex;align-items:center;gap:26px}
.nav-links a:not(.btn){font-weight:500;font-size:15px;padding:6px 0;border-bottom:1.5px solid transparent}
.nav-links a:not(.btn):hover,.nav-links a[aria-current="page"]:not(.btn){border-bottom-color:var(--red)}
.btn{display:inline-flex;align-items:center;gap:9px;background:var(--deep);color:var(--on-deep);border:0;padding:11px 16px;border-radius:var(--r);font-weight:700;font-size:14.5px;white-space:nowrap;transition:background .15s,color .15s}
.btn:hover{background:var(--red);color:var(--on-red)}
.btn.red{background:var(--red);color:var(--on-red)}
.btn.red:hover{background:var(--deep);color:var(--on-deep)}
.btn.line{background:none;color:var(--on-deep);box-shadow:inset 0 0 0 1px var(--deep-line)}
.btn.line:hover{background:var(--on-deep);color:var(--deep)}
.menu-btn,.menu-panel{display:none}

/* ---------- home hero ---------- */
.hero-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,clamp(300px,27vw,390px));gap:clamp(24px,5vw,72px);align-items:center;padding:clamp(40px,6vw,88px) 0 clamp(40px,5.6vw,80px)}
/* The headline is sized to its own column, not to the screen: at 13.6% of the column's width per unit of type,
   its longest word always fits, so it can never run under the stack however wide the screen is.
   The first font-size is for browsers that don't know container units. */
.hero-body>div:first-child{container-type:inline-size}
.hero-h1{font-weight:900;font-stretch:125%;text-transform:uppercase;font-size:clamp(44px,6.2vw,96px);font-size:clamp(44px,13.6cqw,118px);line-height:.84;letter-spacing:-.04em;margin:0}
.hero-h1 span{display:block}
.hero-h1 span:last-child{color:var(--red)}
.sub{font-size:clamp(17px,1.5vw,21px);line-height:1.4;font-weight:450;margin:clamp(20px,2.6vw,32px) 0 clamp(22px,2.6vw,30px);max-width:27em;color:var(--ink-2)}
.find{max-width:640px}
.search{position:relative;display:block}
.search input{width:100%;height:58px;border-radius:var(--r);border:1.5px solid var(--ink);background:var(--plate);padding:0 20px 0 50px;font:inherit;font-size:17px;font-weight:500;color:var(--ink);outline:0;transition:box-shadow .15s}
.search input::placeholder{color:var(--mut)}
.search input:focus{box-shadow:0 4px 0 var(--ink)}
.search svg{position:absolute;left:18px;top:50%;transform:translateY(-50%);width:19px;height:19px;color:var(--ink)}
.quick{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:12px}
.quick span{font-size:11.5px;color:var(--mut);margin-right:6px}
.quick button{background:none;border:1px solid var(--line);border-radius:var(--r);padding:5px 10px;font-size:13.5px;font-weight:500;transition:background .12s,color .12s,border-color .12s}
.quick button:hover{background:var(--deep);border-color:var(--deep);color:var(--on-deep)}

/* the stack */
.stack{display:grid;gap:5px;padding:0 8px}
.layer{display:flex;justify-content:space-between;align-items:center;height:clamp(34px,2.9vw,42px);padding:0 clamp(12px,1.1vw,16px);border-radius:var(--r);background:var(--cc);color:var(--cf);font-weight:700;font-stretch:104%;font-size:clamp(13.5px,1.1vw,15.5px);transform:translateX(var(--x));transition:transform .2s cubic-bezier(.2,.8,.2,1);animation:drop .5s cubic-bezier(.2,.9,.25,1.1) backwards;animation-delay:calc(var(--i)*45ms)}
.layer:hover{transform:translateX(calc(var(--x) + 8px))}
.layer i{font-size:11px;font-weight:500;opacity:.85}
.layer.is-open,.cat.is-open>header{background:var(--open);color:var(--on-open)}
.layer.is-open i,.cat.is-open>header span{opacity:.6}
@keyframes drop{from{opacity:0;transform:translate(var(--x),-16px)}}

/* The ticker. The track is one flat layer that the browser slides without redrawing the text on every frame
   (will-change), which is what keeps a slow ticker from stepping. Two identical groups, moved by exactly one. */
.ticker{position:relative;background:var(--deep);color:var(--on-deep);overflow:hidden;padding:13px 0}
/* fixed at the left edge: what the pairs mean. The track slides underneath it. */
.ticker-label{position:absolute;z-index:1;left:0;top:0;bottom:0;display:flex;align-items:center;padding:0 34px 0 clamp(18px,3.2vw,40px);background:linear-gradient(90deg,var(--deep) calc(100% - 26px),transparent);font-family:var(--mono);font-stretch:87.5%;font-weight:400;font-size:11.5px;letter-spacing:-.015em;color:var(--on-deep-2);white-space:nowrap}
.ticker-track{display:flex;width:max-content;will-change:transform;animation:slide var(--dur,150s) linear infinite}
.ticker-track>div{display:flex;flex:none}
.ticker span{display:inline-flex;align-items:center;gap:10px;padding-right:46px;font-size:14px;white-space:nowrap}
.ticker i{font-style:normal;color:var(--on-deep-3)}
.ticker b{font-weight:700;font-stretch:108%;letter-spacing:.01em}
.ticker svg{width:13px;height:13px;color:var(--red);flex:none}
.ticker:hover .ticker-track{animation-play-state:paused}
@keyframes slide{to{transform:translate3d(-50%,0,0)}}

/* ---------- directory: one row per category, its layer on the left, its companies on the right ---------- */
.dir{padding-top:clamp(26px,3.2vw,40px)}
.status{margin:0 0 12px;font-size:14px;color:var(--ink-2)}
.jump{position:sticky;top:0;z-index:20;margin:0 -12px;padding:0 12px;background:var(--paper);border-top:1.5px solid var(--ink)}
.chips{display:flex;align-items:center;gap:2px;height:52px;overflow-x:auto;scrollbar-width:none}
.chips.over{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 46px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 46px),transparent)}
.chips::-webkit-scrollbar{display:none}
.chips a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:7px 10px;border-radius:var(--r);font-size:13.5px;font-weight:500;color:var(--ink-2)}
.chips a::before{content:"";width:9px;height:9px;border-radius:2px;background:var(--cc,var(--ink))}
.chips a:hover{color:var(--ink)}
.chips a.on{background:var(--deep);color:var(--on-deep);font-weight:600}
.chips a.on::before{background:var(--cc,var(--on-deep))}
.cats{border-top:1.5px solid var(--ink)}
.jump + .cats{border-top:1px solid var(--line)}
.cat{display:grid;grid-template-columns:minmax(0,var(--rail)) minmax(0,1fr);gap:0 var(--gut);align-items:start;padding:2px 0;border-bottom:1px solid var(--line)}
.cat>header{position:sticky;top:12px;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:38px;margin:12px 0;padding:6px 14px;border-radius:var(--r);background:var(--cc);color:var(--cf)}
.jump + .cats .cat>header{top:64px}
.cat h3{margin:0;font-weight:700;font-stretch:104%;font-size:14.5px;line-height:1.25}
.cat>header span{font-size:11px;font-weight:500;opacity:.85}
.rows{min-width:0}
.item{position:relative;z-index:0;display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;padding:12px 0;border-top:1px solid var(--line)}
.item:first-child{border-top:0}
.item::before{content:"";position:absolute;inset:0 -12px;z-index:-1;border-radius:var(--r);background:var(--hover);opacity:0;transition:opacity .12s}
.item:hover::before{opacity:1}
.av{flex:none;width:44px;height:44px;border-radius:var(--r-lg);display:grid;place-items:center;font-weight:800;font-stretch:108%;font-size:15.5px;letter-spacing:-.01em;background:var(--cc);color:var(--cf)}
.av-logo{background:#fff;box-shadow:inset 0 0 0 1px var(--line)} /* company logos are drawn for a white ground, whatever the page colour */
.av-logo img{width:28px;height:28px;border-radius:5px;display:block}
.item .n{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.item b{font-weight:700;font-stretch:104%;font-size:17px;letter-spacing:-.015em;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.item .hq{font-size:11.5px;color:var(--mut);white-space:nowrap}
.item p{margin:3px 0 0;color:var(--ink-2);font-size:15px;line-height:1.45;max-width:64ch}
.item .alt{margin-top:7px;font-size:13.5px;color:var(--mut);display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline}
.item .alt i{font-style:normal;color:var(--ink);font-weight:500}
.item .tag{color:var(--ink-2);font-weight:500}
.item .own{font-size:11px;color:var(--ink-2)}
.item>a{position:absolute;inset:0 -12px;border-radius:var(--r)}
.badge{white-space:nowrap;font-size:11px;font-weight:600;font-stretch:100%;letter-spacing:0;color:var(--ink-2);border:1px solid var(--line-2);border-radius:4px;padding:2px 6px}
.go{display:inline-flex;align-items:center;margin-left:-3px}
.go svg{width:12px;height:12px;color:var(--red);transition:transform .15s}
.item:hover .go svg{transform:translate(2px,-2px)}
.item:hover .go.in svg,.open-spot:hover .go.in svg{transform:translateX(3px)}
/* first rows per category, then "Show all" (only when the script is running) */
.show-all{display:none;justify-content:space-between;align-items:center;width:100%;border:0;border-top:1px solid var(--line);background:none;padding:13px 0;font-weight:700;font-size:14px;text-align:left}
.show-all:hover{color:var(--red)}
.show-all svg{width:13px;height:13px}
.js .show-all{display:flex}
.js .item.clip{display:none}
.js .cats.searching .item.clip,.js .cats.filtered .item.clip{display:grid}
.js .cats.searching .show-all,.js .cats.filtered .show-all{display:none}
/* a category nobody has joined yet: one line that says what belongs there */
.open-spot{display:flex;justify-content:space-between;align-items:center;gap:8px 20px;min-height:38px;margin:12px 0;color:var(--ink-2);font-size:15px;line-height:1.35}
.open-spot b{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:var(--ink);font-weight:700;font-size:14.5px}
.open-spot:hover b{color:var(--red)}
.cats.filtered .cat.cat-off{display:none}
.empty{padding:34px 0;color:var(--ink-2);font-weight:500;border-bottom:1px solid var(--line)}
.empty a,.dir-note a{color:var(--ink);font-weight:600;border-bottom:2px solid var(--red);white-space:nowrap}
.dir-note{margin:16px 0 0 calc(var(--rail) + var(--gut));font-size:14.5px;color:var(--ink-2)}

.more{font-weight:700;border-bottom:2px solid var(--red);padding-bottom:2px}

/* ---------- landscape grid: sizes of employer across, who owns the vendor down ----------
   Each vendor is one block (the same shape as a layer of the stack) covering the columns it says it's built for.
   Red block: listed on this directory. Outlined: Canadian-owned, not listed. Dashed: ownership unclear. Pale: foreign. */
.ls{margin:0}
.ls-cap{margin:14px 0 0;max-width:62ch;color:var(--ink-2)}
.lg-head,.lg-band{display:grid;grid-template-columns:minmax(0,var(--rail)) minmax(0,1fr);gap:0 var(--gut)}
.lg-head{align-items:end;margin-top:clamp(22px,2.6vw,32px);border-bottom:1.5px solid var(--ink)}
.ls-fit{margin:0;padding:0 0 11px;font-size:14px;line-height:1.4;color:var(--ink-2)}
.ls-fit b{color:var(--ink)}
.lg-segs,.lg-cells{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.lg-seg{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 14px 11px;border:0;border-left:1px solid var(--line);border-radius:var(--r) var(--r) 0 0;background:none;text-align:left;cursor:default}
.lg-seg b{font-weight:700;font-stretch:104%;font-size:15.5px;letter-spacing:-.01em}
.lg-seg span{font-size:10.5px;color:var(--mut)}
.js .lg-seg{cursor:pointer}
.js .lg-seg:hover b{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.lg-seg[aria-pressed="true"]{background:var(--deep);border-left-color:var(--deep);color:var(--on-deep)}
.lg-seg[aria-pressed="true"] span{color:var(--on-deep-3)}
.lg-band{align-items:start;border-bottom:1px solid var(--line)}
.lg-band>header{display:flex;align-items:baseline;gap:10px;padding:19px 0 12px}
.lg-band h3{margin:0;font-weight:700;font-stretch:104%;font-size:14.5px;line-height:1.25}
.lg-band>header span{font-size:11px;color:var(--mut)}
.lg-cells{grid-auto-flow:row dense;gap:5px 0;padding:11px 0;background:
  linear-gradient(var(--line),var(--line)) 0 0/1px 100% no-repeat,
  linear-gradient(var(--line),var(--line)) 33.333% 0/1px 100% no-repeat,
  linear-gradient(var(--line),var(--line)) 66.667% 0/1px 100% no-repeat}
.lg-tile{display:flex;align-items:baseline;gap:9px;min-height:36px;margin:0 7px;padding:7px 12px;border:1.5px solid var(--ink);border-radius:var(--r);background:var(--bar);color:var(--ink);line-height:1.25;transition:opacity .15s,background .15s,border-color .15s}
.lg-tile b{font-weight:700;font-stretch:104%;font-size:14.5px;letter-spacing:-.01em}
.lg-tile span{font-size:10.5px;color:var(--mut);white-space:nowrap}
.lg-tile.is-listed{background:var(--red);border-color:var(--red);color:var(--on-red)}
.lg-tile.is-listed span{color:inherit;opacity:.82}
a.lg-tile:hover{background:var(--deep);border-color:var(--deep)}
.b-unconfirmed .lg-tile{border-style:dashed}
.b-former .lg-tile,.b-foreign .lg-tile{border-color:transparent;background:var(--open)}
.lg-tile.dim{opacity:.2}
.ls-stamp{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:14px 0 0;font-size:13px;color:var(--mut)}
.ls-stamp .k-listed{flex:none;width:26px;height:12px;border-radius:3px;background:var(--red)}
.prose .src{display:block;margin-top:3px;font-size:10.5px;color:var(--mut)}

/* ---------- guides: the hub's list, the link from a category, and a comparison guide ---------- */
.g-item{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 24px;padding:14px 0;border-top:1px solid var(--line)}
.g-item:first-child{border-top:0;padding-top:0}
.g-item:last-child{padding-bottom:0}
.g-item b{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-stretch:104%;font-size:17.5px;line-height:1.3;letter-spacing:-.015em}
.g-item i{font-size:11px;color:var(--mut)}
.g-item:hover b{color:var(--red)}
.g-item:hover .go svg{transform:translateX(3px)}
.cat-more{display:flex;align-items:center;gap:8px;padding:12px 0 13px;border-top:1px solid var(--line);font-weight:600;font-size:14px}
.cat-more:hover{color:var(--red)}
.cat-more:hover .go svg{transform:translateX(3px)}
.js .cats.searching .cat-more{display:none}
.draft{margin:0 0 clamp(20px,2.6vw,30px);padding:10px 14px;border:1.5px dashed var(--red);border-radius:var(--r);color:var(--red);font-weight:600;font-size:14px}
/* the side-by-side table: what is compared on the left, then the listed company, then the competitor */
.gl{border-top:1.5px solid var(--ink)}
.gl-row{display:grid;grid-template-columns:minmax(0,var(--rail)) minmax(0,1fr) minmax(0,1fr);gap:4px var(--gut);align-items:baseline;padding:13px 0;border-bottom:1px solid var(--line)}
.gl-row span{font-size:14.5px;color:var(--ink-2)}
.gl-row b{font-weight:600;font-size:16.5px;line-height:1.35;letter-spacing:-.01em}
.gl-row i{font-style:normal;font-size:16.5px;line-height:1.35;color:var(--ink-2)}
.gl-head{align-items:center;padding:12px 0}
.gl-head b,.gl-head i{justify-self:start;display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border-radius:var(--r);font-weight:700;font-stretch:104%;font-size:14.5px;letter-spacing:0}
.gl-head b{background:var(--red);color:var(--on-red)}
.gl-head i{background:var(--open);color:var(--on-open)}
.gl + .article{margin-top:clamp(30px,3.8vw,48px)}
.points>div{padding-bottom:16px}
.points>div:last-child{padding-bottom:0}
.points h3{margin:0 0 3px;font-weight:700;font-stretch:104%;font-size:17.5px;letter-spacing:-.015em}
.prose .points p{margin:0;font-size:16.5px}
.prose ul.srcs{list-style:none;padding:0;margin:0;font-size:15.5px}
.srcs li{margin-bottom:9px}
.profile-acts .more{font-size:14.5px}

/* ---------- inner pages: a poster title, then rows with the heading on the left and the text on the right ---------- */
.page-top{padding:clamp(40px,5.6vw,84px) 0 clamp(32px,4.4vw,56px)}
.page-title{font-weight:900;font-stretch:122%;text-transform:uppercase;font-size:clamp(34px,5.8vw,88px);line-height:.9;letter-spacing:-.035em;margin:0;max-width:13em}
.page-title em{font-style:normal;color:var(--red)}
.page-top .sub{margin-bottom:0}
.article{border-top:1.5px solid var(--ink);padding-bottom:clamp(8px,2vw,24px)}
.statement{display:grid;grid-template-columns:minmax(0,var(--rail)) minmax(0,1fr);gap:10px var(--gut);padding:clamp(22px,2.6vw,30px) 0 clamp(30px,3.8vw,46px);border-bottom:1px solid var(--line)}
.statement:last-child{border-bottom:0}
.statement>h2{margin:0;font-weight:700;font-stretch:104%;font-size:17px;line-height:1.3;letter-spacing:-.012em}
.prose{max-width:44em}
.prose p{margin:0 0 15px;font-size:17px;line-height:1.55;color:var(--ink-2)}
.prose p strong{color:var(--ink)}
.prose p:last-child{margin-bottom:0}
.prose a:not(.btn){color:var(--ink);font-weight:600;border-bottom:2px solid var(--red)}
.prose ul,.prose ol{margin:0 0 15px;padding-left:1.1em;color:var(--ink-2);font-size:17px}
.prose ol{padding-left:1.3em}
.prose ol li{padding-left:.25em}
.prose li{margin-bottom:7px}
.prose li::marker{color:var(--red)}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:0 var(--gut);margin:20px 0;padding:16px 0 10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pair h3{display:flex;align-items:center;gap:9px;margin:0 0 8px;font-weight:700;font-size:15.5px}
.pair h3::before{content:"";width:9px;height:9px;border-radius:2px;background:var(--yes)}
.pair .no h3::before{background:var(--red)}
.pair ul{font-size:15.5px;margin-bottom:0}
.pair li{margin-bottom:6px}
.article.notes{margin-top:clamp(40px,5vw,64px)}

/* ---------- vendor pages ---------- */
.crumb{display:flex;gap:8px;margin:0 0 clamp(16px,2vw,24px);font-size:11.5px;color:var(--mut)}
.crumb a{color:var(--ink-2);border-bottom:1px solid var(--line)}
.crumb a:hover{color:var(--ink);border-bottom-color:var(--red)}
.profile-head{display:flex;align-items:center;gap:clamp(14px,2.2vw,28px)}
.profile-head .av{width:clamp(56px,7vw,92px);height:clamp(56px,7vw,92px);border-radius:18%;font-size:clamp(20px,2.6vw,34px)}
.profile-head .av-logo img{width:62%;height:62%;border-radius:14%}
.profile-acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:clamp(20px,2.4vw,28px)}
.profile-acts .btn svg{width:12px;height:12px}
.spec{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px var(--gut);margin:0;padding:16px 0 18px;border-top:1.5px solid var(--ink)}
.spec dt{font-size:11px;color:var(--mut)}
.spec dd{margin:3px 0 0;font-weight:600;font-stretch:104%;font-size:17px;letter-spacing:-.012em}
.spec + .article{border-top:1px solid var(--line)}
.plist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(20px,3vw,40px)}
.plist>div{border-top:1px solid var(--line);padding:14px 0 16px}
.plist>div:nth-child(-n+2){border-top:0;padding-top:0}
.plist h3{margin:0 0 3px;font-weight:700;font-stretch:104%;font-size:17.5px;letter-spacing:-.015em}
.prose .plist p{margin:0;font-size:15.5px;line-height:1.45}
.prose ul.names{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0}
.names li{margin:0;border:1px solid var(--line);border-radius:var(--r);padding:6px 12px;font-weight:600;font-size:15.5px;color:var(--ink)}

/* ---------- form ---------- */
.form-grid{display:grid;grid-template-columns:minmax(0,var(--rail)) minmax(0,1fr);gap:24px var(--gut);align-items:start;border-top:1.5px solid var(--ink);padding-top:clamp(22px,2.6vw,30px)}
.form-grid .prose p{font-size:15.5px}
form.listing{max-width:780px}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field.full{grid-column:1/-1}
.field label,.field legend{font-weight:600;font-size:14px;color:var(--ink);padding:0}
.field input[type=text],.field input[type=email],.field input[type=url],.field select,.field textarea{font:inherit;font-size:16px;color:var(--ink);padding:11px 12px;background:var(--plate);border:1.5px solid var(--ink);border-radius:var(--r);width:100%}
.field input:focus,.field select:focus,.field textarea:focus{outline:0;box-shadow:0 3px 0 var(--ink)}
.field textarea{min-height:92px;resize:vertical}
fieldset.field{border:0;margin:0;padding:0}
.radios{display:flex;flex-wrap:wrap;gap:8px}
.radios label{font-size:15px;font-weight:500;border:1.5px solid var(--ink);border-radius:var(--r);padding:8px 13px;cursor:pointer;display:inline-flex;gap:8px;align-items:center;background:var(--plate)}
.radios input{accent-color:var(--red);margin:0}
.check{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start;font-size:15px;color:var(--ink-2)}
.check input{margin:3px 0 0;width:17px;height:17px;accent-color:var(--red)}
.check a{color:var(--ink);font-weight:600;border-bottom:2px solid var(--red)}
.form-foot{margin-top:22px;display:flex;flex-wrap:wrap;gap:14px 20px;align-items:center;justify-content:space-between}
.form-foot small{color:var(--mut);font-size:13px;max-width:34em;line-height:1.45}
.notice{margin-top:18px;padding:12px 14px;border:1.5px solid var(--red);border-radius:var(--r);background:#fbe9e6;color:#a81d12;font-size:15px}
.notice.ok{border-color:#1e7d4f;background:#e6f1ea;color:#155c3a}

/* ---------- closing band + footer ---------- */
.cta{margin-top:clamp(60px,7.4vw,112px);background:var(--deep);color:var(--on-deep)}
.cta .wrap{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:clamp(24px,5vw,64px);align-items:end;padding-top:clamp(48px,7vw,96px);padding-bottom:clamp(48px,7vw,96px)}
.cta h2{font-size:clamp(34px,6vw,88px);margin:0}
.cta h2 span{color:var(--red);display:block}
.cta p{margin:0 0 20px;color:var(--on-deep-2);max-width:26em}
.cta .row{display:flex;flex-wrap:wrap;gap:10px}
.cta .btn.red:hover{background:var(--on-deep);color:var(--deep)}
footer{background:var(--deep);color:var(--on-deep-3);font-size:13.5px;padding-bottom:36px}
footer .wrap{display:flex;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;padding-top:22px;border-top:1px solid var(--deep-line)}
footer b{color:var(--on-deep);font-weight:600}
footer nav{display:flex;gap:18px;flex-wrap:wrap}
footer a:hover{color:var(--on-deep)}
footer .fine{flex-basis:100%;max-width:60em}
body.plain footer{margin-top:clamp(56px,7vw,100px)}

@media (max-width:960px){
  .cta .wrap,.statement,.form-grid{grid-template-columns:1fr}
  .cat,.lg-head,.lg-band{grid-template-columns:1fr}
  .cat>header{position:static;margin-bottom:2px}
  .cat.is-open>header{margin-bottom:0}
  .dir-note{margin-left:0}
}
@media (max-width:760px){
  .nav-links a.hide-s{display:none}
  .hero-body{grid-template-columns:1fr}
  .stack{padding:0}
  .layer{--x:0px!important;height:36px;font-size:14.5px}
  .nav{gap:10px}
  .brand{font-size:12.5px;gap:8px;min-width:0}
  .brand svg{width:26px;height:26px;flex:none}
  .nav-links{gap:8px;flex:none}
  .nav .btn{padding:9px 13px;font-size:13.5px}
  .js .menu-btn{display:grid;place-items:center;width:38px;height:38px;border-radius:var(--r);border:1.5px solid var(--ink);background:none;padding:0}
  .menu-btn svg{width:16px;height:16px}
  .menu-panel{display:grid;background:var(--plate);border:1.5px solid var(--ink);border-radius:var(--r-lg);margin-top:10px;overflow:hidden}
  .menu-panel a{padding:14px 16px;font-weight:600;font-size:16px;border-top:1px solid var(--line)}
  .menu-panel a:first-child{border-top:0}
  .quick button{padding:10px 14px;font-size:14.5px}
  .chips a{padding:12px}
  .open-spot{flex-wrap:wrap}
  /* landscape grid on a phone: the group name sits above its blocks, and the years drop out of the blocks */
  .lg-seg{padding:8px 8px 9px}
  .lg-seg b{font-size:13px}
  .lg-band>header{padding:15px 0 0}
  .lg-tile{margin:0 3px;padding:7px 8px}
  .lg-tile b{font-size:13px}
  .lg-tile span:not(.vh){display:none}
  /* comparison table on a phone: what is compared sits above the two answers */
  .gl-row{grid-template-columns:1fr 1fr;gap:5px 16px}
  .gl-row span{grid-column:1/-1}
  .gl-head span{display:none}
  .gl-row b,.gl-row i{font-size:15.5px}
}
@media (max-width:560px){
  .item .hq{display:none}
  .pair,.fields,.plist{grid-template-columns:1fr}
  .pair .no{margin-top:14px}
  .plist>div:nth-child(2){border-top:1px solid var(--line);padding-top:14px}
  .spec{grid-template-columns:1fr 1fr}
  .brand{font-size:11.5px;letter-spacing:.01em}
  .nav .btn{padding:9px 12px;font-size:13px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .ticker-track,.layer{animation:none}
  .btn,.layer,.go svg,.item::before{transition:none}
}
