/* ==========================================================================
   TrustCloudHub - Mineral Petrol Opal  v2
   Layered petrol surfaces, a graded accent ladder, and editorial support tones.
   Single source of truth for the theme.
   ========================================================================== */

/* --- Fonts (self hosted, latin subset) ---------------------------------- */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-var.woff2") format("woff2-variations"),
       url("../fonts/schibsted-grotesk-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans VF";
  src: url("../fonts/ibm-plex-sans-var.woff2") format("woff2-variations"),
       url("../fonts/ibm-plex-sans-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  /* grounds, darkest to lightest */
  --deep: #071317;
  --bg: #061014;
  --bg-2: #08171C;
  --surface: #0C2026;
  --surface-raised: #10282E;

  /* accent ladder */
  --accent: #67E8D1;
  --accent-soft: #A8F0E4;
  --accent-bright: #D7FFF7;
  --accent-deep: #2F8C80;
  --accent-ink: #04231F;

  /* support tones, rationed */
  --warm: #E7C98B;
  --lavender: #B9B7FF;
  --steel: #91C7D9;

  /* text ladder */
  --ink: #E8F5F3;
  --ink-2: #9BB6B5;
  --ink-muted: #6F8C8C;

  /* lines */
  --line: rgba(130, 220, 210, 0.16);
  --line-strong: rgba(130, 220, 210, 0.30);
  --line-faint: rgba(130, 220, 210, 0.08);

  /* legacy aliases kept so older rules and templates keep resolving */
  --hairline: var(--line);
  --ice: var(--accent-bright);
  --support: var(--lavender);
  --warning: var(--warm);

  /* type */
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans VF", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* spacing scale */
  --xs: 6px;
  --sm: 12px;
  --md: 20px;
  --lg: 36px;
  --xl: 64px;
  --xxl: 104px;
  --xxxl: 140px;

  /* radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* frame */
  --frame: 1240px;
  --gutter: 20px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 140ms;
  --t-mid: 200ms;
  --t-slow: 420ms;

  /* depth, tinted to the ground, never pure black */
  --shadow-sm: 0 1px 2px rgba(3, 10, 13, 0.5);
  --shadow-md: 0 12px 28px -12px rgba(3, 10, 13, 0.85);
  --shadow-lg: 0 32px 70px -28px rgba(3, 10, 13, 0.92);
}

/* --- Reset (zero specificity so components always win) ------------------ */
*, *::before, *::after { box-sizing: border-box; }

:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:where(body) { margin: 0; }
:where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
:where(img, svg, video) { display: block; max-width: 100%; height: auto; }
:where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(a) { color: inherit; text-decoration: none; }
:where(table) { border-collapse: collapse; width: 100%; }
:where(blockquote, figure) { border: 0; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  :where(html) { scroll-behavior: auto; }
}

/* --- Base ---------------------------------------------------------------- */
html { background: var(--bg); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--deep); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.tch-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--accent);
  color: var(--deep);
  padding: var(--sm) var(--md);
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.tch-skip:focus { left: 0; }

/* Visually hidden. WooCommerce ships its own .screen-reader-text rule in the
   stylesheet this theme dequeues, so it is redefined here. Without it, Woo's
   accessible price-range span renders as visible duplicate text. */
.tch-sr,
.screen-reader-text,
.woocommerce-privacy-policy-text + .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.tch-sr:focus, .screen-reader-text:focus {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  margin: 0;
  position: static !important;
}

/* --- Layout frame -------------------------------------------------------- */
.tch-frame {
  width: 100%;
  max-width: var(--frame);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.tch-section { padding-block: var(--xxl); }
.tch-section--tight { padding-block: var(--xl); }
.tch-section--hairtop { border-top: 1px solid var(--line-faint); }

/* Section grounds. The palette defines five values and the page was using one,
   so sections separated by a hairline alone and the page read flat. A band and
   a well give the scroll a value rhythm; both are design system grounds, and
   the soft edge stops the change reading as a hard seam. */
.tch-section--band,
.tch-section--well { position: relative; }
.tch-section--band { background: var(--bg-2); }
.tch-section--well { background: var(--deep); }
.tch-section--band::before,
.tch-section--well::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  background: linear-gradient(180deg, var(--bg), transparent);
  pointer-events: none;
  opacity: 0.55;
}
.tch-section--band::after,
.tch-section--well::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(0deg, var(--bg), transparent);
  pointer-events: none;
  opacity: 0.55;
}
.tch-section--band > *,
.tch-section--well > * { position: relative; z-index: 1; }

/* Current page marker. The nav had no active state at all, so the header never
   told you where you were. One hairline under the label, accent coloured. */
.tch-nav a.is-current,
.tch-nav .tch-nav__toggle.is-current { color: var(--ink); }
.tch-nav a.is-current::after,
.tch-nav .tch-nav__toggle.is-current::after {
  content: "";
  position: absolute;
  left: var(--sm);
  right: var(--sm);
  bottom: 10px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.tch-nav a, .tch-nav .tch-nav__toggle { position: relative; }

/* Quiet data. The palette defines a muted steel for figures that are data
   rather than action, and it was unused, so every number on the site competed
   with the accent used for buttons. Steel takes the read only figures back
   down a level and leaves the accent meaning "you can act on this". */
.tch-pd__specgrid dd.tch-mono,
.tch-table .tch-num { color: var(--steel); }
.tch-pd__configs { color: var(--steel); }

/* --- Typography ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .tch-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.tch-h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
.tch-h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; }
.tch-h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.12; }

.tch-lede {
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 62ch;
}

.tch-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: var(--sm);
}
.tch-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
  max-width: 120px;
}

.tch-mono { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }

/* micro label, used for technical metadata */
.tch-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

/* long form prose */
.tch-prose { max-width: 68ch; font-size: 1.02rem; }
.tch-prose > * + * { margin-top: 1.15em; }
.tch-prose h2 {
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  margin-top: 2.4em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line-faint);
  scroll-margin-top: 110px;
  position: relative;
}
.tch-prose h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 1px;
  background: var(--accent);
}
.tch-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.tch-prose h2:first-child::before { display: none; }
.tch-prose h3 {
  font-size: clamp(1.14rem, 1.7vw, 1.34rem);
  margin-top: 2em;
  color: var(--accent-soft);
}
.tch-prose p { color: var(--ink-2); }
.tch-prose strong { color: var(--ink); font-weight: 600; }
.tch-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease), text-decoration-color var(--t-fast) var(--ease);
}
.tch-prose a:hover { color: var(--accent-bright); text-decoration-color: var(--accent); }
.tch-prose ul { list-style: none; padding-left: 0; }
.tch-prose ul li {
  position: relative;
  padding-left: 1.5em;
  margin-top: 0.55em;
  color: var(--ink-2);
}
.tch-prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 8px; height: 1px;
  background: var(--accent);
}
.tch-prose ol { list-style: decimal; padding-left: 1.4em; }
.tch-prose ol li { margin-top: 0.55em; padding-left: 0.3em; color: var(--ink-2); }
.tch-prose ol li::marker { color: var(--accent); font-family: var(--font-mono); font-size: 0.85em; }
.tch-prose blockquote {
  border-left: 2px solid var(--accent);
  padding: var(--sm) 0 var(--sm) var(--md);
  color: var(--ink);
  font-size: 1.06em;
  background: linear-gradient(90deg, rgba(103, 232, 209, 0.05), transparent 60%);
}

/* tables inside prose get the full component treatment */
.tch-prose table {
  font-size: 0.93rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}
.tch-prose th, .tch-prose td {
  text-align: left;
  padding: 0.8em var(--md);
  border-bottom: 1px solid var(--line-faint);
  vertical-align: top;
}
.tch-prose thead th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--surface);
  font-weight: 500;
}
.tch-prose tbody tr:last-child td { border-bottom: 0; }
.tch-prose tbody td { color: var(--ink-2); }
.tch-prose tbody td:first-child { color: var(--ink); font-weight: 500; }

/* --- Buttons ------------------------------------------------------------- */
.tch-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.93rem;
  line-height: 1;
  padding: 0.95em 1.6em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  isolation: isolate;
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              box-shadow var(--t-mid) var(--ease);
}
/* Icons sized relative to the label, so a button keeps its proportions at every
   size modifier. Without this an inline SVG with only a viewBox stretches to
   fill the flex line. */
.tch-btn > svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.tch-btn--sm > svg { width: 1.05em; height: 1.05em; }

.tch-btn:active { transform: translateY(0); }

.tch-btn--primary {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, var(--shadow-sm);
}
.tch-btn--primary:hover {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-soft));
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 26px -12px rgba(103, 232, 209, 0.5);
}

.tch-btn--ghost {
  background: rgba(16, 40, 46, 0.5);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tch-btn--ghost:hover {
  border-color: var(--line-strong);
  color: var(--accent-bright);
  background: var(--surface-raised);
  transform: translateY(-1px);
}

.tch-btn--sm { padding: 0.7em 1.15em; font-size: 0.84rem; }
.tch-btn--block { width: 100%; }

.tch-btn__arrow { transition: transform var(--t-mid) var(--ease); }
.tch-btn:hover .tch-btn__arrow { transform: translateX(3px); }

/* --- Chips --------------------------------------------------------------- */
.tch-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.38em 0.72em;
  background: var(--surface);
  font-weight: 500;
}
.tch-chip--accent { color: var(--accent); border-color: var(--line-strong); background: rgba(103, 232, 209, 0.07); }
.tch-chip--warm { color: var(--warm); border-color: rgba(231, 201, 139, 0.3); background: rgba(231, 201, 139, 0.07); }

/* --- Provider mark ------------------------------------------------------- */
.tch-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  transition: border-color var(--t-mid) var(--ease), background var(--t-mid) var(--ease);
}
.tch-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 30% 10%, rgba(255, 255, 255, 0.07), transparent 70%);
  pointer-events: none;
}
.tch-mark svg { width: 24px; height: 24px; position: relative; }
.tch-mark svg [data-m] {
  stroke: var(--ink-2);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--t-mid) var(--ease);
}
.tch-mark svg [data-m-fill] {
  fill: var(--ink-2);
  transition: fill var(--t-mid) var(--ease);
}
.tch-mark--lg { width: 68px; height: 68px; flex-basis: 68px; border-radius: var(--r-md); }
.tch-mark--lg svg { width: 36px; height: 36px; }

/* --- Cards --------------------------------------------------------------- */
.tch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, var(--surface-raised), var(--surface) 55%);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--md);
  overflow: hidden;
  transition: border-color var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease);
}
.tch-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 45%, var(--accent-soft) 50%, var(--line-strong) 55%, transparent);
  opacity: 0;
  /* Above .tch-card__media, which otherwise paints over this hairline. */
  z-index: 3;
  transition: opacity var(--t-slow) var(--ease);
}
.tch-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tch-card:hover::before { opacity: 1; }
.tch-card:hover .tch-mark { border-color: var(--line-strong); background: linear-gradient(145deg, #15323A, var(--surface-raised)); }
.tch-card:hover .tch-mark svg [data-m] { stroke: var(--accent); }
.tch-card:hover .tch-mark svg [data-m-fill] { fill: var(--accent); }

/* Full-bleed product shot above the card body. The card carries padding, so the
   media block pulls back out to the card edges; aspect-ratio matches the 3:2
   source and object-fit stays contain so nothing is cropped or stretched. */
.tch-card__media {
  position: relative;
  margin: calc(var(--md) * -1) calc(var(--md) * -1) var(--md);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(165deg, var(--surface-raised), var(--deep) 80%);
  border-bottom: 1px solid var(--line);
}
.tch-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform var(--t-slow) var(--ease);
}
.tch-card:hover .tch-card__media img { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) {
  .tch-card:hover .tch-card__media img { transform: none; }
}

.tch-card__head { display: flex; align-items: center; gap: var(--sm); margin-bottom: var(--md); }
.tch-card__title { font-size: 1.08rem; font-family: var(--font-display); font-weight: 700; line-height: 1.14; transition: color var(--t-fast) var(--ease); }
.tch-card:hover .tch-card__title { color: var(--accent-bright); }
.tch-card__provider {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 3px;
}
.tch-card__desc { color: var(--ink-2); font-size: 0.9rem; line-height: 1.55; flex: 1; }
.tch-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sm);
  margin-top: var(--md);
  padding-top: var(--sm);
  border-top: 1px solid var(--line-faint);
}
.tch-card__price { font-family: var(--font-mono); font-weight: 500; color: var(--ink); font-size: 1.05rem; }
.tch-card__price small {
  color: var(--ink-muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  font-family: var(--font-mono);
  margin-bottom: 2px;
}
.tch-card__link { position: absolute; inset: 0; z-index: 1; }
.tch-card__cta { position: relative; z-index: 2; }

/* grids */
.tch-grid { display: grid; gap: var(--md); }
.tch-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tch-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tch-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1100px) { .tch-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .tch-grid--3, .tch-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tch-grid--2, .tch-grid--3, .tch-grid--4 { grid-template-columns: 1fr; }
}

/* --- Tables -------------------------------------------------------------- */
.tch-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.tch-table { min-width: 560px; font-size: 0.92rem; }
.tch-table th, .tch-table td {
  text-align: left;
  padding: 0.85em var(--md);
  border-bottom: 1px solid var(--line-faint);
  vertical-align: top;
}
.tch-table thead th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg-2);
  white-space: nowrap;
  font-weight: 500;
}
.tch-table tbody tr { transition: background var(--t-fast) var(--ease); }
.tch-table tbody tr:hover { background: rgba(103, 232, 209, 0.035); }
.tch-table tbody tr:last-child td { border-bottom: 0; }
.tch-table td { color: var(--ink-2); }
.tch-table td:first-child { color: var(--ink); font-weight: 500; }
.tch-table .tch-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--accent-soft); }

/* --- Accordion ----------------------------------------------------------- */
.tch-acc { border-top: 1px solid var(--line-faint); }
.tch-acc__item { border-bottom: 1px solid var(--line-faint); transition: background var(--t-fast) var(--ease); }
.tch-acc__item:hover { background: rgba(103, 232, 209, 0.025); }
.tch-acc__btn {
  all: unset;
  box-sizing: border-box;
  display: flex;
  width: 100%;
  gap: var(--md);
  align-items: baseline;
  justify-content: space-between;
  padding: var(--md) var(--sm) var(--md) 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.25;
  color: var(--ink);
  transition: color var(--t-fast) var(--ease);
}
.tch-acc__btn:hover { color: var(--accent); }
.tch-acc__btn[aria-expanded="true"] { color: var(--accent); }
.tch-acc__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.tch-acc__ico {
  flex: 0 0 auto;
  width: 12px; height: 12px;
  position: relative;
  transition: transform var(--t-mid) var(--ease);
  align-self: center;
}
.tch-acc__ico::before, .tch-acc__ico::after {
  content: ""; position: absolute; background: var(--accent);
}
.tch-acc__ico::before { inset: 5px 0 auto 0; height: 1.5px; }
.tch-acc__ico::after  { inset: 0 5px auto 5px; width: 1.5px; height: 12px; transition: opacity var(--t-mid) var(--ease); }
.tch-acc__btn[aria-expanded="true"] .tch-acc__ico { transform: rotate(90deg); }
.tch-acc__btn[aria-expanded="true"] .tch-acc__ico::after { opacity: 0; }

.tch-acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-mid) var(--ease);
}
.tch-acc__panel[data-open="true"] { grid-template-rows: 1fr; }
.tch-acc__inner { overflow: hidden; }
.tch-acc__inner > div { padding-bottom: var(--md); max-width: 72ch; color: var(--ink-2); }
.tch-acc__inner p + p { margin-top: 0.9em; }
.tch-acc__inner ul { margin-top: 0.7em; }
.tch-acc__inner li { position: relative; padding-left: 1.4em; margin-top: 0.4em; }
.tch-acc__inner li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 7px; height: 1px; background: var(--accent);
}
.tch-no-js .tch-acc__panel { grid-template-rows: 1fr; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.tch-head { position: relative; z-index: 120; }

/* tier 1: utility */
.tch-head__utility {
  border-bottom: 1px solid var(--line-faint);
  background: var(--deep);
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.tch-head__utility .tch-frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--md);
  min-height: 38px;
}
.tch-head__note { display: flex; align-items: center; gap: 0.6em; }
.tch-head__note .tch-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  flex: 0 0 5px;
  box-shadow: 0 0 0 3px rgba(103, 232, 209, 0.12);
}
.tch-head__util-links { display: flex; align-items: center; gap: var(--md); }
.tch-head__util-links a { transition: color var(--t-fast) var(--ease); }
.tch-head__util-links a:hover { color: var(--accent); }

/* tier 2: brand, search, commerce */
.tch-head__main {
  border-bottom: 1px solid var(--line-faint);
  background:
    radial-gradient(120% 180% at 50% 0%, rgba(103, 232, 209, 0.05), transparent 60%),
    var(--bg);
}
.tch-head__main .tch-frame {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--lg);
  min-height: 84px;
}

.tch-logo { display: flex; align-items: center; gap: 0.75em; }
.tch-logo__mark { width: 38px; height: 38px; flex: 0 0 38px; transition: transform var(--t-mid) var(--ease); }
/* The inline mark carries only a viewBox, so it scales to the span rather than
   to any intrinsic size, which keeps the header height fixed before paint. */
.tch-logo__mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.tch-logo:hover .tch-logo__mark { transform: translateY(-1px); }
.tch-logo__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: -0.028em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  display: block;
}
.tch-logo__word b { color: var(--accent); font-weight: 700; }
.tch-logo__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* search */
.tch-search { position: relative; max-width: 520px; width: 100%; }
.tch-search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.85em 3.2em 0.85em 1.3em;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              box-shadow var(--t-mid) var(--ease);
}
.tch-search input::placeholder { color: var(--ink-muted); }
.tch-search input:focus {
  outline: none;
  border-color: var(--line-strong);
  background: var(--surface-raised);
  box-shadow: 0 0 0 4px rgba(103, 232, 209, 0.09);
}
.tch-search button {
  all: unset;
  box-sizing: border-box;
  position: absolute;
  right: 5px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--accent);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.tch-search button:hover { background: rgba(103, 232, 209, 0.12); color: var(--accent-bright); }
.tch-search button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.tch-search svg { width: 17px; height: 17px; }

/* commerce cluster */
.tch-head__tools { display: flex; align-items: center; gap: var(--sm); }
.tch-icolink {
  position: relative;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.tch-icolink:hover {
  border-color: var(--line-strong);
  color: var(--accent);
  background: var(--surface-raised);
  transform: translateY(-1px);
}
.tch-icolink svg { width: 19px; height: 19px; }
.tch-cart__count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--bg);
}

/* tier 3: navigation. This row is the positioning context for mega panels. */
.tch-head__nav {
  background: var(--bg);
  border-bottom: 1px solid var(--line-faint);
  position: relative;
}
.tch-nav > ul {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
}
/* Small dropdowns anchor to their own item. The mega item opts out via
   .tch-nav__item--mega so its panel can span the whole nav row. */
.tch-nav li { position: relative; }
/* Specificity must beat `.tch-nav li` above, or the mega panel keeps
   resolving against the list item and renders at nav-link width. */
.tch-nav li.tch-nav__item--mega { position: static; }

.tch-nav a, .tch-nav .tch-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 1.05em 1.1em;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  transition: color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.tch-nav > ul > li > a::after,
.tch-nav > ul > li > .tch-nav__toggle::after {
  content: "";
  position: absolute;
  left: 1.1em; right: 1.1em; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease);
}
.tch-nav > ul > li:hover > a::after,
.tch-nav > ul > li:hover > .tch-nav__toggle::after,
.tch-nav > ul > li.is-current > a::after,
.tch-nav > ul > li.is-open > .tch-nav__toggle::after { transform: scaleX(1); }
.tch-nav a:hover, .tch-nav .tch-nav__toggle:hover,
.tch-nav li.is-open > .tch-nav__toggle { color: var(--ink); }
.tch-nav .tch-nav__toggle {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 1.05em 1.1em;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--ink-2);
  position: relative;
  transition: color var(--t-fast) var(--ease);
}
.tch-nav .tch-nav__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.tch-nav__chev { width: 9px; height: 9px; transition: transform var(--t-mid) var(--ease); opacity: 0.6; }
.tch-nav li.is-open .tch-nav__chev { transform: rotate(180deg); opacity: 1; }

.tch-nav__contact { margin-left: auto; display: flex; align-items: center; }
.tch-nav__contact a { color: var(--ink-muted); font-size: 0.86rem; }
.tch-nav__contact a:hover { color: var(--accent); }
.tch-nav__contact svg { width: 15px; height: 15px; }

/* ==========================================================================
   MEGA MENU
   Spans the nav row, never the list item. No internal scroll on desktop.
   ========================================================================== */
.tch-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.985);
  width: min(1180px, calc(100vw - 48px));
  background:
    radial-gradient(90% 120% at 15% 0%, rgba(103, 232, 209, 0.07), transparent 58%),
    radial-gradient(70% 100% at 88% 10%, rgba(185, 183, 255, 0.055), transparent 62%),
    linear-gradient(180deg, var(--surface-raised), var(--bg-2) 70%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  margin-top: 10px;
  /* Safety valve only. At every supported width the panel is shorter than this,
     so no scrollbar appears in practice. */
  max-height: calc(100vh - 150px);
  overflow: hidden auto;
  overscroll-behavior: contain;
  transition: opacity var(--t-mid) var(--ease-out),
              transform var(--t-mid) var(--ease-out),
              visibility var(--t-mid) linear;
}
.tch-mega[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}
/* top edge highlight */
.tch-mega::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 30%, var(--accent-soft) 50%, var(--line-strong) 70%, transparent);
  opacity: 0.6;
}
.tch-mega__inner { position: relative; padding: var(--lg); }

/* Cloud Service: intro rail + provider grid */
.tch-mega__layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: var(--lg);
  align-items: start;
}
.tch-mega__rail {
  border-right: 1px solid var(--line-faint);
  padding-right: var(--lg);
  align-self: stretch;
}
.tch-mega__title { font-size: 1.3rem; line-height: 1.12; margin-bottom: var(--sm); }
.tch-mega__sub { color: var(--ink-2); font-size: 0.86rem; line-height: 1.55; }
.tch-mega__stats {
  display: flex;
  gap: var(--md);
  margin: var(--md) 0;
  padding-block: var(--md);
  border-block: 1px solid var(--line-faint);
}
.tch-mega__stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
}
.tch-mega__stat span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.tch-mega__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
}
.tch-mega__item {
  display: flex;
  align-items: center;
  min-height: 52px;
  gap: 0.65em;
  padding: 0.6em 0.7em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  min-width: 0;
}
.tch-mega__item:hover { background: rgba(103, 232, 209, 0.06); border-color: var(--line); }
.tch-mega__item .tch-mark {
  width: 32px; height: 32px; flex-basis: 32px;
  border-radius: 8px;
}
.tch-mega__item .tch-mark svg { width: 17px; height: 17px; }
.tch-mega__item:hover .tch-mark { border-color: var(--line-strong); }
.tch-mega__item:hover .tch-mark svg [data-m] { stroke: var(--accent); }
.tch-mega__item:hover .tch-mark svg [data-m-fill] { fill: var(--accent); }
.tch-mega__text { min-width: 0; flex: 1; }
.tch-mega__name {
  display: block;
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1.25;
  color: var(--ink);
  /* Long provider names wrap to a second line rather than truncating. */
  overflow-wrap: break-word;
  transition: color var(--t-fast) var(--ease);
}
.tch-mega__item:hover .tch-mega__name { color: var(--accent-bright); }
.tch-mega__meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-muted);
  margin-top: 2px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tch-mega__go {
  flex: 0 0 auto;
  width: 14px;
  color: var(--ink-muted);
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.tch-mega__item:hover .tch-mega__go { opacity: 1; transform: translateX(0); color: var(--accent); }

.tch-mega__foot {
  margin-top: var(--lg);
  padding-top: var(--md);
  border-top: 1px solid var(--line-faint);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--md);
  flex-wrap: wrap;
}
.tch-mega__note { color: var(--ink-muted); font-size: 0.8rem; }

/* editorial mega (guides, compare): column sections */
.tch-mega__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--lg);
}
.tch-mega__col h3 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--sm);
  padding-bottom: var(--sm);
  border-bottom: 1px solid var(--line-faint);
}
.tch-mega__col li + li { margin-top: 1px; }
.tch-mega__link {
  display: block;
  padding: 0.45em 0.6em;
  margin-inline: -0.6em;
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--ink-2);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.tch-mega__link:hover { background: rgba(103, 232, 209, 0.06); color: var(--accent-bright); }
.tch-mega__link small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-muted);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

/* featured panel inside an editorial mega */
.tch-mega__feature {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  display: block;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.tch-mega__feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tch-mega__feature-fig { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-raised); }
.tch-mega__feature-fig img, .tch-mega__feature-fig svg { width: 100%; height: 100%; object-fit: cover; }
.tch-mega__feature-body { padding: var(--sm) var(--md) var(--md); }
.tch-mega__feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
  color: var(--ink);
  margin-top: 6px;
}
.tch-mega__feature:hover .tch-mega__feature-title { color: var(--accent-bright); }

/* Laptop viewports. A narrow vertical rail forced its copy to wrap and made the
   panel taller than the viewport, so below 1240px the rail becomes a compact
   header strip and the provider grid keeps four columns. Twenty providers then
   fit in five rows with no internal scrollbar. */
@media (max-width: 1240px) {
  .tch-mega__inner { padding: var(--md); }
  .tch-mega__layout { grid-template-columns: 1fr; gap: var(--md); }
  .tch-mega__rail {
    border-right: 0;
    border-bottom: 1px solid var(--line-faint);
    padding: 0 0 var(--sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--md);
    flex-wrap: wrap;
  }
  .tch-mega__rail .tch-mega__sub { display: none; }
  .tch-mega__title { font-size: 1.05rem; margin-bottom: 0; }
  .tch-mega__stats { border: 0; margin: 0; padding: 0; gap: var(--md); }
  .tch-mega__stat strong { font-size: 1.05rem; }

  .tch-mega__meta { display: none; }
  .tch-mega__item { padding: 0.4em 0.55em; }
  .tch-mega__item .tch-mark { width: 28px; height: 28px; flex-basis: 28px; }
  .tch-mega__item .tch-mark svg { width: 15px; height: 15px; }

  .tch-mega__foot { margin-top: var(--md); padding-top: var(--sm); }
  .tch-mega__note { display: none; }

  .tch-mega__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--md); }
  .tch-mega__cols .tch-mega__col--feature { display: none; }
}

/* small dropdown, still used for short lists */
.tch-drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: linear-gradient(180deg, var(--surface-raised), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: var(--xs);
  margin-top: 8px;
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), visibility var(--t-fast) linear;
}
.tch-drop[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.tch-drop a {
  display: block;
  padding: 0.6em 0.8em;
  border-radius: 8px;
  font-size: 0.88rem;
  width: 100%;
  color: var(--ink-2);
}
.tch-drop a:hover { background: rgba(103, 232, 209, 0.07); color: var(--accent-bright); }
.tch-drop a::after { display: none; }

/* sticky condensed bar */
.tch-sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 150;
  background: rgba(6, 16, 20, 0.86);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform var(--t-mid) var(--ease-out);
}
.tch-sticky[data-on="true"] { transform: translateY(0); }
.tch-sticky .tch-frame { display: flex; align-items: center; gap: var(--md); min-height: 62px; }
.tch-sticky .tch-logo__word { font-size: 1.05rem; }
.tch-sticky__nav { margin-left: auto; display: flex; align-items: center; gap: var(--xs); }
.tch-sticky__nav a {
  font-size: 0.86rem;
  padding: 0.5em 0.8em;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.tch-sticky__nav a:hover { color: var(--accent); background: var(--surface); }
@media (max-width: 900px) { .tch-sticky { display: none; } }

/* --- Mobile nav ---------------------------------------------------------- */
.tch-burger {
  all: unset;
  display: none;
  box-sizing: border-box;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  cursor: pointer;
  place-items: center;
  color: var(--ink);
}
.tch-burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tch-burger span { display: block; width: 17px; height: 1.5px; background: currentColor; position: relative; transition: background var(--t-fast) var(--ease); }
.tch-burger span::before, .tch-burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: currentColor;
  transition: transform var(--t-mid) var(--ease);
}
.tch-burger span::before { top: -5.5px; }
.tch-burger span::after  { top: 5.5px; }
.tch-burger[aria-expanded="true"] span { background: transparent; }
.tch-burger[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.tch-burger[aria-expanded="true"] span::after  { transform: translateY(-5.5px) rotate(-45deg); }

.tch-mobile {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-mid) var(--ease), visibility var(--t-mid) linear;
  -webkit-overflow-scrolling: touch;
}
.tch-mobile[data-open="true"] { opacity: 1; visibility: visible; }
.tch-mobile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--md);
  padding: var(--sm) var(--gutter);
  border-bottom: 1px solid var(--line-faint);
  position: sticky;
  top: 0;
  background: rgba(6, 16, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2;
}
.tch-mobile__body { padding: var(--md) var(--gutter) var(--xl); }
.tch-mobile .tch-search { max-width: none; margin-bottom: var(--md); }
.tch-mobile__item { border-bottom: 1px solid var(--line-faint); }
.tch-mobile__link, .tch-mobile__toggle {
  all: unset;
  box-sizing: border-box;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--md);
  padding: 0.95em 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  cursor: pointer;
}
.tch-mobile__toggle:focus-visible, .tch-mobile__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tch-mobile__toggle[aria-expanded="true"] { color: var(--accent); }
.tch-mobile__toggle .tch-acc__ico { flex: 0 0 12px; }
.tch-mobile__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-mid) var(--ease);
}
.tch-mobile__sub[data-open="true"] { grid-template-rows: 1fr; }
.tch-mobile__sub > div { overflow: hidden; }
.tch-mobile__sub ul { padding-bottom: var(--md); }
.tch-mobile__sub a {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.55em 0;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.tch-mobile__sub a:hover { color: var(--accent); }
.tch-mobile__sub .tch-mark { width: 30px; height: 30px; flex-basis: 30px; border-radius: 8px; }
.tch-mobile__sub .tch-mark svg { width: 16px; height: 16px; }
.tch-mobile__grouplabel {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: var(--md) 0 var(--xs);
}
.tch-mobile__cta { display: grid; gap: var(--sm); margin-top: var(--lg); }

@media (max-width: 900px) {
  .tch-head__nav { display: none; }
  .tch-burger { display: grid; }
  .tch-head__main .tch-frame { grid-template-columns: auto 1fr; gap: var(--md); min-height: 72px; }
  .tch-head__search-cell { display: none; }
  .tch-head__utility .tch-frame { justify-content: center; }
  .tch-head__note { display: none; }
}
@media (max-width: 560px) {
  .tch-head__util-links { gap: var(--sm); font-size: 0.72rem; }
  .tch-logo__tag { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.tch-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-faint);
  isolation: isolate;
}
.tch-hero__canvas { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.tch-hero__photo { position: absolute; inset: 0; overflow: hidden; }
.tch-hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% 45%;
  opacity: 0.5;
  filter: saturate(0.68) contrast(1.06) hue-rotate(-10deg);
}
.tch-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 6%, rgba(6, 16, 20, 0.9) 34%, rgba(6, 16, 20, 0.52) 68%, rgba(6, 16, 20, 0.76) 100%),
    linear-gradient(180deg, rgba(6, 16, 20, 0.6), transparent 28%, rgba(6, 16, 20, 0.75));
}
@media (max-width: 980px) {
  .tch-hero__photo img { opacity: 0.32; object-position: 60% 50%; }
  .tch-hero__photo::after { background: linear-gradient(180deg, rgba(6, 16, 20, 0.74), rgba(6, 16, 20, 0.88)); }
}

.tch-hero__wash {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 150%;
  background:
    radial-gradient(42% 52% at 76% 18%, rgba(103, 232, 209, 0.16), transparent 68%),
    radial-gradient(40% 48% at 92% 62%, rgba(185, 183, 255, 0.1), transparent 70%),
    radial-gradient(55% 60% at 12% 88%, rgba(47, 140, 128, 0.14), transparent 72%);
  animation: tch-drift 26s var(--ease) infinite alternate;
}
@keyframes tch-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-3%, 2.5%, 0) scale(1.07); }
}
.tch-hero__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; }
.tch-hero__net .tch-net-path { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tch-hero__net .tch-net-live {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-dasharray: 26 420;
  opacity: 0.85;
  animation: tch-signal 7s linear infinite;
}
@keyframes tch-signal {
  from { stroke-dashoffset: 446; }
  to   { stroke-dashoffset: 0; }
}
.tch-hero__net .tch-node { fill: var(--surface-raised); stroke: var(--line); stroke-width: 1; }
.tch-hero__net .tch-node-hot { fill: var(--accent); opacity: 0.9; animation: tch-pulse 4.5s var(--ease) infinite; }
@keyframes tch-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%      { opacity: 0.95; transform: scale(1.35); }
}
.tch-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(rgba(232, 245, 243, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 78%);
}

.tch-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: var(--xl);
  padding-block: clamp(var(--xl), 9vh, 120px);
  min-height: min(84vh, 760px);
}
.tch-hero__copy { max-width: none; }
.tch-hero__title {
  font-size: clamp(1.95rem, 4vw, 3.3rem);
  max-width: 17ch;
  text-wrap: balance;
}
.tch-hero__title em { font-style: normal; color: var(--accent); }
.tch-hero__sub {
  margin-top: var(--md);
  color: var(--ink-2);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  max-width: 48ch;
  line-height: 1.6;
}
.tch-hero__actions { display: flex; flex-wrap: wrap; gap: var(--sm); margin-top: var(--lg); }

/* hero right: provider constellation */
.tch-constel { position: relative; aspect-ratio: 1 / 1; width: 100%; }
.tch-constel__ring { position: absolute; inset: 0; border: 1px solid var(--line-faint); border-radius: 50%; }
.tch-constel__ring:nth-child(2) { inset: 13%; }
.tch-constel__ring:nth-child(3) { inset: 27%; }
.tch-constel__core {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--surface-raised), var(--deep));
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 0 40px -10px rgba(103, 232, 209, 0.3);
}
.tch-constel__core strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  color: var(--accent);
  line-height: 1;
}
.tch-constel__core span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 5px;
  display: block;
}
.tch-constel__sat {
  position: absolute;
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: var(--r-sm);
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
  animation: tch-float 11s var(--ease) infinite alternate;
}
.tch-constel__sat svg { width: 22px; height: 22px; }
.tch-constel__sat svg [data-m] { stroke: var(--ink-2); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tch-constel__sat svg [data-m-fill] { fill: var(--ink-2); }
.tch-constel__sat:hover { border-color: var(--line-strong); transform: scale(1.08); }
.tch-constel__sat:hover svg [data-m] { stroke: var(--accent); }
.tch-constel__sat:hover svg [data-m-fill] { fill: var(--accent); }
@keyframes tch-float {
  0%   { transform: translateY(-4px); }
  100% { transform: translateY(4px); }
}

@media (max-width: 980px) {
  .tch-hero__inner { grid-template-columns: 1fr; gap: var(--lg); min-height: 0; padding-block: var(--xl); }
  .tch-constel { max-width: 380px; margin-inline: auto; }
}
@media (max-width: 560px) { .tch-constel { display: none; } }

/* --- Provider strip ------------------------------------------------------ */
.tch-strip { border-block: 1px solid var(--line-faint); overflow: hidden; background: var(--bg-2); }
.tch-strip__track {
  display: flex;
  gap: var(--xl);
  padding-block: var(--md);
  width: max-content;
  animation: tch-marquee 46s linear infinite;
}
.tch-strip:hover .tch-strip__track { animation-play-state: paused; }
@keyframes tch-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tch-strip__item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.tch-strip__item svg { width: 18px; height: 18px; }
.tch-strip__item svg [data-m] { stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tch-strip__item svg [data-m-fill] { fill: currentColor; }
.tch-strip__item:hover { color: var(--accent); }

/* --- Section heading ----------------------------------------------------- */
.tch-shead {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  align-items: end;
  gap: var(--lg);
  margin-bottom: var(--lg);
}
.tch-shead--stack { grid-template-columns: 1fr; }
.tch-shead__aside { justify-self: end; }
@media (max-width: 860px) {
  .tch-shead { grid-template-columns: 1fr; align-items: start; }
  .tch-shead__aside { justify-self: start; }
}

/* --- Steps --------------------------------------------------------------- */
.tch-steps { counter-reset: s; border-top: 1px solid var(--line-faint); }
.tch-steps__row {
  counter-increment: s;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--lg);
  align-items: start;
  padding-block: var(--lg);
  border-bottom: 1px solid var(--line-faint);
  transition: background var(--t-mid) var(--ease);
}
.tch-steps__row:hover { background: rgba(103, 232, 209, 0.022); }
.tch-steps__num {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  opacity: 0.45;
  transition: opacity var(--t-mid) var(--ease);
}
.tch-steps__row:hover .tch-steps__num { opacity: 0.9; }
.tch-steps__num::before { content: counter(s, decimal-leading-zero); }
.tch-steps__row h3 { font-size: clamp(1.12rem, 1.7vw, 1.38rem); }
.tch-steps__row p { color: var(--ink-2); }
@media (max-width: 760px) {
  .tch-steps__row { grid-template-columns: 54px 1fr; gap: var(--md); }
  .tch-steps__row p { grid-column: 2; }
}

/* --- Split --------------------------------------------------------------- */
.tch-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--xl); align-items: center; }
.tch-split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.tch-split--flip > :first-child { order: 2; }
.tch-split--flip > :last-child { order: 1; }
@media (max-width: 900px) {
  .tch-split, .tch-split--flip { grid-template-columns: 1fr; gap: var(--lg); }
  .tch-split--flip > :first-child, .tch-split--flip > :last-child { order: 0; }
}

/* value rows */
.tch-vlist { border-top: 1px solid var(--line-faint); }
.tch-vlist__row {
  padding-block: var(--md);
  border-bottom: 1px solid var(--line-faint);
  display: grid;
  gap: var(--xs);
  transition: padding-left var(--t-mid) var(--ease);
}
.tch-vlist__row:hover { padding-left: var(--sm); }
.tch-vlist__row h3 { font-size: 1.06rem; display: flex; align-items: center; gap: 0.6em; }
.tch-vlist__row h3 svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--accent); }
.tch-vlist__row p { color: var(--ink-2); font-size: 0.93rem; }

/* --- Panel --------------------------------------------------------------- */
.tch-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background:
    radial-gradient(85% 90% at 18% 12%, rgba(103, 232, 209, 0.12), transparent 62%),
    radial-gradient(70% 80% at 88% 85%, rgba(185, 183, 255, 0.09), transparent 66%),
    var(--surface);
  overflow: hidden;
  padding: var(--lg);
  min-height: 300px;
  display: grid;
  align-content: center;
  gap: var(--md);
}
.tch-panel__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-faint) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
  mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 85%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 85%);
  pointer-events: none;
}
.tch-panel__stat { position: relative; }
.tch-panel__stat strong {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  color: var(--ink);
  line-height: 1;
  display: block;
}
.tch-panel__stat span { color: var(--ink-2); font-size: 0.9rem; }

/* --- Metrics ------------------------------------------------------------- */
.tch-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.tch-metrics__cell {
  padding: var(--md);
  border-right: 1px solid var(--line-faint);
  position: relative;
  transition: background var(--t-mid) var(--ease);
}
.tch-metrics__cell:hover { background: rgba(103, 232, 209, 0.04); }
.tch-metrics__cell:last-child { border-right: 0; }
.tch-metrics__cell strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--accent);
  line-height: 1;
}
.tch-metrics__cell span { display: block; margin-top: var(--xs); color: var(--ink-2); font-size: 0.84rem; }
@media (max-width: 760px) {
  .tch-metrics { grid-template-columns: repeat(2, 1fr); }
  .tch-metrics__cell:nth-child(2) { border-right: 0; }
  .tch-metrics__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line-faint); }
}

/* --- Article cards ------------------------------------------------------- */
.tch-acard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface-raised), var(--surface) 60%);
  transition: border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.tch-acard:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tch-acard__fig {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--line-faint);
}
.tch-acard__fig img, .tch-acard__fig > svg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.tch-acard:hover .tch-acard__fig img, .tch-acard:hover .tch-acard__fig > svg { transform: scale(1.045); }
.tch-acard__fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 16, 20, 0.5));
}
.tch-acard__body { padding: var(--md); display: flex; flex-direction: column; gap: var(--sm); flex: 1; }
.tch-acard__meta { display: flex; align-items: center; gap: var(--sm); flex-wrap: wrap; }
.tch-acard__time { font-family: var(--font-mono); font-size: 0.64rem; color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.tch-acard__title { font-size: 1.06rem; font-family: var(--font-display); font-weight: 700; line-height: 1.2; transition: color var(--t-fast) var(--ease); }
.tch-acard:hover .tch-acard__title { color: var(--accent-bright); }
.tch-acard__ex { color: var(--ink-2); font-size: 0.88rem; line-height: 1.55; flex: 1; }
.tch-acard__link { position: absolute; inset: 0; z-index: 1; }

.tch-afeature {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-raised), var(--surface) 60%);
  position: relative;
  transition: border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
  margin-bottom: var(--md);
}
.tch-afeature:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.tch-afeature__fig { position: relative; overflow: hidden; min-height: 330px; background: var(--surface-raised); }
.tch-afeature__fig img, .tch-afeature__fig > svg {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform var(--t-slow) var(--ease);
}
.tch-afeature:hover .tch-afeature__fig img, .tch-afeature:hover .tch-afeature__fig > svg { transform: scale(1.04); }
.tch-afeature__body { padding: var(--lg); display: flex; flex-direction: column; gap: var(--sm); justify-content: center; }
.tch-afeature__title { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.1; transition: color var(--t-fast) var(--ease); }
.tch-afeature:hover .tch-afeature__title { color: var(--accent-bright); }
.tch-afeature__link { position: absolute; inset: 0; z-index: 1; }
@media (max-width: 860px) {
  .tch-afeature { grid-template-columns: 1fr; }
  .tch-afeature__fig { min-height: 0; aspect-ratio: 16 / 9; }
  .tch-afeature__fig img, .tch-afeature__fig > svg { position: relative; }
}

/* --- Compare card -------------------------------------------------------- */
.tch-ccard {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(170deg, var(--surface-raised), var(--surface) 55%);
  padding: var(--md);
  transition: border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--sm);
  overflow: hidden;
}
.tch-ccard:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tch-ccard__vs { display: flex; align-items: center; gap: var(--sm); }
.tch-ccard__vs .tch-mark { width: 38px; height: 38px; flex-basis: 38px; }
.tch-ccard__vs .tch-mark svg { width: 20px; height: 20px; }
.tch-ccard__vstext {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex: 0 0 auto;
  padding-inline: 2px;
}
.tch-ccard:hover .tch-ccard__vstext { color: var(--accent); }
.tch-ccard:hover .tch-mark { border-color: var(--line-strong); }
.tch-ccard:hover .tch-mark svg [data-m] { stroke: var(--accent); }
.tch-ccard:hover .tch-mark svg [data-m-fill] { fill: var(--accent); }
.tch-ccard__title { font-size: 1.02rem; font-family: var(--font-display); font-weight: 700; line-height: 1.2; transition: color var(--t-fast) var(--ease); }
.tch-ccard:hover .tch-ccard__title { color: var(--accent-bright); }
.tch-ccard__ex { color: var(--ink-2); font-size: 0.87rem; line-height: 1.5; flex: 1; }
.tch-ccard__link { position: absolute; inset: 0; z-index: 1; }

/* --- Filters ------------------------------------------------------------- */
.tch-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--xs);
  padding-bottom: var(--md);
  margin-bottom: var(--lg);
  border-bottom: 1px solid var(--line-faint);
}
.tch-filter {
  all: unset;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.55em 1em;
  background: var(--surface);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.tch-filter:hover { color: var(--ink); border-color: var(--line-strong); }
.tch-filter[aria-pressed="true"] {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  border-color: transparent;
  color: var(--accent-ink);
}
.tch-filter:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tch-filterbox { display: flex; gap: var(--sm); align-items: center; margin-bottom: var(--md); flex-wrap: wrap; }
.tch-filterbox input {
  flex: 1 1 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.8em 1.3em;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.tch-filterbox input::placeholder { color: var(--ink-muted); }
.tch-filterbox input:focus {
  outline: none;
  border-color: var(--line-strong);
  background: var(--surface-raised);
  box-shadow: 0 0 0 4px rgba(103, 232, 209, 0.09);
}
.tch-empty {
  padding: var(--xl) var(--md);
  text-align: center;
  color: var(--ink-2);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
}
[hidden] { display: none !important; }

/* --- Breadcrumbs --------------------------------------------------------- */
.tch-crumbs {
  padding-block: var(--sm);
  font-size: 0.8rem;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line-faint);
  background: var(--bg-2);
}
.tch-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; }
.tch-crumbs li { display: flex; align-items: center; gap: 0.5em; }
.tch-crumbs li + li::before { content: "/"; color: var(--line-strong); }
.tch-crumbs a { transition: color var(--t-fast) var(--ease); }
.tch-crumbs a:hover { color: var(--accent); }
.tch-crumbs [aria-current] { color: var(--ink-2); }

/* --- Article layout ------------------------------------------------------ */
.tch-article { padding-block: var(--xl) var(--xxl); }
.tch-article__head { max-width: 72ch; margin-bottom: var(--lg); }
.tch-article__title { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: var(--md); }
.tch-article__meta {
  display: flex;
  align-items: center;
  gap: var(--md);
  flex-wrap: wrap;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tch-article__fig {
  position: relative;
  margin-block: var(--lg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--surface);
}
.tch-article__fig img, .tch-article__fig > svg { width: 100%; height: 100%; object-fit: cover; }
.tch-article__fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6, 16, 20, 0.35));
  pointer-events: none;
}
.tch-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: var(--xl);
  align-items: start;
}
.tch-toc {
  position: sticky;
  top: 92px;
  border-left: 1px solid var(--line-faint);
  padding-left: var(--md);
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
.tch-toc__title {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sm);
}
.tch-toc a {
  display: block;
  padding: 0.38em 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.4;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.tch-toc a:hover { color: var(--ink-2); padding-left: 4px; }
.tch-toc a.is-active { color: var(--accent); }
@media (max-width: 1080px) {
  .tch-article__layout { grid-template-columns: 1fr; gap: var(--lg); }
  .tch-toc { display: none; }
}

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.tch-pd { padding-block: var(--xl); }
.tch-pd__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--xl);
  align-items: start;
}
@media (max-width: 940px) { .tch-pd__top { grid-template-columns: 1fr; gap: var(--lg); } }

/* product showcase panel */
.tch-pd__visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(75% 70% at 24% 16%, rgba(103, 232, 209, 0.14), transparent 62%),
    radial-gradient(60% 65% at 86% 88%, rgba(185, 183, 255, 0.1), transparent 66%),
    linear-gradient(165deg, var(--surface-raised), var(--deep) 75%);
  /* Matches the 3:2 of the supplied product photography, so a contained
     image fills the panel edge to edge with no letterbox bars. */
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
/* contain, never cover: provider artwork must not be cropped or stretched. */
.tch-pd__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.tch-pd__visual .tch-panel__grid { opacity: 0.5; animation: tch-gridshift 24s linear infinite; }
@keyframes tch-gridshift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 48px 48px, 48px 48px; }
}
.tch-pd__visual-mark { position: relative; width: 42%; max-width: 168px; }
.tch-pd__visual-mark svg { width: 100%; height: auto; overflow: visible; }
.tch-pd__visual-mark svg [data-m] {
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 14px rgba(103, 232, 209, 0.35));
}
.tch-pd__visual-mark svg [data-m-fill] { fill: var(--accent); filter: drop-shadow(0 0 14px rgba(103, 232, 209, 0.35)); }

/* corner ticks, a quiet technical detail */
.tch-pd__visual-corner {
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid var(--line-strong);
  opacity: 0.7;
}
.tch-pd__visual-corner--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.tch-pd__visual-corner--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.tch-pd__visual-corner--bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.tch-pd__visual-corner--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.tch-pd__visual-badge {
  position: absolute;
  top: var(--md);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(7, 19, 23, 0.7);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-pill);
  padding: 0.35em 0.9em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}

.tch-pd__title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-block: var(--sm) var(--md); }
.tch-pd__short { color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; max-width: 56ch; }
.tch-pd__short p + p { margin-top: 0.8em; }

/* price block, rebuilt as a composed unit */
.tch-pd__pricebar {
  display: flex;
  align-items: flex-end;
  gap: var(--lg);
  margin-block: var(--lg) var(--md);
  padding: var(--md) var(--md) var(--md) 0;
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
  flex-wrap: wrap;
}
.tch-pd__pricecol { display: grid; gap: 6px; }
.tch-pd__pricecol + .tch-pd__pricecol {
  padding-left: var(--lg);
  border-left: 1px solid var(--line-faint);
}
.tch-pd__price {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  flex-wrap: wrap;
}
.tch-pd__price .tch-pd__dash { color: var(--ink-muted); font-size: 0.8em; }
.tch-pd__price-note {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tch-pd__configs {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--accent);
  line-height: 1;
}

.tch-pd__contact { display: flex; gap: var(--sm); flex-wrap: wrap; margin-top: var(--md); }

/* technical specification grid */
.tch-pd__spec { margin-top: var(--lg); }
.tch-pd__specgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-faint);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: var(--md);
}
.tch-pd__specgrid > div {
  background: var(--surface);
  padding: var(--md);
  transition: background var(--t-mid) var(--ease);
}
.tch-pd__specgrid > div:hover { background: var(--surface-raised); }
.tch-pd__spec dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.tch-pd__spec dd { color: var(--ink); font-size: 0.94rem; line-height: 1.4; }

/* woo variation form, restyled as a configurator */
.tch-pd__configurator {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface-raised), var(--surface));
  padding: var(--md);
  margin-top: var(--md);
}
.tch-pd__configurator-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sm);
  margin-bottom: var(--sm);
}
.tch-pd .variations { width: 100%; margin-bottom: var(--sm); }
.tch-pd .variations tr { display: grid; gap: var(--xs); margin-bottom: var(--sm); }
.tch-pd .variations th, .tch-pd .variations td { border: 0; padding: 0; text-align: left; display: block; }
.tch-pd .variations .label label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tch-pd select, .tch-pd .variations select {
  width: 100%;
  background: var(--deep);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.9em 2.6em 0.9em 1em;
  font-size: 0.94rem;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.tch-pd select:hover { border-color: var(--line-strong); }
.tch-pd select:focus {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 4px rgba(103, 232, 209, 0.1);
}
.tch-pd .reset_variations {
  font-size: 0.78rem;
  color: var(--ink-muted);
  display: inline-block;
  margin-top: var(--xs);
  transition: color var(--t-fast) var(--ease);
}
.tch-pd .reset_variations:hover { color: var(--accent); }
.tch-pd .woocommerce-variation-price { margin-block: var(--sm) var(--md); }
.tch-pd .woocommerce-variation-price .price,
.tch-pd .woocommerce-variation-price .amount {
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--accent-bright);
}
.tch-pd .woocommerce-variation-availability p { color: var(--ink-2); font-size: 0.86rem; margin-top: var(--xs); }
.tch-pd form.cart { display: flex; flex-wrap: wrap; gap: var(--sm); align-items: center; }
.tch-pd .quantity { display: flex; align-items: center; }
.tch-pd .quantity input {
  width: 80px;
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.9em 0.6em;
  text-align: center;
  font-family: var(--font-mono);
  color: var(--ink);
}
.tch-pd .quantity input:focus { outline: none; border-color: var(--line-strong); }
.tch-pd button.single_add_to_cart_button,
.tch-pd .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 1.05em 2em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: var(--accent-ink);
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, var(--shadow-sm);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.tch-pd .single_add_to_cart_button:hover {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-soft));
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 26px -12px rgba(103, 232, 209, 0.5);
}
.tch-pd .single_add_to_cart_button.disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.tch-pd .stock { font-family: var(--font-mono); font-size: 0.76rem; color: var(--accent); }
.tch-pd .stock.out-of-stock { color: var(--warm); }

/* --- FAQ block ----------------------------------------------------------- */
.tch-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--xl); align-items: start; }
@media (max-width: 900px) { .tch-faq { grid-template-columns: 1fr; gap: var(--lg); } }

/* --- CTA ----------------------------------------------------------------- */
.tch-cta {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: clamp(var(--lg), 5vw, var(--xl));
  background:
    radial-gradient(70% 110% at 12% 0%, rgba(103, 232, 209, 0.14), transparent 62%),
    radial-gradient(60% 100% at 92% 100%, rgba(185, 183, 255, 0.11), transparent 66%),
    linear-gradient(170deg, var(--surface-raised), var(--bg-2));
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--lg);
  align-items: center;
  box-shadow: var(--shadow-md);
}
.tch-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-soft) 50%, transparent);
  opacity: 0.5;
}
.tch-cta__title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.tch-cta p { color: var(--ink-2); margin-top: var(--sm); max-width: 50ch; }
.tch-cta__actions { display: flex; flex-direction: column; gap: var(--sm); justify-self: end; min-width: 220px; }
@media (max-width: 860px) {
  .tch-cta { grid-template-columns: 1fr; }
  .tch-cta__actions { justify-self: stretch; }
}

/* --- Floating contact ---------------------------------------------------- */
.tch-float {
  position: fixed;
  right: var(--md);
  bottom: var(--md);
  z-index: 160;
  display: flex;
  flex-direction: column;
  gap: var(--xs);
  align-items: flex-end;
}
.tch-float__panel {
  display: grid;
  gap: var(--xs);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), visibility var(--t-mid) linear;
}
.tch-float[data-open="true"] .tch-float__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.tch-float__item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.65em 1.1em;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.tch-float__item:hover { border-color: var(--line-strong); color: var(--accent); }
.tch-float__item svg { width: 17px; height: 17px; flex: 0 0 17px; }
.tch-float__btn {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: transform var(--t-mid) var(--ease);
}
.tch-float__btn:hover { transform: scale(1.06); }
.tch-float__btn:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
.tch-float__btn svg { width: 22px; height: 22px; transition: transform var(--t-mid) var(--ease); }
.tch-float[data-open="true"] .tch-float__btn svg { transform: rotate(45deg); }
@media (max-width: 560px) { .tch-float { right: var(--sm); bottom: var(--sm); } }

/* --- Telegram -------------------------------------------------------------
   One channel, three surfaces: a header action, a floating pill and a panel on
   the Contact page. All three borrow the existing accent ladder and radii, so
   Telegram reads as part of the site rather than a bolted-on widget. */

/* header action, beside the cart */
.tch-tgbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.6em 1.05em;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, var(--surface-raised), var(--surface));
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease);
}
.tch-tgbtn svg { width: 18px; height: 18px; flex: 0 0 18px; transition: transform var(--t-mid) var(--ease-out); }
.tch-tgbtn:hover {
  color: var(--accent-bright);
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 1px var(--accent-deep), 0 6px 20px -10px rgba(103, 232, 209, 0.55);
}
.tch-tgbtn:hover svg { transform: translateX(2px) translateY(-1px); }
.tch-tgbtn:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
/* Below 900px the row gets tight, so the control becomes icon only. */
@media (max-width: 900px) {
  .tch-tgbtn { padding: 0; width: 42px; height: 42px; justify-content: center; border-radius: 50%; }
  .tch-tgbtn__label { display: none; }
}
/* condensed variant for the sticky bar */
.tch-tgbtn--sm { padding: 0.45em 0.85em; font-size: 0.8rem; }
.tch-tgbtn--sm svg { width: 16px; height: 16px; flex: 0 0 16px; }

/* floating pill, used when Telegram is the only configured channel */
.tch-float--solo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6em;
  padding: 0.8em 1.2em;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: var(--accent-ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
  animation: tch-tgin var(--t-slow) var(--ease-out) both;
  animation-delay: 0.4s;
}
.tch-float--solo svg { width: 19px; height: 19px; flex: 0 0 19px; }
.tch-float--solo:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}
.tch-float--solo:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
@keyframes tch-tgin {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
/* On phones it drops the label so it never sits over page controls. */
@media (max-width: 560px) {
  .tch-float--solo { padding: 0; width: 50px; height: 50px; justify-content: center; border-radius: 50%; }
  .tch-float--solo .tch-float__text { display: none; }
  .tch-float--solo svg { width: 22px; height: 22px; flex: 0 0 22px; }
}

/* Contact page panel */
.tch-tgpanel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--lg);
  padding: var(--lg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(70% 140% at 8% 0%, rgba(103, 232, 209, 0.12), transparent 60%),
    linear-gradient(170deg, var(--surface-raised), var(--surface) 70%);
  box-shadow: var(--shadow-md);
}
.tch-tgpanel__mark {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, #15323A, var(--surface-raised));
  color: var(--accent);
}
.tch-tgpanel__mark svg { width: 26px; height: 26px; }
.tch-tgpanel__body p:last-child { color: var(--ink-2); margin-top: 6px; max-width: 54ch; }
.tch-tgpanel__cta { white-space: nowrap; }
.tch-tgpanel__cta svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .tch-tgpanel { grid-template-columns: 1fr; gap: var(--md); }
  .tch-tgpanel__cta { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .tch-float--solo { animation: none; }
  .tch-float--solo:hover { transform: none; }
  .tch-tgbtn:hover svg { transform: none; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.tch-foot {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--deep));
  overflow: hidden;
  margin-top: var(--xxl);
}
.tch-foot__wash {
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 460px;
  background:
    radial-gradient(45% 70% at 18% 100%, rgba(103, 232, 209, 0.12), transparent 66%),
    radial-gradient(40% 65% at 82% 100%, rgba(185, 183, 255, 0.09), transparent 70%);
  pointer-events: none;
  animation: tch-drift 32s var(--ease) infinite alternate;
}
.tch-foot::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 35%, var(--accent-soft) 50%, var(--line-strong) 65%, transparent);
  opacity: 0.45;
}
.tch-foot__inner { position: relative; padding-block: var(--xl) var(--lg); }
.tch-foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) repeat(4, minmax(0, 2fr));
  gap: var(--lg);
}
.tch-foot__brand { max-width: 34ch; }
.tch-foot__brand p { color: var(--ink-2); font-size: 0.88rem; margin-top: var(--md); line-height: 1.6; }
.tch-foot__col h3 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--md);
  font-weight: 500;
  padding-bottom: var(--sm);
  border-bottom: 1px solid var(--line-faint);
}
.tch-foot__col li { margin-bottom: 0.5em; }
.tch-foot__col a {
  font-size: 0.87rem;
  color: var(--ink-2);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
  display: inline-block;
}
.tch-foot__col a:hover { color: var(--accent); padding-left: 3px; }
.tch-foot__col--wide { grid-column: span 2; }
.tch-foot__cols2 { columns: 2; column-gap: var(--md); }
.tch-foot__bottom {
  position: relative;
  margin-top: var(--xl);
  padding-top: var(--md);
  border-top: 1px solid var(--line-faint);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--md);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.tch-foot__legal { display: flex; gap: var(--md); flex-wrap: wrap; }
.tch-foot__legal a { transition: color var(--t-fast) var(--ease); }
.tch-foot__legal a:hover { color: var(--accent); }
.tch-foot__disclaim {
  position: relative;
  margin-top: var(--md);
  font-size: 0.74rem;
  color: var(--ink-muted);
  opacity: 0.85;
  max-width: 100ch;
  line-height: 1.55;
}
@media (max-width: 1040px) {
  .tch-foot__grid { grid-template-columns: repeat(3, 1fr); }
  .tch-foot__brand { grid-column: span 3; max-width: 46ch; }
}
@media (max-width: 680px) {
  .tch-foot__grid { grid-template-columns: repeat(2, 1fr); }
  .tch-foot__brand { grid-column: span 2; }
  .tch-foot__cols2 { columns: 1; }
}

/* --- Pagination ---------------------------------------------------------- */
.tch-pager { margin-top: var(--xl); display: flex; justify-content: center; }
.tch-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px; height: 42px;
  padding: 0 0.7em;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  margin: 0 3px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--ink-2);
  background: var(--surface);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.tch-pager .page-numbers:hover { color: var(--accent); border-color: var(--line-strong); }
.tch-pager .page-numbers.current {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  border-color: transparent;
  color: var(--accent-ink);
}
.tch-pager .dots { border-color: transparent; background: none; }

/* ==========================================================================
   WOOCOMMERCE SURFACES
   ========================================================================== */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-sm);
  padding: var(--md);
  margin-bottom: var(--md);
  color: var(--ink);
  font-size: 0.92rem;
}
.woocommerce-error { border-left-color: var(--warm); }
.woocommerce-message .button, .woocommerce-info .button { float: right; margin-left: var(--md); }

.woocommerce .button, .woocommerce a.button, .woocommerce input.button, .woocommerce button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: var(--accent-ink);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  padding: 0.9em 1.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.woocommerce .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-soft));
  color: var(--accent-ink);
  transform: translateY(-1px);
}

.tch-wooshell { padding-block: var(--xl) var(--xxl); }
.tch-wooshell h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: var(--lg); }

.woocommerce table.shop_table {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  width: 100%;
  margin-bottom: var(--md);
  background: var(--surface);
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
  border-bottom: 1px solid var(--line-faint);
  padding: var(--md);
  text-align: left;
  color: var(--ink-2);
}
.woocommerce table.shop_table thead th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg-2);
  font-weight: 500;
}
.woocommerce table.shop_table tbody tr:last-child td { border-bottom: 0; }
.woocommerce .amount, .woocommerce .woocommerce-Price-amount {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.woocommerce .cart_totals, .woocommerce .cross-sells { margin-top: var(--lg); }
.woocommerce form .form-row { margin-bottom: var(--md); display: grid; gap: var(--xs); }
.woocommerce form .form-row label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.woocommerce form .form-row .required { color: var(--accent); border: 0; }
.woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="tel"],
.woocommerce input[type="password"], .woocommerce input[type="number"], .woocommerce textarea,
.woocommerce select, .woocommerce .select2-container .select2-selection {
  width: 100%;
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.85em 1em;
  color: var(--ink);
  font-size: 0.94rem;
}
.woocommerce input:focus, .woocommerce textarea:focus, .woocommerce select:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(103, 232, 209, 0.08);
}
.woocommerce .coupon { display: flex; gap: var(--sm); flex-wrap: wrap; align-items: center; margin-bottom: var(--md); }
.woocommerce .coupon input { flex: 1 1 180px; }
.woocommerce #order_review, .woocommerce .woocommerce-checkout-review-order {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--md);
}
.woocommerce ul#shipping_method li { margin-bottom: var(--xs); }
.woocommerce-breadcrumb { display: none; }
.woocommerce .quantity input[type="number"] { width: 84px; text-align: center; font-family: var(--font-mono); }
.woocommerce-cart-form { overflow-x: auto; }
@media (max-width: 760px) {
  .woocommerce table.shop_table thead { display: none; }
  .woocommerce table.shop_table tbody tr { display: grid; gap: var(--xs); padding: var(--md); border-bottom: 1px solid var(--line-faint); }
  .woocommerce table.shop_table tbody td { border: 0; padding: 0.2em 0; display: flex; justify-content: space-between; gap: var(--md); }
  .woocommerce table.shop_table tbody td::before {
    content: attr(data-title);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
}

/* ==========================================================================
   WOOCOMMERCE BLOCKS (cart and checkout)
   This install uses the block cart and block checkout, which ship their own
   light-themed stylesheets. Those are left enqueued so the blocks keep working,
   and re-skinned here to match the rest of the site.
   ========================================================================== */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout { color: var(--ink); }

.wc-block-components-main,
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar { padding-top: 0; }

/* section headings */
.wc-block-cart-items__header,
.wc-block-components-order-summary__title,
.wc-block-cart__totals-title,
.wc-block-components-checkout-step__title {
  font-family: var(--font-mono) !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  font-weight: 500 !important;
}
.wc-block-cart-items__header { border-bottom: 1px solid var(--line) !important; }

/* line items */
.wc-block-cart-items__row { border-bottom: 1px solid var(--line-faint) !important; }
.wc-block-cart-item__image img {
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}
.wc-block-components-product-name {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 1.02rem !important;
  color: var(--ink) !important;
  text-decoration: none !important;
}
.wc-block-components-product-name:hover { color: var(--accent) !important; }
.wc-block-components-product-metadata,
.wc-block-components-product-details,
.wc-block-components-product-details__name,
.wc-block-components-product-details__value {
  color: var(--ink-muted) !important;
  font-size: 0.84rem !important;
}
.wc-block-components-product-price,
.wc-block-components-formatted-money-amount,
.wc-block-components-totals-item__value {
  font-family: var(--font-mono) !important;
  color: var(--ink) !important;
  font-variant-numeric: tabular-nums;
}

/* quantity stepper */
.wc-block-components-quantity-selector {
  background: var(--deep) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-pill) !important;
}
.wc-block-components-quantity-selector::after { display: none !important; }
.wc-block-components-quantity-selector__input { color: var(--ink) !important; font-family: var(--font-mono) !important; }
.wc-block-components-quantity-selector__button {
  color: var(--accent) !important;
  transition: color var(--t-fast) var(--ease);
}
.wc-block-components-quantity-selector__button:hover { color: var(--accent-bright) !important; }

/* totals card */
.wc-block-cart__sidebar .wc-block-components-sidebar,
.wc-block-checkout__sidebar .wc-block-components-sidebar,
.wc-block-cart__totals-title + *,
.wc-block-components-totals-wrapper {
  border-color: var(--line-faint) !important;
}
/* The sidebar carries both class names on one element, so this must not be a
   child selector. */
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
  background: linear-gradient(180deg, var(--surface-raised), var(--surface)) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-md) !important;
  padding: var(--md) !important;
}
.wc-block-components-totals-item__label { color: var(--ink-2) !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 1.5rem !important;
  color: var(--accent-bright) !important;
}

/* primary block buttons: checkout, place order */
.wc-block-components-button:not(.is-link) {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent)) !important;
  color: var(--accent-ink) !important;
  border: 1px solid transparent !important;
  border-radius: var(--r-pill) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  padding: 1em 1.8em !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, var(--shadow-sm);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.wc-block-components-button:not(.is-link):hover {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-soft)) !important;
  transform: translateY(-1px);
}
.wc-block-components-button__text { color: inherit !important; }
.wc-block-components-button.is-link { color: var(--accent) !important; }

/* panels, coupon, notices */
.wc-block-components-panel__button {
  color: var(--ink-2) !important;
  font-family: var(--font-body) !important;
}
.wc-block-components-panel__button:hover { color: var(--accent) !important; }
.wc-block-components-notice-banner {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-left: 2px solid var(--accent) !important;
  border-radius: var(--r-sm) !important;
  color: var(--ink) !important;
}
.wc-block-components-notice-banner.is-error { border-left-color: var(--warm) !important; }

/* form fields */
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-select__container,
.wc-block-components-combobox-control input {
  background: var(--deep) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-sm) !important;
  color: var(--ink) !important;
}
.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus {
  border-color: var(--line-strong) !important;
  box-shadow: 0 0 0 4px rgba(103, 232, 209, 0.08) !important;
  outline: none !important;
}
.wc-block-components-text-input label,
.wc-block-components-checkout-step__description,
.wc-block-components-address-form label {
  color: var(--ink-muted) !important;
}
.wc-block-components-text-input.is-active label { color: var(--accent) !important; }

/* checkout step chrome */
.wc-block-components-checkout-step {
  border-bottom: 1px solid var(--line-faint) !important;
  padding-bottom: var(--md);
}
.wc-block-components-checkout-step__heading-content { color: var(--ink-2) !important; }
.wc-block-components-order-summary-item__description { color: var(--ink-2) !important; }
.wc-block-components-radio-control__option { color: var(--ink-2) !important; }
.wc-block-components-title { color: var(--ink) !important; }

/* keep the block cart inside the theme frame */
.wp-block-woocommerce-cart .wc-block-cart,
.wp-block-woocommerce-checkout .wc-block-checkout { max-width: none; }

/* --- Scroll reveal ------------------------------------------------------- */
.tch-js .tch-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  will-change: opacity, transform;
}
.tch-js .tch-reveal.is-in { opacity: 1; transform: none; }
.tch-js .tch-reveal[data-d="1"] { transition-delay: 70ms; }
.tch-js .tch-reveal[data-d="2"] { transition-delay: 140ms; }
.tch-js .tch-reveal[data-d="3"] { transition-delay: 210ms; }
.tch-js .tch-reveal[data-d="4"] { transition-delay: 280ms; }

/* --- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .tch-js .tch-reveal { opacity: 1 !important; transform: none !important; }
  .tch-hero__wash, .tch-foot__wash, .tch-strip__track, .tch-constel__sat { animation: none; }
  .tch-pd__visual .tch-panel__grid { animation: none; }
  .tch-hero__net .tch-net-live { animation: none; stroke-dasharray: none; opacity: 0.5; }
  .tch-hero__net .tch-node-hot { animation: none; opacity: 0.8; }
  .tch-acc__panel, .tch-mobile__sub { transition: none; }
  .tch-card:hover, .tch-acard:hover, .tch-ccard:hover, .tch-btn:hover { transform: none; }
}

/* --- Print --------------------------------------------------------------- */
@media print {
  .tch-head, .tch-foot, .tch-float, .tch-sticky, .tch-toc, .tch-mobile { display: none !important; }
  body { background: #fff; color: #000; }
  .tch-prose a { color: #000; }
}
