/* tst: Theme store layouts — header / hero / product card / catalog / product page / footer variants, type scale, spacing and
   button shapes. Loaded only when the theme is not today's SOBACO layout (src/mod/shop/layout.js); every rule hangs off a
   body class set from the theme's layout settings (src/lib/themelayout.js), so the default look is never touched.
   Colours and fonts still come from /api/site/theme.css (the theme's own colour & font settings). */

/* ---------- header: shared ---------- */
body.tl .tl-hdr .tl-ic .ic { width: 22px; height: 22px; }
body.tl .tl-bag { position: relative; }
body.tl .tl-count { position: absolute; top: 5px; right: 2px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px; display: grid; place-items: center;
  font: 800 10px/1 var(--display); background: var(--text); color: var(--bg); }
body.tl .tl-row .nav-toggle { grid-column: 1; grid-row: 1; }
body.tl .tl-tools { gap: 6px; }

/* inline + overlay: logo left, menu inline, icons right */
body.tl-h-inline .tl-row, body.tl-h-overlay .tl-row { grid-template-columns: auto 1fr auto; }
body.tl-h-inline .tl-row .brand, body.tl-h-overlay .tl-row .brand { grid-column: 2; justify-self: start; }
body.tl-h-inline .tl-row .tools, body.tl-h-overlay .tl-row .tools { grid-column: 3; }
body.tl-h-overlay.home .top { position: relative; margin-bottom: -61px; background: transparent; border-bottom-color: transparent; }
body.tl-h-overlay.home .top .txt-link, body.tl-h-overlay.home .top .icon-btn { text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }

/* split: centred logo, menu split left / right */
body.tl-h-split .tl-split-l, body.tl-h-split .tl-split-links { display: none; }
body.tl-h-split .tl-row .brand { grid-column: 2; }
body.tl-h-split .tl-split-r { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 22px; }
body.tl-h-split .tl-split-r .tools { grid-column: auto; }
body.tl-h-split .tl-split-l a, body.tl-h-split .tl-split-links a { font: 800 12px var(--display); text-transform: uppercase; text-decoration: none; padding: 22px 0; }
body.tl-h-split .tl-split-l a:hover, body.tl-h-split .tl-split-links a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* minimal: the menu is always behind one button */
body.tl-h-minimal .top { border-bottom: 0; }
body.tl-h-minimal .tl-row { min-height: 72px; }

/* boxed: small boxed logo on its own row, quiet menu row below */
body.tl-h-boxed .tl-box-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; }
body.tl-h-boxed .tl-box-logo .brand { display: block; border: 2px solid currentColor; padding: 6px 9px; }
body.tl-h-boxed .tl-box-logo .brand img { width: 78px; }
body.tl-h-boxed .tl-box-top .tools { grid-column: 3; justify-self: end; }
body.tl-h-boxed .tl-box-nav { border-top: 1px solid var(--line); }

/* utility: utility strip, logo + big search + bag, menu row */
body.tl-h-utility .tl-util { background: var(--text); color: var(--bg); font: 700 11px/1 var(--sans); }
body.tl-h-utility .tl-util .wrap { display: flex; gap: 18px; justify-content: flex-end; align-items: center; min-height: 30px; }
body.tl-h-utility .tl-util a { color: inherit; text-decoration: none; } body.tl-h-utility .tl-util a:hover { text-decoration: underline; }
body.tl-h-utility .tl-row { grid-template-columns: auto 1fr auto; padding-top: 8px; padding-bottom: 8px; }
body.tl-h-utility .tl-row .brand { grid-column: 2; justify-self: start; }
body.tl-h-utility .tl-row .tools { grid-column: 3; }
body.tl-h-utility .tl-search { grid-column: 1 / -1; grid-row: 2; display: flex; }
body.tl-h-utility .tl-search input { margin: 0 !important; min-height: 44px; }
body.tl-h-utility .tl-search .btn { min-height: 44px; padding: 0 16px; margin-left: -1px; }
body.tl-h-utility .tl-navrow { border-top: 1px solid var(--line); }

@media (min-width: 1040px) {
  body.tl-h-inline .tl-row .brand, body.tl-h-overlay .tl-row .brand { grid-column: 1; }
  body.tl-h-inline .tl-row .main-nav, body.tl-h-overlay .tl-row .main-nav { grid-column: 2; justify-content: center; }
  body.tl-h-split .tl-row { grid-template-columns: 1fr auto 1fr; }
  body.tl-h-split .tl-split-l { display: flex; gap: 22px; grid-column: 1; grid-row: 1; }
  body.tl-h-split .tl-split-links { display: flex; gap: 22px; }
  body.tl-h-split .main-nav { display: none; }
  body.tl-h-boxed .tl-box-nav .main-nav { justify-content: center; gap: 30px; }
  body.tl-h-boxed .tl-box-nav .main-nav > a { padding: 11px 0; font-size: 11px; }
  body.tl-h-utility .tl-row .brand { grid-column: 1; }
  body.tl-h-utility .tl-search { grid-column: 2; grid-row: 1; width: min(640px, 100%); justify-self: center; }
  body.tl-h-utility .tl-navrow .main-nav { gap: 26px; }
  /* minimal: keep the drawer on big screens too */
  body.tl-h-minimal .nav-toggle { display: inline-grid; }
  body.tl-h-minimal .main-nav { position: fixed; inset: 0 auto 0 0; width: min(88vw, 440px); z-index: 60; background: var(--bg); border-right: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 0; padding: 0 24px 24px; overflow-y: auto; transform: translateX(-102%); visibility: hidden; }
  body.tl-h-minimal .main-nav.open { transform: none; visibility: visible; }
  body.tl-h-minimal .nav-head { display: flex; } body.tl-h-minimal .nav-extra { display: grid; }
  body.tl-h-minimal .main-nav > a, body.tl-h-minimal .main-nav > a.nav-more { display: block; font-size: 30px; padding: 10px 0; border-bottom: 1px solid var(--line); }
}
@media (min-width: 1040px) and (prefers-reduced-motion: no-preference) { body.tl-h-minimal .main-nav { transition: transform .28s cubic-bezier(.2, .8, .3, 1), visibility .28s; } }

/* ---------- heroes ---------- */
.tl-hero { position: relative; margin-top: -18px; border-bottom: 1px solid var(--rule); overflow: hidden; }
.tl-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tl-hero h1 { font-weight: 900; letter-spacing: -.05em; line-height: .88; margin: 10px 0 16px; }
/* split: photo | words */
.tl-hero-split { display: grid; background: var(--bg); }
.tl-hs-media { min-height: 46vh; background: var(--cell); position: relative; } .tl-hs-media img { position: absolute; inset: 0; }
.tl-hs-copy { padding: 40px 20px; display: flex; flex-direction: column; justify-content: center; }
.tl-hs-copy h1 { font-size: clamp(44px, 7vw, 112px); max-width: 10ch; }
/* triptych */
.tl-tri { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); height: 62vh; background: var(--cell); }
.tl-tri li { overflow: hidden; position: relative; } .tl-tri li + li { border-left: 1px solid var(--rule); }
.tl-hero-triptych::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .72)); pointer-events: none; }
.tl-tri-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: 32px; color: #fff; }
.tl-tri-copy h1 { font-size: clamp(44px, 9vw, 132px); max-width: 12ch; }
/* video */
.tl-hero-video { min-height: 86vh; display: grid; place-items: center; background: #000; color: #fff; }
.tl-hv-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.tl-hv-copy { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.tl-hv-copy h1 { font-size: clamp(48px, 10vw, 150px); max-width: 12ch; margin-left: auto; margin-right: auto; }
@media (prefers-reduced-motion: no-preference) { .tl-still { animation: tl-drift 22s ease-in-out infinite alternate; } }
@keyframes tl-drift { from { transform: scale(1); } to { transform: scale(1.12) translate(-2%, -2%); } }
/* collage */
.tl-hero-collage { display: grid; gap: 0; background: var(--bg); }
.tl-col-copy { padding: 36px 20px; display: flex; flex-direction: column; justify-content: center; }
.tl-col-copy h1 { font-size: clamp(44px, 7vw, 108px); max-width: 9ch; }
.tl-col { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 28vh; gap: 8px; }
.tl-col li { overflow: hidden; background: var(--cell); } .tl-col-1 { grid-row: span 2; }
/* statement */
.tl-hero-statement { padding: 48px 0 0; background: var(--bg); }
.tl-giant { font-size: clamp(64px, 16vw, 250px) !important; line-height: .8 !important; max-width: none; }
.tl-st-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; padding-bottom: 28px; }
.tl-st-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.tl-st-strip li { aspect-ratio: 1; overflow: hidden; background: var(--cell); } .tl-st-strip li + li { border-left: 1px solid var(--rule); }
.tl-st-strip li:nth-child(n+4) { display: none; }
/* wall of product photos */
.tl-hero-wall { border-bottom: 0; background: var(--bg); }
.tl-wall-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 14px; }
.tl-wall-head h1 { font-size: clamp(18px, 2.4vw, 26px); letter-spacing: 0; margin: 0; }
.tl-wall-head .hero-cta:empty { display: none; }
.tl-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--bg); }
.tl-wall a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cell); }
.tl-wall-name { position: absolute; left: 8px; bottom: 8px; padding: 4px 6px; background: var(--bg); color: var(--text); font: 800 11px var(--display); text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.tl-wall a:hover .tl-wall-name, .tl-wall a:focus-visible .tl-wall-name { opacity: 1; }
/* single full-bleed photo */
.tl-hero-single { min-height: 88vh; display: flex; align-items: flex-end; background: var(--cell); }
.tl-hero-single > img { position: absolute; inset: 0; }
.tl-hero-single.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .6)); }
.tl-single-copy { position: relative; z-index: 1; width: 100%; padding-bottom: 48px; }
.tl-hero-single.has-img .tl-single-copy { color: #fff; }
.tl-single-copy h1 { font-size: clamp(48px, 9vw, 140px); }
@media (min-width: 720px) {
  .tl-hero-split { grid-template-columns: 1fr 1fr; min-height: 78vh; } .tl-hs-copy { padding: 56px; }
  .tl-hero-split.ted-center .tl-hs-copy { align-items: center; text-align: center; }
  .tl-tri { height: 78vh; }
  .tl-col { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 36vh; }
  .tl-st-strip { grid-template-columns: repeat(6, 1fr); } .tl-st-strip li:nth-child(n+4) { display: block; }
  .tl-wall { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) { .tl-hero-collage { grid-template-columns: minmax(320px, 1fr) 1.5fr; } .tl-col-copy { padding: 56px 40px; } }

/* product spotlight / drop */
.tl-spot { display: grid; border-bottom: 1px solid var(--rule); background: var(--bg); }
main > .tl-spot:first-child { margin-top: -18px; }
.tl-spot-media { display: block; background: var(--cell); overflow: hidden; }
.tl-spot-media .ph-img, .tl-spot-media .ph { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.tl-spot-copy { padding: 36px 20px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.tl-spot-h { font-size: clamp(40px, 7vw, 108px); line-height: .86; letter-spacing: -.05em; margin: 10px 0 12px; font-weight: 900; }
.tl-spot-name { font: 800 14px var(--display); text-transform: uppercase; margin: 0 0 6px; }
.tl-spot-price { font: 800 24px var(--display); margin: 0 0 8px; }
.tl-countdown { display: flex; gap: 10px; margin: 18px 0 22px; flex-wrap: wrap; }
.tl-cd-u { display: grid; justify-items: center; min-width: 70px; padding: 12px 10px; border: 1px solid var(--rule); background: var(--bg-2); }
.tl-cd-u b { font: 900 clamp(28px, 4vw, 46px)/1 var(--display); font-variant-numeric: tabular-nums; }
.tl-cd-u small { font: 800 10px var(--display); text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.tl-now { font: 800 13px var(--display); text-transform: uppercase; color: var(--green-ink); margin: 14px 0; }
.tl-big { font-size: 16px; min-height: 60px; padding: 16px 40px; }
@media (min-width: 820px) { .tl-spot { grid-template-columns: 1.1fr 1fr; min-height: 80vh; } .tl-spot-r .tl-spot-media { order: 2; } .tl-spot-copy { padding: 56px; } }

/* ---------- product cards ---------- */
.tl-grid .tl-cap { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 10px 2px 0; font-size: 13px; line-height: 1.3; }
.tl-grid .tl-cap .card-name { font-weight: 700; } .tl-grid .card-price { white-space: nowrap; }
.tl-grid .card a { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
/* minimal */
.grid.tl-grid-minimal, .grid.tl-grid-editorial, .grid.tl-grid-bordered { border: 0; gap: 28px 16px; }
.tl-grid-minimal .card, .tl-grid-editorial .card { background: transparent; border: 0; }
.tl-grid-minimal .tl-cap { flex-direction: column; gap: 2px; }
.tl-grid-minimal .card-name { font-weight: 400 !important; text-transform: none; }
/* bordered + quick add */
.grid.tl-grid-bordered { gap: 14px; }
.tl-grid-bordered .card { border: 1px solid var(--rule); background: var(--bg-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.tl-grid-bordered .tl-cap { padding: 12px 12px 4px; flex-direction: column; gap: 4px; }
.tl-grid-bordered .tl-quick { padding: 8px 12px 12px; margin-top: auto; } .tl-grid-bordered .tl-quick .btn { width: 100%; }
/* photo swap + overlay text */
.grid.tl-grid-hover, .grid.tl-grid-image-only { border: 0; gap: 2px; }
.tl-grid-hover .card, .tl-grid-image-only .card { border: 0; background: var(--cell); }
.tl-over { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: space-between; gap: 8px; padding: 30px 12px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .72)); color: #fff; font: 800 12px/1.2 var(--display); text-transform: uppercase; opacity: 0; transition: opacity .2s ease; }
.tl-over.tl-only { left: 50%; right: auto; bottom: 50%; transform: translate(-50%, 50%); flex-direction: column; align-items: center; text-align: center; padding: 8px 12px; background: var(--bg); color: var(--text); }
.card a:hover .tl-over, .card a:focus-visible .tl-over { opacity: 1; }
@media (hover: none) { .tl-grid-hover .tl-over { opacity: 1; } }
/* editorial: large, captioned, numbered */
.grid.tl-grid-editorial { gap: 44px 22px; }
.tl-grid-editorial .card-media .ph-img, .tl-grid-editorial .card-media .ph { aspect-ratio: 1 / 1; }
.tl-ed { display: grid !important; grid-template-columns: auto 1fr auto; gap: 12px; padding-top: 14px; font-size: 15px; border-top: 1px solid var(--rule); margin-top: 12px; }
.tl-idx { color: var(--muted); font: 400 13px var(--display); }
.tl-grid-editorial .card-name { font-weight: 400 !important; text-transform: none; }
/* compact, dense */
.grid.tl-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tl-grid-compact .card { padding: 0; }
.tl-grid-compact .tl-cap { flex-direction: column; gap: 1px; padding: 6px 6px 8px; font-size: 11px; background: var(--bg); }
@media (min-width: 720px) {
  .home .grid.tl-grid-minimal:not([class*=" ted-d"]), .home .grid.tl-grid-editorial:not([class*=" ted-d"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.tl-grid-compact:not([class*=" ted-d"]) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1040px) { .grid.tl-grid-compact:not([class*=" ted-d"]) { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- catalog: top filter bar / endless grid ---------- */
.tl-listing { padding: 0 16px; }
.tl-pills { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; }
.tl-pills a { flex: 0 0 auto; border: 1px solid var(--rule); padding: 7px 14px; font: 800 11px var(--display); text-transform: uppercase; text-decoration: none; border-radius: var(--radius); }
.tl-pills a[aria-current] { background: var(--text); color: var(--bg); }
.tl-filterbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0; margin-bottom: 18px; }
.tl-filterbar summary { font: 800 12px var(--display); text-transform: uppercase; cursor: pointer; padding: 6px 0; }
.tl-filters-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-end; padding: 8px 0; }
.tl-filters-row fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tl-filters-row legend { float: left; margin-right: 10px; font-size: 11px; }
.tl-filters-row label select { min-width: 140px; }
.tl-listing-infinite .tl-listing-main .grid:not([class*=" ted-d"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) {
  .tl-listing { padding: 0 24px; }
  .tl-listing .grid:not([class*=" ted-d"]):not(.tl-grid-compact) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- product page: stacked / carousel + tabs ---------- */
.tl-pd-stacked .gallery { grid-template-columns: 1fr !important; }
.tl-pd-stacked .g-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tl-pd-carousel { display: block !important; }
.tl-carousel { overflow-x: auto; scroll-snap-type: x mandatory; border-bottom: 1px solid var(--rule); scrollbar-width: thin; }
.tl-car-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.tl-car-track li { flex: 0 0 86%; scroll-snap-align: start; background: var(--cell); }
.tl-car-track .ph-img { aspect-ratio: 1 / 1; width: 100%; object-fit: contain; display: block; }
.tl-pd-carousel .buy { position: static; max-width: 760px; margin: 0 auto; padding: 28px 20px; }
@media (min-width: 720px) { .tl-car-track li { flex-basis: 42%; } }
@media (min-width: 1200px) { .tl-car-track li { flex-basis: 31%; } }
.tl-tabs { display: flex; flex-wrap: wrap; margin: 20px 0; border-top: 1px solid var(--line); }
.tl-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tl-tabs > label { padding: 12px 14px 10px; font: 800 12px var(--display); text-transform: uppercase; cursor: pointer; border-bottom: 2px solid transparent; margin: 0; }
.tl-tabs > input:checked + label { border-bottom-color: var(--text); }
.tl-tabs > input:focus-visible + label { outline: 2px solid var(--green-ink); outline-offset: 2px; }
.tl-panel { display: none; width: 100%; padding: 14px 0; }
#tl-tab-1:checked ~ .tl-p1, #tl-tab-2:checked ~ .tl-p2, #tl-tab-3:checked ~ .tl-p3 { display: block; }

/* ---------- footers ---------- */
.tl-flinks { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.tl-flinks a, .tl-social a { color: var(--muted); text-decoration: none; font-size: 13px; padding: 4px 0; }
.tl-flinks a:hover, .tl-social a:hover { color: var(--text); text-decoration: underline; }
.tl-social { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.tl-contact a { color: inherit; }
.tl-fmeta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.tl-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 11px; color: var(--muted); padding-top: 16px; padding-bottom: 20px; }
.tl-fc { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-bottom: 30px; }
.tl-fc > img { width: 150px; height: auto; } .tl-fc .tl-flinks, .tl-fc .tl-social, .tl-fc .tl-fmeta { justify-content: center; }
.tl-bignews { padding: 72px 0 24px; } .tl-bignews h2 { font-size: clamp(52px, 11vw, 160px) !important; line-height: .85; }
.tl-foot-newsletter { padding-top: 0; } .tl-foot-centered { padding-top: 48px; } .tl-foot-wordmark { padding-top: 28px; }
.tl-fn, .tl-fw { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.tl-wordmark { font: 900 clamp(64px, 19vw, 330px)/.78 var(--display); letter-spacing: -.065em; text-transform: uppercase; text-align: center; margin: 18px 0 0; white-space: nowrap; overflow: hidden; }

/* ---------- type scale, spacing, button shapes ---------- */
body.tl-ty-compact { font-size: 14px; }
body.tl-ty-compact .block-head h2 { font-size: clamp(18px, 2.4vw, 24px); }
body.tl-ty-compact .tl-hero h1:not(.tl-giant) { font-size: clamp(34px, 6vw, 80px); }
body.tl-ty-large { font-size: 16px; }
body.tl-ty-large .block-head h2, body.tl-ty-large .ted-rich h2, body.tl-ty-large .story h2 { font-size: clamp(32px, 5vw, 60px); }
body.tl-ty-display .block-head h2 { font-size: clamp(38px, 6.5vw, 84px); letter-spacing: -.05em; line-height: .9; }
body.tl-ty-display .tl-hero h1 { font-size: clamp(60px, 13vw, 200px); }
body.tl-sp-tight .block { margin: 22px 0; } body.tl-sp-tight main { padding-bottom: 32px; }
body.tl-sp-airy .block { margin: 96px 0; } body.tl-sp-airy main { padding-bottom: 104px; }
body.tl-sp-airy .ted-rich, body.tl-sp-airy .story { text-align: center; } body.tl-sp-airy .ted-rich p, body.tl-sp-airy .story p { margin-left: auto; margin-right: auto; }
body.tl-btn-square .btn, body.tl-btn-square .tl-pills a { border-radius: 0; }
body.tl-btn-rounded .btn, body.tl-btn-rounded .tl-pills a { border-radius: 10px; }
body.tl-btn-pill .btn, body.tl-btn-pill .tl-pills a { border-radius: 999px; }
/* buttons on photo heroes with a dark overlay stay readable in every colour set */
.tl-tri-copy .btn, .tl-hv-copy .btn, .tl-hero-single.has-img .tl-single-copy .btn { color: #fff; border-color: #fff; background: transparent; }
.tl-tri-copy .btn.light, .tl-hv-copy .btn.light, .tl-hero-single.has-img .tl-single-copy .btn.light { background: #fff; color: #111; }
.tl-tri-copy .tag, .tl-hv-copy .tag, .tl-single-copy .tag { background: #fff; color: #111; }
body.tl-h-overlay.home .top { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 88%, transparent), color-mix(in srgb, var(--bg) 0%, transparent)); }
body.tl-ty-display .tl-col-copy h1, body.tl-ty-display .tl-hs-copy h1 { font-size: clamp(44px, 6.4vw, 112px); }
body.tl-h-overlay.home .tl-hero-statement, body.tl-h-overlay.home .tl-hero-collage .tl-col-copy, body.tl-h-overlay.home .tl-hero-split .tl-hs-copy { padding-top: 104px; }

/* wr: Workshop Rail grey tiles (full styling in wr.css, loaded with this card layout) */
.tl-c-tile .tl-grid-tile { row-gap: 1.5rem; }
.tl-pl-tabs .tl-listing-tabs { display: block; }
