/*
 * Turath — shared stylesheet for the Turath theme family.
 *
 * Colors come from the customizer as --tr-bg, --tr-surface, --tr-ink, --tr-muted, --tr-line,
 * --tr-primary, --tr-on-primary, --tr-accent, --tr-dark, --tr-on-dark (layouts/app.blade.php).
 * Every section has a tone (.tr-tone-page | -surface | -primary | -dark) that maps those to the
 * local --c-* variables components use, so a block recolors fully when its tone changes.
 *
 * A child theme's skin.css tunes the knobs below and adds its decoration. Skins only use the
 * --tr-* and --c-* variables for color, so the customizer keeps working.
 */

:root {
  /* Shape */
  --tr-radius: 0px;              /* cards, panels */
  --tr-btn-radius: var(--tr-radius);
  --tr-media-radius: var(--tr-radius);
  --tr-hero-radius: var(--tr-media-radius);
  --tr-input-radius: var(--tr-radius);
  --tr-pill-radius: 999px;
  --tr-border: 1px;
  --tr-card-ratio: 4 / 3;
  --tr-hero-ratio: 4 / 5;

  /* Type */
  --tr-display-size: clamp(44px, 7vw, 96px);
  --tr-h1-size: clamp(36px, 5vw, 64px);
  --tr-h2-size: clamp(30px, 4vw, 52px);
  --tr-h3-size: 22px;
  --tr-lead-size: 18px;
  --tr-display-weight: 700;
  --tr-heading-weight: 700;
  --tr-display-line: 1.12;
  --tr-display-tracking: 0;
  --tr-body-weight: 400;

  /* Space */
  --tr-container: 1320px;
  --tr-gutter: clamp(20px, 5vw, 72px);
  --tr-section-pad: clamp(56px, 8vw, 110px);
  --tr-gap: 24px;

  /* Chrome */
  --tr-header-bg: var(--tr-bg);
  --tr-header-fg: var(--tr-ink);
  --tr-footer-bg: var(--tr-dark);
  --tr-footer-fg: var(--tr-on-dark);
  --tr-band: linear-gradient(90deg, var(--tr-primary) 0 50%, var(--tr-accent) 50% 100%);
  --tr-band-h: 14px;
}

/* ---------- Tones ---------- */
.tr-body, .tr-tone-page {
  --c-bg: var(--tr-bg);
  --c-fg: var(--tr-ink);
  --c-muted: var(--tr-muted);
  --c-line: var(--tr-line);
  --c-card: var(--tr-surface);
  --c-accent: var(--tr-accent);
  --c-btn-bg: var(--tr-primary);
  --c-btn-fg: var(--tr-on-primary);
}
.tr-tone-surface {
  --c-bg: var(--tr-surface);
  --c-fg: var(--tr-ink);
  --c-muted: var(--tr-muted);
  --c-line: var(--tr-line);
  --c-card: var(--tr-bg);
  --c-accent: var(--tr-accent);
  --c-btn-bg: var(--tr-primary);
  --c-btn-fg: var(--tr-on-primary);
}
.tr-tone-primary {
  --c-bg: var(--tr-primary);
  --c-fg: var(--tr-on-primary);
  --c-muted: color-mix(in srgb, var(--tr-on-primary) 78%, var(--tr-primary));
  --c-line: color-mix(in srgb, var(--tr-on-primary) 26%, var(--tr-primary));
  --c-card: color-mix(in srgb, var(--tr-on-primary) 9%, var(--tr-primary));
  --c-accent: var(--tr-accent);
  --c-btn-bg: var(--tr-on-primary);
  --c-btn-fg: var(--tr-primary);
}
.tr-tone-dark {
  --c-bg: var(--tr-dark);
  --c-fg: var(--tr-on-dark);
  --c-muted: color-mix(in srgb, var(--tr-on-dark) 70%, var(--tr-dark));
  --c-line: color-mix(in srgb, var(--tr-on-dark) 18%, var(--tr-dark));
  --c-card: color-mix(in srgb, var(--tr-on-dark) 7%, var(--tr-dark));
  --c-accent: var(--tr-accent);
  --c-btn-bg: var(--tr-primary);
  --c-btn-fg: var(--tr-on-primary);
}
.tr-section, .tr-hero, .tr-cta--box, .tr-plan--featured { background: var(--c-bg); color: var(--c-fg); }
/* Placeholder stripes, mixed per tone (a :root definition would resolve before --c-* exist) */
.tr-body, .tr-tone-page, .tr-tone-surface, .tr-tone-primary, .tr-tone-dark {
  --tr-ph-a: color-mix(in srgb, var(--c-fg) 9%, var(--c-bg));
  --tr-ph-b: color-mix(in srgb, var(--c-fg) 5%, var(--c-bg));
}

/* ---------- Base ---------- */
.tr-body {
  margin: 0;
  background: var(--tr-bg);
  color: var(--tr-ink);
  font-family: var(--tr-font-body);
  font-weight: var(--tr-body-weight);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.tr-body *, .tr-body *::before, .tr-body *::after { box-sizing: border-box; }
.tr-body img { max-width: 100%; display: block; }
/* Resets carry no specificity (:where) so component classes like .tr-btn always win */
.tr-body :where(a) { color: inherit; text-decoration: none; }
.tr-body :where(button, input, select, textarea) { font: inherit; color: inherit; }
.tr-body :focus-visible { outline: 2px solid var(--c-accent, var(--tr-accent)); outline-offset: 3px; }
.tr-body ::selection { background: var(--tr-accent); color: var(--tr-dark); }

.tr-skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 9999; background: var(--tr-surface); color: var(--tr-ink); padding: 10px 16px; }
.tr-skip:focus { top: 16px; }
.tr-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tr-flip { display: inline-block; }
[dir="ltr"] .tr-flip { transform: scaleX(-1); }
[hidden] { display: none !important; }

.tr-container { width: 100%; max-width: calc(var(--tr-container) + 2 * var(--tr-gutter)); margin-inline: auto; padding-inline: var(--tr-gutter); }
.tr-narrow { max-width: calc(820px + 2 * var(--tr-gutter)); }
.tr-container .tr-narrow { padding-inline: 0; max-width: 820px; margin-inline: auto; }
.tr-section { padding-block: var(--tr-section-pad); position: relative; }
.tr-section--tight { padding-block: calc(var(--tr-section-pad) * .55); }
.tr-section--flush { padding-top: 0; }
.tr-nested { color: var(--c-fg); }
.tr-stack { display: flex; flex-direction: column; gap: 18px; }
.tr-stack--lg { gap: 32px; }
.tr-center { align-items: center; text-align: center; }
.tr-after { margin-top: 32px; }

/* ---------- Type ---------- */
.tr-display, .tr-h1, .tr-h2, .tr-h3, .tr-wordmark, .tr-price, .tr-num, .tr-stat-n, .tr-menu-name, .tr-countdown-n, .tr-calc-total {
  font-family: var(--tr-font-display);
}
.tr-display { font-size: var(--tr-display-size); font-weight: var(--tr-display-weight); line-height: var(--tr-display-line); letter-spacing: var(--tr-display-tracking); margin: 0; text-wrap: balance; }
.tr-h1 { font-size: var(--tr-h1-size); font-weight: var(--tr-heading-weight); line-height: 1.2; margin: 0; text-wrap: balance; }
.tr-h2 { font-size: var(--tr-h2-size); font-weight: var(--tr-heading-weight); line-height: 1.25; margin: 0; text-wrap: balance; }
.tr-h3 { font-size: var(--tr-h3-size); font-weight: var(--tr-heading-weight); line-height: 1.35; margin: 0; }
.tr-lead { font-size: var(--tr-lead-size); line-height: 1.9; color: var(--c-muted); margin: 0; max-width: 62ch; }
.tr-text { font-size: 15px; line-height: 1.8; color: var(--c-muted); margin: 0; }
.tr-meta { font-size: 13px; color: var(--c-muted); }
.tr-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--c-accent); }
.tr-hl { font-style: normal; color: var(--c-accent); }
.tr-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--c-accent); }
.tr-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--tr-btn-radius); background: var(--tr-accent); color: var(--tr-dark); }
.tr-price { font-size: 26px; font-weight: 700; color: var(--c-accent); white-space: nowrap; line-height: 1; }
.tr-price small { font-family: var(--tr-font-body); font-size: 12px; font-weight: 400; margin-inline-start: 4px; color: var(--c-muted); }
.tr-price--lg { font-size: 40px; }
.tr-num { font-size: 15px; font-weight: 700; color: var(--c-accent); }

/* ---------- Buttons, pills ---------- */
.tr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border: var(--tr-border) solid var(--c-btn-bg);
  background: var(--c-btn-bg); color: var(--c-btn-fg);
  border-radius: var(--tr-btn-radius); font-weight: 600; font-size: 15px; line-height: 1.2;
  cursor: pointer; transition: transform .15s ease, filter .15s ease, background .15s ease, color .15s ease;
  text-align: center;
}
.tr-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.tr-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.tr-btn--ghost { background: transparent; color: var(--c-fg); border-color: currentColor; }
.tr-btn--ghost:hover { background: var(--c-fg); color: var(--c-bg); filter: none; }
.tr-btn--invert { background: var(--c-fg); color: var(--c-bg); border-color: var(--c-fg); }
.tr-tone-page .tr-btn--invert, .tr-tone-surface .tr-btn--invert { background: var(--c-btn-bg); color: var(--c-btn-fg); border-color: var(--c-btn-bg); }
.tr-btn--sm { padding: 9px 18px; font-size: 14px; }
.tr-btn--block { width: 100%; }
.tr-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tr-more { font-weight: 600; color: var(--c-accent); white-space: nowrap; }
.tr-more:hover { text-decoration: underline; }

.tr-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-pills--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.tr-pills > button, .tr-pills > a {
  font-size: 14px; font-weight: 600; padding: 9px 18px; border: var(--tr-border) solid var(--c-line);
  background: transparent; color: var(--c-fg); border-radius: var(--tr-pill-radius); cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.tr-pills > [aria-pressed="true"], .tr-pills > [aria-selected="true"] { background: var(--c-btn-bg); color: var(--c-btn-fg); border-color: var(--c-btn-bg); }

/* ---------- Header ---------- */
.tr-header { background: var(--tr-header-bg); color: var(--tr-header-fg); z-index: 60; position: relative; }
.tr-header.is-sticky { position: sticky; top: 0; }
.tr-header.is-scrolled { box-shadow: 0 6px 24px rgb(0 0 0 / .12); }
.tr-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.tr-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.tr-logo img { height: 38px; width: auto; }
.tr-logo--invert img { filter: brightness(0) invert(1); }
.tr-wordmark { font-size: 26px; font-weight: 700; line-height: 1; }
.tr-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.tr-nav-link { opacity: .85; padding-block: 8px; display: inline-flex; align-items: center; gap: 4px; border-bottom: 2px solid transparent; }
.tr-nav-link:hover, .tr-nav-link.is-active { opacity: 1; border-bottom-color: var(--tr-accent); }
.tr-nav-item { position: relative; }
.tr-nav-sub { position: absolute; inset-inline-start: 0; top: 100%; min-width: 200px; display: none; flex-direction: column; background: var(--tr-surface); color: var(--tr-ink); padding: 8px; box-shadow: 0 12px 32px rgb(0 0 0 / .14); border-radius: var(--tr-radius); }
.tr-nav-sub a { padding: 8px 12px; }
.tr-nav-item:hover .tr-nav-sub, .tr-nav-item:focus-within .tr-nav-sub { display: flex; }
.tr-header-end { display: flex; align-items: center; gap: 12px; }
.tr-header .tr-btn { --c-btn-bg: var(--tr-primary); --c-btn-fg: var(--tr-on-primary); }
.tr-burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: inherit; }
.tr-mobile-nav { border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); padding-block: 12px 20px; }
.tr-mobile-nav nav { display: flex; flex-direction: column; gap: 4px; }
.tr-mobile-link { padding: 10px 0; font-size: 17px; }
.tr-mobile-link--sub { padding-inline-start: 16px; font-size: 15px; opacity: .8; }
.tr-mobile-nav .tr-btn { margin-top: 12px; }

/* ---------- Pattern bands, placeholders ---------- */
.tr-band { height: var(--tr-band-h); background: var(--tr-band); }
.tr-ph {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px;
  background: repeating-linear-gradient(135deg, var(--tr-ph-a) 0 10px, var(--tr-ph-b) 10px 20px);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--c-muted);
}

/* ---------- Media ---------- */
.tr-media { position: relative; margin: 0; overflow: hidden; border-radius: var(--tr-media-radius); background: var(--tr-ph-b); }
.tr-media img { width: 100%; height: 100%; object-fit: cover; }
.tr-media--wide { aspect-ratio: 16 / 7; }
.tr-cover { margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Section head ---------- */
.tr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.tr-head-copy { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.tr-head--center { justify-content: center; text-align: center; }
.tr-head--center .tr-head-copy { align-items: center; }
.tr-intro { margin-top: 4px; }
.tr-nested .tr-head { margin-bottom: 24px; }

/* ---------- Hero ---------- */
.tr-hero { position: relative; overflow: hidden; }
.tr-hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 8vw, 110px); position: relative; z-index: 1; }
.tr-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.tr-hero-eyebrow { letter-spacing: .12em; }
.tr-hero-lead { max-width: 52ch; }
/* The frame doesn't clip, so skins can hang ornaments outside it; the image carries the shape. */
.tr-hero-media { position: relative; margin: 0; aspect-ratio: var(--tr-hero-ratio); }
.tr-hero-media > img, .tr-hero-media > .tr-ph { width: 100%; height: 100%; object-fit: cover; border-radius: var(--tr-hero-radius); }
.tr-hero-ornament { position: absolute; pointer-events: none; }
.tr-hero--center .tr-hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; min-height: var(--tr-hero-h, auto); }
.tr-hero--center .tr-hero-copy { align-items: center; max-width: 900px; }
.tr-hero--center .tr-actions { justify-content: center; }
.tr-hero--full { min-height: var(--tr-hero-h, min(88vh, 860px)); display: flex; align-items: flex-end; }
.tr-hero--full .tr-hero-grid { grid-template-columns: 1fr; width: 100%; }
.tr-hero--full .tr-hero-copy { max-width: 760px; }
.tr-hero--full.has-image { --c-fg: #fff; --c-muted: rgb(255 255 255 / .82); }
.tr-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tr-hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .72), rgb(0 0 0 / .1) 60%); }
.tr-hero--nested .tr-hero-grid { padding: 32px; grid-template-columns: 1fr; }

/* ---------- Grids, cards ---------- */
.tr-grid { display: grid; gap: var(--tr-gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
/* --N: at most N columns, fewer as the row narrows (each column keeps its minimum width) */
.tr-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(340px, (100% - var(--tr-gap)) / 2)), 1fr)); }
.tr-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(280px, (100% - 2 * var(--tr-gap)) / 3)), 1fr)); }
.tr-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(220px, (100% - 3 * var(--tr-gap)) / 4)), 1fr)); }
.tr-grid--masonry { display: block; columns: 3 280px; column-gap: var(--tr-gap); }
.tr-grid--masonry > * { break-inside: avoid; margin-bottom: var(--tr-gap); }
.tr-columns { display: grid; grid-template-columns: var(--tr-cols); gap: clamp(24px, 4vw, 48px); align-items: start; }
.tr-group-head { margin-bottom: 8px; }

/* Posts */
.tr-post { position: relative; }
.tr-post-link { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.tr-post-media { position: relative; display: block; aspect-ratio: var(--tr-card-ratio); overflow: hidden; border-radius: var(--tr-media-radius); background: var(--tr-ph-b); }
.tr-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tr-post-link:hover .tr-post-media img { transform: scale(1.04); }
.tr-post-body { display: flex; flex-direction: column; gap: 6px; }
.tr-post-title { font-family: var(--tr-font-display); font-size: 20px; font-weight: var(--tr-heading-weight); line-height: 1.4; margin: 0; }
.tr-post-link:hover .tr-post-title { color: var(--c-accent); }
.tr-post--wide .tr-post-media { aspect-ratio: 16 / 7; }
.tr-post--wide .tr-post-title { font-size: clamp(24px, 3vw, 34px); }
.tr-post--row .tr-post-link { flex-direction: row; align-items: center; gap: 18px; padding-block: 16px; border-bottom: 1px solid var(--c-line); }
.tr-post--row .tr-post-media { width: 120px; flex-shrink: 0; aspect-ratio: 1; }
.tr-grid--masonry .tr-post-media { aspect-ratio: auto; }
.tr-rows { display: flex; flex-direction: column; }
.tr-rows--2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); column-gap: 48px; }

/* Theme cards */
.tr-card { position: relative; display: flex; flex-direction: column; background: var(--c-card); color: var(--c-fg); border: var(--tr-border) solid var(--c-line); border-radius: var(--tr-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.tr-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgb(0 0 0 / .1); }
.tr-card-media { position: relative; aspect-ratio: var(--tr-card-ratio); overflow: hidden; background: var(--tr-ph-b); }
.tr-card-media img { width: 100%; height: 100%; object-fit: cover; }
.tr-card-media .tr-badge { position: absolute; top: 12px; inset-inline-start: 12px; }
.tr-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.tr-card-sub { font-size: 14px; font-weight: 600; color: var(--c-accent); }
.tr-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.tr-card-cover { position: absolute; inset: 0; z-index: 1; }
.tr-card-mark { width: 64px; height: 64px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: calc(var(--tr-radius) * .8); background: var(--tr-accent); color: var(--tr-dark); font-family: var(--tr-font-display); font-size: 28px; font-weight: 700; line-height: 1; }
.tr-card-links { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tr-link { display: inline-flex; flex-direction: column; justify-content: center; min-height: 42px; padding: 6px 14px; border: 1px solid var(--c-line); border-radius: var(--tr-btn-radius); color: var(--c-fg); line-height: 1.2; font-size: 14px; font-weight: 600; transition: border-color .15s; }
.tr-link small { font-size: 10px; font-weight: 400; color: var(--c-muted); }
.tr-link:hover { border-color: var(--c-accent); }
.tr-progress { height: 8px; background: var(--c-line); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.tr-progress span { display: block; height: 100%; background: var(--c-accent); border-radius: inherit; }

/* ---------- Features ---------- */
/* auto-fit: three features fill the row instead of leaving an empty fourth column */
.tr-features { display: grid; gap: var(--tr-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tr-feature { display: flex; flex-direction: column; gap: 12px; }
.tr-features--grid .tr-feature { padding-top: 22px; border-top: 2px solid var(--c-accent); }
.tr-features--cards .tr-feature { padding: 28px; background: var(--c-card); border: var(--tr-border) solid var(--c-line); border-radius: var(--tr-radius); }
.tr-features--list, .tr-features--numbered { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--c-line); }
.tr-features--list .tr-feature, .tr-features--numbered .tr-feature { flex-direction: row; align-items: baseline; gap: 24px; padding-block: 22px; border-bottom: 1px solid var(--c-line); }
.tr-features--numbered .tr-num { font-size: clamp(28px, 3vw, 40px); min-width: 64px; }
.tr-feature-copy { display: flex; flex-direction: column; gap: 6px; }
.tr-feature-icon { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; border-radius: var(--tr-radius); background: color-mix(in srgb, var(--c-accent) 18%, transparent); color: var(--c-accent); }
.tr-feature-img { width: 56px; height: 56px; object-fit: contain; }
.tr-accordion { border-top: 1px solid var(--c-line); }
.tr-accordion-item { border-bottom: 1px solid var(--c-line); }
.tr-accordion-item summary, .tr-timeline-item summary { list-style: none; cursor: pointer; }
.tr-accordion-item summary::-webkit-details-marker, .tr-timeline-item summary::-webkit-details-marker { display: none; }
.tr-accordion-item summary { display: flex; align-items: center; gap: 24px; padding-block: 24px; }
.tr-accordion-item summary .tr-h3 { flex: 1; }
.tr-accordion-mark { width: 18px; height: 18px; position: relative; flex-shrink: 0; }
.tr-accordion-mark::before, .tr-accordion-mark::after { content: ""; position: absolute; inset: 50% 0 auto; height: 2px; background: currentColor; transition: transform .2s; }
.tr-accordion-mark::after { transform: rotate(90deg); }
details[open] > summary .tr-accordion-mark::after { transform: rotate(0); }
.tr-accordion-body { padding: 0 0 24px; padding-inline-start: 64px; max-width: 760px; }
.tr-ftabs .tr-pills { margin-bottom: 28px; }
.tr-ftab-panel { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; padding: clamp(24px, 4vw, 44px); background: var(--c-card); border-radius: var(--tr-radius); border: var(--tr-border) solid var(--c-line); }
.tr-ftab-media { width: clamp(120px, 20vw, 220px); aspect-ratio: 1; object-fit: cover; border-radius: var(--tr-media-radius); }

/* ---------- About, stats, statement ---------- */
.tr-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.tr-about--reverse .tr-about-media { order: 2; }
.tr-about--text { grid-template-columns: 1fr; max-width: 820px; }
.tr-about-media { aspect-ratio: 4 / 5; }
.tr-about-wide { margin-top: 48px; }
.tr-statement { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }
.tr-statement .tr-lead { color: var(--c-fg); max-width: none; font-size: 17px; line-height: 2; }
.tr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: var(--tr-gap); margin-top: clamp(36px, 5vw, 56px); padding-top: 32px; border-top: 1px solid var(--c-line); }
.tr-stats--widget { margin-top: 0; padding-top: 0; border-top: 0; }
.tr-stat { display: flex; flex-direction: column; gap: 6px; }
.tr-stat-n { font-size: clamp(36px, 5vw, 60px); font-weight: 700; line-height: 1; color: var(--c-accent); }
.tr-stat-label { font-weight: 600; }

/* ---------- CTA ---------- */
.tr-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; }
.tr-cta--classic:not(.tr-cta--box) { flex-direction: column; text-align: center; }
.tr-cta--classic:not(.tr-cta--box) .tr-stack { align-items: center; }
.tr-cta--classic:not(.tr-cta--box) .tr-lead { margin-inline: auto; }
.tr-cta--box { padding: clamp(28px, 4vw, 48px); border-radius: var(--tr-radius); }
.tr-cta--minimal { border: 2px solid var(--c-fg); background: transparent; }

/* ---------- Forms ---------- */
.tr-booking { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tr-booking--reverse .tr-form-panel { order: -1; }
.tr-form-panel, .tr-form-card { background: var(--c-card); color: var(--tr-ink); padding: clamp(24px, 4vw, 44px); border: var(--tr-border) solid var(--c-line); border-radius: var(--tr-radius);
  --c-fg: var(--tr-ink); --c-muted: var(--tr-muted); --c-line: var(--tr-line); --c-bg: var(--tr-surface); --c-btn-bg: var(--tr-primary); --c-btn-fg: var(--tr-on-primary); --c-accent: var(--tr-primary); }
.tr-tone-page .tr-form-panel, .tr-tone-page .tr-form-card { background: var(--tr-surface); }
.tr-tone-surface .tr-form-panel, .tr-tone-surface .tr-form-card { background: var(--tr-bg); }
.tr-tone-primary .tr-form-panel, .tr-tone-primary .tr-form-card, .tr-tone-dark .tr-form-panel, .tr-tone-dark .tr-form-card { background: var(--tr-surface); border-color: transparent; }
.tr-form-card { max-width: 860px; margin-inline: auto; }
.tr-page-form { margin-top: 56px; }
.tr-info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--c-muted); }
.tr-info li::before { content: "—"; margin-inline-end: 10px; color: var(--c-accent); }
.tr-form-card .tr-info { margin-bottom: 24px; }
.tr-form { display: flex; flex-wrap: wrap; gap: 18px 14px; }
.tr-field { display: flex; flex-direction: column; gap: 8px; flex: 1 1 100%; min-width: 0; }
.tr-field--short { flex: 1 1 200px; }
.tr-label { font-size: 14px; font-weight: 600; }
.tr-required { color: var(--tr-primary); }
.tr-form input:not([type="radio"]):not([type="checkbox"]), .tr-form select, .tr-form textarea, .tr-calc input[type="number"] {
  width: 100%; padding: 13px 14px; font-size: 16px; background: var(--tr-surface); color: var(--tr-ink);
  border: var(--tr-border) solid color-mix(in srgb, var(--tr-ink) 30%, transparent); border-radius: var(--tr-input-radius);
}
.tr-form input:focus, .tr-form select:focus, .tr-form textarea:focus { outline: 2px solid var(--tr-primary); outline-offset: 0; border-color: var(--tr-primary); }
.tr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-chips--slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.tr-chip { position: relative; cursor: pointer; }
.tr-chip input { position: absolute; opacity: 0; pointer-events: none; }
.tr-chip span { display: block; text-align: center; padding: 10px 18px; font-size: 15px; font-weight: 600; border: var(--tr-border) solid color-mix(in srgb, var(--tr-ink) 30%, transparent); border-radius: var(--tr-btn-radius); transition: background .15s, color .15s; }
.tr-chip input:checked + span { background: var(--tr-ink); color: var(--tr-surface); border-color: var(--tr-ink); }
.tr-chip input:focus-visible + span { outline: 2px solid var(--tr-primary); outline-offset: 2px; }
.tr-stepper { display: inline-flex; align-items: center; gap: 10px; }
.tr-stepper button { width: 46px; height: 46px; font-size: 22px; line-height: 1; border: var(--tr-border) solid color-mix(in srgb, var(--tr-ink) 30%, transparent); background: transparent; color: inherit; border-radius: var(--tr-btn-radius); cursor: pointer; }
.tr-stepper input { width: 80px !important; text-align: center; font-family: var(--tr-font-display); font-size: 24px !important; font-weight: 700; -moz-appearance: textfield; }
.tr-stepper input::-webkit-outer-spin-button, .tr-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tr-stepper--lg button { width: 56px; height: 56px; }
.tr-submit { margin-top: 6px; padding-block: 16px; font-size: 17px; }
.tr-error { font-size: 13px; color: #c62828; }
.tr-form-message { flex: 1 1 100%; margin: 0; font-size: 14px; }
.tr-form-message.is-error { color: #c62828; }
.tr-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 28px 0; }
.tr-success-mark { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; background: var(--tr-primary); color: var(--tr-on-primary); }
.tr-success .tr-h3 { font-size: clamp(26px, 3vw, 36px); color: var(--tr-primary); }

/* ---------- Widgets ---------- */
.tr-widget-intro { margin: -12px 0 32px; color: var(--c-muted); max-width: 760px; }

.tr-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.tr-menu--single { grid-template-columns: 1fr; }
.tr-menu-item { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding-block: 18px; border-bottom: 2px dotted var(--c-line); }
.tr-menu-item.has-image { grid-template-columns: 80px 1fr auto; }
.tr-menu-item.is-out { opacity: .5; }
.tr-menu-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.tr-menu-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tr-menu-name { font-size: 22px; font-weight: 700; line-height: 1.3; }

.tr-menu-end { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* Widget toolbar (search, grouped filters, price switch) and the order list */
.tr-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: -8px 0 32px; }
.tr-toolbar > * { max-width: 100%; min-width: 0; }
.tr-head + .tr-toolbar { margin-top: -12px; }
.tr-search { flex: 1 1 260px; max-width: 420px; }
.tr-search input { width: 100%; font: inherit; font-size: 15px; padding: 11px 18px; border: var(--tr-border) solid var(--c-line); border-radius: var(--tr-pill-radius); background: var(--c-card); color: var(--c-fg); }
.tr-search input:focus { outline: 2px solid var(--c-accent); outline-offset: 1px; }
.tr-switch { padding: 4px; gap: 4px; border: var(--tr-border) solid var(--c-line); border-radius: var(--tr-pill-radius); }
.tr-switch > button { border-color: transparent; }
.tr-no-match { margin: 0 0 24px; }
.tr-qty { display: inline-flex; align-items: center; gap: 6px; position: relative; z-index: 2; }
.tr-qty button { width: 34px; height: 34px; border-radius: 50%; border: var(--tr-border) solid var(--c-line); background: transparent; color: var(--c-fg); font-size: 18px; line-height: 1; cursor: pointer; }
.tr-qty button[data-order-step="1"] { background: var(--c-btn-bg); border-color: var(--c-btn-bg); color: var(--c-btn-fg); }
.tr-qty button:disabled { opacity: .35; cursor: default; }
.tr-qty output { min-width: 1.6em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.is-ordered { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c-accent) 55%, transparent); }
.tr-menu-item.is-ordered { box-shadow: none; }
.tr-menu-item.is-ordered .tr-menu-name { color: var(--c-accent); }
.tr-order { position: sticky; bottom: 16px; z-index: 30; display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 8px; background: var(--tr-dark); color: var(--tr-on-dark); border-radius: var(--tr-pill-radius); box-shadow: 0 12px 32px rgb(0 0 0 / .22); --c-muted: color-mix(in srgb, var(--tr-on-dark) 70%, var(--tr-dark)); --c-accent: var(--tr-accent); --c-btn-bg: var(--tr-accent); --c-btn-fg: var(--tr-dark); }
.tr-order-count { min-width: 40px; height: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--tr-pill-radius); background: var(--tr-accent); color: var(--tr-dark); font-weight: 700; white-space: nowrap; }
.tr-order-label { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-order .tr-price { font-size: 20px; }
.tr-order-sheet { width: min(480px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 48px)); padding: clamp(20px, 4vw, 32px); border: 0; border-radius: var(--tr-radius); background: var(--tr-surface); color: var(--tr-ink); --c-fg: var(--tr-ink); --c-bg: var(--tr-surface); --c-muted: var(--tr-muted); --c-line: var(--tr-line); --c-accent: var(--tr-accent); --c-btn-bg: var(--tr-primary); --c-btn-fg: var(--tr-on-primary); }
.tr-order-sheet::backdrop { background: rgb(0 0 0 / .5); }
.tr-order-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tr-order-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--tr-ink) 8%, transparent); color: inherit; font-size: 22px; cursor: pointer; }
.tr-order-lines { list-style: none; margin: 0; padding: 0; }
.tr-order-lines li { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px dashed var(--c-line); }
.tr-order-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 16px; font-weight: 700; }
.tr-order-sheet .tr-actions { margin-top: 12px; }

.tr-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.tr-timeline-item { border-bottom: 1px solid var(--c-line); }
.tr-timeline-row { display: grid; grid-template-columns: minmax(80px, 140px) 1fr auto; gap: 20px; align-items: baseline; padding-block: 22px; }
.tr-timeline-meta { color: var(--c-accent); font-weight: 600; font-family: var(--tr-font-display); }
.tr-timeline-main { display: flex; flex-direction: column; gap: 4px; }
.tr-timeline-title { font-size: 20px; font-weight: 600; line-height: 1.4; }
.tr-timeline-tag { font-size: 14px; color: var(--c-muted); }
.tr-timeline-text { padding: 0 0 22px; padding-inline-start: calc(clamp(80px, 12vw, 140px) + 20px); }
details > summary.tr-timeline-row { align-items: center; }

.tr-table-wrap { overflow-x: auto; border: var(--tr-border) solid var(--c-line); border-radius: var(--tr-radius); background: var(--c-card); }
.tr-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.tr-table th, .tr-table td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--c-line); }
.tr-table thead th { font-size: 13px; color: var(--c-muted); font-weight: 600; background: color-mix(in srgb, var(--c-fg) 4%, transparent); }
.tr-table tbody th { font-weight: 600; }
.tr-table tbody th .tr-meta { display: block; font-weight: 400; }
.tr-table td { font-variant-numeric: tabular-nums; }
.tr-table tbody tr:last-child > * { border-bottom: 0; }
.tr-table tbody tr:hover { background: color-mix(in srgb, var(--c-accent) 8%, transparent); }

.tr-countdown { display: flex; flex-wrap: wrap; gap: clamp(10px, 2vw, 20px); }
.tr-countdown-cell { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: clamp(76px, 12vw, 120px); padding: 18px 12px; background: var(--c-card); border: var(--tr-border) solid var(--c-line); border-radius: var(--tr-radius); }
.tr-countdown-n { font-size: clamp(36px, 6vw, 64px); font-weight: 700; line-height: 1; color: var(--c-accent); font-variant-numeric: tabular-nums; }
.tr-countdown-caption { margin: 18px 0 0; font-weight: 600; }

.tr-calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0; border: var(--tr-border) solid var(--c-line); border-radius: var(--tr-radius); overflow: hidden; background: var(--c-card); }
.tr-calc-inputs { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 4vw, 40px); }
.tr-calc-inputs input[type="range"] { width: 100%; accent-color: var(--tr-primary); }
.tr-calc-result { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(24px, 4vw, 40px); background: var(--tr-primary); color: var(--tr-on-primary); --c-muted: color-mix(in srgb, var(--tr-on-primary) 78%, var(--tr-primary)); --c-fg: var(--tr-on-primary); --c-bg: var(--tr-primary); }
.tr-calc-total { font-size: clamp(40px, 6vw, 64px); font-weight: 700; line-height: 1; }
.tr-calc-total small { font-size: 16px; font-family: var(--tr-font-body); font-weight: 400; }
.tr-calc-result .tr-btn { align-self: flex-start; }

.tr-donate { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--c-card); border: var(--tr-border) solid var(--c-line); border-radius: var(--tr-radius); }
.tr-copy { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tr-copy code { font-size: 15px; letter-spacing: .04em; padding: 8px 12px; background: color-mix(in srgb, var(--c-fg) 6%, transparent); border-radius: var(--tr-input-radius); word-break: break-all; }

/* ---------- Quotes, slider, socials, plans ---------- */
.tr-quote { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--c-card); border: var(--tr-border) solid var(--c-line); border-radius: var(--tr-radius); }
.tr-quote-mark { font-family: var(--tr-font-display); font-size: 64px; line-height: .6; color: var(--c-accent); }
.tr-quote-text { margin: 0; font-size: 17px; line-height: 1.9; }
.tr-byline { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tr-byline > span { display: flex; flex-direction: column; }
.tr-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; background: var(--c-accent); color: var(--tr-dark); }

.tr-slider { position: relative; }
.tr-slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--tr-per-view) - 1) * var(--tr-gap)) / var(--tr-per-view)); gap: var(--tr-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.tr-slider-track::-webkit-scrollbar { display: none; }
.tr-slide { scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: 12px; }
.tr-slide-media { position: relative; display: block; aspect-ratio: var(--tr-card-ratio); overflow: hidden; border-radius: var(--tr-media-radius); background: var(--tr-ph-b); }
.tr-slide-media img { width: 100%; height: 100%; object-fit: cover; }
.tr-slider:not(.tr-slider--cards) .tr-slide-media { aspect-ratio: auto; height: var(--tr-slide-h, min(70vh, 620px)); }
.tr-slider:not(.tr-slider--cards) .tr-slide-caption { position: absolute; inset: auto 0 0; padding: clamp(20px, 4vw, 48px); color: #fff; background: linear-gradient(to top, rgb(0 0 0 / .7), transparent); display: flex; flex-direction: column; gap: 8px; border-radius: 0 0 var(--tr-media-radius) var(--tr-media-radius); --c-muted: rgb(255 255 255 / .85); }
.tr-slider--cards .tr-slide-caption { display: flex; flex-direction: column; gap: 4px; }
.tr-slider-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.tr-slider-dots { display: flex; gap: 8px; }
.tr-slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--c-line); cursor: pointer; }
.tr-slider-dots button[aria-current="true"] { background: var(--c-accent); width: 26px; border-radius: 99px; }
.tr-slider-arrows { display: flex; gap: 8px; }
.tr-slider-arrows button { width: 46px; height: 46px; border-radius: var(--tr-btn-radius); border: var(--tr-border) solid var(--c-line); background: transparent; color: var(--c-fg); cursor: pointer; font-size: 18px; }

.tr-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.tr-social { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 50%; transition: background .15s, color .15s; }
.tr-social:hover { background: var(--tr-accent); color: var(--tr-dark); border-color: var(--tr-accent); }
.tr-socials--lg .tr-social { width: 54px; height: 54px; font-size: 20px; }
.tr-social-tile { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: var(--tr-border) solid var(--c-line); border-radius: var(--tr-radius); font-weight: 600; background: var(--c-card); }
.tr-social-tile i { font-size: 20px; color: var(--c-accent); }
.tr-comment-row { display: flex; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--c-line); }
.tr-comment-row > span:last-child { display: flex; flex-direction: column; gap: 4px; }

.tr-plan { display: flex; flex-direction: column; gap: 16px; padding: 32px; border: var(--tr-border) solid var(--c-line); border-radius: var(--tr-radius); background: var(--c-card); }
.tr-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tr-checks li::before { content: "✓"; color: var(--c-accent); margin-inline-end: 10px; font-weight: 700; }

/* ---------- Pages, articles ---------- */
.tr-page { min-height: 50vh; }
.tr-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--c-muted); margin-bottom: 20px; }
.tr-breadcrumb a:hover { color: var(--c-accent); }
.tr-page .tr-h1 { margin-bottom: clamp(28px, 4vw, 48px); }
.tr-article-head .tr-container { display: flex; flex-direction: column; gap: 16px; }
.tr-article-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-block: 32px; margin-top: 40px; border-top: 1px solid var(--c-line); }
.tr-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tr-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 40px; }
.tr-gallery .tr-media { aspect-ratio: 1; }
.tr-comments { margin-top: 24px; }
form.tr-search { display: flex; gap: 10px; margin-bottom: 40px; max-width: 640px; }
form.tr-search input { flex: 1; padding: 13px 16px; border: 1px solid var(--c-line); border-radius: var(--tr-input-radius); background: var(--tr-surface); }
.tr-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-block: 48px; }
.tr-pagination { margin-top: 48px; display: flex; justify-content: center; }

.tr-prose { font-size: 17px; line-height: 2; }
.tr-prose > * + * { margin-top: 1.1em; }
.tr-prose h2, .tr-prose h3 { font-family: var(--tr-font-display); line-height: 1.35; margin-top: 1.6em; }
.tr-prose a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.tr-prose img { border-radius: var(--tr-media-radius); height: auto; }
.tr-prose blockquote { margin-inline: 0; padding-inline-start: 20px; border-inline-start: 3px solid var(--c-accent); color: var(--c-muted); }
.tr-prose ul, .tr-prose ol { padding-inline-start: 1.4em; }
.tr-prose iframe, .tr-prose video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

/* ---------- Footer ---------- */
.tr-footer { background: var(--tr-footer-bg); color: var(--tr-footer-fg); padding-block: clamp(48px, 6vw, 80px) 28px; }
.tr-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.tr-footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.tr-footer-tagline { margin: 0; opacity: .75; line-height: 1.9; }
.tr-footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.tr-footer-links a { opacity: .8; }
.tr-footer-links a:hover { opacity: 1; color: var(--tr-accent); }
.tr-footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); font-size: 13px; opacity: .72; }
.tr-band--footer { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .tr-nav, .tr-header-cta { display: none; }
  .tr-burger { display: inline-flex; }
  .tr-columns { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tr-timeline-row { grid-template-columns: 1fr; gap: 4px; }
  .tr-timeline-text, .tr-accordion-body { padding-inline-start: 0; }
  .tr-ftab-panel { grid-template-columns: 1fr; }
  .tr-menu-item.has-image { grid-template-columns: 60px 1fr auto; }
  .tr-menu-img { width: 60px; height: 60px; }
  .tr-features--list .tr-feature, .tr-features--numbered .tr-feature { gap: 14px; }
  .tr-slider-track { grid-auto-columns: calc(85% - var(--tr-gap)); }
  .tr-slider:not(.tr-slider--cards) .tr-slider-track { grid-auto-columns: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .tr-body *, .tr-body *::before, .tr-body *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Header login button (customizer: show_login): stays visible on phones, made compact */
.tr-header-login { white-space: nowrap; }
@media (max-width: 960px) { .tr-header-login { padding: 7px 14px; font-size: 13px; } }
