/* Brand layer: type sets and button materials, switchable in the mockup (html[data-type], html[data-btn]).
   Fonts are his kit's self-hosted copies (OFL) and his own TA Hand. Buttons are real scans from his TA Kit. */
@font-face { font-family: "Special Elite"; font-weight: 400; font-display: swap; src: url(assets/fonts/special-elite-400.woff2) format("woff2"); }
@font-face { font-family: "Courier Prime"; font-weight: 400; font-display: swap; src: url(assets/fonts/courier-prime-400.woff2) format("woff2"); }
@font-face { font-family: "Courier Prime"; font-weight: 700; font-display: swap; src: url(assets/fonts/courier-prime-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(assets/fonts/barlow-condensed-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(assets/fonts/barlow-condensed-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(assets/fonts/barlow-condensed-700.woff2) format("woff2"); }
@font-face { font-family: "TA Hand"; font-weight: 700; font-display: swap; src: url(assets/fonts/tahand-700.ttf) format("truetype"); }

:root { color-scheme: dark;
  --f-title: "Poppins", system-ui, sans-serif; --w-title: 500; --s-title: 1;
  --f-body: "Poppins", system-ui, sans-serif; --s-body: 1;
  --f-ui: "Poppins", system-ui, sans-serif; --label: "Barlow Condensed", "Arial Narrow", sans-serif; }
/* typed: a ransom note is pasted, the rest is typed */
html[data-type="typed"] { --f-title: "Special Elite", "Courier Prime", ui-monospace, monospace; --w-title: 400; --s-title: 1.02;
  --f-body: "Courier Prime", ui-monospace, monospace; --s-body: 1; --f-ui: "Courier Prime", ui-monospace, monospace; }
/* label: condensed press caps like his kit's printed labels, typed body */
html[data-type="label"] { --f-title: "Barlow Condensed", "Arial Narrow", sans-serif; --w-title: 600; --s-title: 1.14;
  --f-body: "Courier Prime", ui-monospace, monospace; --s-body: 1; --f-ui: "Barlow Condensed", "Arial Narrow", sans-serif; }
/* hand: his own handwriting font for titles, typed body */
html[data-type="hand"] { --f-title: "TA Hand", "Courier Prime", sans-serif; --w-title: 700; --s-title: 1.1;
  --f-body: "Courier Prime", ui-monospace, monospace; --s-body: 1; --f-ui: "Courier Prime", ui-monospace, monospace; }

body { font-family: var(--f-body); font-size: calc(20px * var(--s-body)); }
h1, h2, h3, .h1, .h2, .h3, .card .t, .ta-capline, .prose h2, .prose h3 { font-family: var(--f-title); font-weight: var(--w-title); }
.h1 { font-size: calc(clamp(40px, 5.2vw, 78px) * var(--s-title)); }
.h2 { font-size: calc(clamp(30px, 3.4vw, 52px) * var(--s-title)); }
.lead { font-family: var(--f-body); }
.nav-links, .pill, .btn, .m, .small, .muted.small, .num, .badge, .field label, .foot-grid, .card .m, .price { font-family: var(--f-ui); }
html[data-type="label"] .nav-links, html[data-type="label"] .card .m { font-size: 19px; }

/* filters and options: typed words, the chosen one underlined like the links (plain, in the text colour) */
html:not([data-btn="pill"]) .pill { box-shadow: none; background: none; color: var(--muted); padding: 0 4px; min-height: 36px; border-radius: 0; border-bottom: 2px solid transparent; }
html:not([data-btn="pill"]) .pill { border-bottom: 0; text-underline-offset: 6px; text-decoration-thickness: 1px; }
html:not([data-btn="pill"]) .pill[aria-pressed="true"], html:not([data-btn="pill"]) .pill:hover { background: none; color: inherit; text-decoration-line: underline; }
html:not([data-btn="pill"]) .nav-menu { border-bottom: 0; }

/* buttons as real material */
html:not([data-btn="pill"]) .btn { background: none; border-radius: 0; box-shadow: none; transition: transform .25s cubic-bezier(.2, .7, .2, 1), filter .25s; }
html:not([data-btn="pill"]) .btn:hover { background: none; transform: translateY(-2px) rotate(0deg); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); }
html:not([data-btn="pill"]) .btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* red label: his kit's red vinyl label, printed in condensed caps like the kit's own FINISH label; secondary on the ink label */
html[data-btn="label"] .btn { border: 12px solid transparent; border-image: url(assets/btn/label-red.webp) 38 fill / 12px stretch; color: #f6efe1;
  font: 600 20px/1 var(--label); text-transform: uppercase; letter-spacing: 0; padding: 0 12px; min-height: 54px; rotate: -1deg; flex: 0 0 auto; }
/* secondary: his kit's blue vinyl label, printed cream like the kit's own FOLLOW label (the ink label vanished on the dark paper) */
html[data-btn="label"] .btn-line { border-image-source: url(assets/btn/label-blue.webp); rotate: .8deg; }
html[data-btn="label"] .btn-s { border-width: 9px; border-image-width: 9px; font-size: 18px; min-height: 40px; padding: 0 6px; }
html[data-btn="label"] .t-white .btn-line { color: #f6efe1; box-shadow: none; }

/* tape: a strip of masking tape with typed words; secondary on the yellower roll */
html[data-btn="tape"] .btn { border: 0 solid transparent; border-width: 0 20px; border-image: url(assets/btn/tape.webp) 0 58 fill / 0 20px stretch; color: var(--ink);
  font: 700 19px/1 "Courier Prime", ui-monospace, monospace; padding: 0 10px; min-height: 50px; rotate: -1.5deg; }
html[data-btn="tape"] .btn-line { border-image-source: url(assets/btn/tape-2.webp); rotate: 1deg; }
html[data-btn="tape"] .btn-s { font-size: 17px; min-height: 40px; }
html[data-btn="tape"] .t-white .btn-line { color: var(--ink); box-shadow: none; }

/* torn paper: a scrap of his white paper with a real torn rim; secondary torn from his black paper */
html[data-btn="paper"] .btn { border: 10px solid transparent; border-image: url(assets/btn/paper-white.webp) 28 fill / 10px stretch; color: var(--ink);
  font: 700 19px/1 "Courier Prime", ui-monospace, monospace; padding: 0 14px; min-height: 54px; rotate: -1.2deg; }
html[data-btn="paper"] .btn-line { border-image-source: url(assets/btn/paper-black.webp); color: var(--white); rotate: .9deg; }
html[data-btn="paper"] .btn-s { border-width: 8px; border-image-width: 8px; font-size: 17px; min-height: 40px; padding: 0 10px; }
html[data-btn="paper"] .t-white .btn-line { color: var(--white); box-shadow: none; }

/* mockup controls (not part of the site) */
.mock { position: fixed; z-index: 90; right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: min(330px, calc(100vw - 24px));
  font: 13px/1.35 system-ui, -apple-system, sans-serif; color: #f4f1ea; background: rgba(12, 10, 9, .94); border: 1px solid rgba(244, 241, 234, .18); border-radius: 12px; padding: 12px; display: grid; gap: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.mock[data-open="false"] > :not(.mock-top) { display: none; }
.mock-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; }
.mock-top button, .mock-row button { font: inherit; color: inherit; background: rgba(244, 241, 234, .08); border: 1px solid rgba(244, 241, 234, .16); border-radius: 8px; padding: 6px 9px; cursor: pointer; }
.mock-row { display: grid; gap: 6px; }
.mock-row > span { color: rgba(244, 241, 234, .6); }
.mock-row div { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-row button[aria-pressed="true"] { background: #f4f1ea; color: #15120f; }
.mock p { margin: 0; color: rgba(244, 241, 234, .6); }

.ta-info, .ta-info .ta-who, .ta-info .ta-mail { font-family: var(--f-body); }
html[data-type="typed"] .lead, html[data-type="hand"] .lead { font-size: clamp(21px, 1.75vw, 26px); line-height: 1.45; }
/* phones: a step smaller so a line holds more than a couple of words (20px Courier gave ~24 characters a line) */
@media (max-width: 599px) { body { font-size: calc(18px * var(--s-body)); } html[data-type="typed"] .lead, html[data-type="hand"] .lead { font-size: 19px; } }
