/* Tradesmark V3 kit, copied 2026-11-18 from NEW TM Site Dev Project/tradesmark-v3/lab/site/_shared/site.css
   (tokens, grid, type roles, labels, buttons). Values unchanged; only what the proposal uses. Edit here, not there. */
:root {
  --ctx: 1440; --cols: 12; --gutter: 1.25rem; --margin: 1.25rem;
  --c-cone: 255, 40, 0;            /* Cone #FF2800 */
  --c-orange: var(--c-cone);
  --c-black: 11, 9, 8;             /* warm black, also the void */
  --c-grey-50: 237, 230, 216;      /* Bone: light text on dark */
  --c-ground: 244, 237, 226;       /* Plaster: light ground */
  --c-grey-100: 217, 207, 196;
  --c-grey-200: 143, 130, 121;
  --c-grey-300: 122, 109, 99;
  --c-grey-500: 40, 36, 31;
  --c-white: 251, 244, 236;        /* Paper */
  --c-g1: 27, 23, 20; --c-g2: 40, 36, 31; --c-g3: 61, 55, 49;
  --c-vmuted: 160, 150, 141;
  --ease-handle: cubic-bezier(.53, 0, 0, 1);
  --ease-link: cubic-bezier(.4, 0, .25, 1);
  --f-head: "rigid-square", "Geist", sans-serif;
  --f-body: "Geist", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
}
@media (max-width: 980px) { :root { --ctx: 820; --cols: 8; --gutter: 1rem; --margin: 1rem; } }
@media (max-width: 680px) { :root { --ctx: 402; --cols: 4; } }

html {
  font-size: calc(100vw / var(--ctx) * 16);
  -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html, body { margin: 0; width: 100%; }
body { font-family: var(--f-body); font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
h1, h2, h3, h4, p, ul, ol, li, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button {
  -webkit-appearance: none; appearance: none; background: none; border: 0; border-radius: 0; color: inherit;
  cursor: pointer; font: inherit; letter-spacing: inherit; line-height: inherit; margin: 0; padding: 0; text-align: left;
}
img { display: block; }
:focus-visible { outline: 2px solid rgb(var(--c-orange)); outline-offset: 3px; }

/* grid */
.tm-wrap { box-sizing: border-box; padding: 0 var(--margin); width: 100%; }
.tm-grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-auto-rows: min-content; column-gap: var(--gutter); }
.tm-col { min-width: 0; }

/* grounds */
.tm-bg-black { background: rgb(var(--c-black)); color: rgb(var(--c-grey-50)); --rule: rgba(var(--c-grey-50), .16); --muted: rgb(var(--c-vmuted)); }
.tm-bg-grey { background: rgb(var(--c-ground)); color: rgb(var(--c-black)); --rule: rgb(var(--c-grey-100)); --muted: rgb(var(--c-grey-300)); }
.tm-bg-orange { background: rgb(var(--c-orange)); color: rgb(var(--c-black)); --rule: rgb(var(--c-black)); }

/* type roles (kit: headings -.025em, leads -.02em) */
.tm-title { font-family: var(--f-head); font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.tm-title--xl { font-size: clamp(88px, 7.5rem, 160px); line-height: .86; }
.tm-title--l { font-size: clamp(48px, 4.75rem, 102px); line-height: .9; }
.tm-title--m { font-size: clamp(34px, 3rem, 64px); line-height: .98; }
.tm-title--s { font-size: clamp(26px, 2.25rem, 48px); line-height: 1.04; }
.tm-title--xs { font-size: clamp(20px, 1.75rem, 38px); line-height: 1.12; }
.tm-text--xl { font-size: clamp(19px, 1.4rem, 30px); line-height: 1.24; letter-spacing: -.02em; }
.tm-text--l { font-size: clamp(15px, 1.0625rem, 22px); line-height: 1.4; letter-spacing: -.015em; }
.tm-text--m { font-size: clamp(13px, .9375rem, 20px); line-height: 1.42; letter-spacing: -.01em; }
.tm-text--s { font-size: clamp(11px, .8125rem, 16px); line-height: 1.35; letter-spacing: 0; }
.tm-pretitle, .tm-mono {
  font-family: var(--f-mono); font-weight: 500; font-size: clamp(11px, .8125rem, 17px); line-height: 1.125rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.tm-muted { color: var(--muted, rgb(var(--c-grey-300))); }
@media (max-width: 980px) {
  .tm-title--xl { font-size: clamp(72px, 5.5rem, 110px); }
  .tm-title--l { font-size: clamp(44px, 3.6rem, 78px); }
  .tm-title--m { font-size: clamp(32px, 2.375rem, 51px); line-height: 1.02; }
  .tm-title--s { font-size: clamp(24px, 1.875rem, 40px); }
  .tm-title--xs { font-size: clamp(20px, 1.5rem, 32px); line-height: 1.16; }
}
@media (max-width: 680px) {
  .tm-title--xl { font-size: 4.25rem; }
  .tm-title--l { font-size: 3rem; }
  .tm-title--m { font-size: 2.125rem; }
  .tm-title--s { font-size: 1.625rem; }
  .tm-title--xs { font-size: 1.375rem; }
  .tm-text--xl { font-size: 1.1875rem; }
  .tm-text--l { font-size: .96875rem; }
  .tm-pretitle, .tm-mono { font-size: .75rem; }
}

/* eyebrow: label plus square marker */
.tm-label { align-items: flex-start; display: flex; gap: var(--gutter); justify-content: space-between; }
.tm-label__square { background: currentColor; display: block; flex: none; height: .5rem; margin-top: .3125rem; width: .5rem; }
.tm-bg-black .tm-label { color: rgb(var(--c-orange)); }

/* buttons: 1px frame, rolling label, arrow cell */
.tm-btnlink { display: inline-block; }
.tm-btn {
  align-items: center; border: 1px solid; box-sizing: border-box; cursor: pointer; display: inline-flex;
  min-width: 15rem; min-height: 44px; overflow: hidden; position: relative;
  font-family: var(--f-body); font-size: .9375rem; font-weight: 600; letter-spacing: 0; line-height: 1;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
@media (max-width: 680px) { .tm-btn { font-size: 15px; min-width: 13.5rem; } }
.tm-btn__label { display: block; flex: 1; margin: .125rem .75rem 0; overflow: hidden; position: relative; top: .0625rem; width: 100%; white-space: nowrap; }
.tm-roll { display: block; padding-bottom: .125rem; transition: transform .6s var(--ease-handle); }
.tm-roll + .tm-roll { left: 0; position: absolute; top: -100%; }
.tm-btn__icon { border-left: 1px solid; display: block; overflow: hidden; position: relative; align-self: stretch; }
.tm-btn__cell { display: block; height: .75rem; overflow: hidden; padding: .8125rem; position: relative; width: .75rem; transition: transform .6s var(--ease-handle); top: 50%; margin-top: -1.1875rem; }
.tm-btn__cell--in { background: rgb(var(--c-orange)); left: calc(-100% - 1px); position: absolute; top: 50%; width: calc(.75rem + 1px); }
.tm-arrow { display: block; fill: currentColor; height: 100%; width: 100%; position: relative; top: .0625rem; }
.tm-btn--cone { background: rgb(var(--c-orange)); border-color: rgb(var(--c-orange)); color: rgb(var(--c-black)); }
.tm-btn--cone .tm-btn__icon { border-color: rgba(var(--c-black), .4); }
.tm-btn--cone .tm-btn__cell--in { background: rgb(var(--c-black)); }
.tm-btn--cone .tm-btn__cell--in .tm-arrow { fill: rgb(var(--c-orange)); }
.tm-btn--ghost-white { border-color: rgba(var(--c-white), .5); color: rgb(var(--c-white)); }
.tm-btn--ghost-white .tm-btn__icon { border-color: rgba(var(--c-white), .5); }
.tm-btn--ghost-white .tm-btn__cell--in .tm-arrow { fill: rgb(var(--c-black)); }
.tm-btn--ink { background: rgb(var(--c-black)); border-color: rgb(var(--c-black)); color: rgb(var(--c-white)); }
.tm-btn--ink .tm-btn__icon { border-color: transparent; }
.tm-btn--ink .tm-btn__cell--in .tm-arrow { fill: rgb(var(--c-black)); }
@media (hover: hover) {
  .tm-btnlink:hover .tm-btn { transition: background .6s var(--ease-handle), color .6s var(--ease-handle), border-color .6s var(--ease-handle); }
  .tm-btnlink:hover .tm-btn--ghost-white { background: rgb(var(--c-white)); border-color: rgb(var(--c-white)); color: rgb(var(--c-black)); }
  .tm-btnlink:hover .tm-btn--cone { background: rgb(var(--c-white)); border-color: rgb(var(--c-white)); }
  .tm-btnlink:hover .tm-roll { transform: translate3d(0, 100%, 0); }
  .tm-btnlink:hover .tm-btn__cell { transform: translate3d(100%, 0, 0); }
}

/* tag cell */
.tm-tag {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4375rem .625rem;
  font-family: var(--f-mono); font-weight: 500; font-size: clamp(10px, .75rem, 15px); line-height: 1; letter-spacing: .04em; text-transform: uppercase;
}
.tm-tag--line { border: 1px solid currentColor; }
.tm-tag--orange { background: rgb(var(--c-orange)); color: rgb(var(--c-black)); }
