/*===============================================*\
|| TerraLoc landing                               ||
|| ---------------------------------------------- ||
|| Built to scripts/terraloc-landing-responsive    ||
|| .html. Tokens only: the mockup's palette is in  ||
|| shared/design/tokens.php now, so the colours    ||
|| here are named, not repeated.                   ||
\*===============================================*/

/*
 * Every rule is scoped to a .tl-land-* section, so the landing cannot leak into
 * an app page and an app page's stylesheet cannot reach in here either.
 *
 * The dark bands do NOT use data-bs-theme="dark" to get their colours, which
 * an earlier pass tried: that flips --tl-paper to near-black, and the hero's
 * own headline, float cards and ghost button went with it. They paint
 * --tl-night themselves and take their ink from --tl-night-*, which is the one
 * group of tokens that reads the same in both palettes.
 */

/* ------------------------------------------------------- the fixed palette --
 * THE LANDING DOES NOT FOLLOW THE SITE THEME, AND THAT IS DELIBERATE.
 *
 * Every other page is themeable: [data-bs-theme=dark] flips --tl-paper to
 * #15150F, --tl-ink to near-white, and the app reads correctly either way.
 * The landing is not an app page, it is one fixed composition, and the mockup
 * alternates paper and night section by section on purpose. Under the site's
 * dark theme every paper section rendered night, the whole page came out dark
 * top to bottom, and the closing headline was near-black text on near-black
 * ground: invisible, with only the orange word in the middle of it showing.
 *
 * So the sections re-declare the light values for themselves. Only the tokens
 * that actually differ between the two palettes are listed; --tl-night-*,
 * --tl-sage and the radii are identical in both and are left alone. The dark
 * sections then build on --tl-night-* as they always did, and --tl-paper
 * finally means the same thing inside them as it does in the mockup.
 */
.tl-land-hero,
.tl-land-ticker,
.tl-land-sec,
.tl-land-finale,
/* The header is not inside any of them, and it needs the pin just as much:
   the landing bar's rules ask for --tl-paper for the brand, the nav hover and
   the account button, and under the site's dark theme that token is #15150F.
   The hover took the links to near-black over the hero, and the account
   button was a black box with black text on it. */
body:has(.tl-land-hero) .tl-appbar {
  --tl-paper:        #F3F2EC;
  --tl-paper-deep:   #E9E7DD;
  --tl-panel:        #FAF9F4;
  --tl-white:        #FFFFFF;
  --tl-ink:          #23281F;
  --tl-muted:        #5C6253;
  --tl-dim:          #8B8F80;
  --tl-hairline:     #DFDCCB;
  --tl-accent:       #46603C;
  --tl-accent-ink:   #F3F2EC;
  --tl-accent-hover: #2E4228;
  --tl-accent-dim:   #C3CDB8;
  --tl-cta:          #C86B3F;
  --tl-cta-ink:      #F3F2EC;
  --tl-cta-hover:    #A8512E;
  --tl-live:         #C86B3F;
  --tl-live-bg:      #F4E2D6;

  /* Local to the landing: the planner's ground, a half step down from paper
     and not dark enough to be --tl-paper-deep. */
  --tl-paper-tint:   #EFEDE2;

  /* The planner's profile, surface bar and map labels, and the race card's
     climb. Day values, pinned like the rest: under the dark face these flip,
     and the section they sit on does not. */
  --tl-accent-2:     #7A8F6A;
  --tl-climb:        #C07818;
  --tl-descend:      #2074B0;
  --tl-level:        #90968C;
  --tl-contour:      #C6A67A;
  --tl-water-edge:   #4D7EA8;

  /*
   * The rest of the mockup's palette, named. These are the in-between tones
   * the composition uses and the theme has no token for: two more steps on
   * the night ramp, the faint figure grey on paper, and the tints the split
   * bar and the follower avatars are drawn in. They were loose hex literals
   * scattered through the file, which is exactly what this stylesheet's own
   * header says it does not do.
   */
  --tl-night-muted:  #8B937D;   /* secondary text on night ground */
  --tl-night-faint:  #55604A;   /* the quietest thing on night ground */
  --tl-night-ring:   #3A4630;   /* the compass's outer ring */
  --tl-night-edge:   #4A5540;   /* outlined controls on night ground */
  --tl-ink-faint:    #B4AF9C;   /* a figure that is present but not the point */
  --tl-rule-strong:  #C9C5B2;   /* a rule that has to read against paper */
  --tl-split-idle:   #E3E0D0;   /* the untimed middle of the split bar */
  --tl-face-b:       #7A8A6B;   /* follower avatars, second and third */
  --tl-face-c:       #C0A98E;

  /* The summit photo is a gradient, not a file: the landing must not ship a
     400 KB summit shot to make a point about photos being pinned to a log. */
  --tl-shot: linear-gradient(165deg, #DCE3D4 0%, #A9BBA0 40%, #5C6E52 78%, #3B4A34 100%);

  --tl-accent-rgb:   70, 96, 60;
  --tl-ink-rgb:      35, 40, 31;
  --tl-paper-rgb:    243, 242, 236;

  /*
   * The Bootstrap bridge has to be re-declared here, not just the --tl-*
   * tokens above it.
   *
   * A custom property is substituted where it is DECLARED, not where it is
   * used: the theme sets --bs-heading-color: var(--tl-ink) on the <html>
   * element, so under the dark theme it had already resolved to the near-white
   * ink and inherited down as that literal colour. Re-pinning --tl-ink on the
   * section changed nothing, and every section heading came out pale grey on
   * cream, all but unreadable.
   */
  --bs-body-color:      var(--tl-ink);
  --bs-body-color-rgb:  var(--tl-ink-rgb);
  --bs-heading-color:   var(--tl-ink);
  --bs-emphasis-color:  var(--tl-ink);
  --bs-secondary-color: var(--tl-muted);
  --bs-secondary-bg:    var(--tl-paper-deep);
  --bs-tertiary-color:  var(--tl-dim);
  --bs-tertiary-bg:     var(--tl-panel);
  --bs-border-color:    var(--tl-hairline);
  --bs-border-color-translucent: rgba(var(--tl-ink-rgb), 0.1);
  --bs-link-color:      var(--tl-accent);
  --bs-link-color-rgb:  var(--tl-accent-rgb);
  --bs-link-hover-color: var(--tl-accent-hover);
}

/*
 * Each section paints its own ground. It has to: the body underneath belongs
 * to the site, which may be in dark mode, and a section that only sets tokens
 * without a background inherits that ground and reads as night with light
 * cards floating on it.
 */
.tl-land-ticker,
.tl-land-sec {
  background: var(--tl-paper);
  color: var(--tl-ink);
}

/* The planner sits on a slightly warmer paper than its neighbours, which is
   what separates it from the totals above and the clubs below. */
.tl-land-sec--tint { background: var(--tl-paper-tint); }

/* The three sections the mockup sets on night ground. They inherit the pin
   above, so --tl-paper is the light paper they need for their own ink. */
.tl-land-hero,
.tl-land-finale,
.tl-land-sec--night {
  background: var(--tl-night);
  color: var(--tl-night-ink);
}

/* The night sections inherit the light --bs-heading-color from the pin, so
   they name their own or their headings come out near-black on near-black. */
.tl-land-hero,
.tl-land-finale,
.tl-land-sec--night { --bs-heading-color: var(--tl-paper); }

.tl-land-sec--night .tl-land-h2 { color: var(--tl-paper); }
.tl-land-sec--night .tl-land-eyebrow { color: var(--tl-sage); }
.tl-land-sec--night .tl-land-eyebrow::before { background: var(--tl-sage); }

/*
 * The mono face, once.
 *
 * The blocks carry class="mono" in twenty places, copied across from the
 * mockup, and nothing here ever defined it: the class was inert and every
 * element that needed the face repeated font-family: var(--tl-font-mono) in
 * its own rule. Anything the mockup marked mono and no rule happened to cover,
 * such as the split bar's three keys, quietly rendered in Archivo.
 *
 * Declared here, above the components, so a component that deliberately wants
 * another face (the standings figures are display) still wins on source order.
 */
.tl-land-hero .mono,
.tl-land-ticker .mono,
.tl-land-sec .mono,
.tl-land-finale .mono { font-family: var(--tl-font-mono); }

.tl-land-wrap {
  width: min(94%, 1600px);
  margin: 0 auto;
}

/* Type. The display face is Bricolage, mixed case, per the resolved direction;
   the mockup sets its headlines with a clamp so they hold at any width.

   These are the classes, not `.tl-land h1`. The blocks are baked as siblings
   with no shared parent, so there has never been a .tl-land element for a
   descendant selector to hang off and the whole rule matched nothing. */
.tl-land-h1,
.tl-land-h2 {
  font-family: var(--tl-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
}

.tl-land-h1 { font-size: clamp(2.75rem, 8.6vw, 7.75rem); }
.tl-land-h2 { font-size: clamp(2rem, 4.7vw, 3.5rem); letter-spacing: -0.025em; }

.tl-land-eyebrow,
.tl-land-eyebrow-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--tl-font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tl-muted);
}
.tl-land-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--tl-accent);
}
.tl-land-eyebrow-dark { color: var(--tl-night-muted); letter-spacing: 0.24em; font-size: 0.8125rem; }

.tl-land-lede {
  margin: 1.25rem 0 0;
  max-width: 46rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tl-muted);
}

.tl-land-sec { padding: clamp(3.5rem, 8vw, 7.5rem) 0; }

.tl-land-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* ---------- motion ----------
   Every animation the mockup carries. The SVG markup was ported with its
   glowA, routedraw and pulse classes already on it and none of them had a
   keyframe on this side, so the rings did not breathe, the climb did not draw
   itself and the summit did not pulse. The names are kept as the mockup has
   them, scoped under .tl-land so they cannot leak into an app page.

   All of it stops under prefers-reduced-motion, which the design direction
   asks for: a page that moves on its own is a page some people cannot read. */

@keyframes tl-land-glow  { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes tl-land-pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }
@keyframes tl-land-floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes tl-land-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tl-land-draw  { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes tl-land-fadeup { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* The contour rings, breathing. */
.tl-land-hero .glowA,
.tl-land-dev .glowA { animation: tl-land-glow 8s ease-in-out infinite; }

/* The summit marker, the live map dots, and the finish on the day's profile.
   Scoped per section rather than to a page wrapper: the blocks are siblings
   baked one after another, so there is no element that contains them all. */
.tl-land-hero .pulse,
.tl-land-map .pulse,
.tl-land-dev .pulse,

/* The climb, drawing itself from the valley to the summit. pathLength="100" is
   on the path in the markup, so the dash maths is resolution independent. */
.tl-land-hero .routedraw {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: tl-land-draw 4.5s ease-out 0.6s forwards;
}

/* The hero copy arrives in sequence rather than all at once. The delays are
   the mockup's: eyebrow, headline, second line, lede, buttons. */
.tl-land-hero .fadeup {
  opacity: 0;
  animation: tl-land-fadeup 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.tl-land-hero .fadeup-1 { animation-delay: 0.15s; }
.tl-land-hero .fadeup-2 { animation-delay: 0.35s; }
.tl-land-hero .fadeup-3 { animation-delay: 0.55s; }
.tl-land-hero .fadeup-4 { animation-delay: 0.75s; }
.tl-land-hero .fadeup-5 { animation-delay: 0.9s; }
.tl-land-hero .fadeup-6 { animation-delay: 1.05s; }



/* ---------- buttons ----------
   Straight off the mockup: 54px tall, 8px corners, body face at 15 to 16px,
   normal case. They were uppercase mono at 11px, which is the eyebrow voice
   and made every call to action look like a label. */

.tl-land-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 54px;
  padding: 0 1.75rem;
  border: 1px solid var(--tl-cta);
  border-radius: var(--tl-radius);
  background: var(--tl-cta);
  color: var(--tl-cta-ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.tl-land-btn:hover { background: var(--tl-cta-hover); border-color: var(--tl-cta-hover); color: var(--tl-cta-ink); }

/* Outline, on either ground. */
.tl-land-btn-ghost {
  height: 54px;
  padding: 0 1.625rem;
  background: transparent;
  border-color: var(--tl-hairline);
  color: var(--tl-ink);
  font-weight: 500;
}
.tl-land-btn-ghost:hover { background: transparent; border-color: var(--tl-accent); color: var(--tl-accent); }

/* The finale asks with a paper button, not an orange one: on the night ground
   the light surface is the louder of the two. */
.tl-land-btn-paper {
  background: var(--tl-paper);
  border-color: var(--tl-paper);
  color: var(--tl-night);
}
.tl-land-btn-paper:hover { background: var(--tl-night-ink); border-color: var(--tl-night-ink); color: var(--tl-night); }

/* ---------- hero ---------- */

/*
 * style.css gives every <section> 7.5rem of top padding. Measured, the hero was
 * carrying that 120px on top of its own 118px and starting the copy 238px down
 * instead of 126px. Every landing section sets its own rhythm, so the global
 * one is cleared for all of them here rather than fought section by section.
 */
section.tl-land-hero    { padding: 0; }
section.tl-land-sec     { padding: clamp(3.5rem, 8vw, 7.5rem) 0; }
section.tl-land-ticker  { padding: 0.875rem 0; }
section.tl-land-finale  { padding: clamp(3.5rem, 8vw, 7.5rem) 0 0; }

.tl-land-hero {
  position: relative;
  min-height: 900px;
  background: var(--tl-night);
  color: var(--tl-night-ink);
  overflow: hidden;
}

/* The glow the contour rings sit in. */
.tl-land-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1000px 640px at 50% 24%, rgba(159, 176, 138, 0.17), transparent 62%);
  pointer-events: none;
}

/* The whole drawing: breathing contour rings, the climb through the words to
   the summit, and the altitude ruler down the left edge. */
.tl-land-hero-art {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.tl-land-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Clears the absolutely placed navbar (84px) and no more; the h1 takes its
     own 128px gap below the eyebrow, as the mockup stages it. */
  padding-top: 7.875rem;   /* measured: puts the eyebrow at 126, as the mockup has it */
}

/* Uppercase, and the second line is the CTA orange. Both are how the mockup
   sets them; it was mixed case in sage, which is a different sentence. */
.tl-land-hero h1 { color: var(--tl-paper); text-transform: uppercase; }
.tl-land-hero .tl-land-h1-alt { font-style: italic; color: var(--tl-cta); letter-spacing: -0.02em; }
.tl-land-hero .tl-land-lede { color: var(--tl-night-ink); text-align: center; max-width: 42.5rem; }
.tl-land-hero-gap { margin-top: 8rem !important; }

.tl-land-cta-row {
  display: flex;
  gap: 0.875rem;
  margin-top: 2.125rem;
  flex-wrap: wrap;
  justify-content: center;
}
.tl-land-hero .tl-land-btn-ghost { border-color: var(--tl-night-line); color: var(--tl-paper); }
.tl-land-hero .tl-land-btn-ghost:hover { border-color: var(--tl-sage); color: var(--tl-sage); }

/* ---- floating product hints ----
   Three cards drifting over the hero, each showing one thing the product does
   while you are out. They are the first taste of the interface, so they are
   real panels on the day face, tilted, lifted off the dark ground. */

.tl-land-float {
  position: absolute;
  z-index: 2;
  animation: tl-land-floaty 7s ease-in-out infinite;
}
.tl-land-float--follow { left: calc(50% - 592px); top: 470px; }
.tl-land-float--vspeed { right: calc(50% - 602px); top: 400px; animation-delay: 2.2s; }
.tl-land-float--signal { right: calc(50% - 524px); top: 640px; animation-delay: 4.1s; }

.tl-land-float-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.125rem;
  border-radius: var(--tl-radius);
  background: var(--tl-panel);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.7);
  text-align: left;
}
.tl-land-float--follow .tl-land-float-card { transform: rotate(-3deg); }
.tl-land-float--vspeed .tl-land-float-card { transform: rotate(3deg); display: block; }

.tl-land-float-t { font-size: 0.84375rem; font-weight: 600; color: var(--tl-ink); }
.tl-land-float-k {
  font-family: var(--tl-font-mono);
  font-size: 0.65625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tl-dim);
}
.tl-land-float-v {
  font-family: var(--tl-font-display);
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--tl-ink);
}
.tl-land-float-v small { font-size: 0.9375rem; font-weight: 600; color: var(--tl-dim); }
.tl-land-float-note {
  font-family: var(--tl-font-mono);
  font-size: 0.65625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tl-accent);
}

.tl-land-float--signal .tl-land-float-pill {
  display: inline-block;
  padding: 0.5625rem 1rem;
  border: 1px solid var(--tl-night-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--tl-paper) 3%, var(--tl-night));
  transform: rotate(-2deg);
  font-family: var(--tl-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tl-sage);
}

/* ---- the bottom bar ---- */
.tl-land-hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.tl-land-scroll {
  font-family: var(--tl-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tl-night-dim);
  flex: 0 0 auto;
}

/* ---- the store badges ----
   The hero is a fixed 900px composition and stays exactly as it is: the
   badges take the empty bottom-left corner, over the scroll line, level with
   the photo strip on the right. They are Apple's and Google's own artwork,
   unchanged (both stores forbid recolouring them); black with their own grey
   rim, they sit on the night ground as they are. A badge whose address is
   still '#' is not drawn, so the App Store one appears by itself on the day
   its phrase gets the real link. */
.tl-land-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.125rem;
  flex: 0 0 auto;
}
.tl-land-stores { display: flex; flex-wrap: wrap; gap: .625rem; }
.tl-land-store {
  display: inline-flex;
  flex: none;
  line-height: 0;
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow .15s ease;
}
/* max-width: none, or a narrow box squeezes the width while the height
   holds and the artwork letterboxes into a smaller badge. */
.tl-land-store img { display: block; width: auto; max-width: none; height: 44px; }
.tl-land-store:hover,
.tl-land-store:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--tl-night), 0 0 0 3px var(--tl-sage);
}
.tl-land-store[href="#"],
.tl-land-store[href=""] { display: none !important; }
/* Nothing to offer, nothing to show: no empty gap over the scroll line. */
.tl-land-stores:not(:has(.tl-land-store:not([href="#"]))) { display: none; }

/* 992 to 1279: the strip's six plates leave the corner too narrow for the
   pair side by side (at 1024 the plates start at 304px, the pair would end
   at 323), so they stand one over the other. */
@media (min-width: 992px) and (max-width: 1279.98px) {
  .tl-land-stores { flex-direction: column; align-items: flex-start; }
}

/* A phone has no corner: the bottom bar follows the buttons in the flow, so
   the badges come straight after them, centred, side by side. */
@media (max-width: 767.98px) {
  .tl-land-hero-left { align-items: center; width: 100%; gap: 1.75rem; }
  .tl-land-stores { justify-content: center; }
}

/* ---- the photo plates ----
   The design direction's plate: white, small padding, no bottom padding, a
   caption strip beneath with the place on the left, and a slight rotation. */
.tl-land-strip { display: flex; flex-direction: column; align-items: flex-end; gap: 0.875rem; }
.tl-land-strip-k {
  font-family: var(--tl-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tl-night-dim);
}
.tl-land-plates { display: flex; align-items: flex-end; }

.tl-land-plate {
  display: block;
  padding: 6px 6px 7px;
  border-radius: var(--tl-radius);
  background: var(--tl-panel);
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.65);
  text-decoration: none;
}
.tl-land-plate:nth-child(odd)  { transform: rotate(-2.5deg); }
.tl-land-plate:nth-child(even) { transform: rotate(2.5deg); }
.tl-land-plate img {
  display: block;
  width: 120px;
  height: 84px;
  border-radius: var(--tl-radius-sm);
  object-fit: cover;
}
.tl-land-plate-cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 3px 0;
  font-family: var(--tl-font-mono);
  font-size: 0.59375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tl-muted);
}
.tl-land-plate-cap svg { stroke: var(--tl-accent); fill: none; stroke-width: 2.4; flex: 0 0 auto; }





/* ---------- sports ticker ---------- */

.tl-land-ticker {
  border-block: 1px solid var(--tl-hairline);
  background: var(--tl-paper-deep);
  overflow: hidden;
  padding: 0.875rem 0;
}
.tl-land-ticker-track {
  display: flex;
  width: max-content;
  /* Set per render from the track width, so the speed holds as sports are
     added. 32s is the mockup's, for a track that never got measured. */
  animation: tl-land-marquee var(--tl-tick-seconds, 32s) linear infinite;
}
.tl-land-tick {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  padding-right: 1.75rem;
  font-family: var(--tl-font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tl-muted);
  white-space: nowrap;
}
.tl-land-tick i { font-style: normal; color: var(--tl-accent); font-size: 0.625rem; }

/* ---------- one day, one recording ----------
   A dashed rail down the left with six timed moments hung off it. Each moment
   is a column of copy and a device card showing the feature it demonstrates:
   the point of the section is that you see the interface, not a description
   of it. */

.tl-land-day { position: relative; list-style: none; margin: 0; padding: 0; }

/* The rail sits behind the dots, between the time column and the content. */
.tl-land-day::before {
  content: "";
  position: absolute;
  left: 96px;
  top: 0;
  bottom: 0;
  border-left: 2px dashed var(--tl-hairline);
}

.tl-land-step {
  display: flex;
  gap: 3.5rem;
  padding: 1.625rem 0 4rem;
  position: relative;
}

.tl-land-step-time {
  width: 80px;
  flex-shrink: 0;
  text-align: right;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--tl-accent);
}

.tl-land-step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tl-accent);
  border: 3px solid var(--tl-paper);
  box-shadow: 0 0 0 1px var(--tl-hairline);
  margin-top: 4px;
  flex-shrink: 0;
}
/* The summit is the one the whole day is about. */
.tl-land-step--summit .tl-land-step-dot { background: var(--tl-cta); }
.tl-land-step--summit .tl-land-step-time { color: var(--tl-cta); }

.tl-land-step-body { display: flex; gap: 3rem; flex: 1 1 auto; min-width: 0; margin-left: -1.5rem; }

.tl-land-step-copy {
  /*
   * 380 is the width it wants, not a floor. As flex-shrink: 0 it held that 380
   * while the device card beside it pushed the row past the viewport.
   *
   * Width, not flex-basis: once this row stacks, the container is a COLUMN and
   * a 380px basis becomes a 380px minimum HEIGHT, which opened 250px of empty
   * ground between each step's copy and its card on a phone.
   */
  width: 380px;
  max-width: 100%;
  flex-shrink: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tl-land-step-copy h3 {
  margin: 0;
  font-family: var(--tl-font-display);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tl-land-step-copy p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--tl-muted); }
.tl-land-step-feat {
  font-family: var(--tl-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tl-accent);
}

/* ---- the device cards ---- */

.tl-land-dev {
  flex-grow: 1;
  min-height: 220px;
  min-width: 0;
  border-radius: var(--tl-radius);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tl-hairline);
  background: var(--tl-panel);
}
/* Two of them are the map itself, so they take the night ground. */
.tl-land-dev--night { background: var(--tl-night); border-color: var(--tl-night-line); }
/* Only the map card's terrain SVG fills its card. This used to be
   `.tl-land-dev svg`, which also caught the sparkline in the vertical-speed
   card and drew it full-bleed straight through the 338. */
.tl-land-dev--night svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.tl-land-dev-pill {
  position: absolute;
  left: 18px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 30px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--tl-night-line);
  background: color-mix(in srgb, var(--tl-paper) 4%, var(--tl-night));
  font-family: var(--tl-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tl-sage);
}
.tl-land-dev-note {
  position: absolute;
  right: 18px;
  bottom: 14px;
  font-family: var(--tl-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tl-night-dim);
}
.tl-land-dev--day .tl-land-dev-note { color: var(--tl-dim); }

/* A card that is a readout rather than a map: instrument cells. */
.tl-land-dev-cells {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--tl-hairline);
  height: 100%;
}
.tl-land-dev-cell {
  flex: 1 1 8rem;
  background: var(--tl-panel);
  padding: 1.25rem 1.375rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.375rem;
}
.tl-land-dev-k {
  font-family: var(--tl-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tl-dim);
}
/* Follower avatars on the live card. */





/*===========================================================================*\
|| LIVE, FEED, TOTALS, PLANNER, CLUBS                                         ||
|| -------------------------------------------------------------------------- ||
|| Rebuilt to shared/web_mockups/landing-middle.html. The breakpoints for      ||
|| these are with all the others, at the end of the file.                      ||
\*===========================================================================*/

/* The group of links beside a section head: "See them on the map", "All
   clubs". Not .tl-land-more, which is a single link with its own margin. */
.tl-land-head-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.375rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.tl-land-head-links a { color: var(--tl-accent); text-decoration: none; }
.tl-land-head-links a:hover { color: var(--tl-accent-hover); }

/* The count beside a head: mono, uppercase, quiet. */
.tl-land-aside {
  padding-bottom: 0.625rem;
  font-family: var(--tl-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--tl-dim);
}
.tl-land-sec--night .tl-land-aside { color: var(--tl-night-dim); }

/* A sport chip: the dot in the sport's colour, the name beside it. */
.tl-land-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 24px;
  padding: 0 0.5625rem;
  border-radius: 999px;
  border: 1px solid var(--tl-hairline);
  background: color-mix(in srgb, var(--tl-panel) 92%, transparent);
  font-size: 0.71875rem;
  font-weight: 600;
  color: var(--tl-ink);
}
.tl-land-chip i { width: 7px; height: 7px; border-radius: 50%; }

/* The leg rail, from the design direction: sport-coloured blocks sized by
   time share, 2px apart. One component, two sizes here. */
.tl-land-rail { display: flex; gap: 2px; height: 8px; }
.tl-land-rail span { border-radius: 2px; min-width: 3px; }
.tl-land-rail--thin { height: 4px; }
.tl-land-rail-k {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.125rem;
  margin-top: 0.5rem;
  font-family: var(--tl-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tl-dim);
}
.tl-land-rail-k i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.375rem;
  border-radius: 2px;
  vertical-align: -1px;
}

/* ---------- live ---------- */

.tl-land-live-sec { position: relative; overflow: hidden; }
.tl-land-live-sec .tl-land-wrap { position: relative; }
.tl-land-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 600px at 26% -12%, rgba(159, 176, 138, 0.14), transparent 62%);
  pointer-events: none;
}

/* Live is the CTA orange on this design (tokens.php), with its own dot. */
.tl-land-sec--night .tl-land-eyebrow--live { color: var(--tl-live); }
.tl-land-sec--night .tl-land-eyebrow--live::before { display: none; }
.tl-land-eyebrow--live i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: tl-land-pulse 2.4s ease-in-out infinite;
}

.tl-land-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem;
  align-items: stretch;
}

.tl-land-map {
  position: relative;
  margin: 0;
  aspect-ratio: 760 / 480;
  border-radius: var(--tl-radius-xl);
  border: 1px solid var(--tl-night-line);
  overflow: hidden;
  background: var(--tl-night-card);
}
.tl-land-map-art,
.tl-land-map-tracks {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tl-land-track { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tl-land-track--done { stroke: var(--tl-night-dim); stroke-width: 2; stroke-dasharray: 1 6; }
.tl-land-head { stroke: var(--tl-night); stroke-width: 2; }
.tl-land-head--done { fill: var(--tl-night); stroke: var(--tl-night-dim); stroke-width: 2; }

@keyframes tl-land-ring { 0% { r: 5; opacity: 0.55; } 100% { r: 20; opacity: 0; } }
.tl-land-ring { fill: none; stroke-width: 2; animation: tl-land-ring 2.4s ease-out infinite; }

.tl-land-map-label {
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--tl-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tl-night-dim);
}

/* The callout, hung off the first athlete's head. */
.tl-land-map-tip {
  position: absolute;
  transform: translate(14px, -120%);
  padding: 0.4375rem 0.75rem;
  border-radius: var(--tl-radius);
  background: var(--tl-paper);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  pointer-events: none;
}
.tl-land-map-tip strong { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--tl-ink); }
.tl-land-map-tip span {
  font-family: var(--tl-font-mono);
  font-size: 0.65625rem;
  letter-spacing: 0.04em;
  color: var(--tl-accent);
}

.tl-land-map-open {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 1rem;
  border-radius: var(--tl-radius);
  border: 1px solid var(--tl-night-edge);
  background: rgba(243, 242, 236, 0.12);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tl-paper);
  text-decoration: none;
}
.tl-land-map-open:hover { background: rgba(243, 242, 236, 0.2); color: var(--tl-paper); }

.tl-land-live-side { display: flex; flex-direction: column; gap: 0.625rem; min-width: 0; }

.tl-land-live-side .tl-land-side-k {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0.125rem 0.375rem;
  font-family: var(--tl-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tl-night-dim);
}

.tl-land-live-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; }

.tl-land-lrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.9375rem 1.125rem;
  border-radius: var(--tl-radius-lg);
  border: 1px solid var(--tl-night-line);
  background: rgba(243, 242, 236, 0.04);
  color: inherit;
  text-decoration: none;
}
.tl-land-lrow:hover { border-color: var(--tl-night-edge); background: rgba(243, 242, 236, 0.07); color: inherit; }
.tl-land-lrow--back { background: none; border-style: dashed; }

.tl-land-ldot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  animation: tl-land-pulse 2.4s ease-in-out infinite;
}
.tl-land-ldot--back { background: none; border: 2px solid var(--tl-night-dim); animation: none; }

.tl-land-lwho { flex: 1; min-width: 0; }
.tl-land-lwho strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--tl-paper);
}
.tl-land-lrow--back .tl-land-lwho strong { color: var(--tl-night-ink); }
.tl-land-lwho span { display: block; font-size: 0.78125rem; color: var(--tl-night-muted); }

.tl-land-lfig { text-align: right; font-family: var(--tl-font-mono); font-variant-numeric: tabular-nums; }
.tl-land-lfig b { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--tl-paper); }
.tl-land-lfig small { font-size: 0.6875rem; color: var(--tl-sage); }
.tl-land-lrow--back .tl-land-lfig small { color: var(--tl-night-dim); }

.tl-land-lnone {
  padding: 1.625rem 1.125rem 1.375rem;
  border-radius: var(--tl-radius-lg);
  border: 1px solid var(--tl-night-line);
  background: rgba(243, 242, 236, 0.03);
}
.tl-land-lnone strong {
  display: block;
  font-family: var(--tl-font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--tl-paper);
}
.tl-land-lnone p { margin: 0.375rem 0 0; font-size: 0.875rem; color: var(--tl-night-muted); }

/* The invitation under the list, dashed so it reads as a slot waiting to be
   filled rather than another athlete. Pushed to the foot of the column so it
   lines up with the bottom of the map. */
.tl-land-live-cta {
  display: block;
  margin-top: auto;
  padding: 0.875rem 1.25rem;
  border: 1px dashed var(--tl-night-edge);
  border-radius: var(--tl-radius-lg);
  text-align: center;
  font-size: 0.84375rem;
  color: var(--tl-night-muted);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tl-land-live-cta strong { color: var(--tl-sage); font-weight: 600; }
.tl-land-live-cta:hover { border-color: var(--tl-sage); color: var(--tl-night-ink); }

/* The three ways to be followed. */
.tl-land-follow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--tl-night-line);
}
.tl-land-follow--side {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.375rem;
  margin: 0;
  padding: 1.25rem 0.25rem 0.75rem;
  border-top: 0;
}
.tl-land-follow-item { display: flex; gap: 1rem; }
.tl-land-follow-item svg {
  flex: none;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--tl-sage);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tl-land-follow-item h3 {
  margin: 0 0 0.25rem;
  font-family: var(--bs-body-font-family);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--tl-paper);
}
.tl-land-follow-item p { margin: 0; font-size: 0.875rem; line-height: 1.55; color: var(--tl-night-muted); }

/* ---------- feed ---------- */

.tl-land-feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.75rem;
  align-items: start;
}
.tl-land-feed-grid--one { grid-template-columns: minmax(0, 1fr); }

/* The featured day. Not overflow: hidden, so the photo plates can break out
   over its top edge as the design direction asks; the map clips itself. */
.tl-land-feat {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--tl-panel);
  border: 1px solid var(--tl-hairline);
  border-radius: var(--tl-radius-lg);
}
.tl-land-feat:hover { color: inherit; border-color: var(--tl-rule-strong); }
.tl-land-feat:hover .tl-land-feat-title { color: var(--tl-accent); }

.tl-land-feat-map {
  position: relative;
  aspect-ratio: 760 / 300;
  overflow: hidden;
  border-radius: var(--tl-radius-lg) var(--tl-radius-lg) 0 0;
  border-bottom: 1px solid var(--tl-hairline);
  background: var(--tl-paper);
}
.tl-land-feat-map > svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

.tl-land-feat-grid { fill: none; stroke: var(--tl-hairline); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tl-land-feat-casing { fill: none; stroke: var(--tl-white); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.9; }
.tl-land-feat-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tl-land-feat-start { stroke: var(--tl-white); stroke-width: 2; }
.tl-land-feat-end { fill: var(--tl-white); stroke: var(--tl-ink); stroke-width: 2; }

.tl-land-feat-chips { position: absolute; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 0.375rem; }

/* The scale bar is as long as one grid square, so it is true at any width. */
.tl-land-feat-scale {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: var(--tl-scale);
  height: 5px;
  border: 1.5px solid var(--tl-muted);
  border-top: 0;
}
.tl-land-feat-scale b {
  position: absolute;
  left: calc(100% + 0.5rem);
  bottom: -5px;
  white-space: nowrap;
  font-family: var(--tl-font-mono);
  font-size: 0.65625rem;
  font-weight: 500;
  color: var(--tl-muted);
}

.tl-land-cam {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--tl-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.tl-land-cam svg { width: 12px; height: 12px; fill: none; stroke: var(--tl-ink); stroke-width: 2; }

/* The plates and their leaders, on a layer the same shape as the map so a
   leader lands on its camera mark at any width. */
.tl-land-feat-over {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 100%;
  aspect-ratio: 760 / 300;
  pointer-events: none;
}
.tl-land-feat-over svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tl-land-feat-over line {
  stroke: var(--tl-ink);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
  opacity: 0.6;
  vector-effect: non-scaling-stroke;
}

/* The photo plate: white, no bottom padding, the caption strip beneath,
   a slight tilt and a real shadow. */
.tl-land-plate2 {
  position: absolute;
  /* Set per plate by the renderer, which lays them out along the track. */
  left: var(--tl-x, 50%);
  top: var(--tl-y, 50%);
  margin: 0;
  /* Set per card by the renderer: a day of ten photographs gets narrower
     plates than a day of two, in the map's own proportions. */
  width: var(--tl-plate-w, clamp(96px, 9.6vw, 136px));
  padding: 7px 7px 0;
  background: var(--tl-white);
  box-shadow: var(--tl-lift-lg);
  transform: translate(-50%, -100%) rotate(var(--tl-tilt, 0deg));
  transform-origin: 50% 100%;
}
.tl-land-plate2 img { display: block; width: 100%; aspect-ratio: 150 / 104; object-fit: cover; }
.tl-land-plate2 figcaption {
  display: flex;
  justify-content: space-between;
  /* The gap is what keeps 13:53 and 142 m two readings on a narrow plate. */
  gap: 0.5rem;
  padding: 0.375rem 1px 0.4375rem;
  white-space: nowrap;
  font-family: var(--tl-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: var(--tl-muted);
}

.tl-land-feat-prof { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--tl-hairline); }
.tl-land-prof-area { opacity: 0.13; }
.tl-land-prof-line { fill: none; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tl-land-prof-lead { stroke: var(--tl-ink); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.5; vector-effect: non-scaling-stroke; }
.tl-land-prof-pin { fill: var(--tl-white); stroke: var(--tl-ink); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.tl-land-prof-t { font-family: var(--tl-font-mono); font-size: 9.5px; fill: var(--tl-dim); }

.tl-land-feat-body { display: block; padding: 1.375rem 1.5rem 1.5rem; }
.tl-land-feat-meta {
  display: block;
  font-family: var(--tl-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tl-dim);
}
.tl-land-feat-title {
  display: block;
  margin: 0.5rem 0 1.125rem;
  font-family: var(--tl-font-display);
  font-size: clamp(1.375rem, 2.1vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

/* The instrument band: a 1px-gap grid on a hairline ground. */
.tl-land-band {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: 1.25rem;
  background: var(--tl-hairline);
  border: 1px solid var(--tl-hairline);
  border-radius: var(--tl-radius);
  overflow: hidden;
}
.tl-land-band > div { padding: 0.75rem 0.875rem; background: var(--tl-panel); }
.tl-land-band .k {
  display: block;
  font-family: var(--tl-font-mono);
  font-size: 0.59375rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tl-dim);
}
.tl-land-band .v {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--tl-font-mono);
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--tl-ink);
}
.tl-land-band .v small { margin-left: 2px; font-size: 0.55em; color: var(--tl-dim); }

.tl-land-flist { border-top: 1px solid var(--tl-rule-strong); }
.tl-land-frow {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 1.125rem;
  align-items: center;
  padding: 1.125rem 0.375rem;
  border-bottom: 1px solid var(--tl-hairline);
  color: inherit;
  text-decoration: none;
}
.tl-land-frow:hover { color: inherit; }
.tl-land-frow:hover strong { color: var(--tl-accent); }

.tl-land-thumb { display: block; width: 64px; height: 64px; border-radius: var(--tl-radius); background: var(--tl-paper-deep); }
.tl-land-thumb-grid { fill: none; stroke: var(--tl-hairline); stroke-width: 1; }
.tl-land-thumb-line { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tl-land-thumb-end { fill: var(--tl-white); stroke-width: 1.6; }

.tl-land-frow-body { display: block; min-width: 0; }
.tl-land-frow-body strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}
.tl-land-frow-m {
  display: block;
  margin: 0.125rem 0 0.5625rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  color: var(--tl-dim);
}
.tl-land-frow-figs {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--tl-font-mono);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
  white-space: nowrap;
  color: var(--tl-muted);
}
.tl-land-frow-ago { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tl-ink-faint); }

.tl-land-flist-more {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0.375rem 0;
  font-size: 0.875rem;
  font-weight: 500;
}
.tl-land-flist-more span {
  font-family: var(--tl-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tl-dim);
}
.tl-land-flist-more a { color: var(--tl-accent); text-decoration: none; }

/* ---------- totals ----------
   One band of instruments under the feed, the numbers as the caption. */

.tl-land-sec.tl-land-totals-sec { padding-top: 0; }

.tl-land-tband {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr);
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 1px;
  background: var(--tl-hairline);
  border: 1px solid var(--tl-hairline);
  border-radius: var(--tl-radius-lg);
  overflow: hidden;
}
.tl-land-tband--flat { grid-template-columns: none; }
.tl-land-tband > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.125rem;
  padding: 1.625rem 1.625rem 1.5rem;
  background: var(--tl-paper);
}
.tl-land-tband .k {
  font-family: var(--tl-font-mono);
  font-size: 0.65625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tl-dim);
}
.tl-land-tband .k b { font-weight: 500; color: var(--tl-accent); }
.tl-land-tband .v {
  font-family: var(--tl-font-display);
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--tl-ink);
}
.tl-land-giant {
  font-family: var(--tl-font-display);
  font-size: clamp(3.125rem, 5.8vw, 5.75rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--tl-ink);
}
.tl-land-giant small { margin-left: 0.12em; font-size: 0.38em; font-weight: 700; letter-spacing: 0; color: var(--tl-dim); }

/* A thousands group in the display face, which draws the thin space at
   nearly nothing: 4 218 760 set itself as 4218760. */
.tl-land-g { font-style: normal; margin-left: 0.2em; }

/* ---------- planner ---------- */

.tl-land-plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 4rem;
  align-items: center;
}
.tl-land-plan-copy .tl-land-h2 { margin-top: 1rem; text-wrap: balance; }
.tl-land-plan-copy .tl-land-lede { margin-top: 1.375rem; }

.tl-land-plan-points { list-style: none; margin: 2.125rem 0 0; padding: 0; border-top: 1px solid var(--tl-rule-strong); }
.tl-land-plan-points li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--tl-hairline);
}
.tl-land-plan-n { font-family: var(--tl-font-mono); font-size: 0.8125rem; line-height: 1.5; color: var(--tl-ink-faint); }
.tl-land-plan-points h3 {
  margin: 0 0 0.1875rem;
  font-family: var(--bs-body-font-family);
  font-size: 1.03125rem;
  font-weight: 600;
  letter-spacing: normal;
}
.tl-land-plan-points p { margin: 0; font-size: 0.90625rem; line-height: 1.55; color: var(--tl-muted); }
.tl-land-plan-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.125rem; }

.tl-land-planner {
  margin: 0;
  overflow: hidden;
  background: var(--tl-panel);
  border: 1px solid var(--tl-rule-strong);
  border-radius: var(--tl-radius-xl);
  box-shadow: var(--tl-lift-lg);
}
.tl-land-plan-map { position: relative; aspect-ratio: 820 / 560; }
.tl-land-plan-map > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

.tl-land-plan-place {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--tl-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--tl-muted);
  pointer-events: none;
}
.tl-land-plan-place--town { font-weight: 600; color: var(--tl-ink); }
.tl-land-plan-place--water { font-style: italic; color: var(--tl-water-edge); }

.tl-land-plan-tools {
  position: absolute;
  left: 14px;
  top: 14px;
  right: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
}
.tl-land-plan-seg,
.tl-land-plan-pill {
  display: inline-flex;
  background: var(--tl-panel);
  border: 1px solid var(--tl-rule-strong);
  border-radius: var(--tl-radius);
  box-shadow: var(--tl-lift);
}
.tl-land-plan-seg { padding: 3px; }
.tl-land-plan-seg span {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 0.6875rem;
  border-radius: 5px;
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--tl-muted);
}
.tl-land-plan-seg span.on { background: var(--tl-ink); color: var(--tl-paper); }
.tl-land-plan-pill {
  align-items: center;
  gap: 0.5rem;
  height: 38px;
  padding: 0 0.8125rem;
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--tl-ink);
}
.tl-land-plan-pill svg { width: 15px; height: 15px; fill: none; stroke: var(--tl-accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tl-land-plan-pill em { font-style: normal; font-family: var(--tl-font-mono); font-size: 0.6875rem; font-weight: 500; color: var(--tl-dim); }

/* A MapLibre popup, as the real planner shows one over a stop. */
.tl-land-plan-pop {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, calc(-100% - 40px));
  padding: 0.5625rem 0.75rem 0.625rem;
  border-radius: var(--tl-radius-sm);
  background: var(--tl-white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 6px 18px rgba(0, 0, 0, 0.14);
  white-space: nowrap;
}
.tl-land-plan-pop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: var(--tl-white);
  transform: translateX(-50%) rotate(45deg);
}
.tl-land-plan-pop .k {
  display: block;
  font-family: var(--tl-font-mono);
  font-size: 0.59375rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tl-accent);
}
.tl-land-plan-pop strong { display: block; margin-top: 0.3125rem; font-size: 0.875rem; font-weight: 600; color: var(--tl-ink); }
.tl-land-plan-pop span:last-child { font-family: var(--tl-font-mono); font-size: 0.6875rem; color: var(--tl-dim); }

.tl-land-plan-card {
  position: absolute;
  left: 14px;
  top: 66px;
  width: min(262px, 46%);
  padding: 0.875rem 1rem;
  background: var(--tl-panel);
  border: 1px solid var(--tl-rule-strong);
  border-radius: var(--tl-radius-lg);
  box-shadow: var(--tl-lift-lg);
}
.tl-land-plan-card .t { font-size: 0.84375rem; font-weight: 600; color: var(--tl-ink); }
.tl-land-plan-card .f {
  display: flex;
  gap: 1rem;
  margin: 0.625rem 0 0.75rem;
  font-family: var(--tl-font-mono);
  font-size: 0.9375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--tl-ink);
}
.tl-land-plan-card .f small {
  display: block;
  margin-bottom: 0.3125rem;
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tl-dim);
}
.tl-land-plan-card table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--tl-font-mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.tl-land-plan-card td { padding: 0.375rem 0; border-top: 1px solid var(--tl-hairline); color: var(--tl-muted); }
.tl-land-plan-card td:last-child { text-align: right; color: var(--tl-ink); }
.tl-land-plan-card tr.on td { font-weight: 600; color: var(--tl-ink); }
.tl-land-plan-card td i { display: inline-block; width: 7px; height: 7px; margin-right: 0.5rem; border-radius: 50%; }

/* The profile, coloured by which way the ground goes (tokens.php climb,
   descend, level). */
.tl-land-plan-prof { display: block; width: 100%; height: auto; border-top: 1px solid var(--tl-hairline); background: var(--tl-panel); }
.tl-land-pp-area { fill: var(--tl-paper-tint); }
.tl-land-pp-up,
.tl-land-pp-down,
.tl-land-pp-flat { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tl-land-pp-up { stroke: var(--tl-climb); }
.tl-land-pp-down { stroke: var(--tl-descend); }
.tl-land-pp-flat { stroke: var(--tl-level); }
.tl-land-pp-lead { stroke: var(--tl-accent); stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.tl-land-pp-stop { fill: var(--tl-accent); stroke: var(--tl-white); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.tl-land-pp-n { font-family: var(--tl-font-mono); font-size: 9.5px; font-weight: 600; fill: var(--tl-accent); text-anchor: middle; }
.tl-land-pp-t { font-family: var(--tl-font-mono); font-size: 9.5px; fill: var(--tl-dim); }

.tl-land-plan-surf,
.tl-land-plan-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--tl-font-mono);
  font-size: 0.65625rem;
  text-transform: uppercase;
  color: var(--tl-dim);
  border-top: 1px solid var(--tl-hairline);
}
.tl-land-plan-surf { gap: 0.5rem 0.875rem; padding: 0.625rem 1.125rem 0.75rem; letter-spacing: 0.08em; }
.tl-land-plan-surf .bar { flex: 1; display: flex; gap: 2px; min-width: 80px; height: 6px; }
.tl-land-plan-surf .bar span { border-radius: 2px; }
.tl-land-plan-surf i { display: inline-block; width: 8px; height: 8px; margin-right: 0.3125rem; border-radius: 2px; vertical-align: -1px; }
.tl-land-plan-surf .s-nat { background: var(--tl-accent-2); }
.tl-land-plan-surf .s-grv { background: var(--tl-contour); }
.tl-land-plan-surf .s-pav { background: var(--tl-level); }
.tl-land-plan-key { gap: 0.5rem 1.375rem; margin: 0; padding: 0.8125rem 1.125rem; letter-spacing: 0.12em; background: var(--tl-paper); }
.tl-land-plan-key b { margin-right: 0.25rem; font-weight: 600; color: var(--tl-ink); }
.tl-land-plan-key span { display: inline-flex; align-items: center; gap: 0.4375rem; }
.tl-land-plan-key svg { flex: none; width: 22px; height: 12px; }

/* ---------- clubs ---------- */

.tl-land-clubs-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.5rem;
  align-items: start;
}
/* Neither card plugin installed, or neither has anything to show: the
   standings take the width. */
.tl-land-clubs-grid:has(> .tl-land-clubs-side:empty) { grid-template-columns: minmax(0, 1fr); }
.tl-land-clubs-side { display: flex; flex-direction: column; gap: 1.125rem; }
.tl-land-clubs-side:empty { display: none; }

.tl-land-stand { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tl-rule-strong); }
.tl-land-st {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  gap: 0.375rem 1.375rem;
  align-items: center;
  padding: 1.375rem 0.5rem 1.25rem;
  border-bottom: 1px solid var(--tl-hairline);
  color: inherit;
  text-decoration: none;
}
.tl-land-st:hover { color: inherit; }
.tl-land-st:hover strong { color: var(--tl-accent); }

.tl-land-st-pos {
  font-family: var(--tl-font-display);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
  color: var(--tl-ink-faint);
}
.tl-land-stand li:nth-child(-n+3) .tl-land-st:not(.tl-land-st--you) .tl-land-st-pos { color: var(--tl-cta-hover); }

.tl-land-st-body strong { display: block; font-size: 1.15625rem; font-weight: 600; line-height: 1.25; }
.tl-land-st-body span { display: block; margin-top: 0.125rem; font-size: 0.84375rem; color: var(--tl-dim); }

.tl-land-st-v {
  font-family: var(--tl-font-display);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--tl-ink);
}
.tl-land-st-v small { margin-left: 3px; font-size: 0.55em; color: var(--tl-dim); }

/* Each club's share of the leader's metres. */
.tl-land-st-bar {
  grid-column: 2 / 4;
  height: 4px;
  margin-top: 0.625rem;
  border-radius: 2px;
  overflow: hidden;
  background: var(--tl-hairline);
}
.tl-land-st-bar i { display: block; height: 100%; border-radius: 2px; background: var(--tl-accent-2); }

/* The last row is the invitation, on the tinted ground so it reads as a
   slot rather than another club. */
.tl-land-st--you {
  background: var(--tl-paper-tint);
  border-radius: 0 0 var(--tl-radius-lg) var(--tl-radius-lg);
  border-bottom-color: var(--tl-rule-strong);
}
.tl-land-st--you .tl-land-st-pos,
.tl-land-st--you .tl-land-st-v { color: var(--tl-rule-strong); }
.tl-land-st--you strong { color: var(--tl-muted); }
.tl-land-st-go { display: flex; align-items: center; gap: 1.125rem; }
.tl-land-st-cta {
  display: inline-flex;
  align-items: center;
  height: 2.625rem;
  padding: 0 1.125rem;
  border-radius: var(--tl-radius);
  background: var(--tl-accent);
  color: var(--tl-accent-ink);
  font-size: 0.875rem;
  font-weight: 600;
}
.tl-land-st--you:hover .tl-land-st-cta { background: var(--tl-accent-hover); }
.tl-land-st--you:hover strong { color: var(--tl-muted); }

/* The two cards beside the standings. tleagues draws the challenge and
   tlcomp the race; the classes are the contract between them and this. */
.tl-land-side-card {
  display: block;
  padding: 1.375rem 1.5rem;
  background: var(--tl-panel);
  border: 1px solid var(--tl-hairline);
  border-radius: var(--tl-radius-lg);
  color: inherit;
  text-decoration: none;
}
.tl-land-side-card:hover { color: inherit; border-color: var(--tl-rule-strong); }
.tl-land-side-card .tl-land-side-k {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--tl-font-mono);
  font-size: 0.65625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tl-cta-hover);
}
.tl-land-side-card .tl-land-side-k span:last-child { color: var(--tl-dim); }
.tl-land-side-h {
  margin: 0.625rem 0 0.375rem;
  font-family: var(--tl-font-display);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.tl-land-side-p { margin: 0; font-size: 0.90625rem; line-height: 1.55; color: var(--tl-muted); }
.tl-land-side-line {
  display: block;
  margin-top: 0.125rem;
  font-family: var(--tl-font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--tl-muted);
}
.tl-land-side-prof { display: block; width: 100%; height: auto; margin: 0.875rem 0 0.75rem; }
.tl-land-side-link { display: inline-block; margin-top: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--tl-accent); }
.tl-land-side-card:hover .tl-land-side-link { color: var(--tl-accent-hover); }

.tl-land-mini { list-style: none; margin: 1rem 0 0; padding: 0; }
.tl-land-mini li {
  display: grid;
  grid-template-columns: 1.375rem minmax(0, 1fr) auto;
  gap: 0.25rem 0.625rem;
  align-items: center;
  padding: 0.5625rem 0;
  border-top: 1px solid var(--tl-hairline);
  font-size: 0.875rem;
}
.tl-land-mini-pos { font-family: var(--tl-font-mono); font-size: 0.75rem; color: var(--tl-dim); }
.tl-land-mini-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-land-mini-v { font-family: var(--tl-font-mono); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.tl-land-mini-bar { grid-column: 2 / 4; height: 3px; border-radius: 2px; overflow: hidden; background: var(--tl-hairline); }
.tl-land-mini-bar i { display: block; height: 100%; background: var(--tl-accent-2); }

/* ---------- finale ----------
   Back to the valley: the closing pitch, stacked on the shared footer. The
   profile, the columns, the compass and the wordmark all moved to
   tl-footer.css when the footer became site furniture. */

.tl-land-finale {
  position: relative;
  background: var(--tl-night);
  color: var(--tl-night-ink);
  overflow: hidden;
}

/* The glow and the rings live here, behind the closing pitch. The footer
   below is flat on this page; on a page with no finale the footer carries the
   same art itself.
 
   The artwork spans BOTH blocks. It is 700px tall and this one is about 419,
   so the arc runs off the bottom and carries on into the footer, which draws
   the same SVG lifted by this block's height so the two halves meet. Trying to
   fit it all into one block or the other is what kept putting the rings
   through the headline. */
.tl-land-finale-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 520px at 80% 6%, rgba(var(--tl-cta-rgb, 200, 107, 63), 0.13), transparent 65%);
  pointer-events: none;
}

.tl-land-finale-contours {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 700px;
  opacity: 0.7;
  pointer-events: none;
}

.tl-land-finale .tl-land-wrap { position: relative; z-index: 2; }
.tl-land-finale h2 { color: var(--tl-paper); font-size: clamp(2.625rem, 5.8vw, 5.25rem); }
.tl-land-finale .tl-land-btn-ghost { border-color: var(--tl-night-line); color: var(--tl-paper); }
.tl-land-finale .tl-land-btn-ghost:hover { border-color: var(--tl-sage); color: var(--tl-sage); }
.tl-land-finale .tl-land-cta-row { justify-content: flex-start; margin: 0; }


/* ---------- the navbar on this page ----------
   The app header is the same block as everywhere else; on the landing it lifts
   off the hero instead of sitting on its own ground. Scoped with :has() so the
   header block itself stays untouched and in sync with the other 20 pages. */

body:has(.tl-land-hero) .tl-appbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  background: transparent;
  border-bottom: 0;
}
body:has(.tl-land-hero) .tl-appbar .tl-brand,
body:has(.tl-land-hero) .tl-appbar .tl-brand:hover { color: var(--tl-paper); }
body:has(.tl-land-hero) .tl-appbar .tl-brand-word i { color: var(--tl-sage); }
body:has(.tl-land-hero) .tl-appbar .tl-brand-logo--light { display: none; }
body:has(.tl-land-hero) .tl-appbar .tl-brand-logo--dark { display: block; }
/* The nav links over the hero exist only from xl up. Below that they live in
   the menu panel, which is on the page's own face like on every other page:
   these colours followed them in there, and on the day face the open parent
   was night ink on paper, next to invisible. */
body:has(.tl-land-hero) .tl-appbar .tl-appbar-link { color: var(--tl-night-ink); }
body:has(.tl-land-hero) .tl-appbar .tl-appbar-link:hover { color: var(--tl-paper); }
@media (min-width: 1200px) {
  body:has(.tl-land-hero) .tl-appbar .nav-link { color: var(--tl-night-ink); }
  body:has(.tl-land-hero) .tl-appbar .nav-link:hover { color: var(--tl-paper); }
  body:has(.tl-land-hero) .tl-appbar .nav-link.active { color: var(--tl-paper); }
  body:has(.tl-land-hero) .tl-appbar .nav-caret-btn { color: var(--tl-sage); }
}
body:has(.tl-land-hero) .tl-appbar-actions .tl-appbar-icon,
body:has(.tl-land-hero) .tl-appbar .jscms-lang-switcher > .nav-link,
body:has(.tl-land-hero) .tl-appbar .navbar-toggler {
  background: rgba(243, 242, 236, 0.08);
  border-color: rgba(243, 242, 236, 0.22);
  color: var(--tl-paper);
}

/* The right-hand pair, as the mockup draws it over the hero: the log-in link
   in sage, and the account button in paper on the night ground rather than
   the orange it wears on an app page, where the bar has its own light ground
   and a paper button would be invisible. */
body:has(.tl-land-hero) .tl-appbar .tl-appbar-link { color: var(--tl-sage); }
body:has(.tl-land-hero) .tl-appbar .tl-appbar-link:hover { color: var(--tl-paper); }

body:has(.tl-land-hero) .tl-appbar .tl-appbar-btn {
  background: var(--tl-paper);
  color: var(--tl-night);
}
body:has(.tl-land-hero) .tl-appbar .tl-appbar-btn:hover {
  background: var(--tl-night-ink);
  color: var(--tl-night);
}





/* ---------------------------------------------------------------- finale --
   The closing headline is the one place on the page where a single word is
   set in italic orange, so it gets its own rule rather than riding on
   .tl-land-h2. 5.25rem is the mockup's 84px; the clamp keeps it from
   overflowing a phone, where the explicit <br> already forces two lines. */
.tl-land-fin-h {
  margin: 0;
  max-width: 56.25rem;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--tl-paper);
}

.tl-land-fin-h em { font-style: italic; color: var(--tl-cta); }

/* The launch line is sage, not the muted grey the other dark eyebrows use. */
.tl-land-finale .tl-land-eyebrow-dark {
  color: var(--tl-sage);
  font-size: 0.75rem;
}

/* The closing pitch on the mockup's 34px rhythm.
 *
 * This used to be a second `.tl-land-finale .tl-land-wrap` rule, a duplicate
 * of the one further up, and it made the whole wrap a flex column: the 34px
 * then applied between the profile and the footer columns as well, stacking
 * with their own margins. The gap belongs to the copy group alone. */
.tl-land-finale-copy { display: flex; flex-direction: column; gap: 2.125rem; }

/* ------------------------------------------------- the day's device cards --
   Four of the six were approximations before: three equal cells where the
   mockup has one big figure and a sparkline, a full-bleed orange bar where it
   has a small LIVE pill, a plain number where it has the summit photo, and
   three bordered lines where it has one split bar. These are the mockup's
   structures, at its measurements. */

/* 05:10 vertical speed */
.tl-land-dev--vspeed { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem; padding: 1.75rem 2rem; }
.tl-land-dev-big {
  font-family: var(--tl-font-display);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--tl-ink);
}
.tl-land-dev-big small { font-size: 1.625rem; font-weight: 600; color: var(--tl-dim); }
.tl-land-spark {
  flex-shrink: 0;
  width: 200px;
  height: 84px;
}
.tl-land-dev-stack { display: flex; flex-direction: column; gap: 0.875rem; }
.tl-land-dev-mid {
  font-family: var(--tl-font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--tl-ink);
}

/* 07:30 who is following */
.tl-land-dev--follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
}
.tl-land-follow-l { display: flex; align-items: center; gap: 1.125rem; }
.tl-land-follow-h { font-weight: 600; font-size: 1rem; color: var(--tl-ink); }
.tl-land-follow-s { font-size: 0.84375rem; color: var(--tl-dim); }

/*
 * The live pill, once. It was declared twice, 900 lines apart, at two
 * different sizes: 28px high for the hero's float card and 32px for the One
 * Day card. Same class, so the second simply won and the hero pill had been
 * rendering at the One Day size all along. These are the values that were
 * actually on screen, now in one place.
 *
 * The face is named here rather than left to .mono because the hero's pill
 * carries no mono class in its markup.
 */
.tl-land-pill-live {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.5rem;
  height: 2rem;
  padding: 0 0.875rem;
  border-radius: 999px;
  background: var(--tl-cta-hover);
  color: var(--tl-paper);
  font-family: var(--tl-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tl-land-pill-live .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tl-paper);
  display: inline-block;
  animation: tl-land-pulse 2s ease-in-out infinite;
}

/* Follower avatars. Two rules used to define these 700 lines apart, at 30px
   and at 40px; the later won and the first was doing nothing except supplying
   the properties it did not happen to override. Those are folded in here:
   the margin above the group, the mono face, and the default tint under the
   --a/--b/--c modifiers. */
.tl-land-dev-faces { display: flex; margin-top: 0.75rem; }
.tl-land-dev-face {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tl-accent);
  font-family: var(--tl-font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 3px solid var(--tl-panel);
  color: var(--tl-paper);
}
.tl-land-dev-face + .tl-land-dev-face { margin-left: -12px; }
.tl-land-dev-face--a { background: var(--tl-accent); }
.tl-land-dev-face--b { background: var(--tl-face-b); }
.tl-land-dev-face--c { background: var(--tl-face-c); color: var(--tl-ink); }

/* 08:52 the summit figure and its photo */
.tl-land-dev--summit { display: flex; flex-wrap: wrap; align-items: center; gap: 2.25rem; padding: 1.75rem 2rem; }
.tl-land-dev-huge {
  font-family: var(--tl-font-display);
  font-size: clamp(4rem, 8vw, 7.75rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--tl-ink);
}
.tl-land-dev-huge-sub { display: flex; align-items: baseline; gap: 1rem; margin-top: 0.625rem; }
.tl-land-dev-huge-sub .mono { font-size: 0.8125rem; letter-spacing: 0.14em; color: var(--tl-accent); text-transform: uppercase; }
.tl-land-dev-huge-sub s { color: var(--tl-ink-faint); letter-spacing: normal; }

.tl-land-shot {
  position: relative;
  flex-shrink: 0;
  width: 180px;
  height: 220px;
  border-radius: var(--tl-radius-lg);
  border: 4px solid var(--tl-panel);
  box-shadow: 0 20px 40px -20px rgba(var(--tl-ink-rgb), 0.5);
  background: var(--tl-shot);
  overflow: hidden;
  transform: rotate(3deg);
}
.tl-land-shot-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: var(--tl-paper);
  text-transform: uppercase;
}
.tl-land-shot-ico {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(var(--tl-paper-rgb), 0.9);
  color: var(--tl-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 09:16 the split bar */
.tl-land-dev--splits { padding: 1.625rem 2rem; }
.tl-land-splitbar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; }
.tl-land-splitbar-up   { width: 72%; background: var(--tl-accent); }
.tl-land-splitbar-top  { width: 8%;  background: var(--tl-split-idle); }
.tl-land-splitbar-down { width: 20%; background: var(--tl-cta-hover); }

.tl-land-splitkeys { display: flex; justify-content: space-between; margin-top: 0.75rem; gap: 1rem; }
.tl-land-splitkeys span { font-size: 0.71875rem; letter-spacing: 0.1em; text-transform: uppercase; }
.tl-land-splitkey--up   { color: var(--tl-accent); }
.tl-land-splitkey--top  { color: var(--tl-dim); }
.tl-land-splitkey--down { color: var(--tl-cta-hover); }







/*===========================================================================*\
|| RESPONSIVE                                                                 ||
|| -------------------------------------------------------------------------- ||
|| Every breakpoint lives here, at the end, in descending order.               ||
||                                                                            ||
|| They used to sit beside the rules they modified, which reads well until a   ||
|| base rule happens to be declared further down the file: same specificity,   ||
|| later wins, and the breakpoint silently loses. That is what kept the        ||
|| footer meta row centred on a phone after it had been told to align left.    ||
||                                                                            ||
|| Widths are Bootstrap's own: xl 1199.98, lg 991.98, md 767.98, sm 575.98.    ||
\*===========================================================================*/

@media (prefers-reduced-motion: reduce) {
  .tl-land-hero .glowA,
  .tl-land-dev .glowA,
  .tl-land-hero .pulse,
  .tl-land-dev .pulse,
  .tl-land-hero .routedraw,
  .tl-land-hero .fadeup,
  .tl-land-float,
  .tl-land-ticker-track,
  .tl-land-ring,
  .tl-land-ldot,
  .tl-land-eyebrow--live i {
    animation: none !important;
  }
  .tl-land-hero .fadeup { opacity: 1; transform: none; }
  .tl-land-hero .routedraw { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tl-land-pill-live .pulse { animation: none; }
}

@media (max-width: 1199.98px) { .tl-land-float { display: none !important; } }

/* The copy column is a fixed 380px and the device card beside it wants about
   700 more, so the row has to stack while there is still room to stack into:
   at the old 900 the pair spent the whole 900-1200 band running 130px past the
   right edge of the page. */
@media (max-width: 1199.98px) {
  .tl-land-step-body { flex-direction: column; margin-left: 0; gap: 1.25rem; }
  /* The 380 has to go once the row stacks: as a definite width on a child
     whose parent is sized by its content, max-width: 100% cannot resolve and
     is treated as none, so the column simply pushed the page 13px wider. */
  .tl-land-step-copy { width: 100%; }
}

@media (max-width: 1199.98px) {
  .tl-land-dev--vspeed,
  .tl-land-dev--summit { flex-wrap: wrap; gap: 1.5rem; }
  .tl-land-spark { width: 100%; }
}

@media (max-width: 991.98px)  { .tl-land-strip { display: none !important; } }

@media (max-width: 991.98px) {
  .tl-land-day::before { left: 7px; }
  .tl-land-step { gap: 1rem; padding-bottom: 2.5rem; flex-wrap: wrap; }
  .tl-land-step-time { width: auto; order: 2; text-align: left; }
  .tl-land-step-dot { order: 1; }
  .tl-land-step-body { order: 3; flex-basis: 100%; }
}

@media (max-width: 991.98px) {
  .tl-land-sec-head { flex-direction: column; align-items: flex-start; gap: 1.125rem; }
}


@media (max-width: 991.98px) {
  .tl-land-shot { width: 132px; height: 164px; }
}

@media (max-width: 767.98px) {
  .tl-land-hero { min-height: 0; padding-bottom: 6rem; }
  .tl-land-hero-art { display: none; }
  .tl-land-hero-bottom { position: static; margin-top: 2.5rem; }

  /* The h1 keeps a 128px gap below the eyebrow on the desktop staging, which
     on a phone is a screen and a half of empty ground before the headline. */
  .tl-land-hero-gap { margin-top: 2.75rem !important; }
  .tl-land-hero .tl-land-eyebrow-dark { font-size: 0.625rem; letter-spacing: 0.16em; }

  /* The lede is written with a hard break for the desktop measure. */
  .tl-land-lede br { display: none; }

  /* Full-width buttons: side by side they are each too narrow to read. */
  .tl-land-cta-row { flex-direction: column; align-items: stretch; }
  .tl-land-cta-row .tl-land-btn { justify-content: center; }

  /* The timeline rail and its dots are desktop furniture. With the rows
     stacked there is nothing left for them to connect. */
  .tl-land-day::before,
  .tl-land-step-dot { display: none; }
  .tl-land-step { flex-direction: column; gap: 0.625rem; }
  .tl-land-step-body { margin-left: 0; }

}


@media (max-width: 767.98px) {
  .tl-land-sec-head { flex-direction: column; align-items: flex-start; }
}


/* ---- live, feed, totals, planner, clubs ---- */

@media (max-width: 1199.98px) {
  .tl-land-plan-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
}

@media (max-width: 991.98px) {
  .tl-land-live-grid,
  .tl-land-feed-grid,
  .tl-land-clubs-grid { grid-template-columns: minmax(0, 1fr); }
  /* The plates break out over the featured card's top edge; stacked under
     the section head, that edge needs room above it. */
  .tl-land-feat { margin-top: 2.25rem; }
  .tl-land-tband { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row; }
  .tl-land-tband > div:first-child { grid-column: 1 / -1; }
  .tl-land-tband--flat > div:first-child { grid-column: auto; }
}

@media (max-width: 767.98px) {
  .tl-land-aside,
  .tl-land-head-links { padding-bottom: 0; }
  .tl-land-follow { grid-template-columns: minmax(0, 1fr); gap: 1.375rem; }
  .tl-land-map-tip { display: none; }
  .tl-land-tband { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-land-band { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-land-feat-body { padding: 1.125rem 1rem 1.125rem; }

  .tl-land-frow { grid-template-columns: 52px minmax(0, 1fr); gap: 0.875rem; }
  .tl-land-thumb { width: 52px; height: 52px; }
  .tl-land-frow-figs { grid-column: 2; flex-direction: row; align-items: baseline; gap: 0.875rem; }

  /* The planner's overlays are for a screen with room around the map. On a
     phone they step aside and the map, the profile and the key carry it. */
  .tl-land-plan-card,
  .tl-land-plan-pill,
  .tl-land-plan-pop,
  .tl-land-plan-place--peak { display: none; }

  .tl-land-st { grid-template-columns: 2.5rem minmax(0, 1fr); padding: 1.125rem 0.25rem; }
  .tl-land-st-v,
  .tl-land-st-go { grid-column: 2; }
  .tl-land-st-bar { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
  /* A narrow card cannot carry the layout along the track. That layout is
     in the map's own units and the map keeps its shape, so on a phone the
     map is 145px tall: one plate big enough to read is most of it, two of
     them are on each other, and where the layout put them is somebody's
     chips. So one plate, in the corner the map furnishes last, and no
     leader, since there is no longer any geometry to point at. The camera
     marks stay: where the photographs were taken is the part worth keeping
     at any size, and the rest of the day is on the activity itself, which
     is where the card leads. */
  .tl-land-feat-over .tl-land-plate2:nth-of-type(n + 2),
  .tl-land-feat-over line { display: none; }
  .tl-land-feat-over .tl-land-plate2 { width: 26%; left: 78%; top: 97%; }
}

@media (max-width: 575.98px) {
  /* The distance labels run off a 360px profile, so the ticks go with them. */
  .tl-land-prof-t,
  .tl-land-pp-t,
  .tl-land-pp-n { display: none; }
}

