/* ============================================================================
   TORQUE CARBON · tq.frame.css · the frame of tirqo.com's public pages
   Round F1-12, the frame's second pass (Farhad, 2026-10-17): Tirqo/Tirqo.Master
   draws it on every public page. Loads after tq.carbon.css and reads only its
   --tqc-* tokens. Every rule is a new name (tqc-beam, tqc-garage, tqc-dial,
   tqc-lines, tqc-finish), so the old frame's rules in tq.carbon.css (6, 7
   and 13) stay for the kit and no page body changes.
   ----------------------------------------------------------------------------
   THE BEAM      the header: the timing beam over the track. Clear over the
                 stage, glass once the page moves, and on its floor the lap:
                 one tick per section of the page and a short lit stretch of
                 the lane where you are, running only while the page moves.
                 Under 1024px it steps away while you read down and comes
                 back on the first move up, leaving its lap line at the top.
   THE GARAGE    the Product menu: the four parts as four garages on one lap
                 line, in the lap's order; they switch on one after another
                 as a light runs along the line.
   THE DIAL      the menu on a phone or a tablet: Tirqo's wheel stands at the
                 screen's edge and the destinations sit round it. A thumb
                 turns the wheel; it settles on a word with a click.
   THE FINISH    the footer: the finish line draws across as it comes up the
                 screen, then the map of Tirqo, and the wordmark drawn in
                 hairlines, lit where the pointer is.
   Every height stays Carbon's (--tqc-head-h: 76px, 64px under 768px): the
   pit lane's, the torque bay's and the price wall's scripts read it.
   ========================================================================= */


/* ── 0 · THE FRAME'S OWN ───────────────────────────────────────────────── */

@property --tqc-mx { syntax: "<length-percentage>"; inherits: true; initial-value: 50%; }
@property --tqc-my { syntax: "<length-percentage>"; inherits: true; initial-value: 42%; }

/* on a phone with a notch, the band above the sticky beam, in its ground */
body.tqc::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: calc(var(--tq-z-header) + 2);
  block-size: env(safe-area-inset-top, 0px);
  background: var(--tqc-ground);
  pointer-events: none;
}

/* F1-12b: the ring is the keyboard's. After a touch or a click (tq.frame.js
   marks <html> with tqc-pointer) the frame shows none: iPhone Safari drew it
   on the dial's chosen word, which the dial focuses for the keyboard. The
   first key pressed brings it back. */
html.tqc-pointer .tqc-beam :focus-visible,
html.tqc-pointer .tqc-dial :focus-visible,
html.tqc-pointer .tqc-finish :focus-visible { box-shadow: none; }


/* ── 1 · THE BEAM ──────────────────────────────────────────────────────── */

.tqc-beam {
  position: sticky;
  inset-block-start: env(safe-area-inset-top, 0px);
  z-index: var(--tq-z-header);
  container: tqc-beam / inline-size;
  transition: transform var(--tq-d-slow) var(--tq-ease-out);
}
/* the glass: only once the page moves, so over the stage nothing is blurred */
.tqc-beam::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--tqc-veil);
  opacity: 0;
  transition: opacity var(--tq-d-slow) var(--tq-ease);
}
.tqc-beam.is-stuck::before,
.tqc-beam.is-open::before {
  opacity: 1;
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}
/* stepped away: only the lap line stays, at the top of the screen */
.tqc-beam.is-away { transform: translateY(calc(-100% + 2px)); }

.tqc-beam__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  block-size: var(--tqc-head-h);
}
.tqc-beam__nav { display: flex; }
.tqc-beam__list { display: flex; align-items: center; gap: 2px; margin: 0; }
.tqc-beam__list > li { display: flex; }
.tqc-beam__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  block-size: 40px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: var(--tqc-r-press);
  background: transparent;
  color: var(--tqc-ink-4);
  font-family: var(--tqc-font);
  font-size: 15px;
  font-weight: var(--tq-fw-medium);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--tq-d-fast) var(--tq-ease), background-color var(--tq-d-fast) var(--tq-ease);
}
.tqc-beam__link .tqc-i { inline-size: 14px; block-size: 14px; stroke-width: 2; transition: transform var(--tq-d-base) var(--tq-ease-out); }
/* a link's lane: it runs under the words on hover, and rests under the page you are on */
a.tqc-beam__link::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  inset-block-end: 3px;
  block-size: 2px;
  background: var(--tqc-lane);
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--tq-d-slow) var(--tq-ease-out);
  pointer-events: none;
}
@media (hover: hover) {
  .tqc-beam__link:hover { color: var(--tqc-ink-1); }
  a.tqc-beam__link:hover::after { clip-path: inset(0); }
}
a.tqc-beam__link:focus-visible::after,
a.tqc-beam__link[aria-current]::after { clip-path: inset(0); }
.tqc-beam__link[aria-current] { color: var(--tqc-ink-1); }
.tqc-beam__link[aria-expanded="true"] { color: var(--tqc-ink-1); background: var(--tqc-fill-2); }
.tqc-beam__link[aria-expanded="true"] .tqc-i { transform: rotate(180deg); }

.tqc-beam__end { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }

/* THE LAP: the page's sections as ticks on the beam's floor; the lane runs
   along it as the page scrolls (in CSS where the browser can, else one
   frame per scroll), and stops when the scroll stops */
.tqc-beam__lap {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 8px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tq-d-slow) var(--tq-ease);
}
.tqc-beam.is-stuck .tqc-beam__lap { opacity: 1; }
.tqc-beam.is-open .tqc-beam__lap { opacity: 0; }
.tqc-beam__lap::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 1px;
  background: var(--tqc-line-2);
}
/* the run: what is behind you in alloy, and at its head a short stretch of
   the lane, lit, where you are */
.tqc-beam__run {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 2px;
  transform: translateX(-100%);
  will-change: transform;
}
.tqc-beam__run::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 1px;
  background: var(--tqc-line-4);
}
.tqc-beam__run::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: 0;
  inline-size: 46px;
  block-size: 2px;
  background: var(--tqc-lane);
  box-shadow: 0 0 12px rgb(var(--tqc-lit-rgb) / .55);
}
@supports (animation-timeline: scroll()) {
  .tqc-beam__run { animation: tqc-beam-lap linear both; animation-timeline: scroll(root block); }
}
@keyframes tqc-beam-lap { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.tqc-beam__tick {
  position: absolute;
  inset-block-end: 0;
  inline-size: 1px;
  block-size: 5px;
  background: var(--tqc-line-4);
  transition: background-color var(--tq-d-base) var(--tq-ease), block-size var(--tq-d-base) var(--tq-ease-out);
}
.tqc-beam__tick.is-past { background: var(--tqc-ink-4); }
.tqc-beam__tick.is-here { block-size: 8px; background: var(--tqc-ink-1); }

/* THE MENU BUTTON: two lines, the lower one the lane's dashes. Open, they
   cross; while they turn the dashes run, and stop when they stop. */
.tqc-beam__menu,
.tqc-dial__close {
  display: none;
  align-items: center;
  justify-content: center;
  flex: none;
  inline-size: 44px;
  block-size: 44px;
  margin: 0 -8px 0 0;
  padding: 0;
  border: 0;
  border-radius: var(--tqc-r-press);
  background: transparent;
  color: var(--tqc-ink-1);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--tq-d-fast) var(--tq-ease);
}
.tqc-dial__close { display: inline-flex; }
@media (hover: hover) { .tqc-beam__menu:hover, .tqc-dial__close:hover { background: var(--tqc-fill-2); } }
.tqc-beam__menu:active, .tqc-dial__close:active { background: var(--tqc-fill-3); }

.tqc-lines { position: relative; display: block; inline-size: 22px; block-size: 12px; }
.tqc-lines i {
  position: absolute;
  inset-inline: 0;
  block-size: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform var(--tq-d-slow) var(--tq-ease-out), background-position var(--tq-d-slow) linear;
}
.tqc-lines i:first-child { inset-block-start: 0; }
.tqc-lines i:last-child {
  inset-block-end: 0;
  border-radius: 0;
  background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 9px);
  background-size: 18px 2px;
}
.tqc-lines.is-x i:first-child { transform: translateY(5px) rotate(45deg); }
.tqc-lines.is-x i:last-child  { transform: translateY(-5px) rotate(-45deg); background-position: 36px 0; }

@container tqc-beam (max-width: 1023px) {
  .tqc-beam__nav, .tqc-beam__in { display: none; }
  .tqc-beam__menu { display: inline-flex; }
  .tqc-beam__end .tqc-btn { --tqc-btn-h: 44px; }
  .tqc-garage { display: none; }
}
@container tqc-beam (max-width: 767px) {
  .tqc-beam__bar { block-size: 64px; gap: 12px; }
  .tqc-beam__bar .tqc-brand__logo { block-size: 30px; }
}
@container tqc-beam (max-width: 359px) {
  .tqc-beam__bar { gap: 8px; }
  .tqc-beam__bar .tqc-brand__logo { block-size: 26px; }
  .tqc-beam__end .tqc-btn { --tqc-btn-px: 12px; }
}


/* ── 2 · THE GARAGE: the Product menu ──────────────────────────────────── */

.tqc-garage {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 100%;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--tq-d-base) var(--tq-ease), transform var(--tq-d-base) var(--tq-ease-out), visibility 0s linear var(--tq-d-base);
}
.tqc-garage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--tqc-glass-hi);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  backdrop-filter: blur(28px) saturate(140%);
  box-shadow: inset 0 1px 0 var(--tqc-line-1), inset 0 -1px 0 var(--tqc-line-1), 0 40px 80px -30px rgb(var(--tq-black-rgb) / .9);
}
.tqc-garage.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity var(--tq-d-base) var(--tq-ease), transform var(--tq-d-base) var(--tq-ease-out), visibility 0s;
}

.tqc-garage__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px 14px;
}
.tqc-garage__label { margin: 0; color: var(--tqc-ink-5); font-size: 13px; font-weight: var(--tq-fw-medium); line-height: 1.2; }
.tqc-garage__note  { margin: 0; color: var(--tqc-ink-5); font-size: 12.5px; line-height: 1.2; }

.tqc-garage__lap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.tqc-garage__bay { display: flex; min-inline-size: 0; }
.tqc-garage__box {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  inline-size: 100%;
  min-inline-size: 0;
  padding: 24px 16px 20px;
  border-radius: var(--tqc-r-md);
  color: inherit;
  text-decoration: none;
  transition: background-color var(--tq-d-fast) var(--tq-ease);
}
/* each garage's stretch of the lap line: a hairline, lit when it is chosen */
.tqc-garage__lane {
  position: absolute;
  inset-inline: 16px;
  inset-block-start: 0;
  block-size: 2px;
  overflow: hidden;
  background: var(--tqc-line-2);
}
.tqc-garage__lane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tqc-lane);
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--tq-d-slow) var(--tq-ease-out);
}
/* the light that runs along the line as the garage opens */
.tqc-garage__lane::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgb(var(--tqc-lit-rgb) / .95) 70%, var(--tqc-ink-1));
  transform: translateX(-101%);
}
.tqc-garage__read {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  min-block-size: 20px;
  color: var(--tqc-ink-4);
  font-family: var(--tqc-read);
  font-size: 15px;
  font-weight: var(--tq-fw-semibold);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: .01em;
  line-height: 1.2;
}
.tqc-garage__read b { color: var(--tqc-ink-1); font-weight: var(--tq-fw-bold); }
.tqc-garage__no { min-inline-size: 20px; color: var(--tqc-ink-5); }
/* the dot rests in alloy; the garage you are at is live */
.tqc-garage__read .tqc-dot { background: var(--tqc-ink-5); box-shadow: none; transition: background-color var(--tq-d-fast) var(--tq-ease), box-shadow var(--tq-d-fast) var(--tq-ease); }
.tqc-garage__read .tqc-dot::after { animation: none; }
.tqc-garage__name {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--tqc-ink-1);
  font-size: 17px;
  font-weight: var(--tq-fw-semibold);
  line-height: 1.25;
}
.tqc-garage__icon {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 36px;
  block-size: 36px;
  border-radius: var(--tqc-r-sm);
  background: var(--tqc-fill-2);
  box-shadow: inset 0 0 0 1px var(--tqc-line-2), var(--tqc-rim);
  color: var(--tqc-ink-2);
  transition: background-color var(--tq-d-fast) var(--tq-ease), color var(--tq-d-fast) var(--tq-ease);
}
.tqc-garage__line { color: var(--tqc-ink-4); font-size: 14px; line-height: 1.45; text-wrap: pretty; }

@media (hover: hover) {
  .tqc-garage__box:hover { background: var(--tqc-fill-1); }
  .tqc-garage__box:hover .tqc-garage__lane::after { clip-path: inset(0); }
  .tqc-garage__box:hover .tqc-garage__icon { background: var(--tqc-fill-3); color: var(--tqc-ink-1); }
  .tqc-garage__box:hover .tqc-dot { background: var(--tqc-lit); box-shadow: 0 0 10px rgb(var(--tqc-lit-rgb) / .7); }
  .tqc-garage__box:hover .tqc-dot::after { animation: tqc-breath var(--tqc-d-breath) var(--tq-ease-out) infinite; }
}
.tqc-garage__box:focus-visible .tqc-garage__lane::after { clip-path: inset(0); }
.tqc-garage__box:focus-visible .tqc-dot { background: var(--tqc-lit); }

/* the wall under the lap: the rest of Tirqo, and the wheel */
.tqc-garage__wall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  margin-block-start: 18px;
  padding-block: 14px 18px;
  box-shadow: inset 0 1px 0 var(--tqc-line-1);
}
.tqc-garage__more { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 22px; margin: 0; }
.tqc-garage__more .tqc-garage__label { margin-inline-end: 4px; }
.tqc-garage__more a {
  display: inline-block;
  padding-block: 9px;
  color: var(--tqc-ink-3);
  font-size: 15px;
  font-weight: var(--tq-fw-medium);
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--tqc-r-xs);
  transition: color var(--tq-d-fast) var(--tq-ease);
}
@media (hover: hover) { .tqc-garage__more a:hover { color: var(--tqc-ink-1); } }
.tqc-garage__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  min-inline-size: 0;
  padding: 4px 4px 4px 0;
  border-radius: var(--tqc-r-md);
  color: inherit;
  text-decoration: none;
}
.tqc-garage__feature img {
  flex: none;
  inline-size: 52px;
  block-size: auto;
  transition: transform var(--tq-d-slower) var(--tq-ease-out);
}
.tqc-garage__feature span { display: grid; gap: 2px; }
.tqc-garage__feature b { color: var(--tqc-ink-1); font-size: 14px; font-weight: var(--tq-fw-semibold); line-height: 1.3; }
.tqc-garage__feature small { color: var(--tqc-ink-4); font-size: 13px; line-height: 1.35; }
@media (hover: hover) { .tqc-garage__feature:hover img { transform: rotate(-30deg); } }

/* the garage opening: a light runs along the line and each garage switches
   on as it passes (Torque's base and slower steps) */
.tqc-garage.is-open .tqc-garage__lane::before { animation: tqc-garage-pass 520ms var(--tq-ease) both; animation-delay: calc(60ms + var(--i, 0) * 95ms); }
.tqc-garage.is-open .tqc-garage__bay { animation: tqc-garage-on var(--tq-d-slower) var(--tq-ease-out) both; animation-delay: calc(90ms + var(--i, 0) * 95ms); }
.tqc-garage.is-open .tqc-garage__feature img { animation: tqc-garage-roll 900ms var(--tq-ease-out) both 160ms; }
@keyframes tqc-garage-pass { from { transform: translateX(-101%); } to { transform: translateX(101%); } }
@keyframes tqc-garage-on   { from { opacity: 0; transform: translateY(8px); } }
@keyframes tqc-garage-roll { from { opacity: 0; transform: translateX(34px) rotate(75deg); } }

@container tqc-beam (max-width: 1199px) {
  .tqc-garage__feature small { display: none; }
}


/* ── 3 · THE DIAL: the menu on a phone or a tablet ─────────────────────── */

.tqc-dial {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: none;
  block-size: 100%;
  max-block-size: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  color: var(--tqc-ink-3);
  font-family: var(--tqc-font);
}
.tqc-dial[open], .tqc-dial--box { display: flex; flex-direction: column; }
.tqc-dial::backdrop { background: rgb(var(--tq-black-rgb) / .72); }
.tqc-dial--box { position: absolute; inset: 0; }
html.tqc-locked { overflow: hidden; }

/* the ground and the room: the sign-in's bay, faint, its spot on the wheel */
.tqc-dial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tqc-ground);
  opacity: 0;
  transition: opacity 260ms var(--tq-ease);
}
.tqc-dial.is-on::before { opacity: 1; }
.tqc-dial__room {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms var(--tq-ease) 120ms;
}
.tqc-dial__room img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: none;
  object-fit: cover;
  object-position: 74% 42%;
}
.tqc-dial__room::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--tqc-ground) 0%, var(--tqc-ground) 24%, color-mix(in srgb, var(--tqc-ground) 86%, transparent) 46%, color-mix(in srgb, var(--tqc-ground) 0%, transparent) 82%),
    linear-gradient(180deg, color-mix(in srgb, var(--tqc-ground) 0%, transparent) 58%, var(--tqc-ground) 100%);
}
.tqc-dial.is-on .tqc-dial__room { opacity: .44; }

.tqc-dial__bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  box-sizing: content-box;
  block-size: 64px;
  padding-inline: var(--tqc-gutter);
  padding-block-start: env(safe-area-inset-top, 0px);
  opacity: 0;
  transition: opacity 220ms var(--tq-ease) 40ms;
}
.tqc-dial.is-on .tqc-dial__bar { opacity: 1; }
.tqc-dial__bar .tqc-brand__logo { block-size: 30px; }

.tqc-dial__stage {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-block-size: 0;
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
}
.tqc-dial.is-turning .tqc-dial__stage { cursor: grabbing; }

/* the wheel: Tirqo's own, the menu's picture, with a sidewall gauge round it */
.tqc-dial__wheel {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  pointer-events: none;
}
.tqc-dial__spin { position: absolute; inset: 0; will-change: transform; }
.tqc-dial__tire {
  position: absolute;
  inset: 3.5%;
  inline-size: 93%;
  block-size: 93%;
  max-inline-size: none;
}
.tqc-dial__ring { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; overflow: visible; }
.tqc-dial__track { fill: none; stroke: var(--tqc-line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tqc-dial__ticks { fill: none; stroke: var(--tqc-line-4); stroke-width: 1.25; stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* the ember: light on the wheel's side that faces the words */
.tqc-dial__ember {
  position: absolute;
  inset: -18% 30% -18% -42%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--tqc-signal-rgb) / .2), rgb(var(--tqc-signal-rgb) / .06) 55%, rgb(var(--tqc-signal-rgb) / 0) 78%);
  opacity: 0;
  transition: opacity 1200ms var(--tq-ease) 200ms;
}
.tqc-dial.is-on .tqc-dial__ember { opacity: 1; }

/* the marker at nine o'clock: a short lane pointing at the chosen word, and
   the notch that flashes as the wheel clicks into place */
.tqc-dial__marker {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  inline-size: 24px;
  block-size: 2px;
  background: var(--tqc-lane);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tq-d-base) var(--tq-ease);
}
.tqc-dial.is-on:not(.is-in) .tqc-dial__marker { opacity: 1; }
.tqc-dial__marker::after {
  content: "";
  position: absolute;
  inset-inline-end: -9px;
  inset-block-start: -7px;
  inline-size: 3px;
  block-size: 16px;
  border-radius: 2px;
  background: var(--tqc-ink-4);
  transition: background-color 160ms var(--tq-ease), box-shadow 160ms var(--tq-ease);
}
.tqc-dial__marker.is-click::after { background: var(--tqc-lit); box-shadow: 0 0 14px rgb(var(--tqc-lit-rgb) / .9); transition: none; }

/* the words round the wheel: placed by the script, upright, on an arc */
.tqc-dial__list { position: absolute; inset: 0; margin: 0; }
.tqc-dial__item,
.tqc-dial__cap {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  transform-origin: 0 0;
  will-change: transform, opacity;
}
.tqc-dial__cap {
  color: var(--tqc-ink-5);
  font-size: clamp(13px, calc(var(--tqc-dial-fs, 28px) * .42), 20px);
  font-weight: var(--tq-fw-medium);
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
.tqc-dial__link {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 5px;
  padding: 8px 14px 8px 0;
  color: var(--tqc-ink-4);
  text-decoration: none;
  border-radius: var(--tqc-r-xs);
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
.tqc-dial__no {
  display: flex;
  align-items: center;
  gap: 8px;
  min-block-size: 14px;
  color: var(--tqc-ink-5);
  font-family: var(--tqc-read);
  font-size: clamp(13px, calc(var(--tqc-dial-fs, 28px) * .4), 19px);
  font-weight: var(--tq-fw-semibold);
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
  line-height: 1;
}
.tqc-dial__name {
  font-size: var(--tqc-dial-fs, 28px);
  font-weight: var(--tq-fw-semibold);
  letter-spacing: -.022em;
  line-height: 1.02;
  white-space: nowrap;
  transition: color 160ms var(--tq-ease);
}
/* the chosen word's read-out, under it (out of the word's box, so the
   word never moves when it shows) */
.tqc-dial__read {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block-start: -2px;
  color: var(--tqc-ink-4);
  font-family: var(--tqc-read);
  font-size: clamp(15px, calc(var(--tqc-dial-fs, 28px) * .5), 24px);
  font-weight: var(--tq-fw-semibold);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms var(--tq-ease), transform 220ms var(--tq-ease-out);
  pointer-events: none;
}
.tqc-dial__read b { color: var(--tqc-ink-1); font-weight: var(--tq-fw-bold); }
.tqc-dial__read .tqc-dot::after { animation: none; }
.tqc-dial__item.is-armed .tqc-dial__name { color: var(--tqc-ink-1); }
.tqc-dial__item.is-armed .tqc-dial__read { opacity: 1; transform: none; }
.tqc-dial__item.is-armed .tqc-dial__read .tqc-dot::after { animation: tqc-breath var(--tqc-d-breath) var(--tq-ease-out) infinite; }
/* where you are: a live dot and the word Here, in the signal's light */
.tqc-dial__item.is-here .tqc-dial__no { color: var(--tqc-lit); }
.tqc-dial__item.is-here .tqc-dial__no::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--tqc-lit); box-shadow: 0 0 10px rgb(var(--tqc-lit-rgb) / .7); }
.tqc-dial__item.is-here .tqc-dial__no::after { content: "Here"; }
.tqc-dial__link:focus-visible { box-shadow: var(--tq-ring); }

/* the two ways in, at the bottom, where the thumb is */
.tqc-dial__end {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 10px;
  flex: none;
  padding: 14px var(--tqc-gutter) max(16px, env(safe-area-inset-bottom, 0px));
  box-shadow: inset 0 1px 0 var(--tqc-line-1);
  background: var(--tqc-ground);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 320ms var(--tq-ease) 160ms, transform 520ms var(--tq-ease-out) 160ms;
}
.tqc-dial.is-on .tqc-dial__end { opacity: 1; transform: none; }
.tqc-dial__end .tqc-btn { flex: 1 1 0; min-inline-size: 0; }

/* a short screen (a phone on its side): the wheel steps back, the words
   become a plain list in two columns */
.tqc-dial.is-list .tqc-dial__wheel,
.tqc-dial.is-list .tqc-dial__marker { display: none; }
.tqc-dial.is-list .tqc-dial__stage { overflow-y: auto; touch-action: auto; cursor: auto; overscroll-behavior: contain; }
.tqc-dial.is-list .tqc-dial__list {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  padding: 4px var(--tqc-gutter) 16px;
}
.tqc-dial.is-list .tqc-dial__item,
.tqc-dial.is-list .tqc-dial__cap { position: static; transform: none !important; opacity: 1 !important; pointer-events: auto; will-change: auto; }
.tqc-dial.is-list .tqc-dial__cap { grid-column: 1 / -1; padding-block: 14px 4px; }
.tqc-dial.is-list .tqc-dial__name { font-size: 21px; color: var(--tqc-ink-1); }
.tqc-dial.is-list .tqc-dial__read { display: none; }
.tqc-dial.is-list .tqc-dial__link { min-block-size: 44px; padding-block: 6px; }

/* reduced motion: the wheel and the words are simply there */
@media (prefers-reduced-motion: reduce) {
  .tqc-dial::before, .tqc-dial__room, .tqc-dial__bar, .tqc-dial__end, .tqc-dial__ember, .tqc-dial__marker,
  .tqc-dial__read, .tqc-dial__name, .tqc-lines i, .tqc-beam, .tqc-beam__lap, .tqc-garage, .tqc-garage__lane::after,
  a.tqc-beam__link::after { transition: none; }
  .tqc-dial__end { transform: none; }
  .tqc-garage.is-open .tqc-garage__lane::before,
  .tqc-garage.is-open .tqc-garage__bay,
  .tqc-garage.is-open .tqc-garage__feature img,
  .tqc-dial__item.is-armed .tqc-dial__read .tqc-dot::after { animation: none; }
  .tqc-beam__run { animation: none; }
  .tqc-beam.is-away { transform: none; }
}


/* ── 4 · THE FINISH: the footer ────────────────────────────────────────── */

.tqc-finish {
  position: relative;
  overflow: hidden;
  background: var(--tqc-ground);
  color: var(--tqc-ink-4);
  font-size: var(--tqc-fs-small);
  container: tqc-finish / inline-size;
  view-timeline: --tqc-finish block;
}
/* the finish line: drawn across as the footer comes up the screen */
.tqc-finish__line { position: relative; block-size: 2px; overflow: hidden; background: var(--tqc-line-1); }
.tqc-finish__run { position: absolute; inset: 0; background: var(--tqc-lane); }
@supports (animation-timeline: view()) {
  .tqc-finish__run { animation: tqc-finish-draw linear both; animation-timeline: --tqc-finish; animation-range: entry 0% entry 70%; }
}
@keyframes tqc-finish-draw { from { transform: translateX(-100%); } to { transform: translateX(0); } }

.tqc-finish__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: 40px var(--tqc-gap);
  padding-block: 72px 56px;
}
.tqc-finish__brand { display: grid; align-content: start; justify-items: start; gap: 18px; }
.tqc-finish__brand img { block-size: 34px; inline-size: auto; }
.tqc-finish__brand p { margin: 0; max-inline-size: 24em; color: var(--tqc-ink-4); line-height: 1.55; }
.tqc-finish__col { display: grid; align-content: start; gap: 2px; }
.tqc-finish__col h2 { margin: 0 0 10px; color: var(--tqc-ink-2); font-size: 14px; font-weight: var(--tq-fw-semibold); line-height: 1.3; }
.tqc-finish__col a {
  position: relative;
  justify-self: start;
  padding-block: 5px;
  color: var(--tqc-ink-4);
  line-height: 1.4;
  text-decoration: none;
  border-radius: var(--tqc-r-xs);
  transition: color var(--tq-d-fast) var(--tq-ease);
}
.tqc-finish__col a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 1px;
  block-size: 2px;
  background: var(--tqc-lane);
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--tq-d-slow) var(--tq-ease-out);
}
@media (hover: hover) {
  .tqc-finish__col a:hover { color: var(--tqc-ink-1); }
  .tqc-finish__col a:hover::after { clip-path: inset(0); }
}
.tqc-finish__col a:focus-visible::after { clip-path: inset(0); }

.tqc-finish__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px;
  box-shadow: inset 0 1px 0 var(--tqc-line-1);
  color: var(--tqc-ink-5);
  font-size: 13.5px;
}
.tqc-finish__base p { margin: 0; }
.tqc-finish__end { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.tqc-finish__base a { color: var(--tqc-ink-4); text-decoration: none; border-radius: var(--tqc-r-xs); transition: color var(--tq-d-fast) var(--tq-ease); }
@media (hover: hover) { .tqc-finish__base a:hover { color: var(--tqc-ink-1); } }

/* the wordmark: drawn in hairlines, never filled, its foot in the floor;
   the light follows the pointer (on a phone, the scroll) */
.tqc-finish__mark {
  position: relative;
  box-sizing: border-box;
  max-inline-size: calc(var(--tqc-wrap) + 2 * var(--tqc-gutter));
  margin-inline: auto;
  margin-block: 8px -7%;
  padding-inline: var(--tqc-gutter);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 88%);
  transition: --tqc-mx 700ms var(--tq-ease-out), --tqc-my 700ms var(--tq-ease-out);
}
.tqc-finish__word {
  display: block;
  inline-size: 100%;
  block-size: auto;
  max-inline-size: none;
  overflow: visible;
  fill: none;
  stroke: var(--tqc-line-3);
  stroke-width: 1;
}
.tqc-finish__word path { vector-effect: non-scaling-stroke; }
.tqc-finish__word--lit {
  position: absolute;
  inset-block-start: 0;
  inset-inline: var(--tqc-gutter);
  inline-size: calc(100% - 2 * var(--tqc-gutter));
  stroke: var(--tqc-lit);
  stroke-width: 1.5;
  -webkit-mask-image: radial-gradient(circle min(26vw, 320px) at var(--tqc-mx) var(--tqc-my), #000 0%, rgb(0 0 0 / .45) 40%, transparent 72%);
  mask-image: radial-gradient(circle min(26vw, 320px) at var(--tqc-mx) var(--tqc-my), #000 0%, rgb(0 0 0 / .45) 40%, transparent 72%);
}
@supports (animation-timeline: view()) {
  @media (hover: none) {
    .tqc-finish__mark { animation: tqc-finish-sweep linear both; animation-timeline: --tqc-finish; animation-range: entry 30% exit 0%; }
  }
}
@keyframes tqc-finish-sweep { from { --tqc-mx: 12%; } to { --tqc-mx: 88%; } }

@container tqc-finish (max-width: 899px) {
  .tqc-finish__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tqc-finish__brand { grid-column: 1 / -1; }
}
@container tqc-finish (max-width: 519px) {
  .tqc-finish__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-block: 56px 40px; }
  .tqc-finish__col a { padding-block: 11px; }                 /* a thumb's target */
  .tqc-finish__base a { display: inline-block; padding-block: 11px; }
  .tqc-finish__mark { margin-block-start: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tqc-finish__run, .tqc-finish__mark { animation: none; }
  .tqc-finish__mark { transition: none; }
  .tqc-finish__col a::after { transition: none; }
}

@media (forced-colors: active) {
  .tqc-beam__lap, .tqc-dial__room, .tqc-dial__ember, .tqc-finish__mark { display: none; }
  .tqc-garage__box { outline: 1px solid CanvasText; outline-offset: -1px; }
  .tqc-lines i:last-child { background: CanvasText; }
}

@media print {
  .tqc-beam, .tqc-dial, .tqc-finish__mark, .tqc-finish__line { display: none !important; }
}
