/* ==========================================================================
   Weave & Loom — design system
   Deep indigo workshop ground, linen ink, madder accent.
   The header is a loom: a beam with warp threads hanging from it, and the
   active item lifted to form a shed.
   ========================================================================== */

/* ---------------------------------------------- 1. Design tokens ---------- */
:root {
  /* indigo scale */
  --indigo-950: #0E1520;
  --indigo-900: #1A2438;
  --indigo-800: #253248;
  --indigo-700: #33445E;
  --indigo-600: #455A78;
  --indigo-500: #5E7698;
  --indigo-400: #7E96B8;

  /* linen scale */
  --linen-50: #F5EFE2;
  --linen-100: #E8DCC8;
  --linen-200: #D8C8AC;
  --linen-300: #C4B090;
  --linen-400: #A89478;
  --linen-500: #8A7860;

  /* madder scale */
  --madder-900: #5C1A1A;
  --madder-800: #8A2828;
  --madder-500: #B83A3A;
  --madder-400: #D05858;
  --madder-300: #E08888;
  --madder-200: #F0B8B8;
  --madder-100: #FAE0E0;

  /* indigo dye scale (auxiliary) */
  --dye-700: #2A3A5C;
  --dye-600: #3E5278;
  --dye-500: #5A7098;
  --dye-400: #8AA0C0;
  --dye-300: #C0D0E4;
  --dye-200: #E0E8F2;

  /* marigold scale */
  --marigold-800: #8A5A10;
  --marigold-600: #B87A18;
  --marigold-500: #D89A28;
  --marigold-400: #E8B858;
  --marigold-300: #F2D090;
  --marigold-200: #FAE8C4;

  /* sage scale */
  --sage-800: #3A4A38;
  --sage-600: #5A6E50;
  --sage-400: #8A9E78;
  --sage-300: #B8C8A8;
  --sage-200: #DCE4D0;

  /* semantic */
  --ok: #6A9A5A;
  --warn: #D89A28;
  --danger: #B83A3A;
  --info: #5A7098;

  /* text */
  --text: #E8DCC8;
  --text-2: #C4B090;
  --text-3: #8A7860;
  --text-inv: #1A2438;
  --link: #D8C8AC;
  --link-hover: #D05858;
  --link-underline: #5C1A1A;

  /* surfaces */
  --bg: #1A2438;
  --bg-deep: #0E1520;
  --bg-card: #253248;
  --bg-card-2: #2C3B54;
  --bg-inset: #18212F;
  --bg-paper: #F5EFE2;

  /* borders */
  --border: #33445E;
  --border-2: #455A78;
  --border-strong: #5E7698;

  /* glow */
  --glow-linen: 0 0 16px rgba(232, 220, 200, .25);
  --glow-madder: 0 0 16px rgba(184, 58, 58, .30);

  /* radius */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* shadows */
  --sh-xs: 0 1px 2px rgba(0, 0, 0, .40);
  --sh-sm: 0 2px 8px rgba(0, 0, 0, .45);
  --sh-md: 0 8px 22px rgba(0, 0, 0, .50);
  --sh-lg: 0 18px 48px rgba(0, 0, 0, .60);

  /* motion */
  --t-fast: .16s ease;
  --t-med: .3s ease;
  --t-shed: .5s cubic-bezier(.4, 0, .2, 1);

  /* layout */
  --container: 1200px;
  --narrow: 820px;
  --wide: 1360px;
  --gutter: 22px;
  --beam-h: 36px;
  --warp-h: 56px;
  --header-h: 92px;
  --thread-h: 20px;

  /* type */
  --font-display: "Bitter", "Rockwell", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, Menlo, monospace;
}

/* ---------------------------------------------------------- 2. Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* the linen weave texture sits under the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(232, 220, 200, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 220, 200, .028) 1px, transparent 1px);
  background-size: 7px 7px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--link-hover); }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; letter-spacing: .005em; color: var(--linen-100); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.4rem); }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
strong, b { color: var(--linen-50); font-weight: 700; }
code, kbd, .mono { font-family: var(--font-mono); font-size: .88em; }
:focus-visible { outline: 2px solid var(--madder-500); outline-offset: 2px; box-shadow: 0 0 12px rgba(184, 58, 58, .35); border-radius: 3px; }
::selection { background: rgba(184, 58, 58, .38); color: var(--linen-50); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 400;
  background: var(--madder-500); color: var(--linen-50);
  padding: 10px 18px; border-radius: 0 0 var(--r-md) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------ 3. Typography ---- */
.eyebrow {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; color: var(--madder-500);
  margin: 0 0 .7rem;
}
.eyebrow::before { content: "\22C8\00A0\00A0"; letter-spacing: 0; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--text-2); max-width: 68ch; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.tiny { font-size: .84rem; line-height: 1.6; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mt-1 { margin-top: .5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.6rem !important; }
.mt-4 { margin-top: 2.4rem !important; }
.full { width: 100%; justify-content: center; }

/* ---------------------------------------------------------- 4. Layout ---- */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
main { position: relative; z-index: 1; }
.section { padding: 60px 0; }
.section-sm { padding: 38px 0; }
.section-tight { padding: 42px 0 60px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.split-wide { display: grid; grid-template-columns: 380px 1fr; gap: 34px; align-items: start; }
.split-half { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.split-side { display: grid; grid-template-columns: 1fr 310px; gap: 40px; align-items: start; }
.cluster { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }

.section-head { margin-bottom: 26px; max-width: 74ch; }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; flex-wrap: wrap; }
.section-head.tight { margin-bottom: 16px; }
.section-head h2 { margin-bottom: .3rem; }
.section-head p { color: var(--text-2); margin: 0; }
.head-link { margin: 0; white-space: nowrap; }

.breadcrumbs {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 14px;
}
.breadcrumbs a { color: var(--text-3); }
.breadcrumbs a:hover { color: var(--madder-400); }
.bc-sep { margin: 0 8px; color: var(--border-2); }
.breadcrumbs [aria-current] { color: var(--linen-200); }

.page-hero {
  background: linear-gradient(180deg, var(--indigo-950) 0%, var(--indigo-900) 100%);
  border-bottom: 3px solid var(--madder-500);
  padding: 42px 0 40px;
  position: relative;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(232, 220, 200, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 220, 200, .03) 1px, transparent 1px);
  background-size: 9px 9px;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: .35rem; }
.page-hero .lede { margin-bottom: 0; }

/* ------------------------------------------------ 5. Header (the loom) --- */
.site-header { position: sticky; top: 0; z-index: 200; }

/* -- the beam -- */
.brand-bar {
  height: var(--beam-h); background: var(--indigo-950);
  border-bottom: 2px solid var(--linen-500);
  position: relative; z-index: 3; overflow: hidden;
  transition: height var(--t-med), opacity var(--t-med);
}
/* the reed holes along the underside of the beam */
.brand-bar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px;
  background-image: radial-gradient(circle, var(--indigo-700) 1px, transparent 1.2px);
  background-size: 40px 3px; background-position: 20px 0;
  pointer-events: none;
}
.brand-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--linen-100); }
.brand:hover { color: var(--linen-50); }
.brand-mark {
  width: 28px; height: 28px; border-radius: 50%; background: var(--madder-500);
  display: grid; place-items: center; flex: 0 0 auto;
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; }
.brand-tag {
  font-family: var(--font-mono); font-size: .52rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--madder-400);
}
.brand-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: transparent; border: 1px solid transparent; cursor: pointer;
  color: var(--linen-300); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.icon-btn:hover { background: var(--indigo-800); color: var(--linen-100); border-color: var(--border); }
.icon-btn .ico { width: 18px; height: 18px; }
.burger { display: none; }

.pill-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: var(--r-pill);
  border: 1.5px solid var(--madder-500); color: var(--linen-100);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: background var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
}
.pill-link .ico { width: 15px; height: 15px; }
.pill-link:hover { background: var(--madder-500); color: var(--linen-50); box-shadow: var(--glow-madder); }

/* -- the warp band -- */
.warp-bar {
  height: var(--warp-h); background: var(--indigo-900);
  position: relative; z-index: 2;
  border-bottom: 1px solid rgba(69, 90, 120, .35);
  transition: height var(--t-med);
}
.warp-inner { display: flex; align-items: stretch; justify-content: space-between; height: 100%; gap: 16px; }
.warp-nav { display: flex; align-items: stretch; gap: 2px; height: 100%; }

.warp-item {
  position: relative; display: flex; flex-direction: column; align-items: center;
  height: 100%; padding-top: 0;
}
/* the warp thread: a 1px linen line hanging from the beam */
.warp-thread {
  width: 1px; height: var(--thread-h); flex: 0 0 auto;
  background: var(--linen-500); transition: height var(--t-med), background var(--t-fast), box-shadow var(--t-fast);
}
.warp-label, .warp-pill {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 2px; padding: 6px 16px; border-radius: var(--r-pill);
  background: var(--indigo-800); color: var(--text-2);
  font-size: .8rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-shed), box-shadow var(--t-fast);
  white-space: nowrap;
}
.warp-label:hover, .warp-pill:hover { background: var(--indigo-700); color: var(--linen-100); }
.warp-label:hover + .warp-thread, .warp-item:hover .warp-thread { background: var(--linen-200); }
.wp-hit { color: inherit; padding: 0; }
.wp-hit:hover { color: var(--linen-50); }
.wp-toggle {
  background: transparent; border: 0; padding: 0 0 0 2px; cursor: pointer;
  display: grid; place-items: center; color: inherit;
}
.wp-toggle .chev { width: 13px; height: 13px; transition: transform var(--t-med); }

/* active item: lifted out of the shed */
.warp-item.is-active .warp-label,
.warp-item.is-active .warp-pill {
  background: var(--madder-500); color: var(--linen-50);
  transform: translateY(-4px); box-shadow: var(--sh-sm);
}
.warp-item.is-active .warp-thread {
  background: var(--madder-500); box-shadow: var(--glow-madder);
}
.warp-item.is-active:hover .warp-label,
.warp-item.is-active:hover .warp-pill { background: var(--madder-400); color: var(--linen-50); }

/* tools dropdown */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 330px;
  background: var(--indigo-800); border: 1px solid var(--border);
  border-top: 2px solid var(--madder-500); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: 12px; z-index: 30;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.warp-item.has-dd[aria-expanded="true"] .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.warp-item.has-dd[aria-expanded="true"] .wp-toggle .chev { transform: rotate(180deg); }
.dd-head {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-3); margin: 2px 8px 8px;
}
.dd-list { display: grid; gap: 2px; }
.dd-item {
  display: block; padding: 8px 10px; border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.dd-item:hover { background: var(--indigo-700); }
.dd-name { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--linen-100); font-size: .9rem; }
.dd-name .ico { width: 16px; height: 16px; color: var(--madder-400); flex: 0 0 auto; }
.dd-desc { display: block; font-size: .76rem; color: var(--text-3); padding-left: 24px; line-height: 1.45; }
.dd-sep { height: 1px; background: var(--border); margin: 10px 8px; }
.warp-tail { display: flex; align-items: center; }
.warp-cta {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px;
  border-radius: var(--r-pill); background: var(--madder-500); color: var(--linen-50);
  font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  transition: background var(--t-fast), box-shadow var(--t-fast);
}
.warp-cta .ico { width: 15px; height: 15px; }
.warp-cta:hover { background: var(--madder-400); color: var(--linen-50); box-shadow: var(--glow-madder); }

/* scrolled: the beam rolls up and the threads shorten */
.site-header.is-scrolled .brand-bar { height: 0; opacity: 0; border-bottom-width: 0; }
.site-header.is-scrolled .warp-bar { height: 44px; }
.site-header.is-scrolled { --thread-h: 12px; }

/* ------------------------------------------------------- 6. Drawer ------- */
.drawer-scrim {
  position: fixed; inset: 0; background: rgba(8, 12, 20, .68); z-index: 290;
  opacity: 0; visibility: hidden; transition: opacity var(--t-med), visibility var(--t-med);
}
.drawer-scrim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(370px, 88vw);
  background: var(--indigo-950); border-left: 1px solid var(--border);
  z-index: 300; transform: translateX(100%); transition: transform var(--t-med);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 2px solid var(--linen-500); position: sticky; top: 0;
  background: var(--indigo-950); z-index: 2;
}
.drawer-title { font-family: var(--font-display); font-weight: 700; color: var(--linen-100); }
.drawer-body { padding: 16px 18px 40px; }
.dr-section { margin-bottom: 20px; }
.dr-head {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-3); margin: 0 0 8px;
}
/* the drawer keeps the warp look: each link hangs from a short thread */
.dr-link {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: var(--r-sm); color: var(--text-2); font-size: .92rem;
  border-left: 1px solid var(--linen-500); margin-left: 6px;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.dr-link:hover { background: var(--indigo-800); color: var(--linen-100); border-left-color: var(--madder-500); }
.dr-link .ico { width: 17px; height: 17px; color: var(--madder-400); flex: 0 0 auto; }
.dr-count {
  margin-left: auto; font-family: var(--font-mono); font-size: .7rem;
  color: var(--text-3); background: var(--indigo-800); padding: 1px 8px; border-radius: var(--r-pill);
}

/* ----------------------------------------------- 7. Search overlay ------- */
.search-pop {
  position: fixed; inset: 0; background: rgba(8, 12, 20, .78); z-index: 320;
  display: flex; justify-content: center; align-items: flex-start; padding: 90px 18px 30px;
  opacity: 0; visibility: hidden; transition: opacity var(--t-fast), visibility var(--t-fast);
}
.search-pop.is-open { opacity: 1; visibility: visible; }
.search-panel {
  width: min(680px, 100%); background: var(--indigo-800);
  border: 1px solid var(--border); border-top: 3px solid var(--madder-500);
  border-radius: var(--r-md); box-shadow: var(--sh-lg); overflow: hidden;
  transform: translateY(-10px); transition: transform var(--t-med);
}
.search-pop.is-open .search-panel { transform: translateY(0); }
.search-field { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.search-field .ico { width: 20px; height: 20px; color: var(--text-3); flex: 0 0 auto; }
.search-field input {
  flex: 1; background: transparent; border: 0; outline: none;
  font-size: 1.05rem; color: var(--linen-100); min-width: 0;
}
.search-field input::placeholder { color: var(--text-3); }
.search-field kbd {
  font-size: .68rem; color: var(--text-3); border: 1px solid var(--border);
  border-radius: var(--r-xs); padding: 2px 6px;
}
.search-results { max-height: 58vh; overflow-y: auto; padding: 8px; }
.sr-hint { color: var(--text-3); font-size: .86rem; padding: 14px; margin: 0; }
.sr-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: var(--r-sm); color: var(--text-2); cursor: pointer;
}
.sr-item:hover, .sr-item.is-active { background: var(--indigo-700); color: var(--linen-100); }
.sr-item .sr-ico { width: 30px; height: 30px; border-radius: var(--r-sm); background: var(--indigo-900); display: grid; place-items: center; flex: 0 0 auto; }
.sr-item .sr-ico .ico { width: 16px; height: 16px; color: var(--madder-400); }
.sr-main { min-width: 0; }
.sr-title { display: block; font-weight: 600; font-size: .92rem; color: var(--linen-100); }
.sr-kind { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }

/* -------------------------------------------------------- 8. Hero -------- */
.hero {
  position: relative; height: 460px; overflow: hidden;
  background: var(--indigo-950);
  border-bottom: 1px solid var(--border);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, #0E1520 0%, rgba(26, 36, 56, .9) 46%, rgba(184, 58, 58, .12) 100%);
}
.hero-inner { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hero-copy { max-width: 660px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; color: var(--linen-100);
  background: rgba(184, 58, 58, .22); border: 1px solid var(--madder-800);
  padding: 5px 14px; border-radius: var(--r-pill); margin: 0 0 16px;
}
.hero h1 { font-size: clamp(1.95rem, 4.2vw, 2.9rem); margin-bottom: .5rem; }
.hero p { color: var(--text-2); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3; }
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dot {
  width: 28px; height: 5px; border-radius: var(--r-pill); border: 0; padding: 0;
  background: rgba(232, 220, 200, .3); cursor: pointer; transition: width var(--t-med), background var(--t-fast);
}
.hero-dot.is-active { width: 44px; background: var(--madder-500); box-shadow: var(--glow-madder); }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(14, 21, 32, .7); border: 1px solid var(--border-2); color: var(--linen-200); cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.hero-arrow .ico { width: 17px; height: 17px; }
.hero-arrow:hover { background: var(--madder-500); color: var(--linen-50); border-color: var(--madder-500); }

/* --------------------------------------------------- 9. Trust bar -------- */
.trust-bar { background: var(--indigo-950); border-bottom: 1px solid var(--border); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-ico {
  width: 38px; height: 38px; border-radius: var(--r-sm); flex: 0 0 auto;
  background: var(--indigo-800); border: 1px solid var(--border);
  display: grid; place-items: center;
}
.trust-ico .ico { width: 19px; height: 19px; color: var(--madder-400); }
.trust-item h4 { font-size: .96rem; margin-bottom: .15rem; }
.trust-item p { font-size: .82rem; color: var(--text-3); margin: 0; line-height: 1.55; }

/* -------------------------------------------------------- 10. Cards ------ */
/* Every card is one <a>: the whole surface, padding included, is the target. */
.card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--sh-sm); cursor: pointer; color: var(--text);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--madder-500); color: var(--text); }
.card:hover .card-title { color: var(--linen-50); }
.card:hover .card-arrow { transform: translateX(4px); color: var(--madder-400); }
.card:active { transform: translateY(-1px); }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--indigo-950); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-med); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 18px; flex: 1 1 auto; }
.card-title { font-family: var(--font-display); font-size: 1.06rem; font-weight: 700; margin: 0 0 .35rem; transition: color var(--t-fast); }
.card-desc { font-size: .88rem; color: var(--text-2); margin: 0; line-height: 1.6; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 18px; border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-3);
}
.card-arrow { font-size: 1rem; color: var(--text-3); transition: transform var(--t-fast), color var(--t-fast); }
.card-title, .card-desc, .card-foot { position: relative; z-index: 1; }

/* category card */
.cat-card .card-body { padding-top: 22px; }
.cat-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--madder-500);
  display: grid; place-items: center; margin-bottom: 14px;
}
.cat-icon .ico { width: 24px; height: 24px; color: var(--linen-50); }
.cat-count { color: var(--text-3); }

/* tool card */
.tool-card .card-media img { object-fit: contain; padding: 8px; }
.tool-stage { display: inline-flex; align-items: center; gap: 5px; }
.tool-stage .ico { width: 12px; height: 12px; color: var(--madder-500); }

/* blog card */
.blog-card .card-media { aspect-ratio: 16 / 9; }
.blog-meta { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--madder-400); margin: 0 0 .5rem; }
.blog-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }

/* calculator card */
.calc-card .card-media img { object-fit: contain; padding: 10px; }

/* studio card */
.studio-card { background: var(--indigo-950); border-color: var(--border-2); }
.studio-card:hover { border-color: var(--madder-500); box-shadow: var(--sh-lg), var(--glow-madder); }
.studio-card .card-media { aspect-ratio: 16 / 10; }
.badge-3d {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--madder-500); color: var(--linen-50);
  font-family: var(--font-mono); font-size: .62rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill); box-shadow: var(--sh-sm);
}
.badge-3d .ico { width: 12px; height: 12px; }

/* -------------------------------------------------------- 11. Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-size: .9rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  cursor: pointer; text-align: center; justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.btn .ico { width: 16px; height: 16px; flex: 0 0 auto; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--madder-500); color: var(--linen-50); }
.btn-primary:hover { background: var(--madder-400); color: var(--linen-50); box-shadow: var(--glow-madder); }
.btn-linen { background: var(--linen-100); color: var(--indigo-900); }
.btn-linen:hover { background: var(--linen-50); color: var(--indigo-900); }
.btn-outline { background: transparent; border-color: var(--madder-500); color: var(--linen-100); }
.btn-outline:hover { background: var(--madder-500); color: var(--linen-50); }
.btn-ghost { background: transparent; border-color: var(--border-2); color: var(--text-2); }
.btn-ghost:hover { background: var(--indigo-800); color: var(--linen-100); border-color: var(--border-strong); }
.btn-danger { background: var(--madder-800); color: var(--linen-50); }
.btn-sm { padding: 7px 14px; font-size: .76rem; }
.btn-sm .ico { width: 14px; height: 14px; }
.btn-lg { padding: 13px 26px; font-size: .96rem; }
.btn-block { width: 100%; }

/* the shuttle CTA: the shuttle nudges on hover */
.btn-shuttle .shuttle-ico { transition: transform var(--t-med); }
.btn-shuttle:hover .shuttle-ico { animation: shuttleNudge 1.1s ease-in-out infinite; }
@keyframes shuttleNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* ------------------------------------------------- 12. Tags and chips ---- */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  background: rgba(184, 58, 58, .18); color: var(--madder-300); border: 1px solid var(--madder-800);
}
.tag .ico { width: 12px; height: 12px; }
.tag-linen { background: rgba(232, 220, 200, .12); color: var(--linen-200); border-color: var(--border-2); }
.tag-dye { background: rgba(90, 112, 152, .2); color: var(--dye-300); border-color: var(--dye-600); }
.tag-marigold { background: rgba(216, 154, 40, .16); color: var(--marigold-300); border-color: var(--marigold-800); }
.tag-sage { background: rgba(138, 158, 120, .18); color: var(--sage-300); border-color: var(--sage-800); }
.tag-outline { background: transparent; color: var(--text-2); border-color: var(--border-2); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-pill); cursor: pointer;
  background: var(--indigo-800); border: 1px solid var(--border); color: var(--text-2);
  font-size: .8rem; font-weight: 600; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip:hover { background: var(--indigo-700); color: var(--linen-100); }
.chip.is-active { background: var(--madder-500); color: var(--linen-50); border-color: var(--madder-500); }

.param-badge {
  display: inline-block; font-family: var(--font-mono); font-size: .78rem;
  background: var(--indigo-950); border: 1px solid var(--border); border-radius: var(--r-xs);
  padding: 3px 9px; color: var(--linen-200);
}
.stage-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--indigo-800); border: 1px solid var(--border-2);
  border-radius: var(--r-pill); padding: 4px 14px 4px 5px;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--linen-200);
}
.stage-n {
  width: 22px; height: 22px; border-radius: 50%; background: var(--madder-500);
  color: var(--linen-50); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
}

.fiber-badge, .weave-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: var(--r-xs);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--border-2); background: var(--indigo-800); color: var(--text-2);
}
.fb-wool { border-color: var(--linen-400); color: var(--linen-200); }
.fb-cotton { border-color: var(--dye-500); color: var(--dye-300); }
.fb-linen { border-color: var(--marigold-600); color: var(--marigold-300); }
.fb-silk { border-color: var(--madder-500); color: var(--madder-300); }
.fb-alpaca { border-color: var(--sage-600); color: var(--sage-300); }
.wb-plain { border-color: var(--border-strong); color: var(--linen-200); }
.wb-twill { border-color: var(--dye-500); color: var(--dye-300); }
.wb-satin { border-color: var(--madder-500); color: var(--madder-300); }
.wb-herringbone { border-color: var(--sage-600); color: var(--sage-300); }
.wb-other { border-color: var(--marigold-600); color: var(--marigold-300); }

/* --------------------------------------------- 13. Notices and tips ------ */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--indigo-800);
}
.notice .ico { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }
.notice h4 { font-size: .96rem; margin-bottom: .25rem; }
.notice p { font-size: .88rem; margin: 0; line-height: 1.62; }
.notice-safety { background: #2E1414; border-color: var(--madder-800); }
.notice-safety .ico, .notice-safety h4 { color: var(--madder-200); }
.notice-safety p { color: var(--madder-200); }
.notice-info { background: #152030; border-color: var(--dye-600); }
.notice-info .ico, .notice-info h4 { color: var(--dye-300); }
.notice-info p { color: var(--dye-300); }
.notice-warn { background: #2E2410; border-color: var(--marigold-800); }
.notice-warn .ico, .notice-warn h4 { color: var(--marigold-300); }
.notice-warn p { color: var(--marigold-300); }
.notice-neutral { background: var(--indigo-800); }
.notice-neutral .ico, .notice-neutral h4 { color: var(--linen-200); }

.tip-box {
  border-left: 4px solid var(--madder-500); background: rgba(184, 58, 58, .1);
  border-radius: 0 var(--r-md) var(--r-md) 0; padding: 14px 18px; margin: 1.5rem 0;
}
.tip-box h4 { font-size: .92rem; margin-bottom: .3rem; color: var(--madder-200); }
.tip-box p { margin: 0; font-size: .9rem; color: var(--text-2); }
.tip-box.tip-warn { border-left-color: var(--marigold-500); background: rgba(216, 154, 40, .1); }
.tip-box.tip-warn h4 { color: var(--marigold-300); }
.tip-box.tip-note { border-left-color: var(--dye-500); background: rgba(90, 112, 152, .14); }
.tip-box.tip-note h4 { color: var(--dye-300); }
.tip-box.tip-ok { border-left-color: var(--ok); background: rgba(106, 154, 90, .12); }
.tip-box.tip-ok h4 { color: var(--sage-300); }

.legal-note {
  background: var(--indigo-950); border-left: 4px solid var(--madder-500);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 14px 18px;
  font-size: .84rem; line-height: 1.65; color: var(--text-3);
}
.legal-note strong { color: var(--linen-200); }

.empty-state {
  text-align: center; padding: 44px 20px; border: 1px dashed var(--border-2);
  border-radius: var(--r-md); color: var(--text-3);
}
.empty-state .ico { width: 32px; height: 32px; color: var(--border-strong); margin-bottom: 10px; }
.empty-state h3 { margin-bottom: .3rem; }
.empty-state p { margin: 0; font-size: .9rem; }

.safety-strip {
  display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center;
  background: var(--indigo-950); border: 1px solid var(--madder-800);
  border-left: 4px solid var(--madder-500); border-radius: var(--r-sm);
  padding: 11px 16px; margin-bottom: 22px;
}
.safety-strip.compact { padding: 9px 14px; margin-bottom: 18px; }
.ss-item { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--madder-200); }
.ss-item .ico { width: 15px; height: 15px; color: var(--madder-400); }
.ss-msg {
  margin-left: auto; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--madder-300);
}

/* --------------------------------------------- 14. State indicators ------ */
.webgl-status, .crystal-indicator, .viscosity-indicator, .tension-indicator,
.sett-indicator, .shuttle-indicator, .temp-curve-indicator {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: var(--indigo-950); color: var(--text-3);
}
.ws-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
[data-state="loading"] { color: var(--text-3); }
[data-state="ready"] { color: var(--ok); border-color: rgba(106, 154, 90, .5); }
[data-state="fallback"] { color: var(--marigold-500); border-color: rgba(216, 154, 40, .5); }
[data-state="error"] { color: var(--madder-400); border-color: var(--madder-800); }
.cr-dot, .vc-bar, .tc-bar { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tc-bar { width: 26px; height: 6px; border-radius: 3px; }
.tension-indicator .ti-bar, .sett-indicator .si-bar {
  width: 34px; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--ok), var(--marigold-500), var(--madder-500));
}
.gauge { margin-top: 14px; }
.gauge-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 6px;
}
.gauge-track { height: 8px; border-radius: var(--r-pill); background: var(--indigo-950); overflow: hidden; border: 1px solid var(--border); }
.gauge-fill { height: 100%; border-radius: var(--r-pill); background: var(--madder-500); transition: width var(--t-med), background var(--t-fast); }
.gauge-fill.is-good { background: var(--ok); }
.gauge-fill.is-over { background: var(--marigold-500); }

/* --------------------------------------------------- 15. Panels ---------- */
.panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px;
}
.panel-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.panel-head .ico { width: 18px; height: 18px; color: var(--madder-400); flex: 0 0 auto; }
.panel-head h3 { font-size: 1rem; margin: 0; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { color: var(--text-3); font-weight: 600; width: 46%; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
.spec-table td { color: var(--linen-200); }

.note-list { list-style: none; padding: 0; margin: 0; }
.note-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: .9rem; color: var(--text-2); line-height: 1.62; }
.note-list .ico { width: 16px; height: 16px; color: var(--ok); flex: 0 0 auto; margin-top: 4px; }

.compat-list { display: flex; flex-direction: column; gap: 2px; }
.compat-list a, .compat-list span {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px;
  border-radius: var(--r-sm); font-size: .88rem; color: var(--text-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.compat-list a:hover { background: var(--indigo-700); color: var(--linen-100); }
.compat-list .ico { width: 13px; height: 13px; color: var(--madder-500); flex: 0 0 auto; }

/* ---------------------------------------------- 16. Filter and lists ----- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--indigo-950); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px; margin-bottom: 18px;
}
.fb-search { display: flex; align-items: center; gap: 8px; flex: 1 1 220px; background: var(--indigo-900); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 7px 14px; }
.fb-search .ico { width: 16px; height: 16px; color: var(--text-3); flex: 0 0 auto; }
.fb-search input { flex: 1; background: transparent; border: 0; outline: none; color: var(--linen-100); min-width: 0; font-size: .9rem; }
.filter-bar select {
  background: var(--indigo-900); border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 8px 14px; color: var(--linen-200); font-size: .84rem; cursor: pointer;
}
.fb-count { margin-left: auto; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.rh-count { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin: 0; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.page-btn {
  min-width: 40px; height: 40px; border-radius: var(--r-sm); padding: 0 12px;
  background: var(--indigo-800); border: 1px solid var(--border); color: var(--text-2);
  cursor: pointer; font-family: var(--font-mono); font-size: .82rem;
  display: grid; place-items: center;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.page-btn:hover { background: var(--indigo-700); color: var(--linen-100); }
.page-btn.is-active { background: var(--madder-500); border-color: var(--madder-500); color: var(--linen-50); }
.page-btn[disabled] { opacity: .4; cursor: not-allowed; }

/* ------------------------------------------- 17. Tool detail / exhibit --- */
.exhibit { background: var(--indigo-950); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px; }
.exhibit-main { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: var(--r-sm); overflow: hidden; background: var(--indigo-900); }
.exhibit-main img { width: 100%; height: 100%; object-fit: contain; }
/* the woven selvedge down each side of the exhibit */
.exhibit::before, .exhibit::after {
  content: ""; position: absolute; top: 12px; bottom: 12px; width: 2px;
  background-image: linear-gradient(var(--linen-500) 50%, transparent 50%);
  background-size: 2px 7px; opacity: .5;
}
.exhibit { position: relative; }
.exhibit::before { left: 5px; }
.exhibit::after { right: 5px; }
.exhibit-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.ex-thumb { padding: 0; border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; background: var(--indigo-900); cursor: pointer; aspect-ratio: 4 / 3; transition: border-color var(--t-fast); }
.ex-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ex-thumb:hover { border-color: var(--border-strong); }
.ex-thumb.is-active { border-color: var(--madder-500); box-shadow: 0 0 0 1px var(--madder-500); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps li { position: relative; margin: 0; }
.steps img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--border); margin-bottom: 12px; }
.step-n {
  position: absolute; top: 10px; left: 10px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--madder-500); color: var(--linen-50); display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; box-shadow: var(--sh-sm);
}
.step-tag { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--madder-500); margin-bottom: 4px; }
.steps h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.steps p { font-size: .86rem; color: var(--text-2); margin: 0; }

.cta-band {
  background: linear-gradient(120deg, var(--madder-800) 0%, var(--madder-500) 100%);
  border-radius: var(--r-lg); padding: 38px 34px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(245, 239, 226, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 239, 226, .07) 1px, transparent 1px);
  background-size: 8px 8px;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--linen-50); }
.cta-band p { color: rgba(245, 239, 226, .88); max-width: 62ch; margin: 0 auto 1.4rem; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--linen-50); color: var(--madder-800); }
.cta-band .btn-primary:hover { background: #fff; color: var(--madder-800); }
.cta-band .btn-outline { border-color: rgba(245, 239, 226, .6); color: var(--linen-50); }
.cta-band .btn-outline:hover { background: rgba(245, 239, 226, .16); color: var(--linen-50); }

/* --------------------------------------------- 18. Calculator layout ---- */
.calc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.field { margin-bottom: 16px; }
.field > label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 7px; }
.field [data-live-label] { color: var(--madder-400); font-weight: 700; }
.field input[type="number"], .field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; background: var(--indigo-950); border: 1px solid var(--border-2); border-radius: var(--r-sm);
  padding: 10px 13px; color: var(--linen-100); font-size: .95rem; outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--madder-500); box-shadow: 0 0 0 3px rgba(184, 58, 58, .18); }
.field input[type="range"] { width: 100%; accent-color: var(--madder-500); height: 22px; }
.field input[type="checkbox"] { accent-color: var(--madder-500); width: 18px; height: 18px; }
.field input[type="color"] { width: 100%; height: 40px; background: var(--indigo-950); border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 3px; cursor: pointer; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-note { font-size: .74rem; color: var(--text-3); margin: 5px 0 0; }
.field-error { font-size: .74rem; color: var(--madder-300); margin: 5px 0 0; }

.result-card {
  background: linear-gradient(160deg, var(--indigo-950) 0%, var(--indigo-900) 100%);
  border: 1px solid var(--border-2); border-top: 3px solid var(--madder-500);
  border-radius: var(--r-md); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px);
}
.result-main { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.result-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.result-value {
  font-family: var(--font-mono); font-weight: 700; color: var(--madder-400);
  font-size: clamp(2.4rem, 6vw, 3.2rem); line-height: 1; letter-spacing: -.02em;
  text-shadow: 0 0 26px rgba(184, 58, 58, .35);
}
.result-unit { font-size: .9rem; color: var(--text-2); margin-left: 6px; font-family: var(--font-mono); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.result-cell { background: var(--indigo-900); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px; }
.rc-label { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.rc-value { font-family: var(--font-mono); font-size: 1.05rem; color: var(--linen-100); font-weight: 600; }
.formula { font-family: var(--font-mono); font-size: .78rem; color: var(--text-3); background: var(--indigo-950); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 12px; margin-top: 16px; line-height: 1.7; }

/* ----------------------------------------------- 19. Studio shell ------- */
.studio-shell { background: var(--indigo-950); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.studio-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; background: var(--indigo-900); border-bottom: 1px solid var(--border);
}
.st-title { display: flex; align-items: center; gap: 9px; }
.st-title .ico { width: 20px; height: 20px; color: var(--madder-400); }
.st-title h2 { font-size: 1.05rem; margin: 0; }
.st-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.studio-layout { display: grid; grid-template-columns: 1fr 350px; gap: 0; align-items: start; }
.studio-layout > div:first-child { padding: 18px; min-width: 0; }
.studio-side { border-left: 1px solid var(--border); padding: 18px; display: flex; flex-direction: column; gap: 14px; background: var(--indigo-900); }

.studio-canvas-wrap {
  position: relative; aspect-ratio: 16 / 10; min-height: 320px;
  background: radial-gradient(ellipse at 50% 40%, var(--indigo-800) 0%, var(--indigo-950) 75%);
  border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden;
}
.studio-canvas-wrap canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.studio-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: rgba(14, 21, 32, .92); z-index: 3; transition: opacity var(--t-med), visibility var(--t-med);
}
.studio-overlay.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.so-inner { padding: 22px; max-width: 340px; }
.so-inner .ico { width: 34px; height: 34px; color: var(--madder-400); margin-bottom: 10px; }
.so-inner h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.so-inner p { font-size: .86rem; color: var(--text-2); margin-bottom: 12px; }
.skeleton-bar { height: 5px; border-radius: var(--r-pill); background: var(--indigo-800); overflow: hidden; }
.skeleton-bar i { display: block; height: 100%; width: 40%; background: var(--madder-500); animation: skel 1.1s ease-in-out infinite; }
@keyframes skel { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

.studio-fallback {
  position: absolute; inset: 0; z-index: 2; display: none; place-items: center; text-align: center;
  background: var(--indigo-950); padding: 18px; overflow: auto;
}
.studio-fallback.is-on { display: grid; }
.fb-inner { max-width: 420px; }
.fb-inner img { width: 100%; border-radius: var(--r-sm); border: 1px solid var(--border); margin-bottom: 12px; }
.fb-inner p { font-size: .82rem; color: var(--text-2); }
.fb-inner .btn { margin-top: 4px; }

.hint-bar { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.hb-item { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--text-3); }
.hb-item .ico { width: 14px; height: 14px; color: var(--border-strong); }

.studio-readout { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.readout-cell { background: var(--indigo-950); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 9px 11px; }
.readout-cell.wide { grid-column: 1 / -1; }
.ro-label { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.ro-value { font-family: var(--font-mono); font-size: .96rem; color: var(--linen-100); font-weight: 600; }

/* the studio step chips: warp → thread → sley → weave → advance */
.step-track { display: flex; flex-wrap: wrap; gap: 6px; }
.step-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 6px; border-radius: var(--r-pill);
  background: var(--indigo-950); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-3);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.step-chip .sc-n {
  width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--indigo-800); color: var(--text-3);
  font-size: .64rem; font-weight: 700;
}
.step-chip.is-done { color: var(--text-2); border-color: var(--border-2); }
.step-chip.is-done .sc-n { background: var(--sage-600); color: var(--linen-50); }
.step-chip.is-active {
  background: var(--madder-500); border-color: var(--madder-500); color: var(--linen-50);
  box-shadow: var(--glow-madder);
}
.step-chip.is-active .sc-n { background: rgba(14, 21, 32, .35); color: var(--linen-50); }

.studio-steps { display: flex; flex-direction: column; gap: 14px; }.studio-step { display: flex; gap: 12px; align-items: flex-start; }
.studio-step-n {
  width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto;
  background: var(--madder-500); color: var(--linen-50); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 700;
}
.studio-step h3 { font-size: .94rem; margin-bottom: .2rem; }
.studio-step p { font-size: .84rem; color: var(--text-2); margin: 0; }

.studio-preview-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: center; }
.studio-stage {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-md);
  background: radial-gradient(ellipse at 50% 40%, var(--indigo-800) 0%, var(--indigo-950) 75%);
  border: 1px solid var(--border-2); overflow: hidden;
}
.stage-layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-fallback { position: absolute; inset: 0; display: none; }
.stage-fallback.is-on { display: block; }
.stage-fallback img { width: 100%; height: 100%; object-fit: cover; }
.studio-btns { display: flex; flex-direction: column; gap: 10px; }
.studio-btn {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md);
  color: var(--text); transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.studio-btn:hover { transform: translateX(4px); border-color: var(--madder-500); box-shadow: var(--sh-sm); color: var(--text); }
.studio-btn > .ico { width: 20px; height: 20px; color: var(--madder-400); flex: 0 0 auto; }
.studio-btn b { display: block; font-family: var(--font-display); font-size: .94rem; color: var(--linen-100); }
.studio-btn span span { display: block; font-size: .78rem; color: var(--text-3); line-height: 1.5; }
.sb-arrow { margin-left: auto; color: var(--text-3); }

/* ------------------------------------------------- 20. Database table --- */
.db-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.db-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-card); }
table.db-table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 820px; }
.db-table th {
  text-align: left; padding: 11px 12px; background: var(--indigo-950);
  border-bottom: 2px solid var(--border-2); white-space: nowrap;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2);
}
.db-table th button {
  background: transparent; border: 0; padding: 0; cursor: pointer; color: inherit;
  font: inherit; letter-spacing: inherit; text-transform: inherit; display: inline-flex; align-items: center; gap: 5px;
}
.db-table th button:hover { color: var(--madder-400); }
.db-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: top; }
.db-table tbody tr:hover { background: var(--indigo-800); }
.db-table tbody tr.is-open { background: var(--indigo-800); }
.db-name { color: var(--linen-100); font-weight: 600; }
.db-num { font-family: var(--font-mono); color: var(--linen-200); }
.db-detail td { background: var(--indigo-950); font-size: .84rem; color: var(--text-2); }
.db-row-btn { background: transparent; border: 0; cursor: pointer; color: var(--madder-400); padding: 0; font-family: var(--font-mono); font-size: .74rem; }
.compare-tray {
  position: sticky; bottom: 0; z-index: 5; margin-top: 14px;
  background: var(--indigo-950); border: 1px solid var(--madder-800); border-radius: var(--r-md);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.compare-tray .ct-items { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.ct-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--indigo-800); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 4px 6px 4px 12px; font-size: .8rem; }
.ct-chip button { background: transparent; border: 0; cursor: pointer; color: var(--madder-400); display: grid; place-items: center; padding: 2px; }
.ct-chip button .ico { width: 13px; height: 13px; }
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.compare-card { background: var(--bg-card); border: 1px solid var(--border); border-top: 3px solid var(--madder-500); border-radius: var(--r-md); padding: 16px; }
.compare-card h4 { font-size: .96rem; }
.compare-card dl { margin: 0; }
.compare-card dt { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: 9px; }
.compare-card dd { margin: 2px 0 0; font-size: .88rem; color: var(--linen-200); }

/* ----------------------------------------------------- 21. Blog --------- */
.featured-post {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; margin-bottom: 28px;
}
.featured-post:hover { border-color: var(--madder-500); }
.featured-media { position: relative; min-height: 300px; background: var(--indigo-950); }
.featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.featured-body p { color: var(--text-2); font-size: .94rem; }

.post-hero { padding-bottom: 30px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-top: 14px; }
.post-meta .pm-strong { color: var(--madder-400); }

.post-body { max-width: 100%; }
.post-body h2 { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.post-body h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.post-body h3 { margin-top: 1.6rem; }
.post-body p { color: var(--text-2); }
.post-body > p:first-of-type { font-size: 1.05rem; color: var(--text); }
.post-body ul, .post-body ol { color: var(--text-2); }
.post-body li { margin-bottom: .5rem; }

.step-block { display: flex; gap: 14px; align-items: flex-start; margin: 1.4rem 0; }
.step-block .sb-n {
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto;
  background: var(--indigo-800); border: 2px solid var(--madder-500); color: var(--linen-100);
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700;
}
.step-block h3 { font-size: 1rem; margin-bottom: .25rem; }
.step-block p { font-size: .9rem; color: var(--text-2); margin: 0; }

.post-art { margin: 1.8rem 0; }
.post-art img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--border); }

.toc { background: var(--indigo-950); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; }
.toc h4 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.1em; font-size: .86rem; }
.toc li { margin-bottom: .4rem; }
.toc a { color: var(--text-2); }
.toc a:hover, .toc a.is-active { color: var(--madder-400); }

.side-sticky { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 16px; }

.author-box { display: flex; gap: 14px; align-items: flex-start; background: var(--indigo-950); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--madder-500); display: grid; place-items: center; flex: 0 0 auto; font-family: var(--font-display); font-weight: 700; color: var(--linen-50); font-size: 1.1rem; }
.author-box h4 { font-size: .96rem; margin-bottom: .15rem; }
.author-box p { font-size: .82rem; color: var(--text-3); margin: 0; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.post-nav a { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; transition: border-color var(--t-fast), transform var(--t-fast); }
.post-nav a:hover { border-color: var(--madder-500); transform: translateY(-2px); }
.pn-label { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: 4px; }
.pn-title { font-family: var(--font-display); font-weight: 700; color: var(--linen-100); font-size: .92rem; }

.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--madder-500); z-index: 260; transition: width .1s linear; }
.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--madder-500); border: 0; color: var(--linen-50); cursor: pointer; z-index: 150;
  display: grid; place-items: center; box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; transition: opacity var(--t-med), visibility var(--t-med), background var(--t-fast);
}
.to-top.is-on { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--madder-400); }
.to-top .ico { width: 20px; height: 20px; }

/* ------------------------------------------------- 22. Content pages ---- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prose-block { max-width: 74ch; }
.prose-block h2 { margin-top: 2rem; }
.prose-block h2:first-child { margin-top: 0; }
.prose-block p { color: var(--text-2); }
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; }
.form-status { border-radius: var(--r-sm); padding: 12px 14px; font-size: .88rem; margin-bottom: 16px; display: none; }
.form-status.is-on { display: block; }
.form-status.ok { background: rgba(106, 154, 90, .14); border: 1px solid var(--ok); color: var(--sage-300); }
.form-status.err { background: rgba(184, 58, 58, .14); border: 1px solid var(--madder-800); color: var(--madder-200); }

.faq-item { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; color: var(--linen-100); font-size: .98rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--madder-500); font-family: var(--font-mono); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: .7rem 0 0; font-size: .9rem; color: var(--text-2); }

/* ---------------------------------------------------- 23. Footer -------- */
.site-footer { background: var(--indigo-950); border-top: 3px solid var(--madder-500); margin-top: 60px; position: relative; z-index: 1; }
.site-footer .wrap { padding-top: 46px; padding-bottom: 26px; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-col h4 { font-size: .8rem; font-family: var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--madder-400); margin-bottom: 12px; }
.footer-col p { font-size: .84rem; color: var(--text-3); line-height: 1.65; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { font-size: .86rem; color: var(--text-2); }
.footer-links a:hover { color: var(--madder-400); }
.social-row { display: flex; gap: 9px; margin: 14px 0; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--indigo-900); border: 1px solid var(--border); color: var(--text-2);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.social-row a:hover { background: var(--madder-500); color: var(--linen-50); border-color: var(--madder-500); }
.social-row .ico { width: 16px; height: 16px; }
.version-tag { font-family: var(--font-mono); font-size: .68rem; color: var(--text-3); margin: 0; }
.footer-news form { display: flex; flex-direction: column; gap: 8px; }
.footer-news input {
  background: var(--indigo-900); border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 9px 15px; color: var(--linen-100); font-size: .86rem; outline: none;
}
.footer-news input:focus { border-color: var(--madder-500); }
.fn-note { font-size: .72rem; color: var(--text-3); margin: 8px 0 0; line-height: 1.55; }
.footer-disclaimer { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--border); }
.disclaimer-block { display: flex; gap: 12px; align-items: flex-start; }
.disclaimer-block > .ico { width: 22px; height: 22px; color: var(--madder-400); flex: 0 0 auto; margin-top: 2px; }
.disclaimer-block h4 { font-size: .9rem; margin-bottom: .3rem; }
.disclaimer-block p { font-size: .78rem; color: var(--text-3); margin: 0; line-height: 1.62; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.fb-left { font-size: .78rem; color: var(--text-3); margin: 0; }
.fb-links { display: flex; gap: 16px; flex-wrap: wrap; }
.fb-links a { font-size: .8rem; color: var(--text-3); }
.fb-links a:hover { color: var(--madder-400); }
.allergen-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage-300); border: 1px solid var(--sage-800); border-radius: var(--r-pill); padding: 4px 12px;
}
.allergen-pill .ico { width: 13px; height: 13px; }

/* ------------------------------------------------- 24. Utilities -------- */
.ico { display: inline-block; vertical-align: middle; flex: 0 0 auto; }
[hidden] { display: none !important; }

/* ------------------------------------------------ 25. Responsive -------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .studio-layout { grid-template-columns: 1fr 320px; }
}
@media (max-width: 1000px) {
  :root { --thread-h: 14px; }
  .warp-label, .warp-pill { padding: 5px 11px; font-size: .74rem; }
  .studio-layout { grid-template-columns: 1fr; }
  .studio-side { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 900px) {
  .burger { display: grid; }
  .warp-bar { display: none; }
  :root { --header-h: 36px; }
  .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .split-wide, .split-half, .split-side, .calc-layout, .studio-preview-grid, .featured-post { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .result-card, .side-sticky { position: static; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .featured-media { min-height: 220px; }
  .studio-stage { order: -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .section { padding: 42px 0; }
  .hero { height: 460px; }
  .hero-copy { max-width: none; }
  .grid-3, .grid-4, .grid-2, .grid-auto, .steps, .info-grid, .footer-cols, .footer-disclaimer, .result-grid, .studio-readout { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .exhibit-thumbs { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .ss-msg { margin-left: 0; }
  .studio-canvas-wrap { min-height: 240px; aspect-ratio: 4 / 3; }
  .cta-band { padding: 28px 20px; }
  .card { min-height: 44px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .fb-count { margin-left: 0; text-align: right; }
}

/* ---------------------------------------- 26. Reduced motion / print ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .card:hover { transform: none; }
  .card:hover .card-media img { transform: none; }
  .btn-shuttle:hover .shuttle-ico { animation: none; }
  .studio-btn:hover { transform: none; }
  .post-nav a:hover { transform: none; }
  .hero-slide { transition: none; }
}
@media print {
  .site-header, .site-footer, .drawer, .drawer-scrim, .search-pop, .to-top, .read-progress, .hero-ctrl { display: none !important; }
  body { background: #fff; color: #111; }
  body::before { display: none; }
  .card, .panel, .notice { border-color: #ccc; }
}
