/* ==========================================================================
   Trawa Romero — homepage-spec-v1.css
   Dark editorial homepage per HOMEPAGE-SPEC.md, with mandated deviations:
   - local bundled fonts (Hanken Grotesk / Playfair Display), no Google Fonts
   - all rules scoped under body.tr-home-v3
   Tokens: --bg #0B0B0C, --bg-2 #0E0E10, --ink #F2EFEA, --muted #B4AEA7,
   --faint #8C8680, --pink #E8548E, --pink-deep #C93C74, --maxw 1320px.
   ========================================================================== */

body.tr-home-v3 {
  --bg: #0B0B0C;
  --bg-2: #0E0E10;
  --ink: #F2EFEA;
  --muted: #B4AEA7;
  --faint: #8C8680;
  --pink: #E8548E;
  --pink-deep: #C93C74;
  --rule: rgba(242, 239, 234, .13);
  --rule-soft: rgba(242, 239, 234, .07);
  --maxw: 1320px;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

/* Square everything; hairline discipline. */
body.tr-home-v3 *,
body.tr-home-v3 *::before,
body.tr-home-v3 *::after { border-radius: 0 !important; }

/* No shadows outside the mascot; no gradients outside the hero scrim
   (overrides legacy chrome styles still loaded for header/footer). */
body.tr-home-v3 .btn,
body.tr-home-v3 .btn:hover,
body.tr-home-v3 .lang-switch,
body.tr-home-v3 .nav-toggle,
body.tr-home-v3 footer.site,
body.tr-home-v3 .foot-disc { box-shadow: none !important; }
body.tr-home-v3 { background-image: none; }
body.tr-home-v3::before { content: none; }

body.tr-home-v3 .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; position: relative; }
body.tr-home-v3 a { color: inherit; text-decoration: none; }
body.tr-home-v3 ::selection { background: rgba(232, 84, 142, .32); color: var(--ink); }

body.tr-home-v3 a:focus-visible,
body.tr-home-v3 button:focus-visible,
body.tr-home-v3 [role="button"]:focus-visible,
body.tr-home-v3 [role="link"]:focus-visible,
body.tr-home-v3 input:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

/* ---------- Masthead: sticky, blurred, hairline bottom ---------- */
body.tr-home-v3 header.site.tr-mast {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 11, 12, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
body.tr-home-v3 .nav { padding: 14px 0; gap: 26px; }
body.tr-home-v3 .nav::after { content: none; }
body.tr-home-v3 .nav-links a { color: var(--muted); font-weight: 500; letter-spacing: .18em; }
body.tr-home-v3 .nav-links a:hover { color: var(--ink); }
body.tr-home-v3 .nav-links a::after { background: var(--pink); }
body.tr-home-v3 .nav-links a[aria-disabled="true"] { color: var(--faint); cursor: not-allowed; }
body.tr-home-v3 .lang-switch { background: transparent; border-color: var(--rule); }
body.tr-home-v3 .lang-switch a[aria-current="page"] { background: var(--pink); color: #12060c; }
body.tr-home-v3 .btn-ghost.pricebtn,
body.tr-home-v3 .nav .btn {
  background: none;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .22em;
  font-weight: 500;
  min-height: 46px;
  transition: border-color .3s ease, color .3s ease;
}
body.tr-home-v3 .btn-ghost.pricebtn:hover { border-color: var(--pink); color: var(--pink); transform: none; }
body.tr-home-v3 .nav-toggle { border-color: var(--rule); }
body.tr-home-v3 .nav-links { background: var(--bg-2); border-color: var(--rule); }

/* "Soon" badge on the disabled Forum item (nav + footer). */

/* ---------- Shared editorial atoms ---------- */
body.tr-home-v3 .tr-kick {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--faint); font-family: var(--sans); font-weight: 500;
}
body.tr-home-v3 .tr-kick s { display: block; width: 44px; height: 1px; background: var(--pink); text-decoration: none; }

body.tr-home-v3 .tr-a { overflow: clip; }
body.tr-home-v3 .tr-sec { padding: clamp(70px, 9vw, 140px) 0; background: var(--bg); }
body.tr-home-v3 .tr-sec.alt { background: var(--bg-2); }

body.tr-home-v3 .tr-h2 {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(32px, 4vw, 58px); line-height: .98; letter-spacing: -.03em;
  margin: 18px 0 0; max-width: 900px; text-wrap: balance;
}
body.tr-home-v3 .tr-h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--pink); }
body.tr-home-v3 .tr-body { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 62ch; margin: 22px 0 0; }
body.tr-home-v3 .tr-note { color: var(--faint); font-size: 12px; line-height: 1.55; margin: 14px 0 0; max-width: 68ch; }

body.tr-home-v3 .tr-link {
  display: inline-block; white-space: nowrap; text-decoration: none;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--rule); padding: 12px 0 5px;
  min-height: 44px; box-sizing: border-box;
  transition: color .3s ease, border-color .3s ease;
}
body.tr-home-v3 .tr-link:hover { color: var(--pink); border-color: var(--pink); }

body.tr-home-v3 .tr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 1px solid var(--rule); color: var(--ink);
  font-family: var(--sans); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  background: none; cursor: pointer; text-decoration: none;
  transition: border-color .3s ease, color .3s ease, background .35s ease;
}
body.tr-home-v3 .tr-btn:hover { border-color: var(--pink); color: var(--pink); }
body.tr-home-v3 .tr-btn.solid { background: var(--pink); border-color: var(--pink); color: #12060c; font-weight: 600; }
body.tr-home-v3 .tr-btn.solid:hover { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; }

/* ---------- Hero ---------- */
body.tr-home-v3 .tr-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
body.tr-home-v3 .tr-hero-media { position: absolute; inset: 0; z-index: 0; }
body.tr-home-v3 .tr-hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 78% 42%;
  filter: grayscale(1) brightness(.82) contrast(1.22);
}
body.tr-home-v3 .tr-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(92deg, rgba(11,11,12,.96) 0%, rgba(11,11,12,.86) 34%, rgba(11,11,12,.4) 68%, rgba(11,11,12,.58) 100%),
    radial-gradient(58% 62% at 76% 44%, rgba(232,84,142,.30), transparent 68%),
    linear-gradient(180deg, rgba(11,11,12,.72) 0%, transparent 30%, rgba(11,11,12,.97) 94%);
}
body.tr-home-v3 .tr-hero-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .18;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2"/></filter><rect width="180" height="180" filter="url(%23n)" opacity="0.5"/></svg>');
  background-size: 180px 180px;
}
body.tr-home-v3 .tr-hero-plate {
  position: absolute; z-index: 2; right: clamp(20px, 4vw, 64px); top: clamp(96px, 12vw, 160px);
  writing-mode: vertical-rl;
  font-size: 13px; letter-spacing: .34em; text-transform: uppercase; color: var(--faint);
}
body.tr-home-v3 .tr-hero-plate b { color: var(--pink); font-weight: 500; }
body.tr-home-v3 .tr-hero-in { position: relative; z-index: 3; padding-top: clamp(90px, 12vw, 150px); padding-bottom: clamp(56px, 7vw, 96px); }
body.tr-home-v3 .tr-hero h1 {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(44px, 7vw, 132px); line-height: .94; letter-spacing: -.04em;
  margin: 22px 0 0; max-width: 12ch; text-wrap: balance;
}
body.tr-home-v3 .tr-hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--pink); }
body.tr-home-v3 .tr-lede { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 60ch; margin: 24px 0 0; }
body.tr-home-v3 .tr-hero-cta { margin: 30px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero search with live suggestions */
body.tr-home-v3 .tr-search { position: relative; margin: 42px 0 0; max-width: 500px; }
body.tr-home-v3 .tr-search label {
  display: block; margin-bottom: 10px;
  font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); font-weight: 500;
}
body.tr-home-v3 .tr-search-row { display: flex; gap: 10px; }
body.tr-home-v3 .tr-search input[type="search"] {
  flex: 1; min-width: 0; min-height: 56px; padding: 0 18px; font-size: 16px !important;
  font-family: var(--sans); color: var(--ink);
  background: rgba(11, 11, 12, .6); border: 1px solid var(--rule);
  transition: border-color .3s ease; appearance: none; -webkit-appearance: none;
}
body.tr-home-v3 .tr-search input[type="search"]::placeholder { color: var(--faint); }
body.tr-home-v3 .tr-search input[type="search"]:focus { outline: none; box-shadow: none !important; border-color: var(--pink); }
body.tr-home-v3 .tr-sugg {
  position: absolute; z-index: 8; top: calc(100% + 4px); left: 0; right: 0;
  margin: 0; padding: 0; list-style: none;
  max-height: min(320px, calc(100dvh - 24px)); overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(8, 8, 10, .97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--rule);
}
body.tr-home-v3 .tr-sugg li + li { border-top: 1px solid var(--rule-soft); }
body.tr-home-v3 .tr-sugg a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  min-height: 48px; padding: 12px 16px; box-sizing: border-box;
  font-size: 15px; font-weight: 600; color: var(--ink);
  transition: background .35s ease, color .3s ease;
}
body.tr-home-v3 .tr-sugg a span {
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.tr-home-v3 .tr-sugg a:hover,
body.tr-home-v3 .tr-sugg a:focus-visible { background: rgba(232, 84, 142, .08); color: var(--pink); }

/* Three quick-entry links: 1px-gap divider trick */
body.tr-home-v3 .tr-quick {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
  margin: 40px 0 0; max-width: 860px;
}
body.tr-home-v3 .tr-quick a {
  display: grid; align-content: start; gap: 7px;
  background: var(--bg); padding: 18px 20px; min-height: 44px;
  transition: background .35s ease;
}
body.tr-home-v3 .tr-quick a:hover { background: rgba(232, 84, 142, .08); }
body.tr-home-v3 .tr-quick b { font-size: 15px; font-weight: 600; color: var(--ink); transition: color .3s ease; }
body.tr-home-v3 .tr-quick a:hover b { color: var(--pink); }
body.tr-home-v3 .tr-quick span { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); line-height: 1.5; }

/* Strains of the week — flip cards */
body.tr-home-v3 .tr-picks { margin: 46px 0 0; }
body.tr-home-v3 .tr-picks-lab {
  display: block; margin-bottom: 14px;
  font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); font-weight: 500;
}
body.tr-home-v3 .tr-picks-row { display: grid; grid-template-columns: repeat(2, 224px); gap: 12px; }
body.tr-home-v3 .tr-pick { perspective: 1200px; height: 320px; outline: none; }
body.tr-home-v3 .tr-pick-in {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .85s cubic-bezier(.2, .75, .25, 1);
}
body.tr-home-v3 .tr-pick.is-flipped .tr-pick-in { transform: rotateY(180deg); }
body.tr-home-v3 .tr-pick-face,
body.tr-home-v3 .tr-pick-back {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 1px solid var(--rule); background: rgba(11, 11, 12, .88);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: grid; overflow: hidden;
  transition: opacity .3s ease .28s;
}
body.tr-home-v3 .tr-pick-back { transform: rotateY(180deg); opacity: 0; align-content: start; gap: 9px; padding: 13px; }
body.tr-home-v3 .tr-pick:hover .tr-pick-face,
body.tr-home-v3 .tr-pick:focus-visible .tr-pick-face { opacity: 1; border-color: var(--pink); }
body.tr-home-v3 .tr-pick.is-flipped .tr-pick-face { opacity: 0; }
body.tr-home-v3 .tr-pick.is-flipped .tr-pick-back { opacity: 1; }
body.tr-home-v3 .tr-pick-face { grid-template-rows: 1fr auto; }
body.tr-home-v3 .tr-pick-img { overflow: hidden; }
body.tr-home-v3 .tr-pick-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.85) contrast(1.15); }
body.tr-home-v3 .tr-pick-bar { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-top: 1px solid var(--rule); }
body.tr-home-v3 .tr-pick-bar .nm { font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--ink); }
body.tr-home-v3 .tr-pick-bar .nm em {
  display: block; font-style: normal; font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: 3px;
}
body.tr-home-v3 .tr-pick-back .hd { font-family: var(--serif); font-size: 17px; color: var(--ink); }
body.tr-home-v3 .tr-pick-dl { display: grid; grid-template-columns: 76px 1fr; gap: 5px 10px; margin: 0; font-size: 13px; }
body.tr-home-v3 .tr-pick-dl dt {
  font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pink); white-space: nowrap; padding-top: 2px;
}
body.tr-home-v3 .tr-pick-dl dd { margin: 0; color: var(--muted); line-height: 1.4; }
body.tr-home-v3 .tr-pick:focus-visible { box-shadow: 0 0 0 1px var(--pink); }

/* ---------- Specimen of the week ---------- */
body.tr-home-v3 .tr-spec {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  margin-top: 40px;
}
body.tr-home-v3 .tr-spec-media { display: flex; flex-direction: column; border-right: 1px solid var(--rule); }
body.tr-home-v3 .tr-spec-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; flex: none; }
body.tr-home-v3 .tr-spec > .tr-spec-img { border-right: 1px solid var(--rule); }
body.tr-home-v3 .tr-spec-side {
  flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 40%);
  min-height: 96px; justify-content: center;
}
body.tr-home-v3 .tr-spec-side-lab {
  font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 6px;
}
body.tr-home-v3 .tr-spec-side-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--cream); font-weight: 500;
  transition: color .2s ease, padding-left .25s ease;
}
body.tr-home-v3 .tr-spec-side-link:first-of-type { border-top: 0; }
body.tr-home-v3 .tr-spec-side-link i { font-style: normal; color: var(--pink); transition: transform .25s ease; }
body.tr-home-v3 .tr-spec-side-link:hover,
body.tr-home-v3 .tr-spec-side-link:focus-visible { color: var(--pink); padding-left: 4px; }
body.tr-home-v3 .tr-spec-side-link:hover i,
body.tr-home-v3 .tr-spec-side-link:focus-visible i { transform: translateX(4px); }
body.tr-home-v3 .tr-spec-side-note { margin: 10px 0 0; font-size: 13px; color: var(--faint); line-height: 1.5; }
body.tr-home-v3 .tr-spec-img::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,5,6,.05), transparent 32% 62%, rgba(5,5,6,.72));
}
body.tr-home-v3 .tr-spec-frame {
  position: absolute; inset: 16px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(239,231,220,.28);
}
body.tr-home-v3 .tr-spec-plate {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3;
  display: flex; align-items: baseline; gap: 8px;
  padding: 12px 14px; border: 1px solid var(--gold-line, rgba(176,135,92,.45));
  background: rgba(5,5,6,.68); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
body.tr-home-v3 .tr-spec-plate b { color: var(--pink); font-weight: 700; letter-spacing: .1em; }
body.tr-home-v3 .tr-spec-plate em { margin-left: auto; font-style: normal; color: var(--faint); letter-spacing: .12em; }
body.tr-home-v3 .tr-spec-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.12) brightness(.95) contrast(1.06) saturate(1.08);
  transform: scale(1.02);
  transition: transform 1.4s cubic-bezier(.2, .7, .3, 1), filter .6s ease;
}
body.tr-home-v3 .tr-spec:hover .tr-spec-img img { transform: scale(1.06); filter: grayscale(0) brightness(1) contrast(1.02) saturate(1.12); }
body.tr-home-v3 .tr-spec-body { padding: clamp(22px, 2.4vw, 34px); display: grid; align-content: start; gap: 16px; }
body.tr-home-v3 .tr-spec-body h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.02; letter-spacing: -.02em; margin: 0; color: var(--ink); }
body.tr-home-v3 .tr-dl { display: grid; grid-template-columns: max-content 1fr; align-items: baseline; gap: 7px 16px; margin: 0; }
body.tr-home-v3 .tr-dl dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); white-space: nowrap; word-break: normal; overflow-wrap: normal; align-self: baseline; }
body.tr-home-v3 .tr-dl dd { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
body.tr-home-v3 .tr-obs { border-top: 1px solid var(--rule); padding-top: 16px; }
body.tr-home-v3 .tr-obs-title { margin: 0 0 12px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
body.tr-home-v3 .tr-obs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
body.tr-home-v3 .tr-obs-range { margin: 0 0 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
body.tr-home-v3 .tr-obs-list {
  list-style: none; counter-reset: none; margin: 0; padding: 0;
  display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule);
}
body.tr-home-v3 .tr-obs-list li {
  display: grid; grid-template-columns: minmax(96px, auto) auto 1fr; align-items: baseline; gap: 14px;
  background: var(--bg); padding: 12px 16px;
}
body.tr-home-v3 .tr-sec.alt .tr-obs-list li { background: var(--bg-2); }
body.tr-home-v3 .tr-obs-list .c { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
body.tr-home-v3 .tr-obs-list b { font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 0; white-space: nowrap; }
body.tr-home-v3 .tr-obs-list li:first-child b { color: var(--pink); }
body.tr-home-v3 .tr-obs-list .d { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); text-align: right; line-height: 1.5; }
body.tr-home-v3 .tr-obs-list b em { font-family: var(--sans); font-size: .8125em; font-style: normal; font-weight: 500; color: var(--muted); }
body.tr-home-v3 .tr-obs-list.tr-obs-ledger li {
  grid-template-columns: minmax(126px, auto) minmax(0, 1fr);
  grid-template-areas: "name price" "date date" "bar bar";
  row-gap: 8px; align-items: center;
}
body.tr-home-v3 .tr-obs-ledger .c { grid-area: name; align-self: center; }
body.tr-home-v3 .tr-obs-ledger b { grid-area: price; justify-self: end; align-self: center; text-align: right; white-space: normal; }
body.tr-home-v3 .tr-obs-ledger .d { grid-area: date; align-self: center; text-align: left; }
body.tr-home-v3 .tr-obs-ledger .bar {
  grid-area: bar; position: relative; height: 4px; border-radius: 999px;
  background: var(--line-soft); overflow: hidden;
}
body.tr-home-v3 .tr-obs-ledger .bar::after {
  content: ""; position: absolute; inset: 0; width: var(--x, 0%);
  background: linear-gradient(90deg, var(--pink), var(--pink-strong)); border-radius: inherit;
}

/* ---------- The five-step legal path (tabs) ---------- */
body.tr-home-v3 .tr-path {
  display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  border: 1px solid var(--rule); margin-top: 40px; background: var(--bg-2);
}
body.tr-home-v3 .tr-steps { display: grid; align-content: start; border-right: 1px solid var(--rule); }
body.tr-home-v3 .tr-step {
  display: flex; align-items: center; gap: 16px; text-align: left;
  min-height: 64px; padding: 14px 20px; background: none; border: 0; cursor: pointer;
  border-bottom: 1px solid var(--rule); border-left: 2px solid transparent;
  color: var(--faint); font-family: var(--sans);
  transition: color .3s ease, border-color .3s ease, background .35s ease;
}
body.tr-home-v3 .tr-step:last-child { border-bottom: 0; }
body.tr-home-v3 .tr-step .n { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--faint); transition: color .3s ease; }
body.tr-home-v3 .tr-step .l { font-size: 13px !important; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; line-height: 1.45; }
body.tr-home-v3 .tr-step:hover { color: var(--ink); background: rgba(232, 84, 142, .05); }
body.tr-home-v3 .tr-step[aria-selected="true"] { border-left-color: var(--pink); color: var(--ink); }
body.tr-home-v3 .tr-step[aria-selected="true"] .n { color: var(--pink); }
body.tr-home-v3 .tr-panel { padding: clamp(22px, 3vw, 40px); display: none; }
body.tr-home-v3 .tr-panel:not([hidden]) { display: grid; align-content: start; gap: 16px; }
body.tr-home-v3 .tr-panel h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.04; letter-spacing: -.02em; margin: 0; color: var(--ink); }
body.tr-home-v3 .tr-panel p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 62ch; }
body.tr-home-v3 .tr-tips { border: 1px solid var(--rule); padding: 16px 18px; }
body.tr-home-v3 .tr-tips .lab { display: block; margin-bottom: 10px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--pink); font-weight: 600; }
body.tr-home-v3 .tr-tips ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
body.tr-home-v3 .tr-tips li { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
body.tr-home-v3 .tr-tips li b { color: var(--ink); font-weight: 600; }
body.tr-home-v3 .tr-panel-meta { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
body.tr-home-v3 .tr-finder { border: 1px solid var(--rule); padding: 16px 18px; display: grid; gap: 12px; }
body.tr-home-v3 .tr-finder .lab { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); font-weight: 600; }

/* ---------- What changed — dated log ---------- */
body.tr-home-v3 .tr-log {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule);
  max-width: 940px;
}
body.tr-home-v3 .tr-log li {
  display: grid; grid-template-columns: 150px minmax(140px, auto) 1fr; gap: 18px; align-items: baseline;
  background: var(--bg); padding: 18px 22px;
}
body.tr-home-v3 .tr-log time { font-family: var(--serif); font-weight: 500; font-size: 17px; color: var(--pink); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.tr-home-v3 .tr-log b { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); font-weight: 600; line-height: 1.5; }
body.tr-home-v3 .tr-log span { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- Journal / News / Guide cards ---------- */
body.tr-home-v3 .tr-cards {
  display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule);
  margin-top: 40px;
}
body.tr-home-v3 .tr-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
body.tr-home-v3 .tr-cards.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 940px; }
body.tr-home-v3 .tr-card {
  display: grid; align-content: start; gap: 10px;
  background: var(--bg); padding: 24px 22px 26px; min-height: 44px;
  transition: background .35s ease;
}
body.tr-home-v3 .tr-sec.alt .tr-card { background: var(--bg-2); }
body.tr-home-v3 .tr-card:hover { background: rgba(232, 84, 142, .08); }
body.tr-home-v3 .tr-card .cat { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
body.tr-home-v3 .tr-card h3 { margin: 0; font-family: var(--serif) !important; font-weight: 600; font-size: 21px; line-height: 1.12; letter-spacing: -.015em; color: var(--ink); transition: color .3s ease; }
body.tr-home-v3 .tr-card:hover h3 { color: var(--pink); }
body.tr-home-v3 .tr-card p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
body.tr-home-v3 .tr-card .go { margin-top: auto; padding-top: 10px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); }
body.tr-home-v3 .tr-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
body.tr-home-v3 .tr-sec-head .tr-link { margin-bottom: 6px; }

/* Pharmacist CTA (news) */
body.tr-home-v3 .tr-cta-pharm {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border: 1px solid var(--rule); padding: 22px 24px; margin-top: 28px;
  transition: border-color .3s ease, background .35s ease;
}
body.tr-home-v3 .tr-cta-pharm:hover { border-color: var(--pink); background: rgba(232, 84, 142, .05); }
body.tr-home-v3 .tr-cta-pharm b { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--ink); max-width: 46ch; }
body.tr-home-v3 .tr-cta-pharm .go { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); white-space: nowrap; }

/* External directory aside (guide) */
body.tr-home-v3 .tr-ext { border: 1px solid var(--rule); border-left: 2px solid var(--pink); padding: 20px 24px; margin-top: 28px; max-width: 940px; }
body.tr-home-v3 .tr-ext .lab { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
body.tr-home-v3 .tr-ext p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
body.tr-home-v3 .tr-ext a { color: var(--ink); border-bottom: 1px solid var(--rule); transition: color .3s ease, border-color .3s ease; }
body.tr-home-v3 .tr-ext a:hover { color: var(--pink); border-color: var(--pink); }

/* ---------- Merch teaser ---------- */
body.tr-home-v3 #merch .tr-merch-meta { margin-top: 26px; display: flex; gap: 26px; flex-wrap: wrap; }
body.tr-home-v3 #merch .tr-merch-meta span { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }

/* ---------- Footer: legacy chrome toned to the v3 palette ---------- */
body.tr-home-v3 footer.site { background: var(--bg-2); border-top: 1px solid var(--rule); margin-top: 0; }
body.tr-home-v3 .foot-disc { border-color: var(--rule); background: none; }
body.tr-home-v3 .age-notice { background: var(--pink); color: #12060c; }

/* Compact visitor odometer — LAST child of the footer.
   Markup contract required by local-visitor-counter-v1.js (the ONLY controller):
   [data-local-visitor-counter][data-session-key], [data-odometer-reel],
   [data-local-visitor-count]. homepage-spec-v1.js never touches these hooks. */
body.tr-home-v3 .tr-foot-odo { border-top: 1px solid var(--rule-soft); }
body.tr-home-v3 .tr-foot-odo .local-visitor-counter,
body.tr-home-v3 .local-visitor-counter.tr-odo-compact {
  position: relative;
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  margin: 0; padding: 12px 0; border: 0; background: none;
  width: auto; max-width: none; min-width: 0; color: var(--faint);
}
body.tr-home-v3 .local-visitor-counter.tr-odo-compact[hidden] { display: none; }
body.tr-home-v3 .tr-odo-lab { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
body.tr-home-v3 .tr-odo-compact .tr-odo-reel { display: inline-flex; gap: 2px; }
body.tr-home-v3 .tr-odo-compact .tr-odo-digit {
  position: relative; display: inline-grid; place-items: center;
  width: 20px; height: 32px; overflow: hidden;
  background: #131216; border: 1px solid rgba(242, 239, 234, .1);
}
body.tr-home-v3 .tr-odo-compact .tr-odo-digit::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: rgba(0, 0, 0, .85); /* drum seam */
}
body.tr-home-v3 .tr-odo-compact .tr-odo-digit span {
  font-family: var(--serif) !important; font-size: 18px; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
body.tr-home-v3 .tr-odo-compact .tr-odo-digit:last-child span { color: var(--pink); }
body.tr-home-v3 .tr-odo-compact .tr-odo-digit.is-turning span { animation: trOdoTurn .6s cubic-bezier(.22, .9, .24, 1); }
@keyframes trOdoTurn {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(0); }
}
body.tr-home-v3 .tr-odo-sr {
  position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
body.tr-home-v3 .tr-odo-pet {
  display: block; width: auto; height: 48px; max-width: 48px; flex: none;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .55)); /* the one permitted shadow */
}
body.tr-home-v3 .tr-odo-compact.is-counting .tr-odo-pet { animation: trPetNudge .5s ease-in-out 2; }
@keyframes trPetNudge {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-2px) rotate(-4deg); }
}

/* ---------- Scroll reveal ---------- */
body.tr-home-v3 [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}
body.tr-home-v3 [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  body.tr-home-v3 .tr-pick-in { transition-duration: .01ms; }
  body.tr-home-v3 [data-reveal] { opacity: 1; transform: none; transition: none; }
  body.tr-home-v3 .tr-odo-compact .tr-odo-digit.is-turning span,
  body.tr-home-v3 .tr-odo-compact.is-counting .tr-odo-pet { animation: none; }
  body.tr-home-v3 .tr-spec-img img,
  body.tr-home-v3 .tr-spec:hover .tr-spec-img img { transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  body.tr-home-v3 .tr-picks-row { grid-template-columns: repeat(2, minmax(0, 206px)); }
  body.tr-home-v3 .tr-pick { height: 296px; }
}
@media (max-width: 1020px) {
  body.tr-home-v3 .tr-spec { grid-template-columns: 1fr; }
  body.tr-home-v3 .tr-spec-media { border-right: 0; border-bottom: 1px solid var(--rule); }
  body.tr-home-v3 .tr-spec-img { aspect-ratio: 16 / 10; }
  body.tr-home-v3 .tr-spec > .tr-spec-img { border-right: 0; border-bottom: 1px solid var(--rule); }
  body.tr-home-v3 .tr-cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body.tr-home-v3 .tr-sugg {
    top: auto; bottom: calc(100% + 4px);
    max-height: min(42dvh, 300px);
  }
  body.tr-home-v3 .tr-spec-plate { left: 10px; right: 10px; bottom: 10px; padding: 10px; }
  body.tr-home-v3 .tr-spec-plate em { display: none; }
  body.tr-home-v3 .tr-obs-list.tr-obs-ledger li {
    grid-template-columns: 1fr;
    grid-template-areas: "name" "price" "date" "bar";
  }
  body.tr-home-v3 .tr-obs-ledger b { justify-self: start; text-align: left; }
}
@media (max-width: 860px) {
  body.tr-home-v3 .tr-path { grid-template-columns: 1fr; }
  body.tr-home-v3 .tr-steps { border-right: 0; border-bottom: 1px solid var(--rule); grid-template-columns: 1fr; }
  body.tr-home-v3 .tr-log li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 720px) {
  body.tr-home-v3 .wrap { padding: 0 18px; }
  body.tr-home-v3 .tr-hero-plate { display: none; }
  body.tr-home-v3 .tr-quick { grid-template-columns: 1fr; }
  body.tr-home-v3 .tr-picks-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.tr-home-v3 .tr-pick { height: 292px; }
  body.tr-home-v3 .tr-cards.cols-4,
  body.tr-home-v3 .tr-cards.cols-2 { grid-template-columns: 1fr; }
  body.tr-home-v3 .tr-search-row { flex-wrap: wrap; }
  body.tr-home-v3 .tr-search-row .tr-btn { width: 100%; }
  body.tr-home-v3 .tr-obs-list li { grid-template-columns: 1fr auto; }
  body.tr-home-v3 .tr-obs-list .d { grid-column: 1 / -1; text-align: left; }
  body.tr-home-v3 .tr-foot-odo .local-visitor-counter { justify-content: center; }
}

/* ========================================================================
   Owner feedback closeout · 29 Aug 2026
   - restore the original botanical hero under the supplied people imagery
   - alternate the woman and man merchandise portraits
   - keep weekly picks in the hero's lower-right corner on wide screens
   - raise small editorial copy to a comfortably readable size
   - give the visitor odometer its own pre-footer stage
   ======================================================================== */

body.tr-home-v3 .tr-hero {
  min-height: calc(100vh - 82px);
  min-height: calc(100svh - 82px);
  background-color: var(--bg);
  background-image: url("./hero-botanical-night-v1.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.tr-home-v3 .tr-hero-media img.tr-hero-person {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 42%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 44%, rgba(0,0,0,.16) 57%, #000 78% 100%);
  mask-image: linear-gradient(90deg, transparent 0 44%, rgba(0,0,0,.16) 57%, #000 78% 100%);
  filter: saturate(.82) brightness(.76) contrast(1.08);
  will-change: opacity;
}

body.tr-home-v3 .tr-hero-person--woman {
  animation: trHeroWoman 18s ease-in-out infinite;
}

body.tr-home-v3 .tr-hero-person--man {
  opacity: 0;
  animation: trHeroMan 18s ease-in-out infinite;
}

@keyframes trHeroWoman {
  0%, 42%, 100% { opacity: .48; }
  50%, 92% { opacity: 0; }
}

@keyframes trHeroMan {
  0%, 42%, 100% { opacity: 0; }
  50%, 92% { opacity: .54; }
}

@media (min-width: 1280px) {
  body.tr-home-v3 .tr-hero-in {
    min-height: calc(100vh - 82px);
    min-height: calc(100svh - 82px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 32px;
  }

  body.tr-home-v3 .tr-picks {
    position: absolute;
    right: calc((100vw - min(100vw, var(--maxw))) / -2 + 32px);
    bottom: 30px;
    width: 576px;
    margin: 0;
  }

  body.tr-home-v3 .tr-quick {
    max-width: 620px;
  }

  body.tr-home-v3 .tr-picks-row {
    grid-template-columns: repeat(3, 184px);
  }

  body.tr-home-v3 .tr-pick {
    height: 272px;
  }
}

/* The selected sections were legible on paper, but undersized on the real
   desktop canvas. These values preserve the hierarchy while removing 11px
   body-copy traps. */
body.tr-home-v3 .tr-kick { font-size: 12px; }
body.tr-home-v3 .tr-body { font-size: 18px; line-height: 1.65; }
body.tr-home-v3 .tr-note { font-size: 15px; line-height: 1.65; }
body.tr-home-v3 .tr-link,
body.tr-home-v3 .tr-btn { font-size: 12px; }

body.tr-home-v3 .tr-quick a { padding-block: 14px; }
body.tr-home-v3 .tr-quick b { font-size: 15px; line-height: 1.4; }
body.tr-home-v3 .tr-quick span { font-size: 12px; line-height: 1.5; letter-spacing: .1em; }

body.tr-home-v3 .tr-sec:is(#specimen, #path, #changed, #journal) {
  padding-block: clamp(52px, 6vw, 88px);
}
body.tr-home-v3 #specimen .tr-spec,
body.tr-home-v3 #path .tr-path,
body.tr-home-v3 #changed .tr-log,
body.tr-home-v3 #journal .tr-cards { margin-top: 30px; }
body.tr-home-v3 .tr-spec-body { padding: clamp(18px, 2vw, 28px); gap: 13px; }

body.tr-home-v3 .tr-dl { grid-template-columns: max-content 1fr; gap: 8px 18px; align-items: baseline; }
body.tr-home-v3 .tr-dl dt { font-size: 12px; letter-spacing: .1em; white-space: nowrap; word-break: normal; overflow-wrap: normal; align-self: baseline; }
body.tr-home-v3 .tr-dl dd { font-size: 15px; line-height: 1.55; }
body.tr-home-v3 .tr-obs { padding-top: 12px; }
body.tr-home-v3 .tr-obs-title { margin-bottom: 9px; font-size: 13px; line-height: 1.4; letter-spacing: .18em; }
body.tr-home-v3 .tr-obs-list li { padding: 10px 14px; gap: 12px; }
body.tr-home-v3 .tr-obs-list .c { font-size: 13px; line-height: 1.4; letter-spacing: .12em; }
body.tr-home-v3 .tr-obs-list b { font-size: 18px; line-height: 1.25; }
body.tr-home-v3 .tr-obs-list .d { font-size: 12.5px; line-height: 1.5; letter-spacing: .08em; }

body.tr-home-v3 .tr-step { min-height: 64px; padding-block: 11px; }
body.tr-home-v3 .tr-step .n { font-size: 22px; }
body.tr-home-v3 .tr-step .l { font-size: 13px !important; letter-spacing: .14em; }
body.tr-home-v3 .tr-panel { padding: clamp(20px, 2.25vw, 30px); }
body.tr-home-v3 .tr-panel:not([hidden]) { gap: 13px; }
body.tr-home-v3 .tr-panel p { font-size: 17px; line-height: 1.68; }
body.tr-home-v3 .tr-tips .lab,
body.tr-home-v3 .tr-finder .lab { font-size: 12px; }
body.tr-home-v3 .tr-tips li { font-size: 15.5px; line-height: 1.62; }
body.tr-home-v3 .tr-panel-meta { font-size: 12px; }

body.tr-home-v3 .tr-log li { padding: 15px 22px; }
body.tr-home-v3 .tr-log time { font-size: 19px; line-height: 1.35; }
body.tr-home-v3 .tr-log b { font-size: 13.5px; }
body.tr-home-v3 .tr-log span { font-size: 16px; line-height: 1.62; }

body.tr-home-v3 .tr-card { gap: 12px; padding: 28px 24px 30px; }
body.tr-home-v3 #journal .tr-card { gap: 10px; padding: 20px 22px 22px; }
body.tr-home-v3 .tr-card .cat { font-size: 12px; }
body.tr-home-v3 .tr-card h3 { font-size: 24px; line-height: 1.15; }
body.tr-home-v3 .tr-card p { font-size: 16px; line-height: 1.62; }
body.tr-home-v3 .tr-card .go { font-size: 12px; }
body.tr-home-v3 .tr-cta-pharm b { font-size: 21px; }
body.tr-home-v3 .tr-cta-pharm .go { font-size: 12px; }
body.tr-home-v3 .tr-ext .lab { font-size: 12px; }
body.tr-home-v3 .tr-ext p { font-size: 16px; line-height: 1.68; }
body.tr-home-v3 #merch .tr-merch-meta span { font-size: 12px; }

body.tr-home-v3 .tr-visitor-stage {
  min-height: 132px;
  display: grid;
  place-items: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule-soft);
  background: var(--bg-2);
}

body.tr-home-v3 footer.site {
  position: relative;
  overflow: visible;
  margin-top: 132px;
}

body.tr-home-v3 footer.site > .tr-visitor-stage {
  position: absolute;
  z-index: 2;
  top: -132px;
  left: 0;
  right: 0;
}

body.tr-home-v3 .tr-visitor-stage .local-visitor-counter.tr-odo-compact {
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 24px;
  border: 1px solid var(--rule);
}

body.tr-home-v3 .tr-visitor-stage .tr-odo-lab { font-size: 12.5px; }
body.tr-home-v3 .tr-visitor-stage .tr-odo-digit { width: 24px; height: 38px; }
body.tr-home-v3 .tr-visitor-stage .tr-odo-digit span { font-size: 22px; }
body.tr-home-v3 .tr-visitor-stage .tr-odo-pet { height: 58px; max-width: 58px; }

@media (max-width: 1279px) {
  body.tr-home-v3 .tr-picks {
    position: static;
    width: min(100%, 448px);
    margin-top: 42px;
  }
}

@media (max-width: 720px) {
  body.tr-home-v3 .tr-hero-media img.tr-hero-person {
    object-position: 66% center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0 16%, rgba(0,0,0,.28) 40%, #000 72% 100%);
    mask-image: linear-gradient(90deg, transparent 0 16%, rgba(0,0,0,.28) 40%, #000 72% 100%);
  }
  body.tr-home-v3 .tr-pick { height: 280px; }
  body.tr-home-v3 .tr-dl { grid-template-columns: 1fr; gap: 4px; }
  body.tr-home-v3 .tr-dl dd + dt { margin-top: 8px; }
  body.tr-home-v3 .tr-visitor-stage { min-height: 118px; }
  body.tr-home-v3 footer.site { margin-top: 118px; }
  body.tr-home-v3 footer.site > .tr-visitor-stage { top: -118px; }
  body.tr-home-v3 .tr-visitor-stage .local-visitor-counter.tr-odo-compact {
    width: 100%;
    padding: 16px 12px;
    gap: 9px;
  }
  body.tr-home-v3 .tr-visitor-stage .tr-odo-lab { font-size: 13px; letter-spacing: .16em; }
  body.tr-home-v3 .tr-visitor-stage .tr-odo-digit { width: 21px; height: 34px; }
  body.tr-home-v3 .tr-visitor-stage .tr-odo-pet { height: 50px; max-width: 50px; }
}

@media (max-width: 420px) {
  body.tr-home-v3 .tr-picks-row { grid-template-columns: 1fr; }
}

@media (max-height: 920px) and (min-width: 1280px) {
  body.tr-home-v3 .tr-picks { width: 540px; }
  body.tr-home-v3 .tr-picks-row { grid-template-columns: repeat(3, 172px); }
  body.tr-home-v3 .tr-pick { height: 228px; }
}

@media (prefers-reduced-motion: reduce) {
  body.tr-home-v3 .tr-hero-person--woman { animation: none; opacity: .48; }
  body.tr-home-v3 .tr-hero-person--man { animation: none; opacity: 0; }
}
