/* ==========================================================================
   Times Business — site stylesheet
   All custom CSS lives here; Tailwind handles layout and general utilities.
   Sections below the hero follow a panel-on-tinted-ground system: soft page
   ground, large rounded panels, two-tone headings, pill buttons.
   ========================================================================== */

:root {
  --tb-ink: #1c1c1c;
  --tb-ink-deep: #0a0e13;
  --tb-red: #e9262f;
  --tb-gold: #e3c13c;
  --tb-mist: #f6f6f4;
  --tb-line: rgba(16, 24, 32, 0.1);
  --tb-muted: #1c1c1c;
  --tb-ink-warm: #221e1f;

  /* Page ground the rounded panels sit on. */
  --tb-ground: #f8f9fa;
  --tb-radius-panel: 26px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  background: var(--tb-ground);
  color: var(--tb-ink);
  font-family: "DM Sans", system-ui, -apple-system, 'Segoe UI', sans-serif;
}

::selection {
  background: var(--tb-red);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Page shell — one horizontal rhythm for every section
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  margin-inline: auto;
  max-width: 1320px;
  padding-inline: 20px;
}

@media (min-width: 640px)  { .shell { padding-inline: 32px; }
}
@media (min-width: 1024px) { .shell { padding-inline: 40px; }
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.font-display {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: -0.032em;
  line-height: 1.04;
}

.eyebrow {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Centred eyebrow with a short rule on each side, as the reference uses. */
.eyebrow-center {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow-center::before,
.eyebrow-center::after {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* Left-aligned variant keeps only the leading rule. */
.eyebrow-rule::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Header — floats over the hero video, inverts to solid white on scroll
   -------------------------------------------------------------------------- */

.site-header {
  background: transparent;
  color: #fff;
  transition: background-color 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease, color 0.35s ease;
}

/* Transparent over the hero; once scrolled the utility bar goes black and the
   nav row takes the brand red. */
.site-header.is-solid {
  background: transparent;
}

/* On red, the underline and the CTA have to invert to stay visible. */
.site-header.is-solid .nav-link::after {
  background: var(--tb-red);
}

.site-header.is-solid .btn-primary {
  background: var(--tb-red);
  color: #fff;
  box-shadow: none;
}

.site-header.is-solid .btn-primary:hover {
  background: var(--tb-ink);
  color: #fff;
}

/* The header never turns light, so the reverse lockup is the only one used. */
.site-header .logo-solid { display: none; }

.nav-link {
  position: relative;
  padding-bottom: 5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--tb-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover::after,
.nav-link[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-nav {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: translateY(0);
}

.mobile-nav__panel {
  transform: translateY(-14px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

body.nav-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Hero carousel
   -------------------------------------------------------------------------- */

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

/* Every slide shares one grid cell, so they stack without absolute
   positioning and the tallest one sets the height. */
#heroSlides {
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

/* The media drifts very slowly while its slide is on screen. */
.hero-slide.is-active .hero-media {
  animation: hero-drift 12s ease-out forwards;
}

@keyframes hero-drift {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Copy rises as each slide takes over. */
.hero-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide.is-active .hero-in { opacity: 1; transform: none; }
.hero-slide.is-active .hero-in:nth-child(2) { transition-delay: 120ms; }
.hero-slide.is-active .hero-in:nth-child(3) { transition-delay: 210ms; }
.hero-slide.is-active .hero-in:nth-child(4) { transition-delay: 300ms; }

/* Three layers: a soft overall grade, a left-hand fall-off for the headline,
   and a bottom vignette that grounds the CTAs and the carousel controls. */
.hero-scrim {
  background:
    linear-gradient(
      96deg,
      rgba(6, 9, 13, 0.72) 0%,
      rgba(6, 9, 13, 0.48) 26%,
      rgba(6, 9, 13, 0.16) 58%,
      rgba(6, 9, 13, 0.04) 100%
    ),
    linear-gradient(
      to top,
      rgba(6, 9, 13, 0.88) 0%,
      rgba(6, 9, 13, 0.42) 26%,
      rgba(6, 9, 13, 0.04) 58%,
      rgba(6, 9, 13, 0.26) 100%
    ),
    radial-gradient(
      120% 85% at 50% 45%,
      rgba(6, 9, 13, 0) 48%,
      rgba(6, 9, 13, 0.22) 100%
    );
}

/* The headline carries its own soft shadow so it stays crisp over highlights. */
#hero h2,
#hero .eyebrow,
#hero .hero-in p {
  text-shadow: 0 2px 30px rgba(6, 9, 13, 0.7);
}

/* Scroll cue */
.scroll-cue {
  position: relative;
  display: block;
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.scroll-cue::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: -34px;
  height: 34px;
  background: #fff;
  animation: scroll-cue 2.2s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}

@keyframes scroll-cue {
  0%   { transform: translateY(0); }
  100% { transform: translateY(68px); }
}

/* Carousel controls */
.hero-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.75);
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.hero-ctrl:hover {
  background: #fff;
  border-color: #fff;
  color: var(--tb-ink);
}

.hero-track {
  display: block;
  width: 64px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-track__fill {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}

/* --------------------------------------------------------------------------
   Buttons — pill geometry, matching the reference's lighter feel
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

/* Buttons below the hero run a size smaller; header and banner keep the full pill. */
main section:not(#hero) .btn {
  padding: 12px 24px;
  font-size: 15px;
}

.btn:hover { transform: translateY(-2px); }

.btn svg { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.btn:hover svg { transform: translate(3px, -3px); }

.btn-primary {
  background: var(--tb-red);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(233, 38, 47, 0.75);
}

.btn-primary:hover { background: #cf1f27; }

/* Banner call to action: red pill with the arrow in its own white chip. */
.btn-hero {
  gap: 14px;
  padding: 7px 7px 7px 26px;
  background: var(--tb-red);
  color: #fff;
  box-shadow: 0 18px 36px -18px rgba(233, 38, 47, 0.75);
}

.btn-hero:hover { background: #cf1f27; }

.btn-hero__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  color: var(--tb-red);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--tb-ink);
  border-color: #fff;
}

.btn-ink {
  background: var(--tb-ink);
  color: #fff;
}

.btn-ink:hover { background: #000; }

.btn-outline {
  border: 1px solid var(--tb-line);
  color: var(--tb-ink);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--tb-ink);
  background: var(--tb-ink);
  color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.link-arrow svg { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.link-arrow:hover svg,
.group:hover .link-arrow svg { transform: translate(4px, -4px); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  border: 1px solid var(--tb-line);
  background: #fff;
  border-radius: 26px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease, border-color 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 24, 32, 0.16);
  box-shadow: 0 30px 60px -38px rgba(16, 24, 32, 0.45);
}

/* Small pill used for sector chips and brand tags. */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--tb-line);
  background: #fff;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.chip:hover {
  background: var(--tb-ink);
  border-color: var(--tb-ink);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Media
   -------------------------------------------------------------------------- */

.media-zoom img {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.group:hover .media-zoom img,
.media-zoom:hover img {
  transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   Brand grid — one optical size for logos of very different proportions
   -------------------------------------------------------------------------- */

.brand-cell img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-cell:hover img {
  filter: none;
  transform: scale(1.05);
}

/* Wordmarks read larger than stacked marks at the same box height. */
.brand-cell--wordmark img { max-height: 34px; }
.brand-cell--stacked img  { max-height: 58px; }

@media (min-width: 768px) {
  .brand-cell--wordmark img { max-height: 40px; }
  .brand-cell--stacked img  { max-height: 68px; }
}

/* --------------------------------------------------------------------------
   Horizontal rails (industries, chips) — snap on small screens
   -------------------------------------------------------------------------- */

.rail {
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover { transform: none; }
}

.stat-value {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Focus states
   -------------------------------------------------------------------------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--tb-red);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-dark a:focus-visible,
.on-dark button:focus-visible {
  outline-color: var(--tb-gold);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--tb-ink);
  color: #fff;
}

/* The lockup sits on live video, so it needs its own separation. */
.site-header .logo-over {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85))
    drop-shadow(0 3px 12px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 34px rgba(0, 0, 0, 0.55));
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active .hero-media { animation: none; }
  .scroll-cue::after { animation: none; top: 0; }

  .hero-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Round brand full-stop — Archivo's own period is square at display sizes. */
.head-dot {
  display: inline-block;
  width: 0.135em;
  height: 0.135em;
  margin-left: 0.05em;
  border-radius: 999px;
  background: var(--tb-red);
}

/* --------------------------------------------------------------------------
   FAQ — native <details>, styled as a hairline list
   -------------------------------------------------------------------------- */

.faq-item {
  border-top: 1px solid var(--tb-line);
}

.faq-item:last-of-type {
  border-bottom: 1px solid var(--tb-line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--tb-red);
}

/* The +/− marker is drawn from two bars so it can animate. */
.faq-item summary::after {
  content: '';
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--tb-line);
  background:
    linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-size 0.35s ease, border-color 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-size: 11px 1.5px, 0 1.5px;
  border-color: currentColor;
}

.faq-answer {
  padding: 0 56px 22px 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--tb-muted);
}

.faq-answer a {
  color: var(--tb-ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(16, 24, 32, 0.28);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.faq-answer a:hover {
  color: var(--tb-red);
  text-decoration-color: currentColor;
}

/* Answers slide open where the browser can animate to auto height. */
@supports (interpolate-size: allow-keywords) {
  .faq-item {
    interpolate-size: allow-keywords;
  }

  .faq-item::details-content {
    height: 0;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      content-visibility 0.4s allow-discrete;
  }

  .faq-item[open]::details-content {
    height: auto;
  }
}

@media (max-width: 640px) {
  .faq-item summary { font-size: 15px; gap: 16px; }
  .faq-answer { padding-right: 40px; }
}

/* --------------------------------------------------------------------------
   Utility bar — brand red, picking up the red in the logo
   -------------------------------------------------------------------------- */

.utility-bar {
  /* Same pale red-to-gold tint as the newsletter panel. */
  background: linear-gradient(120deg, #fdecec 0%, #fff4ee 48%, #fdf3d3 100%);
  border-bottom: 0;
}

.social-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

/* Icons keep their own brand colours, so nothing here sets a colour. */
.social-dot svg {
  width: 20px;
  height: 20px;
}

.social-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Business mega menu
   -------------------------------------------------------------------------- */

.mega-trigger {
  display: none;
}

/* Flex, not block: as a block the wrapper adds a line box around the link and
   drops "Business" below its neighbours. */
@media (min-width: 1024px) {
  .mega-trigger { display: flex; align-items: center; }
}

.mega-chevron {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-trigger.is-open .mega-chevron {
  transform: rotate(180deg);
}

.mega-trigger.is-open .nav-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: none;
  width: min(760px, calc(100vw - 80px));
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 70px -30px rgba(28, 28, 28, 0.28),
    0 0 0 1px rgba(28, 28, 28, 0.05);
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 0.26s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) {
  .mega { display: block; }
}

.mega.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mega[aria-hidden='true'] {
  pointer-events: none;
}

/* --- group company rows --- */

.mega-company {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--tb-ink);
  transition: background-color 0.25s ease;
}

.mega-company:hover {
  background: var(--tb-ground);
}

.mega-num {
  flex: none;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  background: var(--tb-ground);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--tb-muted);
  transition: background-color 0.25s ease, border-color 0.25s ease,
    color 0.25s ease;
}

.mega-company:hover .mega-num {
  background: var(--tb-red);
  border-color: var(--tb-red);
  color: #fff;
}

.mega-company__name {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.mega-company__desc {
  display: block;
  margin-top: 1px;
  font-size: 13.5px;
  color: var(--tb-muted);
}

.mega-company__arrow {
  flex: none;
  margin-left: auto;
  color: rgba(16, 24, 32, 0.3);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease;
}

.mega-company:hover .mega-company__arrow {
  color: var(--tb-red);
  transform: translate(3px, -3px);
}

/* --- brand wall --- */

.mega-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 66px;
  padding: 0 14px;
  border-radius: 18px;
  background: var(--tb-ground);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease, background-color 0.25s ease;
}

.mega-brand:hover {
  transform: translateY(-2px);
  background: #eef0f2;
}

.mega-brand img {
  max-width: 100%;
  width: auto;
  object-fit: contain;
    transition: filter 0.3s ease;
}

.mega-brand--wordmark img { max-height: 22px; }
.mega-brand--stacked img  { max-height: 38px; }

@media (prefers-reduced-motion: reduce) {
  .mega { transition: none; }
  .mega-brand:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   About section
   -------------------------------------------------------------------------- */

/* Oversized wordmark running up the right edge, behind the content. */
.about-watermark {
  position: absolute;
  right: -6px;
  top: 50%;
  z-index: -10;
  writing-mode: vertical-rl;
  white-space: nowrap;
  transform: translateY(-50%);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(16, 24, 32, 0.045);
  pointer-events: none;
  user-select: none;
}

/* Only shown where there is room beside the content column. */
@media (max-width: 1439px) {
  .about-watermark { display: none; }
}

.value-card {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 14px 15px;
  border: 1px solid var(--tb-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  transition: background-color 0.25s ease, border-color 0.25s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-card:hover {
  background: #fff;
  border-color: rgba(16, 24, 32, 0.18);
  transform: translateY(-2px);
}

.value-card__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--tb-mist);
  color: var(--tb-red);
  transition: background-color 0.25s ease;
}

.value-card:hover .value-card__icon {
  background: #fdf0f0;
}

.value-card__title {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

.value-card__sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--tb-muted);
}

.value-card__arrow {
  flex: none;
  color: rgba(16, 24, 32, 0.28);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease;
}

.value-card:hover .value-card__arrow {
  color: var(--tb-red);
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .value-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Header compaction on scroll
   The row, the lockup and the utility bar all ease down together so the header
   shrinks as one piece rather than snapping.
   -------------------------------------------------------------------------- */

:root {
  --tb-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.utility-row,
.header-row,
.header-logo,
.logo-over {
  transition: height 0.45s var(--tb-ease), top 0.45s var(--tb-ease),
    padding 0.45s var(--tb-ease);
}

.utility-row { height: 34px; }
.header-row  { height: 74px; }
.logo-over   { height: 60px; }

@media (min-width: 1024px) {
  .header-row { height: 96px; }
  .header-logo { top: -32px; }
  .logo-over { height: 124px; }

  /* Compact state. The lockup keeps its size, so only the nav row loses
     height and the offset shifts to keep the logo centred on the shorter
     header (44 + 64 = 108px, just clearing the 104px mark). */
  .site-header.is-solid .header-row { height: 64px; }
  .site-header.is-solid .header-logo { top: -42px; }

  /* The CTA tightens with everything else. */
  .site-header .btn { transition: background-color 0.25s ease, color 0.25s ease,
      transform 0.25s ease, padding 0.45s var(--tb-ease),
      font-size 0.45s var(--tb-ease); }
  .site-header.is-solid .btn { padding: 11px 22px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .utility-row,
  .header-row,
  .header-logo,
  .logo-over,
  .site-header .btn { transition: none; }
}

/* ==========================================================================
   Lively system — sector tints, tiles, promo pairs, stat cards
   A restrained six-hue set: enough colour coding to make the page feel alive
   without fighting the red in the logo.
   ========================================================================== */

:root {
  /* Grounds carry real saturation now, with the ink a step deeper so the
     numbers and icons still clear AA against them. */
  --tint-red-bg:     #ffdfe0;  --tint-red-ink:     #b8161f;
  --tint-amber-bg:   #ffeac4;  --tint-amber-ink:   #8f5804;
  --tint-teal-bg:    #ccebe6;  --tint-teal-ink:    #06635a;
  --tint-indigo-bg:  #dde0f8;  --tint-indigo-ink:  #2f35a3;
  --tint-green-bg:   #d8eed6;  --tint-green-ink:   #226b27;
  --tint-slate-bg:   #dde4ea;  --tint-slate-ink:   #33485c;
}

.t-red    { --tint-bg: var(--tint-red-bg);    --tint-ink: var(--tint-red-ink); }
.t-amber  { --tint-bg: var(--tint-amber-bg);  --tint-ink: var(--tint-amber-ink); }
.t-teal   { --tint-bg: var(--tint-teal-bg);   --tint-ink: var(--tint-teal-ink); }
.t-indigo { --tint-bg: var(--tint-indigo-bg); --tint-ink: var(--tint-indigo-ink); }
.t-green  { --tint-bg: var(--tint-green-bg);  --tint-ink: var(--tint-green-ink); }
.t-slate  { --tint-bg: var(--tint-slate-bg);  --tint-ink: var(--tint-slate-ink); }

/* --------------------------------------------------------------------------
   Sector tile — image, colour wash, label sitting on the artwork
   -------------------------------------------------------------------------- */

.sector-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: var(--tint-bg);
  transition: transform 0.4s var(--tb-ease), box-shadow 0.4s ease;
}

.sector-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 46px -28px rgba(16, 24, 32, 0.5);
}

.sector-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--tb-ease);
}

.sector-tile:hover img { transform: scale(1.07); }

/* Colour wash keeps each sector distinct while the photo still reads. */
.sector-tile__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 14, 19, 0.88) 0%, rgba(10, 14, 19, 0.15) 55%, rgba(10, 14, 19, 0) 80%),
    color-mix(in srgb, var(--tint-ink) 28%, transparent);
  mix-blend-mode: normal;
  transition: opacity 0.4s ease;
}

.sector-tile:hover .sector-tile__wash { opacity: 0.86; }

.sector-tile__num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}

.sector-tile__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 18px;
  color: #fff;
}

.sector-tile__title {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sector-tile__meta {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

/* --------------------------------------------------------------------------
   Promo card — tinted panel, copy left, artwork right
   -------------------------------------------------------------------------- */

.promo-card {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--tint-bg);
  transition: transform 0.4s var(--tb-ease), box-shadow 0.4s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 56px -34px rgba(16, 24, 32, 0.45);
}

.promo-card__body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 24px 0 24px 26px;
}

.promo-card__art {
  flex: 0 0 42%;
  position: relative;
  min-height: 170px;
}

.promo-card__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--tb-ease);
}

.promo-card:hover .promo-card__art img { transform: scale(1.06); }

.promo-card h3 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--tb-ink);
}

.promo-card p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--tb-muted);
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--tint-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.promo-card:hover .promo-btn { transform: translateY(-1px); }
.promo-btn svg { transition: transform 0.3s var(--tb-ease); }
.promo-card:hover .promo-btn svg { transform: translate(3px, -3px); }

@media (max-width: 639px) {
  .promo-card { flex-direction: column; gap: 0; }
  .promo-card__body { padding: 26px 24px 0; }
  .promo-card__art { flex: none; min-height: 190px; margin-top: 22px; }
}

/* --------------------------------------------------------------------------
   Stat card
   -------------------------------------------------------------------------- */

.stat-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--tint-bg);
  transition: transform 0.4s var(--tb-ease);
}

.stat-card:hover { transform: translateY(-4px); }

.stat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: #fff;
  color: var(--tint-ink);
}

.stat-card__value {
  display: block;
  margin-top: 12px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--tint-ink);
}

.stat-card__label {
  display: block;
  margin-top: 8px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--tb-ink);
}

.stat-card__note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--tb-muted);
}

@media (prefers-reduced-motion: reduce) {
  .sector-tile:hover,
  .promo-card:hover,
  .stat-card:hover { transform: none; }
  .sector-tile:hover img,
  .promo-card:hover .promo-card__art img { transform: none; }
}

/* --------------------------------------------------------------------------
   Brand tile — tinted panel holding a partner mark in its own colours
   -------------------------------------------------------------------------- */

.brand-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 148px;
  padding: 0 18px;
  border-radius: 20px;
  background: var(--tint-bg);
  transition: transform 0.4s var(--tb-ease), box-shadow 0.4s ease;
}

.brand-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 46px -30px rgba(16, 24, 32, 0.45);
}

.brand-tile__art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
}

.brand-tile__art img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.brand-tile__name {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tb-muted);
}

/* Product cut-outs need to sit inside the panel, not fill it like a photo. */
.promo-card--product .promo-card__art img {
  object-fit: contain;
  padding: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .icon-tile:hover,
  .brand-tile:hover { transform: none; }
  .icon-tile:hover::before { transform: none; }
}

/* --------------------------------------------------------------------------
   Fact card — the value strip: tinted panel, two-tone glyph, soft vector
   decoration keyed to each card's ink colour
   -------------------------------------------------------------------------- */

.fact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 186px;
  padding: 26px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--tint-bg);
  transition: transform 0.4s var(--tb-ease), box-shadow 0.4s ease;
}

.fact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 48px -30px rgba(16, 24, 32, 0.42);
}

/* Large soft ring drifting out of the top-right corner. */
.fact-card::before {
  content: '';
  position: absolute;
  right: -56px;
  top: -56px;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  border: 30px solid rgba(255, 255, 255, 0.55);
  transition: transform 0.7s var(--tb-ease);
}

.fact-card:hover::before { transform: scale(1.14) rotate(8deg); }

/* Dot field anchored to the bottom-right, in the card's own ink. */
.fact-card::after {
  content: '';
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 74px;
  height: 46px;
  background-image: radial-gradient(
    currentColor 1.4px,
    transparent 1.5px
  );
  background-size: 11px 11px;
  color: var(--tint-ink);
  opacity: 0.16;
  transition: opacity 0.4s ease;
}

.fact-card:hover::after { opacity: 0.28; }

.fact-card__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #fff;
  color: var(--tint-ink);
  box-shadow: 0 10px 22px -14px rgba(16, 24, 32, 0.5);
}

/* Two-tone glyphs: a soft filled body under crisp strokes. */
.fact-card__icon .fill { fill: currentColor; opacity: 0.16; }
.fact-card__icon .line { stroke: currentColor; }

.fact-card__text { position: relative; margin-top: auto; }

.fact-card__title {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--tb-ink);
}

.fact-card__sub {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: var(--tb-muted);
}

@media (prefers-reduced-motion: reduce) {
  .fact-card:hover { transform: none; }
  .fact-card:hover::before { transform: none; }
}

/* Value cards pick up the same tint tokens when given a .t-* class. */
.value-card.t-red,
.value-card.t-amber,
.value-card.t-teal,
.value-card.t-indigo,
.value-card.t-green,
.value-card.t-slate {
  border-color: transparent;
  background: var(--tint-bg);
}

.value-card.t-red:hover,
.value-card.t-amber:hover,
.value-card.t-teal:hover,
.value-card.t-indigo:hover,
.value-card.t-green:hover,
.value-card.t-slate:hover {
  border-color: transparent;
  background: var(--tint-bg);
  box-shadow: 0 22px 40px -28px rgba(16, 24, 32, 0.4);
}

.value-card.t-red .value-card__icon,
.value-card.t-amber .value-card__icon,
.value-card.t-teal .value-card__icon,
.value-card.t-indigo .value-card__icon,
.value-card.t-green .value-card__icon,
.value-card.t-slate .value-card__icon {
  background: rgba(255, 255, 255, 0.85);
  color: var(--tint-ink);
}

.value-card.t-red .value-card__arrow,
.value-card.t-amber .value-card__arrow,
.value-card.t-teal .value-card__arrow,
.value-card.t-indigo .value-card__arrow,
.value-card.t-green .value-card__arrow,
.value-card.t-slate .value-card__arrow {
  color: var(--tint-ink);
  opacity: 0.55;
}

.value-card.t-red:hover .value-card__arrow,
.value-card.t-amber:hover .value-card__arrow,
.value-card.t-teal:hover .value-card__arrow,
.value-card.t-indigo:hover .value-card__arrow,
.value-card.t-green:hover .value-card__arrow,
.value-card.t-slate:hover .value-card__arrow {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Contact routes + showroom cards
   -------------------------------------------------------------------------- */

.contact-route {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: 22px;
  background: var(--tint-bg);
  transition: transform 0.4s var(--tb-ease), box-shadow 0.4s ease;
}

.contact-route:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 46px -30px rgba(16, 24, 32, 0.45);
}

.contact-route__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  color: var(--tint-ink);
}

.contact-route__label {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tint-ink);
}

.contact-route__value {
  display: block;
  margin-top: 7px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--tb-ink);
}

.contact-route__note {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--tb-muted);
}

.showroom-card {
  padding: 26px 24px;
  border: 1px solid var(--tb-line);
  border-radius: 22px;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.showroom-card:hover {
  border-color: rgba(16, 24, 32, 0.18);
  box-shadow: 0 24px 44px -32px rgba(16, 24, 32, 0.4);
}

.showroom-card__pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--tint-red-bg);
  color: var(--tint-red-ink);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer-head {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tb-muted);
}

.footer-link {
  position: relative;
  font-size: 16px;
  color: #1c1c1c;
  transition: color 0.25s ease;
}

.footer-link:hover { color: var(--tb-red); }

/* Small red marker slides in on hover. */
.footer-link::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  width: 5px;
  height: 1.5px;
  background: var(--tb-red);
  opacity: 0;
  transform: translateY(-50%) translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s var(--tb-ease);
}

.footer-link:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--tb-line);
  color: var(--tb-ink);
  transition: background-color 0.25s ease, border-color 0.25s ease,
    color 0.25s ease, transform 0.25s ease;
}

.footer-social svg { width: 15px; height: 15px; }

.footer-social:hover {
  background: var(--tb-red);
  border-color: var(--tb-red);
  color: #fff;
  transform: translateY(-2px);
}

.footer-card {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--tb-ground);
  transition: background-color 0.25s ease, transform 0.3s var(--tb-ease);
}

.footer-card:hover {
  background: #eef0f2;
  transform: translateX(3px);
}

.footer-card__name {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--tb-ink);
}

.footer-card__meta {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--tb-muted);
}

.footer-card__value {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--tb-red);
}

@media (prefers-reduced-motion: reduce) {
  .contact-route:hover,
  .footer-social:hover,
  .footer-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Contact — form card, detail tiles and the map panel
   -------------------------------------------------------------------------- */

.contact-card {
  border: 1px solid var(--tb-line);
  border-radius: 20px;
  background: #fff;
  /* The card can sit inside a dark panel, so it restates its own ink. */
  color: var(--tb-ink);
  box-shadow: 0 30px 60px -44px rgba(16, 24, 32, 0.4);
}

.field {
  display: block;
}

.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--tb-ink);
}

.field__input,
.field__select,
.field__area {
  width: 100%;
  border: 1px solid var(--tb-line);
  border-radius: 12px;
  background: var(--tb-mist);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--tb-ink);
  transition: border-color 0.25s ease, background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.field__area { resize: vertical; min-height: 92px; }

.field__input::placeholder,
.field__area::placeholder { color: #9aa0a6; }

.field__input:focus,
.field__select:focus,
.field__area:focus {
  outline: none;
  background: #fff;
  border-color: var(--tb-red);
  box-shadow: 0 0 0 4px rgba(233, 38, 47, 0.12);
}

/* Native arrow is replaced so the control matches the inputs. */
.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236b7076' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
}

/* --- detail tile --- */

.detail-tile {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: var(--tint-bg);
  transition: transform 0.35s var(--tb-ease);
}

.detail-tile:hover { transform: translateY(-3px); }

.detail-tile__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #fff;
  color: var(--tint-ink);
}

.detail-tile__name {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--tb-ink);
}

.detail-tile__line {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--tb-muted);
}

.detail-tile a.detail-tile__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tint-ink);
}

.detail-tile__link svg { transition: transform 0.3s var(--tb-ease); }
.detail-tile__link:hover svg { transform: translate(2px, -2px); }

/* --- map panel --- */

.map-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--tb-line);
  background: var(--tb-mist);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .detail-tile:hover { transform: none; }
}


/* ==========================================================================
   Panel system
   Each section below the hero is a rounded panel floating on the page ground.
   ========================================================================== */

.panel {
  border-radius: var(--tb-radius-panel);
  background: #fff;
}

.panel--tint   { background: var(--tint-bg); }
.panel--ink    { background: var(--tb-ink-deep); color: #fff; }
.panel--ground { background: var(--tb-ground); }

/* Panels butt against the page edges on small screens. */
.panel-wrap { padding-inline: 0; }

@media (min-width: 640px) {
  .panel-wrap { padding-inline: 14px; }
}

@media (max-width: 639px) {
  .panel { border-radius: 24px; }
}

/* White sections run edge to edge as a band; the panel inside only holds the
   content width. */
.panel-wrap--band {
  padding-inline: 0;
  background: #fff;
}

.panel-wrap--band > .panel {
  border-radius: 0;
  background: transparent;
}

/* --------------------------------------------------------------------------
   Section heading — eyebrow, two-tone headline, lead, optional right-hand CTA
   -------------------------------------------------------------------------- */

/* Every section heading is centred over its content, in a measure narrow
   enough to read as one block. */
.sec-head {
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.sec-eyebrow {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tb-red);
}

.sec-title {
  margin-top: 12px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: var(--tb-ink);
}

/* The highlighted phrase inside a heading. */
.sec-title .accent { color: var(--tb-red); }

.sec-lead {
  margin-top: 18px;
  max-width: 56ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.5;
  color: var(--tb-muted);
}

.sec-head .sec-lead { margin-inline: auto; }

/* Text link with a round arrow chip beside it. */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--tb-ink);
  transition: color 0.25s ease;
}

.arrow-link__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #eceeed;
  color: var(--tb-ink);
  transition: background-color 0.25s ease, color 0.25s ease,
    transform 0.3s var(--tb-ease);
}

.arrow-link:hover { color: var(--tb-red); }

.arrow-link:hover .arrow-link__dot {
  background: var(--tb-red);
  color: #fff;
  transform: translate(2px, -2px);
}

/* About year card: white, lifted off the image and tilted a few degrees.
   The tilt sits on an inner element so it does not fight the reveal
   transform on the wrapper. */
.year-card {
  padding: 20px 28px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 60px -28px rgba(16, 24, 32, 0.35),
    0 2px 6px rgba(16, 24, 32, 0.05);
  transform: rotate(4deg);
}

.year-card__label {
  font-size: 12.5px;
  color: var(--tb-muted);
}

.year-card__value {
  margin-top: 4px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--tb-red);
}

/* Centred About block; the paragraphs themselves read left-aligned. */
.about-copy .sec-lead {
  max-width: none;
  text-align: left;
}

/* Button row under the About lead. */
.about-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   Feature card — image, numbered label, title, body, text link
   -------------------------------------------------------------------------- */

.feature-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--tb-line);
  transition: transform 0.4s var(--tb-ease), box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 30px 56px -34px rgba(16, 24, 32, 0.45);
}

.feature-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--tb-ease);
}

.feature-card:hover .feature-card__media img { transform: scale(1.06); }

.feature-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px;
}

.feature-card__label {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tint-ink, var(--tb-red));
}

.feature-card__title {
  margin-top: 10px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--tb-ink);
}

.feature-card__text {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--tb-muted);
}

.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--tb-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--tint-ink, var(--tb-red));
}

.feature-card__link svg { transition: transform 0.3s var(--tb-ease); }
.feature-card:hover .feature-card__link svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Vendor card — check pill above the partner mark
   -------------------------------------------------------------------------- */

.vendor-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--tb-line);
  transition: transform 0.4s var(--tb-ease), box-shadow 0.4s ease;
}

.vendor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -30px rgba(16, 24, 32, 0.4);
}

.vendor-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tb-muted);
}

.vendor-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--tint-ink, var(--tb-red));
  color: #fff;
}

.vendor-card__art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.vendor-card__art img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Big closing CTA panel
   -------------------------------------------------------------------------- */

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--tb-radius-panel);
  /* Light tints of the logo's red and gold; the contour bands on top are
     the pseudo-elements. */
  background: linear-gradient(120deg, #fdecec 0%, #fff4ee 48%, #fdf3d3 100%);
  color: var(--tb-ink);
}

/* Contour-line pattern across the whole panel, behind the content. The
   lines are kept faint so the heading, copy and email field stay easy to
   read on top of them. */
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--tb-red) 0%, var(--tb-gold) 100%);
  opacity: 0.2;
  pointer-events: none;
  -webkit-mask: url("../images/pattern-contours.svg") 0 0 / 420px 420px repeat;
  mask: url("../images/pattern-contours.svg") 0 0 / 420px 420px repeat;
}

.cta-panel__title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.cta-panel__title .accent { color: var(--tb-red); }

/* --- newsletter sign-up: one white pill holding the field and its button --- */

.subscribe {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 480px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 20px 40px -28px rgba(233, 38, 47, 0.45);
  transition: box-shadow 0.25s ease;
}

.subscribe:focus-within {
  box-shadow: 0 0 0 4px rgba(233, 38, 47, 0.16),
    0 24px 48px -30px rgba(10, 14, 19, 0.6);
}

.subscribe__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 8px 10px 18px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--tb-ink);
}

.subscribe__input::placeholder { color: #9aa0a6; }
.subscribe__input:focus { outline: none; }

.subscribe__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--tb-ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.25s ease;
}

.subscribe__btn:hover { background: var(--tb-ink-deep); }
.subscribe__btn svg { transition: transform 0.3s var(--tb-ease); }
.subscribe__btn:hover svg { transform: translate(3px, -3px); }

.office {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 16px;
}

.office__name {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.office__line {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.office__row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  transition: opacity 0.2s ease;
}

.office__row:hover { opacity: 0.75; }

.office__row svg { flex: none; opacity: 0.75; }

/* --------------------------------------------------------------------------
   Footer watermark
   -------------------------------------------------------------------------- */

.foot-mark {
  display: block;
  margin-top: 28px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(2.2rem, 9vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.88;
  text-align: center;
  white-space: nowrap;
  color: rgba(16, 24, 32, 0.05);
  user-select: none;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .feature-card:hover,
  .vendor-card:hover { transform: none; }
  .feature-card:hover .feature-card__media img { transform: none; }
}


/* --------------------------------------------------------------------------
   FAQ side card
   -------------------------------------------------------------------------- */

.help-card {
  padding: 32px;
  border-radius: 22px;
  background: var(--tint-bg);
}

.help-card__title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.3rem, 1.9vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tint-ink);
}

.help-card__text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--tb-muted);
}

.help-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--tb-ink);
  word-break: break-word;
  transition: color 0.2s ease;
}

.help-card__row:hover { color: var(--tint-ink); }

.help-card__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--tint-ink);
  color: #fff;
}


/* --------------------------------------------------------------------------
   Industry card — photograph, colour wash, icon badge straddling the join,
   and the marks of whoever delivers that sector
   -------------------------------------------------------------------------- */

.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s var(--tb-ease), box-shadow 0.4s ease;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 52px -32px rgba(16, 24, 32, 0.5);
}

.industry-card__media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.industry-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--tb-ease);
}

.industry-card:hover .industry-card__media img { transform: scale(1.07); }

/* Keeps each sector colour-coded while the photograph still reads. */
.industry-card__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 14, 19, 0.5) 0%, rgba(10, 14, 19, 0) 62%),
    color-mix(in srgb, var(--tint-ink) 26%, transparent);
}

.industry-card__badge {
  /* Lives in the body and is pulled up over the photo, so the media box can
     keep its overflow clip for the hover zoom. z-index lifts it clear of the
     absolutely positioned wash above it. */
  position: relative;
  z-index: 2;
  /* Block-level: as inline-flex the negative margin fought the line box and
     only part of the offset landed. */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  color: var(--tint-ink);
  box-shadow: 0 12px 26px -14px rgba(16, 24, 32, 0.6);
}

/* Icon and partner marks sit over the foot of the photograph. */
.industry-card__body {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px;
}

.industry-card__title {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tb-ink);
}

.industry-card__meta {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--tb-muted);
}

/* Partner and group marks, each on its own white chip. */
.industry-card__marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}

.mark-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 14px;
  background: #fff;
}

.mark-chip img {
  height: var(--mark-h, 15px);
  width: auto;
  max-width: 82px;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .industry-card:hover { transform: none; }
  .industry-card:hover .industry-card__media img { transform: none; }
}


/* --------------------------------------------------------------------------
   Value orbs — a tinted band of large notched circles, each with a line icon
   -------------------------------------------------------------------------- */

.value-orb-item { text-align: center; }

.value-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--tint-bg);
  color: var(--tb-ink);
  /* The bite out of the top-right edge, cut with a mask rather than drawn. */
  -webkit-mask: radial-gradient(circle 16px at 85% 15%, transparent 0 16px, #000 16.5px);
  mask: radial-gradient(circle 16px at 85% 15%, transparent 0 16px, #000 16.5px);
  transition: transform 0.45s var(--tb-ease);
}

@media (min-width: 1024px) {
  .value-orb { width: 116px; height: 116px; }
}

.value-orb-item:hover .value-orb { transform: translateY(-5px); }

.value-orb__icon { width: 28px; height: 28px; }

.value-orb__label {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tint-ink);
}

.value-orb__title {
  margin-top: 6px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--tb-ink);
}

.value-orb__text {
  margin-top: 6px;
  margin-inline: auto;
  max-width: 30ch;
  font-size: 13px;
  line-height: 1.6;
  color: var(--tb-muted);
}

@media (prefers-reduced-motion: reduce) {
  .value-orb-item:hover .value-orb { transform: none; }
}

/* --------------------------------------------------------------------------
   Hand-off cue — carries the eye into the next section
   -------------------------------------------------------------------------- */

.next-cue {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  font-size: 13px;
  color: var(--tb-muted);
}

.next-cue__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-inline: auto;
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 600;
  color: var(--tb-ink);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.next-cue__link:hover { color: var(--tb-red); }

.next-cue__link svg { transition: transform 0.3s var(--tb-ease); }
.next-cue__link:hover svg { transform: translateY(2px); }

@media (max-width: 639px) {
  .next-cue { flex-direction: column; align-items: center; gap: 12px; }
}


/* --------------------------------------------------------------------------
   News & media — four columns, each pairing a tall photograph with a soft
   gradient text tile; even columns flip the pair so the grid reads as a mosaic
   -------------------------------------------------------------------------- */

.news-grid {
  display: grid;
  gap: 15px;
}

@media (min-width: 640px)  { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.news-item { min-width: 0; }

.news-item > a {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Below sm every pair stays photograph-then-text. */
@media (min-width: 640px) {
  .news-item:nth-child(even) > a { flex-direction: column-reverse; }
}

.news-item__media {
  position: relative;
  flex: none;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  background: var(--tb-ink-deep);
}

@media (min-width: 640px) {
  .news-item__media { aspect-ratio: auto; height: 360px; }
}

.news-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--tb-ease);
}

.news-item:hover .news-item__media img { transform: scale(1.025); }

/* A faint veil that deepens on hover. */
.news-item__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.04);
  transition: background-color 0.25s ease;
  pointer-events: none;
}

.news-item:hover .news-item__media::after { background: rgba(0, 0, 0, 0.1); }

.news-item__card {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  padding: 24px 28px;
  border-radius: 22px;
  /* Layered glows in the column's tint over a near-white base. */
  background:
    radial-gradient(ellipse at 104% 92%,
      color-mix(in srgb, var(--tint-bg) 90%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse at 84% 1%,
      color-mix(in srgb, var(--tint-bg) 55%, transparent) 0%, transparent 65%),
    linear-gradient(105deg, #fff 0%, #fbf9f8 46%,
      color-mix(in srgb, var(--tint-bg) 35%, #fff) 100%);
}

@media (min-width: 640px) {
  .news-item__card { height: 204px; min-height: 0; }
}

.news-item__title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--tb-ink);
  transition: color 0.25s ease;
}

.news-item:hover .news-item__title { color: var(--tint-ink); }

.news-item__note {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: #1c1c1c;
}

.news-item__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tint-ink);
}

.news-item__link svg { transition: transform 0.3s var(--tb-ease); }
.news-item:hover .news-item__link svg { transform: translate(3px, -3px); }

@media (prefers-reduced-motion: reduce) {
  .news-item:hover .news-item__media img,
  .news-item:hover .news-item__link svg { transform: none; }
}


/* --------------------------------------------------------------------------
   Brand marquee — partner marks drifting left to right across the full panel
   -------------------------------------------------------------------------- */

.brand-marquee {
  overflow: hidden;
  /* Fade into the panel at both ends rather than cutting the cards off. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.brand-marquee__track {
  display: flex;
  width: max-content;
  animation: brand-drift 42s linear infinite;
}

/* Two identical sets, shifted by exactly one set width, so the restart lands
   back on the opening card with no visible jump. */
@keyframes brand-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.brand-marquee:hover .brand-marquee__track,
.brand-marquee:focus-within .brand-marquee__track {
  animation-play-state: paused;
}

.brand-marquee__set {
  display: flex;
  flex: none;
  gap: 16px;
  padding-inline: 8px;
}

.brand-marquee .vendor-card {
  width: 176px;
  flex: none;
}

/* Bare partner mark: no card, border or caption. */
.brand-logo {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 56px;
  transition: opacity 0.25s ease;
}

.brand-logo:hover { opacity: 0.7; }

.brand-logo img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    padding-inline: 20px;
  }

  .brand-marquee__track {
    animation: none;
    width: 100%;
  }

  .brand-marquee__set { flex-wrap: wrap; justify-content: center; }
  .brand-marquee__set:last-child { display: none; }
  .brand-marquee .vendor-card { width: 180px; }
}

/* ==========================================================================
   Business ecosystem — four companies on one connected path
   ========================================================================== */

/* The children are absolutely positioned, so the container needs a height at
   every breakpoint or the nodes all collapse onto one point. */
.eco { position: relative; margin-top: 48px; height: 790px; }

@media (min-width: 640px) {
  .eco { height: 840px; }
}

@media (min-width: 1024px) {
  .eco { margin-top: 56px; height: 190px; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- path ---------------------------------------------------------------- */

.eco__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.eco__svg--wide { display: none; }
.eco__svg--tall { display: block; }

@media (min-width: 1024px) {
  .eco__svg--wide { display: block; }
  .eco__svg--tall { display: none; }
}

.eco__base {
  fill: none;
  stroke: rgba(28, 28, 28, 0.07);
  stroke-width: 2;
  stroke-linecap: round;
}

/* The travelled portion. Cloned from the base at runtime so it is guaranteed
   to share its geometry exactly. */
.eco__progress {
  fill: none;
  stroke: rgba(28, 28, 28, 0.1);
  stroke-width: 2;
  stroke-linecap: round;
}

.eco__spark { fill: rgba(28, 28, 28, 0.4); opacity: 0; }

/* --- nodes --------------------------------------------------------------- */

.eco__nodes { position: relative; height: 100%; }

.eco__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
}

/* Vertical arrangement below lg */
.eco__node[data-node='0'] { --x: 16%; --y: 5.26%; }
.eco__node[data-node='1'] { --x: 16%; --y: 27.82%; }
.eco__node[data-node='2'] { --x: 16%; --y: 50.38%; }
.eco__node[data-node='3'] { --x: 16%; --y: 72.93%; }
.eco__node[data-node='4'] { --x: 16%; --y: 94.74%; }

@media (min-width: 1024px) {
  /* One level, straight line with the stops evenly spaced along it. */
  .eco__node[data-node='0'] { --x: 18%; --y: 40%; }
  .eco__node[data-node='1'] { --x: 34%; --y: 40%; }
  .eco__node[data-node='2'] { --x: 50%; --y: 40%; }
  .eco__node[data-node='3'] { --x: 66%; --y: 40%; }
  .eco__node[data-node='4'] { --x: 82%; --y: 40%; }
}

/* Circular photo button */
.eco__dotbtn {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 26px -16px rgba(16, 24, 32, 0.55);
  transition: box-shadow 0.35s ease, transform 0.35s var(--tb-ease);
}

@media (min-width: 1024px) {
  .eco__dotbtn { width: 60px; height: 60px; }
}

.eco__thumb {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  filter: grayscale(1) contrast(0.95);
  transition: filter 0.45s ease;
}

.eco__ring {
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  border: 2px solid rgba(227, 193, 60, 0.75);
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.45s ease, transform 0.45s var(--tb-ease);
}

/* Colour is reserved for the active company; the rest stay greyed out. */
.eco__node.is-selected .eco__ring { opacity: 1; transform: scale(1); }
.eco__node.is-selected .eco__thumb,
.eco__node:hover .eco__thumb { filter: none; }

.eco__node.is-selected .eco__dotbtn {
  box-shadow: 0 0 0 7px rgba(227, 193, 60, 0.16),
    0 14px 30px -18px rgba(227, 193, 60, 0.9);
}

.eco__node.is-pulse .eco__dotbtn { transform: scale(1.09); }
.eco__node:hover .eco__dotbtn,
.eco__node.is-open .eco__dotbtn { transform: scale(1.05); }

/* Number sits above the photo */
.eco__num {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tb-muted);
  transition: color 0.35s ease;
}

.eco__node.is-selected .eco__num { color: #a8840f; }

/* Below lg the number tucks beside the photo so the rows stay compact. */
@media (max-width: 1023px) {
  .eco__num { bottom: auto; top: -2px; left: -10px; transform: none; font-size: 11px; }
}

/* --- label --------------------------------------------------------------- */

.eco__label {
  position: absolute;
  top: 50%;
  left: calc(100% + 18px);
  display: block;
  width: max-content;
  max-width: 46vw;
  transform: translateY(-50%) translateY(8px);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s var(--tb-ease);
}

.eco__node.is-on .eco__label { opacity: 1; transform: translateY(-50%); }

@media (min-width: 1024px) {
  .eco__label {
    top: calc(100% + 16px);
    left: 50%;
    max-width: 180px;
    text-align: center;
    transform: translateX(-50%) translateY(8px);
  }

  .eco__node.is-on .eco__label { transform: translateX(-50%); }
}

.eco__name {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tb-ink);
}

.eco__ind { display: block; margin-top: 2px; font-size: 12.5px; color: var(--tb-muted); }

/* --- hover / tap detail -------------------------------------------------- */

.eco__panel {
  position: absolute;
  z-index: 4;
  display: flex;
  gap: 14px;
  width: min(330px, 78vw);
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--tb-line);
  background: #fff;
  box-shadow: 0 26px 52px -30px rgba(16, 24, 32, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s var(--tb-ease), visibility 0.3s ease;
  top: calc(100% + 14px);
  left: 0;
}

.eco__node.is-open .eco__panel { opacity: 1; visibility: visible; transform: translateY(0); }

@media (min-width: 1024px) {
  .eco__panel { top: auto; bottom: calc(100% + 20px); left: 50%; margin-left: -165px; }
  .eco__node--start .eco__panel { left: 0; margin-left: -10px; }
  .eco__node--end   .eco__panel { left: auto; right: 0; margin-left: 0; margin-right: -10px; }
}

.eco__panel-art { flex: none; width: 92px; border-radius: 12px; overflow: hidden; background: var(--tb-mist); }
.eco__panel-art img { width: 100%; height: 100%; object-fit: cover; }
.eco__panel-body { min-width: 0; }

.eco__panel-name {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tb-ink);
}

.eco__panel-ind {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--tb-red);
}

.eco__panel-text { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.55; color: var(--tb-muted); }

.eco__panel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tb-red);
}

.eco__panel-link svg { transition: transform 0.3s var(--tb-ease); }
.eco__panel-link:hover svg { transform: translateX(3px); }

/* --- no motion ----------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .eco__spark { display: none; }
  .eco__label { opacity: 1; transform: translateY(-50%); }
  .eco__dotbtn, .eco__ring, .eco__label, .eco__panel, .eco__thumb { transition: none; }
}

@media (prefers-reduced-motion: reduce) and (min-width: 1024px) {
  .eco__label { transform: translateX(-50%); }
}

/* ==========================================================================
   Section transitions — a soft wave where the background changes
   The wave is drawn by the section that follows: a strip in that section's
   own colour, masked to a curve, sitting on top of the foot of the section
   above. No extra markup, and the colour always matches.
   ========================================================================== */

.wave-top {
  position: relative;
  --wave-fill: var(--tb-ground);
}

.wave-top--white { --wave-fill: #fff; }

.wave-top::before {
  content: '';
  position: absolute;
  z-index: 1;
  /* Full viewport width even when the section itself is a centred column. */
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  /* One pixel of overlap hides any hairline at the join. */
  bottom: calc(100% - 1px);
  height: clamp(26px, 4.6vw, 64px);
  background: var(--wave-fill);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,46 C220,86 470,6 720,38 C970,70 1210,14 1440,42 L1440,80 L0,80 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,46 C220,86 470,6 720,38 C970,70 1210,14 1440,42 L1440,80 L0,80 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

/* Every other join mirrors the curve so the page does not repeat one shape. */
.wave-top--flip::before { transform: translateX(-50%) scaleX(-1); }

/* --------------------------------------------------------------------------
   Times in numbers — illustration beside the figures
   The artwork is a wide strip on white; it is cropped around the pickup and
   multiplied onto the section so its white ground disappears.
   -------------------------------------------------------------------------- */

.numbers-art {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  /* The blend needs a backdrop inside the figure, which is its own layer. */
  background: var(--tb-ground);
}

@media (min-width: 1024px) {
  .numbers-art { aspect-ratio: 4 / 3; }
}

.numbers-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  mix-blend-mode: multiply;
}

/* Dot-grid backdrop for the numbers section: fine, evenly spaced dots that
   fade out towards the edges so the section still meets its neighbours
   cleanly. Sits under the content. */
#numbers::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(28, 28, 28, 0.16) 1.1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 50%, #000 0%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 62% at 50% 50%, #000 0%, #000 35%, transparent 100%);
  pointer-events: none;
}

/* The panel paints after the dots, so it only needs to be positioned and
   see-through; the page ground shows behind both. */
#numbers > .panel {
  position: relative;
  background: transparent;
}

/* ==========================================================================
   Header menu — white floating bar with a logo tab
   A solid white bar runs the full width of the page with the logo centred
   inside it. Links are dark with a soft pill
   on hover and a red marker for the current page.
   ========================================================================== */

/* The lockup is always on white now, so it needs no glow. It is nudged
   24px down from its centred slot. */
.site-header .logo-over {
  position: relative;
  filter: none;
}

@media (min-width: 1024px) {
  .site-header .logo-over { top: 24px; }
}

/* The bar picks up the top strip's red-to-gold tint along its upper edge and
   fades to white, so the strip and the menu read as one surface with no
   seam between them. */
.site-header,
.site-header.is-solid {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 62%),
    linear-gradient(120deg, #fdecec 0%, #fff4ee 48%, #fdf3d3 100%);
  color: var(--tb-ink);
  box-shadow: none;
}

.logo-over { height: 58px; }

@media (min-width: 1024px) {
  /* From lg the bar still runs the full width of the page; only its height
     is set here. */
  .site-header .header-row,
  .site-header.is-solid .header-row {
    height: 72px;
  }

  /* Logo: centred across the top strip and the menu bar together. Their
     combined height is 106px (34 + 72), so a 92px logo starts 27px above
     the bar and overlaps the strip. */
  .site-header .header-logo,
  .site-header.is-solid .header-logo {
    top: -27px;
    height: auto;
  }

  .logo-over { height: 92px; }

  .site-header nav { gap: 2px; }

  .site-header .nav-link {
    padding: 9px 11px;
    border-radius: 999px;
    color: var(--tb-ink);
    transition: background-color 0.25s ease, color 0.25s ease;
  }

  /* The underline becomes a small red marker under the current page. */
  .site-header .nav-link::after,
  .site-header.is-solid .nav-link::after {
    left: 50%;
    bottom: 2px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--tb-red);
    transform: translateX(-50%) scale(0);
    transform-origin: center;
  }

  .site-header .nav-link:hover::after { transform: translateX(-50%) scale(0); }

  .site-header .nav-link[aria-current='page']::after {
    transform: translateX(-50%) scale(1);
  }

  /* Hover is a colour change only, no pill behind the text. */
  .site-header .nav-link:hover,
  .site-header .mega-trigger.is-open .nav-link {
    color: var(--tb-red);
  }

  .site-header .mega-trigger.is-open .nav-link::after {
    transform: translateX(-50%) scale(0);
  }

  .site-header .nav-link[aria-current='page'] { color: var(--tb-red); }

  .site-header .btn,
  .site-header.is-solid .btn {
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 999px;
  }

  /* A quiet tinted pill here; the solid red is kept for the banner button. */
  .site-header .btn-primary,
  .site-header.is-solid .btn-primary {
    background: #fdecec;
    color: var(--tb-red);
    box-shadow: none;
  }

  .site-header .btn-primary:hover,
  .site-header.is-solid .btn-primary:hover {
    background: var(--tb-red);
    color: #fff;
  }
}


/* Wider screens have room for roomier menu pills. */
@media (min-width: 1280px) {
  .site-header nav { gap: 4px; }
  .site-header .nav-link { padding: 11px 15px; }
}

/* --------------------------------------------------------------------------
   Header foot — angled V
   The white menu bar ends in a shallow V pointing down under the centred
   logo, edged with a red band that is thick at the sides and tapers to a
   point. Two stacked shapes: red underneath, white on top.
   -------------------------------------------------------------------------- */

.site-header::before,
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  height: clamp(24px, 4.2vw, 62px);
  pointer-events: none;
}

.site-header::before {
  background: var(--tb-red);
  clip-path: polygon(0 0, 100% 0, 100% 26%, 50% 100%, 0 26%);
}

.site-header::after {
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 50% 90%);
}

/* The Business dropdown opens below the tip of the V. The invisible strip
   above the panel keeps it open while the pointer travels down. */
@media (min-width: 1024px) {
  .mega { top: calc(100% + 72px); }

  .mega::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 76px;
  }
}

/* --------------------------------------------------------------------------
   Business timeline — opens under the path when a company is clicked
   -------------------------------------------------------------------------- */

.eco__node.is-selected .eco__dotbtn {
  box-shadow: 0 0 0 3px var(--tb-gold), 0 0 0 9px rgba(227, 193, 60, 0.2),
    0 14px 30px -18px rgba(227, 193, 60, 0.9);
}

/* The active company's name picks up the colour too. */
.eco__node.is-selected .eco__name { color: #a8840f; }


/* Stacked with a vertical rule on small screens. */


/* Data flow: short grey pulses that travel the path from the first company
   to the last and start again, on an endless loop. Each pulse is a dash
   with a long gap behind it; shifting the pattern by exactly one
   dash-plus-gap makes the loop seamless. */
.eco__flow {
  fill: none;
  stroke: rgba(28, 28, 28, 0.32);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 18 142;
  vector-effect: non-scaling-stroke;
  animation: eco-flow 1.8s linear infinite;
}

@keyframes eco-flow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -160; }
}

@media (prefers-reduced-motion: reduce) {
  .eco__flow { animation: none; opacity: 0.5; }
}

/* Active company: a soft red-to-gold ring around the photo, with the number
   and name in the lighter red. These override the earlier single-colour
   highlight rules. */
.eco__ring {
  border: 0;
  background: linear-gradient(135deg, #f58a90 0%, #f3b56a 55%, #ecd169 100%);
}

.eco__node.is-selected .eco__dotbtn {
  box-shadow: 0 0 0 8px rgba(245, 138, 144, 0.14),
    0 14px 30px -16px rgba(240, 150, 110, 0.75);
}

.eco__node.is-selected .eco__num,
.eco__node.is-selected .eco__name { color: #e9545c; }

/* Keeps the photo above the filled ring behind it. */
.eco__thumb {
  position: relative;
  z-index: 1;
}

/* Thinner active ring: the gradient is held inside the button so only about
   3px of it shows around the photo, with a lighter halo. */
.eco__ring { inset: 1px; }

.eco__node.is-selected .eco__dotbtn {
  box-shadow: 0 0 0 4px rgba(245, 138, 144, 0.12),
    0 12px 26px -16px rgba(240, 150, 110, 0.7);
}

/* Active company, final form: the photo, a clean white gap, then one crisp
   2.5px red-to-gold line. The ring element is masked down to just its outer
   edge so the button's white shows through as the gap, and the soft halo is
   dropped in favour of a plain shadow. */
.eco__ring {
  inset: -5px;
  background: linear-gradient(135deg, #ee5a63 0%, #f0a45a 55%, #e3c13c 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
}

.eco__node.is-selected .eco__dotbtn {
  box-shadow: 0 10px 22px -14px rgba(28, 28, 28, 0.4);
}

/* Lighter, finer active ring. */
.eco__ring {
  background: linear-gradient(135deg, #f7a9ae 0%, #f7cfa0 55%, #f0de94 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}


/* The sliding row clips at its own edge, which was cutting off the dots'
   soft halo on the left and top. A little padding gives them room, and the
   matching negative margin keeps the row aligned with the heading above. */


/* Even entries: content ends just above the rule. */


/* An entry with no photo lets its text use the full width. */


/* Rule and dot sit on the centre line of every entry. */


/* The year pill is the marker now. */


/* With the year lifted onto the rule, the photo sits beside the title. */

/* ==========================================================================
   Business timeline
   Sits above the path and always shows the active company: a small summary
   card on the left, its milestones on a sliding row on the right. The
   milestones are deliberately plain: a hairline with a dot per entry, then
   the year, an optional photo, a title and a few lines of text.
   ========================================================================== */

.eco-timeline { margin-top: 32px; }

.eco-timeline__set {
  display: grid;
  gap: 24px;
}

.eco-timeline__set[hidden] { display: none; }

@media (min-width: 1024px) {
  .eco-timeline__set {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }
}

/* --- company summary --- */

.eco-timeline__about {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(140deg, #fdecec 0%, #fff4ee 55%, #fdf3d3 100%);
}

.eco-timeline__art {
  width: 100%;
  aspect-ratio: 2 / 1;
  margin-bottom: 14px;
  border-radius: 10px;
  object-fit: cover;
}

.eco-timeline__about .sec-eyebrow { font-size: 10.5px; }

.eco-timeline__title {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--tb-ink);
}

.eco-timeline__desc {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--tb-ink);
  opacity: 0.7;
}

.eco-timeline__about .eco__panel-link { margin-top: 12px; }

/* --- milestones --- */

.eco-timeline__main { min-width: 0; }

.eco-timeline__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.eco-timeline__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tb-ink);
  opacity: 0.5;
}

.eco-timeline__nav {
  display: flex;
  gap: 6px;
}

.eco-timeline__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--tb-ground);
  color: var(--tb-ink);
  transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.eco-timeline__arrow:hover:not([disabled]) {
  background: var(--tb-ink);
  color: #fff;
}

.eco-timeline__arrow[disabled] {
  opacity: 0.35;
  cursor: default;
}

/* Sliding row: one entry in view on phones, two on tablets, three from lg.
   The few pixels of padding stop the row's own edge clipping the dots. */
.eco-timeline__list {
  --per-view: 1;
  --gap: 32px;
  display: flex;
  gap: var(--gap);
  margin: 18px -4px 0;
  padding: 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
}

.eco-timeline__list::-webkit-scrollbar { display: none; }

@media (min-width: 640px)  { .eco-timeline__list { --per-view: 2; } }
@media (min-width: 1024px) { .eco-timeline__list { --per-view: 3; } }

.eco-timeline__item {
  position: relative;
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  display: flex;
  flex-direction: column;
  padding-top: 26px;
  scroll-snap-align: start;
}

/* Dot, then the hairline running on to the next entry. */
.eco-timeline__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--tb-red);
}

.eco-timeline__item::after {
  content: '';
  position: absolute;
  left: 17px;
  right: calc(var(--gap) * -1 + 8px);
  top: 4px;
  height: 1px;
  background: rgba(28, 28, 28, 0.12);
}

.eco-timeline__item:last-child::after { right: 0; }

/* The year leads each entry, whatever order the markup is in. */
.eco-timeline__year {
  order: -1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--tb-red);
}

/* Optional photo. */
.eco-timeline__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 12px;
  border-radius: 10px;
  background: var(--tb-ground);
  object-fit: cover;
}

.eco-timeline__name {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--tb-ink);
}

.eco-timeline__text {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--tb-ink);
  opacity: 0.7;
}

/* --- pagination --- */

.eco-timeline__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
}

.eco-timeline__dots[hidden] { display: none; }

.eco-timeline__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.16);
  transition: width 0.3s var(--tb-ease), background-color 0.25s ease;
}

.eco-timeline__dot:hover { background: rgba(28, 28, 28, 0.35); }

.eco-timeline__dot.is-active {
  width: 22px;
  background: var(--tb-ink);
}

/* Logos, not photographs, on the path circles and the summary card: shown
   whole on white with breathing room instead of cropped to fill. */
.eco__thumb {
  padding: 9px;
  background: #fff;
  object-fit: contain;
}

.eco-timeline__art {
  padding: 18px 26px;
  background: #fff;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Milestone slides
   One large photo slide in view with the next one peeking in at the edge.
   A frosted card over the lower-left corner of the photo holds the year,
   title and text. Under the slides, a rail of years shows where you are and
   jumps to any milestone.
   -------------------------------------------------------------------------- */

.eco-timeline__list {
  --gap: 18px;
  margin-top: 14px;
}

/* Slightly less than full width so the following slide shows at the edge. */
.eco-timeline__item {
  flex: 0 0 88%;
  display: block;
  padding-top: 0;
  min-height: 340px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--tb-ground);
}

@media (min-width: 1024px) {
  .eco-timeline__item { flex-basis: 82%; min-height: 380px; }
}

/* No dot or hairline on the slides; the year rail does that job. */
.eco-timeline__item::before,
.eco-timeline__item::after { display: none; }

.eco-timeline__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 0;
}

.eco-timeline__card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: block;
  padding: 18px 20px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}

@media (min-width: 640px) {
  .eco-timeline__card {
    right: auto;
    max-width: min(440px, calc(100% - 32px));
  }
}

/* A milestone without a photo shows the card on the plain tile. */
.eco-timeline__item:not(:has(.eco-timeline__img)) .eco-timeline__card {
  background: #fff;
}

.eco-timeline__year {
  display: block;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--tb-red);
}

.eco-timeline__name {
  display: block;
  margin-top: 8px;
  font-size: 17px;
}

.eco-timeline__text {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.8;
}

/* Year rail: a hairline with a tick above each year; the current year is a
   red pill. Scrolls sideways if there are more years than fit. */
.eco-timeline__dots.is-years {
  position: relative;
  justify-content: space-between;
  gap: 8px;
  margin-top: 26px;
  padding-top: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid rgba(28, 28, 28, 0.12);
}

.eco-timeline__dots.is-years::-webkit-scrollbar { display: none; }

.eco-timeline__dots.is-years .eco-timeline__dot {
  position: relative;
  flex: none;
  width: auto;
  height: 30px;
  padding: 0 14px;
  border-radius: 8px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--tb-ink);
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Tick joining each year to the rail. */
.eco-timeline__dots.is-years .eco-timeline__dot::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -18px;
  width: 1px;
  height: 10px;
  background: rgba(28, 28, 28, 0.18);
}

.eco-timeline__dots.is-years .eco-timeline__dot:hover { background: var(--tb-ground); }

.eco-timeline__dots.is-years .eco-timeline__dot.is-active {
  width: auto;
  background: var(--tb-red);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Timeline, full bleed
   The timeline breaks out of the section's 1220px column to the full width
   of the screen. The summary card still starts on the column's left edge;
   the slides run off the right-hand edge of the screen.
   -------------------------------------------------------------------------- */

.eco-timeline {
  /* Distance from the screen edge to the content column. */
  --gutter: max(20px, calc(50vw - 610px));
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: var(--gutter);
}

/* Things that should stop at the column's right edge, not the screen's. */
.eco-timeline__head,
.eco-timeline__dots { margin-right: var(--gutter); }

/* On small screens the summary card needs the same right-hand margin. */
.eco-timeline__about { margin-right: var(--gutter); }

@media (min-width: 1024px) {
  .eco-timeline__about { margin-right: 0; }

  .eco-timeline__set { grid-template-columns: 280px minmax(0, 1fr); }

  .eco-timeline__item { flex-basis: 62%; min-height: 440px; }
}

/* The row's last slide can rest clear of the screen edge. */
.eco-timeline__list {
  margin-inline: 0;
  padding-right: var(--gutter);
  scroll-padding-inline: 0;
}

/* The summary card is gone: the milestones use the whole row. */
@media (min-width: 1024px) {
  .eco-timeline__set { grid-template-columns: minmax(0, 1fr); }
  .eco-timeline__item { flex-basis: 58%; }
}

/* Three milestone slides in view from lg, two on tablets. */
@media (min-width: 640px) {
  .eco-timeline__item { flex-basis: calc((100% - var(--gap)) / 2); }
}

@media (min-width: 1024px) {
  .eco-timeline__item {
    flex-basis: calc((100% - 2 * var(--gap)) / 3);
    min-height: 400px;
  }
}

/* Year rail now sits above the slides. */
.eco-timeline__dots.is-years {
  justify-content: flex-start;
  gap: 28px;
  margin-top: 16px;
  margin-bottom: 4px;
}

/* Years whose slides are also on screen, after the current one. */
.eco-timeline__dots.is-years .eco-timeline__dot.is-inview {
  background: var(--tb-ground);
}

/* Footer showroom card: the upper part links to Google Maps, the phone
   number below it is its own call link. */
.footer-card__map { display: block; }

.footer-card__dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--tb-ink);
  opacity: 0.7;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-card__map:hover .footer-card__dir {
  color: var(--tb-red);
  opacity: 1;
}

.footer-card__value { display: inline-block; }

/* Menu fit: labels never break onto a second line ("News & media"), and
   the pills are trimmed so both halves of the menu sit comfortably beside
   the logo. Below 1280px the partner button gives its space to the links. */
@media (min-width: 1024px) {
  .site-header .nav-link { white-space: nowrap; }
}

@media (min-width: 1280px) {
  .site-header nav { gap: 2px; }
  .site-header .nav-link { padding: 10px 11px; }
}

/* The newsletter section and the brand logos under it sit on white, not the
   grey page ground. */
#contact,
#brands { background: #fff; }

/* Footer quote mark: a small fixed mark at the top, with a faint rule below
   it that fills whatever height the quotation takes. */
.quote-mark {
  flex: none;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 5px;
}

.quote-mark::after {
  content: '';
  flex: 1 1 auto;
  width: 2px;
  margin-left: 1px;
  border-radius: 2px;
  background: rgba(28, 28, 28, 0.14);
}

/* Phones and tablets: the logo is centred in the bar, sitting a little low
   so it settles into the white of the V beneath it. */
@media (max-width: 1023px) {
  .site-header .header-logo { top: 12px; }
}

/* --------------------------------------------------------------------------
   Company path on phones and tablets — one compact row
   Below lg the five companies sit side by side in a single row on a short
   rule, instead of down a tall vertical path. The vertical SVG is kept in
   the page (the script still measures it) but not shown.
   -------------------------------------------------------------------------- */

@media (max-width: 1023px) {
  .eco {
    height: auto;
    margin-top: 32px;
  }

  .eco__svg--tall { visibility: hidden; }

  .eco__nodes {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    height: auto;
  }

  /* Short rule running behind the circles. */
  .eco__nodes::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 44px;
    height: 1px;
    background: rgba(28, 28, 28, 0.1);
  }

  .eco__node,
  .eco__node[data-node] {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .eco__num {
    position: static;
    transform: none;
    margin-bottom: 6px;
    font-size: 10px;
    line-height: 14px;
  }

  .eco__dotbtn {
    width: 48px;
    height: 48px;
    padding: 3px;
  }

  .eco__thumb { padding: 7px; }

  .eco__node .eco__label,
  .eco__node.is-on .eco__label {
    position: static;
    width: auto;
    max-width: none;
    margin-top: 8px;
    opacity: 1;
    transform: none;
  }

  .eco__name {
    font-size: 11.5px;
    line-height: 1.2;
  }

  /* Sector line only where there is room for it. */
  .eco__ind { display: none; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .eco__dotbtn { width: 56px; height: 56px; }
  .eco__nodes::before { top: 48px; }
  .eco__name { font-size: 13.5px; }

  .eco__ind {
    display: block;
    font-size: 11.5px;
  }
}

/* --------------------------------------------------------------------------
   Newsletter block on phones and tablets — full width of the screen, square
   corners, with a wave cut into its top and bottom edges. One white layer
   over the block, masked to two wave shapes: one hanging from the top edge,
   one rising from the bottom. From lg it is the rounded, inset panel again.
   -------------------------------------------------------------------------- */

@media (max-width: 1023px) {
  #contact { padding-inline: 0; }

  .cta-panel {
    max-width: none;
    border-radius: 0;
  }

  .cta-panel::after {
    content: '';
    position: absolute;
    inset: -1px 0;
    background: #fff;
    pointer-events: none;
    -webkit-mask:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,38 C1210,66 970,10 720,42 C470,74 220,-6 0,34 Z'/%3E%3C/svg%3E") top / 100% 22px no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,46 C220,86 470,6 720,38 C970,70 1210,14 1440,42 L1440,80 L0,80 Z'/%3E%3C/svg%3E") bottom / 100% 22px no-repeat;
    mask:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,38 C1210,66 970,10 720,42 C470,74 220,-6 0,34 Z'/%3E%3C/svg%3E") top / 100% 22px no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,46 C220,86 470,6 720,38 C970,70 1210,14 1440,42 L1440,80 L0,80 Z'/%3E%3C/svg%3E") bottom / 100% 22px no-repeat;
  }
}

/* Phones: circles and numbers only on the company row; the names are
   dropped (the timeline label above already names the active company). */
@media (max-width: 639px) {
  .eco__node .eco__label,
  .eco__node.is-on .eco__label { display: none; }
}

/* --------------------------------------------------------------------------
   Business dropdown, compact
   A little wider, with much less padding. Five company rows fit on single
   lines (name, then its sector in a quieter weight) and the brand tiles are
   shorter.
   -------------------------------------------------------------------------- */

.mega { width: min(860px, calc(100vw - 80px)); }

.mega .sec-eyebrow { font-size: 10.5px; }

.mega-company {
  gap: 10px;
  padding: 7px 9px;
  border-radius: 12px;
}

.mega-num {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

/* Name and sector share one line; a long sector is cut with an ellipsis. */
.mega-company > .min-w-0 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.mega-company__name {
  flex: none;
  font-size: 14.5px;
}

.mega-company__desc {
  margin-top: 0;
  overflow: hidden;
  font-size: 12.5px;
  text-overflow: ellipsis;
  opacity: 0.6;
}

.mega-company__arrow {
  width: 11px;
  height: 11px;
}

.mega-brand {
  height: 50px;
  padding: 0 12px;
  border-radius: 12px;
}

.mega-brand--wordmark img { max-height: 17px; }
.mega-brand--stacked img  { max-height: 30px; }

/* Business dropdown, full width: a square-cornered band across the whole
   screen, with its content held to the page's column width. */
.mega {
  left: 0;
  width: 100%;
  border-radius: 0;
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -30px rgba(28, 28, 28, 0.3);
}

.mega.is-open { transform: translateY(0); }

.mega > .grid {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 40px;
}

/* The dropdown starts right at the foot of the menu bar and sits over the
   header's angled V, covering it while the menu is open. */
@media (min-width: 1024px) {
  .mega {
    top: 100%;
    z-index: 5;
  }

  /* No gap to bridge any more. */
  .mega::before { display: none; }
}

/* More breathing room above and below the dropdown's content. */
.mega > .grid { padding-block: 40px 44px; }

/* Roomier still, and lifted 1px so the dropdown tucks under the menu bar
   with no hairline between them. */
.mega > .grid { padding-block: 60px 64px; }

@media (min-width: 1024px) {
  .mega { top: calc(100% - 1px); }
}

/* Dropdown on the light grey page tone, with white brand tiles and white
   row highlights standing out against it. Brand tiles are a little taller. */
.mega { background: var(--tb-ground); }

.mega-brand {
  height: 62px;
  background: #fff;
}

.mega-brand:hover { background: #fff; }

.mega-brand--wordmark img { max-height: 20px; }
.mega-brand--stacked img  { max-height: 36px; }

.mega-company:hover { background: #fff; }
.mega-num { background: #fff; }

/* Dropdown background: it starts white where it meets the menu bar and
   eases into the pale red-to-gold tint used in the top strip and newsletter
   panel. */
.mega {
  background:
    linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(120deg, #fdecec 0%, #fff4ee 48%, #fdf3d3 100%);
}

/* Content stays above the pattern. */
.mega > .grid {
  position: relative;
  z-index: 1;
}

/* Lighter dropdown background: white, with only a faint warm glow in two
   opposite corners. On white, the tiles and row highlights go back to the
   light grey so they remain visible. */
.mega {
  background:
    radial-gradient(ellipse 60% 90% at 0% 100%, rgba(233, 38, 47, 0.045) 0%, transparent 60%),
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(227, 193, 60, 0.08) 0%, transparent 60%),
    #fff;
}

.mega-brand,
.mega-brand:hover,
.mega-num { background: var(--tb-ground); }

.mega-brand:hover { background: #eef0f2; }
.mega-company:hover { background: var(--tb-ground); }

/* "All businesses" link under the brand tiles, a size down from the page's
   other arrow links to suit the compact dropdown. */
.mega-cta {
  gap: 12px;
  font-size: 15px;
}

.mega-cta .arrow-link__dot {
  width: 36px;
  height: 36px;
}

/* Brand marks sit bare on the dropdown, with no tile behind them. */
.mega-brand,
.mega-brand:hover { background: transparent; }

.mega-brand:hover { opacity: 0.7; }

/* "All businesses" aligned to the right-hand edge. */
.mega-cta {
  display: flex;
  width: fit-content;
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   Header weather — current conditions in Kathmandu, at the left end of the menu bar on
   the same indent as the email above it. It fills the space opposite the
   partner button. Shown from xl, where the bar has room for it.
   -------------------------------------------------------------------------- */

.header-clock { display: none; }

@media (min-width: 1280px) {
  .header-clock:not([hidden]) {
    position: absolute;
    left: 40px;
    top: 50%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform: translateY(-50%);
    color: var(--tb-ink);
  }

  .header-weather__icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    color: var(--tb-red);
  }

  .header-weather__icon svg {
    width: 100%;
    height: 100%;
  }

  .header-weather__sep {
    margin-inline: 6px;
    opacity: 0.4;
  }

  .header-clock__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }

  .header-clock__time {
    font-size: 15px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }

  .header-clock__place {
    font-size: 11.5px;
    opacity: 0.6;
  }
}

/* Dropdown brand marks: six equal squares in a row. Every logo is fitted
   inside the same square box, whole and undistorted, so wide wordmarks and
   tall marks all take up a comparable space. */
.mega-brands {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.mega-brand {
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 14px;
}

.mega-brand img,
.mega-brand--wordmark img,
.mega-brand--stacked img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Dropdown, three parts: company rows, a plain list of brand names, and one
   image on the right with the link to all businesses under it.
   -------------------------------------------------------------------------- */

.mega-brandlist {
  display: grid;
  gap: 2px;
}

.mega-brandlist a {
  display: block;
  padding: 7px 9px;
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--tb-ink);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.mega-brandlist a:hover {
  background: var(--tb-ground);
  color: var(--tb-red);
}


/* Dropdown image: shown whole at its own proportions, with no frame,
   overlay or hover effect. */
.mega-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Industry icon badge: a pale tint of the card's own colour with the icon in
   the full colour, so it reads as the category marker and not as one more
   white logo chip. */
.industry-card__badge {
  background: var(--tint-bg);
  color: var(--tint-ink);
}

/* Numbers illustration, PNG version: shown whole at its own proportions.
   It needs no crop, no blend and no backing colour. */
.numbers-art,
#numbers .numbers-art {
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
}

.numbers-art img {
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal;
}

/* Header logo on phones and tablets. */
@media (max-width: 1023px) {
  .logo-over { height: 60px; }
}

/* ==========================================================================
   About page
   Nine sections in the order of the reference About page: introduction,
   timeline, vision and mission, a leadership message, core values, the
   corporate team, partners, a "view more" link and a contact prompt.
   ========================================================================== */

.about-page { background: #fff; }

.about-section { padding-block: clamp(48px, 7vw, 96px); }
.about-section--tint { background: var(--tb-ground); }

/* --- 01 introduction: no banner image, so it clears the header itself --- */

.about-intro {
  padding-top: clamp(170px, 19vw, 250px);
  padding-bottom: clamp(24px, 4vw, 48px);
}

.about-intro__title {
  max-width: 20ch;
  margin-top: 14px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--tb-ink);
}

.about-intro__title .accent { color: var(--tb-red); }

.about-intro__copy {
  display: grid;
  gap: 20px 48px;
  max-width: 1040px;
  margin-top: 28px;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
  color: var(--tb-ink);
}

@media (min-width: 900px) {
  .about-intro__copy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- 02 timeline: the photo-slide slider, with its heading left-aligned --- */

.about-journey { margin-top: 0; }

.about-journey__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-right: var(--gutter);
}

.about-journey .sec-title { margin-top: 10px; }

.about-journey .eco-timeline__list { margin-top: 22px; }

/* One large slide with the next peeking in, as on the reference page. */
.about-journey .eco-timeline__item { flex-basis: 86%; min-height: 380px; }

@media (min-width: 1024px) {
  .about-journey .eco-timeline__item { flex-basis: 64%; min-height: 520px; }
}

/* --- 03 vision and mission --- */

.vision-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(280px, 32vw, 420px);
  overflow: hidden;
  border-radius: var(--tb-radius-panel);
  background: var(--tb-ink);
  color: #fff;
}

.vision-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vision-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 12, 0.82) 0%, rgba(12, 12, 12, 0.2) 60%, rgba(12, 12, 12, 0.05) 100%);
}

.vision-card__body {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 3vw, 36px);
}

.vision-card__title {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.vision-card__text {
  max-width: 44ch;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

/* --- 04 leadership message: portrait beside the quotation --- */

.message {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(22px, 4vw, 48px);
  border-radius: var(--tb-radius-panel);
  background: linear-gradient(120deg, #fdecec 0%, #fff4ee 48%, #fdf3d3 100%);
}

@media (min-width: 900px) {
  .message { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; }
}

/* Stand-in for a portrait until a photograph is supplied. */
.message__photo,
.person__photo {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 38%, rgba(28, 28, 28, 0.1) 0 17%, transparent 17.500%),
    radial-gradient(ellipse 46% 34% at 50% 100%, rgba(28, 28, 28, 0.1) 0 99%, transparent 100%),
    #fff;
}

.message__photo { max-width: 300px; }

.message__quote {
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  letter-spacing: -0.012em;
  line-height: 1.5;
  color: var(--tb-ink);
}

.message__by {
  margin-top: 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--tb-ink);
}

/* --- 05 core values: five numbered tiles --- */

.about-values {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px)  { .about-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .about-values { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.value-tile {
  padding: 24px 22px 26px;
  border-radius: 22px;
  background: #fff;
}

.value-tile__num {
  display: block;
  font-size: 34px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--tb-red);
  opacity: 0.85;
}

.value-tile__title {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tb-ink);
}

.value-tile__text {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--tb-ink);
  opacity: 0.75;
}

/* --- 06 corporate team --- */

.person {
  display: flex;
  flex-direction: column;
}

.person__photo { background-color: var(--tb-ground); background:
    radial-gradient(circle at 50% 38%, rgba(28, 28, 28, 0.1) 0 17%, transparent 17.500%),
    radial-gradient(ellipse 46% 34% at 50% 100%, rgba(28, 28, 28, 0.1) 0 99%, transparent 100%),
    var(--tb-ground);
}

.person__name {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 500;
  color: var(--tb-ink);
}

.person__role {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--tb-ink);
  opacity: 0.65;
}

/* --- 07 partners --- */

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 14px 22px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.partner-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 76px;
}

.partner-card__logo img {
  max-width: 82%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-card__name {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--tb-ink);
}

.partner-card__meta {
  margin-top: 2px;
  font-size: 13px;
  color: var(--tb-ink);
  opacity: 0.65;
}

/* --- 09 contact prompt --- */

.more-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--tb-radius-panel);
  background: linear-gradient(120deg, #fdecec 0%, #fff4ee 48%, #fdf3d3 100%);
}

.more-info .sec-lead { max-width: 52ch; }

.more-info__mail {
  color: var(--tb-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 900px) {
  .more-info {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
}

/* "Need help?" prompt under the newsletter heading. */
.newsletter-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 22px;
  font-size: 15px;
  color: var(--tb-ink);
}

.newsletter-help > span { opacity: 0.7; }

.newsletter-help .arrow-link {
  gap: 12px;
  font-size: 15.5px;
}

.newsletter-help .arrow-link__dot {
  width: 36px;
  height: 36px;
  background: #fff;
}

/* --------------------------------------------------------------------------
   Core values as T · I · M · E · S
   Each tile leads with one large letter of the name, drawn in the logo's
   red-to-gold gradient. On hover the tile lifts, warms to the pale tint and
   a gradient bar draws across its top edge.
   -------------------------------------------------------------------------- */

.value-tile {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 30px;
  border: 1px solid rgba(28, 28, 28, 0.06);
  border-radius: 24px;
  background: #fff;
  transition: transform 0.45s var(--tb-ease), box-shadow 0.45s ease,
    background-color 0.45s ease, border-color 0.45s ease;
}

.value-tile::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tb-red) 0%, var(--tb-gold) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--tb-ease);
}

.value-tile:hover {
  transform: translateY(-6px);
  border-color: transparent;
  background: #fffaf6;
  box-shadow: 0 30px 50px -34px rgba(233, 38, 47, 0.45);
}

.value-tile:hover::before { transform: scaleX(1); }

.value-tile__letter {
  display: block;
  font-size: clamp(4.5rem, 7vw, 6.25rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--tb-red);
  background: linear-gradient(135deg, var(--tb-red) 0%, #f08a4b 60%, var(--tb-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Small running number in the corner. */
.value-tile__num {
  position: absolute;
  top: 22px;
  right: 22px;
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--tb-ink);
  opacity: 0.35;
}

.value-tile__title {
  margin-top: 22px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-transform: none;
}

.value-tile__text { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  .value-tile:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   About page — compact pass, with type matched to the home page
   Headings use the home page's section-title size, running text its lead
   size, and card text its 15px. Section spacing and the larger blocks are
   tightened.
   -------------------------------------------------------------------------- */

.about-section { padding-block: clamp(36px, 4.6vw, 60px); }

.about-intro {
  padding-top: clamp(160px, 16vw, 210px);
  padding-bottom: clamp(12px, 2vw, 24px);
}

/* Same size, weight and tracking as every home page section title. */
.about-intro__title {
  max-width: 24ch;
  margin-top: 12px;
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -0.022em;
  line-height: 1.08;
}

.about-intro__copy {
  gap: 14px 40px;
  margin-top: 20px;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.5;
}

/* Timeline slides: shorter. */
.about-journey .eco-timeline__item { min-height: 300px; }

@media (min-width: 1024px) {
  .about-journey .eco-timeline__item { flex-basis: 52%; min-height: 380px; }
}

/* Leadership message. */
.message {
  gap: 22px;
  padding: clamp(20px, 3vw, 32px);
}

@media (min-width: 900px) {
  .message { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; }
}

.message__photo { max-width: 200px; }

.message__quote {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  letter-spacing: 0;
  line-height: 1.55;
}

.message__by {
  margin-top: 16px;
  font-size: 15px;
}

/* Values. */
.about-values { gap: 14px; }

.value-tile {
  padding: 20px 20px 22px;
  border-radius: 20px;
}

.value-tile__letter { font-size: clamp(3rem, 4.4vw, 3.75rem); }

.value-tile__num {
  top: 18px;
  right: 18px;
}

.value-tile__title {
  margin-top: 14px;
  font-size: 17px;
}

.value-tile__text {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
}

/* Team: square portraits, closer rows. */
#team .grid { row-gap: 26px; }

.person__photo { aspect-ratio: 1 / 1; border-radius: 18px; }

.person__name {
  margin-top: 12px;
  font-size: 16px;
}

.person__role { font-size: 14px; }

/* Headings on this page sit closer to their content. */
.about-page .sec-head + .mt-10,
.about-page .sec-head + .about-values { margin-top: 28px; }

@media (min-width: 1024px) {
  .about-page .sec-head + .mt-10,
  .about-page .sec-head + .about-values { margin-top: 36px; }
}

/* Managing Director's message: the contour-line pattern from the newsletter
   panel, laid faintly over the tinted background behind the content. */
.message {
  position: relative;
  overflow: hidden;
}

.message::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--tb-red) 0%, var(--tb-gold) 100%);
  opacity: 0.2;
  pointer-events: none;
  -webkit-mask: url("../images/pattern-contours.svg") 0 0 / 420px 420px repeat;
  mask: url("../images/pattern-contours.svg") 0 0 / 420px 420px repeat;
}

.message > * {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Guiding principles — colour band with a card grid
   A full-width band in the brand red. The heading sits in the first cell of
   a three-column grid and the five value cards fill the remaining cells.
   Each card is white with the contour pattern faintly behind it, a small
   number, the large TIMES letter, an upper-case title and its text.
   -------------------------------------------------------------------------- */

.values-band {
  padding-block: clamp(44px, 6vw, 84px);
  background: linear-gradient(110deg, #c2161f 0%, #e9262f 45%, #f0683a 100%);
}

.values-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 700px)  { .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

.values-grid__head {
  padding: 6px 12px 12px 0;
  color: #fff;
}

.values-grid__eyebrow {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.values-grid__title {
  margin-top: 10px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.12;
}

.values-grid__lead {
  margin-top: 14px;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

/* Cards */
.values-grid .value-tile {
  isolation: isolate;
  padding: 24px 26px 28px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px -26px rgba(60, 0, 6, 0.55);
}

/* The top bar from the earlier design is replaced by the pattern layer. */
.values-grid .value-tile::before {
  inset: 0;
  z-index: -1;
  height: auto;
  background: var(--tb-ink);
  opacity: 0.07;
  transform: none;
  -webkit-mask: url("../images/pattern-contours.svg") 0 0 / 360px 360px repeat;
  mask: url("../images/pattern-contours.svg") 0 0 / 360px 360px repeat;
}

.values-grid .value-tile:hover {
  background: #fff;
  box-shadow: 0 28px 48px -26px rgba(60, 0, 6, 0.7);
}

/* Number first, top-left, as on the reference. */
.values-grid .value-tile__num {
  position: static;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--tb-red);
  opacity: 1;
}

.values-grid .value-tile { display: flex; flex-direction: column; }
.values-grid .value-tile__num { order: -1; }

.values-grid .value-tile__letter {
  margin-top: 16px;
  font-size: clamp(3.5rem, 5vw, 4.5rem);
}

.values-grid .value-tile__title {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.values-grid .value-tile__text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.85;
}

/* Wave edges on the values band: a white wave hangs from its top edge and
   another rises from its bottom, so the band meets the white sections on
   either side with the same curve used across the site. */
.values-band {
  position: relative;
  padding-block: clamp(76px, 9vw, 130px);
}

.values-band::before,
.values-band::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(26px, 4.6vw, 64px);
  background: #fff;
  pointer-events: none;
}

.values-band::before {
  top: -1px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,38 C1210,66 970,10 720,42 C470,74 220,-6 0,34 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,38 C1210,66 970,10 720,42 C470,74 220,-6 0,34 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.values-band::after {
  bottom: -1px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,46 C220,86 470,6 720,38 C970,70 1210,14 1440,42 L1440,80 L0,80 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,46 C220,86 470,6 720,38 C970,70 1210,14 1440,42 L1440,80 L0,80 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* Managing Director's message, plain: no panel, tint, pattern or border.
   A quote mark opens it instead. */
.message {
  padding: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.message::before { display: none; }

.message__photo { background-color: var(--tb-ground); background:
    radial-gradient(circle at 50% 38%, rgba(28, 28, 28, 0.1) 0 17%, transparent 17.500%),
    radial-gradient(ellipse 46% 34% at 50% 100%, rgba(28, 28, 28, 0.1) 0 99%, transparent 100%),
    var(--tb-ground);
}

.message__mark {
  display: block;
  width: 40px;
  height: auto;
  margin: 0 0 16px;
  color: #f29aa0;
}

/* About page backgrounds alternate: white, grey, white, the red band, grey.
   The band's lower wave takes the grey of the team section beneath it, and
   the placeholders sitting on grey switch to white so they still show. */
.values-band::after { background: var(--tb-ground); }

.about-section--tint .message__photo,
.about-section--tint .person__photo {
  background:
    radial-gradient(circle at 50% 38%, rgba(28, 28, 28, 0.1) 0 17%, transparent 17.500%),
    radial-gradient(ellipse 46% 34% at 50% 100%, rgba(28, 28, 28, 0.1) 0 99%, transparent 100%),
    #fff;
}

/* About introduction, centred: label, heading and both paragraphs in one
   centred column. */
.about-intro { text-align: center; }

.about-intro__title { margin-inline: auto; }

.about-intro__copy {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
  margin-inline: auto;
}

/* Introduction paragraphs set justified, with the last line left-aligned. */
.about-intro__copy p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

/* --------------------------------------------------------------------------
   Sticky header
   The header stays fixed at the top while scrolling. Once the page has
   scrolled a little, the top strip (email, social icons, weather) folds
   away so only the menu bar and its V stay on screen, and the logo moves
   down to stay centred on the bar alone.
   -------------------------------------------------------------------------- */

.utility-bar {
  max-height: 40px;
  overflow: hidden;
  transition: max-height 0.4s var(--tb-ease), opacity 0.3s ease;
}

#headerShell.is-stuck .utility-bar {
  max-height: 0;
  opacity: 0;
}

@media (min-width: 1024px) {
  #headerShell.is-stuck .site-header .header-logo { top: -16px; }
}

@media (prefers-reduced-motion: reduce) {
  .utility-bar { transition: none; }
}

/* Brand logo at the top of each About timeline card. */
.journey-brand {
  display: block;
  height: 26px;
  width: auto;
  max-width: 130px;
  margin-bottom: 12px;
  object-fit: contain;
  object-position: left center;
}

/* ==========================================================================
   Gallery page
   ========================================================================== */
.gallery-intro__lead {
  max-width: 52ch;
  margin-top: 16px;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.5;
}
.gallery { padding-top: clamp(20px, 3vw, 36px); }

.gallery-filter {
  display: flex;
  gap: 8px;
  margin-bottom: clamp(24px, 3vw, 36px);
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-filter::-webkit-scrollbar { display: none; }
.gallery-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 9px 16px;
  border: 1px solid var(--tb-line);
  border-radius: 999px;
  background: #fff;
  color: var(--tb-ink);
  font-size: 14px;
  white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s;
}
.gallery-filter__btn span { font-size: 12px; opacity: .45; }
.gallery-filter__btn:hover { border-color: rgba(233, 38, 47, .35); color: var(--tb-red); }
.gallery-filter__btn.is-active {
  border-color: transparent;
  background: linear-gradient(120deg, rgba(233, 38, 47, .1), rgba(227, 193, 60, .16));
  color: var(--tb-red);
}

.gallery-grid {
  columns: 1;
  column-gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px)  { .gallery-grid { columns: 2; } }
@media (min-width: 1024px) { .gallery-grid { columns: 3; column-gap: 20px; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  animation: galleryIn .5s var(--tb-ease) both;
}
@media (min-width: 1024px) { .gallery-item { margin-bottom: 20px; } }
.gallery-item[hidden] { display: none; }
@keyframes galleryIn { from { opacity: 0; transform: translateY(12px); } }

.gallery-item__btn {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: var(--tb-ground);
  cursor: zoom-in;
}
.gallery-item__btn img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .8s var(--tb-ease);
}
/* Vary heights a little so the masonry has rhythm. */
.gallery-item:nth-child(3n+1) .gallery-item__btn img { aspect-ratio: 4 / 5; object-fit: cover; }
.gallery-item:nth-child(3n+2) .gallery-item__btn img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item:nth-child(3n)   .gallery-item__btn img { aspect-ratio: 1 / 1; object-fit: cover; }

.gallery-item__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 19, .62), rgba(10, 14, 19, 0) 55%);
  opacity: 0;
  transition: opacity .4s;
}
.gallery-item__caption {
  position: absolute;
  inset: auto 18px 16px;
  z-index: 1;
  display: grid;
  gap: 2px;
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s, transform .4s var(--tb-ease);
}
.gallery-item__meta { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.gallery-item__title { font-size: 17px; }
.gallery-item__btn:hover img,
.gallery-item__btn:focus-visible img { transform: scale(1.04); }
.gallery-item__btn:hover::after,
.gallery-item__btn:focus-visible::after,
.gallery-item__btn:hover .gallery-item__caption,
.gallery-item__btn:focus-visible .gallery-item__caption { opacity: 1; transform: none; }
@media (hover: none) {
  .gallery-item__btn::after, .gallery-item__caption { opacity: 1; transform: none; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 24px clamp(12px, 3vw, 40px);
  background: rgba(10, 14, 19, .92);
  backdrop-filter: blur(6px);
  animation: lbIn .3s ease both;
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; margin: 0; min-width: 0; }
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  border-radius: 10px;
  object-fit: contain;
}
.lightbox__caption { display: flex; gap: 16px; align-items: baseline; color: #fff; font-size: 15px; }
.lightbox__count { font-size: 13px; opacity: .55; }
.lightbox__arrow,
.lightbox__close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  transition: background .25s;
}
.lightbox__arrow svg, .lightbox__close svg { width: 15px; height: 15px; }
.lightbox__arrow:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { position: absolute; top: 20px; right: 20px; }
@media (max-width: 639px) {
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__arrow { position: absolute; bottom: 24px; }
  .lightbox__arrow--prev { left: calc(50% - 56px); }
  .lightbox__arrow--next { right: calc(50% - 56px); }
  .lightbox__img { max-height: calc(100vh - 200px); }
}
body.lb-open { overflow: hidden; }

/* ==========================================================================
   News & media page
   ========================================================================== */
.blog-tag {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tb-red);
}
.blog-meta { font-size: 13px; opacity: .55; }
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tb-red);
  font-size: 15px;
}
.blog-link svg { transition: transform .3s var(--tb-ease); }
a:hover .blog-link svg, .blog-link:hover svg { transform: translate(2px, -2px); }

/* Featured */
.blog-featured-wrap { padding-top: clamp(12px, 2vw, 24px); }
.blog-featured a {
  display: grid;
  overflow: hidden;
  border-radius: 20px;
  background: var(--tb-ground);
}
@media (min-width: 1024px) {
  .blog-featured a { grid-template-columns: 1.35fr 1fr; }
}
.blog-featured__media { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; }
@media (min-width: 1024px) { .blog-featured__media { aspect-ratio: auto; min-height: 420px; } }
.blog-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--tb-ease);
}
.blog-featured a:hover .blog-featured__media img { transform: scale(1.03); }
.blog-featured__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 56px);
}
.blog-featured__title {
  font-size: clamp(1.625rem, 2.8vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.blog-featured__excerpt { font-size: 17px; line-height: 1.55; }

/* List */
.blog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.blog-head__title { font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -0.015em; }
.blog-filter { margin-bottom: 0; max-width: 100%; }

.blog-grid {
  display: grid;
  gap: clamp(28px, 3vw, 40px) 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px)  { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-card { animation: galleryIn .5s var(--tb-ease) both; }
.blog-card[hidden] { display: none; }
.blog-card a { display: grid; gap: 10px; }
.blog-card__media {
  position: relative;
  margin: 0 0 6px;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  background: var(--tb-ground);
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--tb-ease);
}
.blog-card a:hover .blog-card__media img { transform: scale(1.04); }
.blog-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  font-size: 12px;
}
.blog-card__title {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: color .25s;
}
.blog-card a:hover .blog-card__title { color: var(--tb-red); }
.blog-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.55;
  opacity: .75;
}
.blog-empty { padding: 40px 0; text-align: center; opacity: .6; }

/* Press */
.blog-press {
  display: grid;
  gap: 20px 60px;
  align-items: end;
}
@media (min-width: 1024px) { .blog-press { grid-template-columns: 1fr 1fr; } }
.blog-press__body { display: grid; gap: 14px; justify-items: start; font-size: 17px; line-height: 1.55; }

/* News & media: search, category dropdown, reset */
.blog-tools {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
@media (min-width: 640px) { .blog-tools { grid-template-columns: minmax(0, 1fr) 220px auto; } }
.blog-tools__field {
  position: relative;
  display: flex;
  align-items: center;
}
.blog-tools__field svg {
  position: absolute;
  width: 15px;
  height: 15px;
  opacity: .5;
  pointer-events: none;
}
.blog-tools__search svg { left: 18px; }
.blog-tools__select svg { right: 18px; width: 11px; height: 11px; }
.blog-tools input,
.blog-tools select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--tb-line);
  border-radius: 999px;
  background: #fff;
  color: var(--tb-ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.blog-tools input { padding: 0 20px 0 44px; }
.blog-tools select { padding: 0 44px 0 20px; appearance: none; cursor: pointer; }
.blog-tools input:focus,
.blog-tools select:focus {
  border-color: rgba(233, 38, 47, .4);
  box-shadow: 0 0 0 4px rgba(233, 38, 47, .08);
}
.blog-tools__reset {
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(233, 38, 47, .1), rgba(227, 193, 60, .16));
  color: var(--tb-red);
  font-size: 15px;
  transition: background .25s;
}
.blog-tools__reset:hover { background: linear-gradient(120deg, rgba(233, 38, 47, .16), rgba(227, 193, 60, .24)); }

/* ---- Intro lead centred under the title (gallery + news) --------------- */
.gallery-intro__lead { margin-inline: auto; text-align: center; opacity: .8; }

/* ---- News & media: hero with one unified search bar --------------------- */
.blog-hero { padding-bottom: 0; }
.blog-hero .blog-tools {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-width: 820px;
  margin: clamp(24px, 3vw, 36px) auto 0;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 12px 32px -12px rgba(16, 24, 32, .14);
  text-align: left;
}
@media (min-width: 640px) {
  .blog-hero .blog-tools { grid-template-columns: minmax(0, 1fr) 200px auto; align-items: center; }
}
.blog-hero .blog-tools input,
.blog-hero .blog-tools select {
  height: 46px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.blog-hero .blog-tools__select { position: relative; }
@media (min-width: 640px) {
  .blog-hero .blog-tools__select::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: var(--tb-line);
  }
}
.blog-hero .blog-tools__reset {
  height: 46px;
  padding: 0 26px;
  background: var(--tb-red);
  color: #fff;
}
.blog-hero .blog-tools__reset:hover { background: #cf1f28; }
@media (max-width: 639px) {
  .blog-hero .blog-tools { border-radius: 24px; padding: 8px; }
  .blog-hero .blog-tools__select { border-top: 1px solid var(--tb-line); }
  .blog-hero .blog-tools__reset { margin-top: 6px; border-radius: 18px; }
}
.blog-page .blog { padding-top: clamp(36px, 4.5vw, 56px); }

/* Cards: softer, framed */
.blog-card a {
  height: 100%;
  align-content: start;
  padding: 10px 10px 22px;
  border-radius: 20px;
  background: #fff;
  transition: box-shadow .4s var(--tb-ease), transform .4s var(--tb-ease);
}
.blog-card a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(16, 24, 32, .25); }
.blog-card__media { aspect-ratio: 16 / 11; border-radius: 14px; }
.blog-card .blog-meta,
.blog-card__title,
.blog-card__excerpt { padding-inline: 12px; }
.blog-card .blog-meta { display: flex; align-items: center; gap: 8px; }
.blog-card .blog-meta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--tb-red), var(--tb-gold));
}
.blog-card__tag { background: rgba(255, 255, 255, .92); color: var(--tb-red); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

/* News & media: pagination */
.blog-pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(36px, 4vw, 56px);
}
.blog-pager[hidden] { display: none; }
.blog-pager__btn {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--tb-ink);
  font-size: 15px;
  transition: background .25s, color .25s, box-shadow .25s;
}
.blog-pager__btn svg { width: 14px; height: 14px; }
.blog-pager__btn:hover:not(:disabled):not(.is-active) { color: var(--tb-red); box-shadow: 0 8px 20px -12px rgba(16, 24, 32, .3); }
.blog-pager__btn.is-active { background: var(--tb-red); color: #fff; }
.blog-pager__btn:disabled { opacity: .35; cursor: default; }
.blog-grid { scroll-margin-top: 140px; }

/* ==========================================================================
   Career, FAQ, Contact, Partner pages
   ========================================================================== */
.pg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  margin-top: clamp(22px, 3vw, 32px);
}
.pg-head { margin-bottom: clamp(24px, 3vw, 40px); text-align: center; }
.pg-head .sec-title { margin-top: 10px; }

.pg-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(233, 38, 47, .09), rgba(227, 193, 60, .16));
  color: var(--tb-red);
}
.pg-icon svg { width: 22px; height: 22px; }

/* Feature tiles */
.pg-tiles {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px)  { .pg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pg-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.pg-tile {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px 26px 30px;
  border-radius: 20px;
  background: var(--tb-ground);
  transition: transform .4s var(--tb-ease), box-shadow .4s var(--tb-ease);
}
.pg-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(16, 24, 32, .25); }
.pg-tile .pg-icon { margin-bottom: 8px; }
.pg-tile__title { font-size: 19px; letter-spacing: -0.01em; }
.pg-tile__text { font-size: 15px; line-height: 1.55; opacity: .75; }

/* Steps */
.pg-steps {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
@media (min-width: 640px)  { .pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pg-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.pg-step {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 26px;
  border-radius: 20px;
  background: #fff;
}
.pg-step__num {
  margin-bottom: 6px;
  background: linear-gradient(120deg, var(--tb-red), var(--tb-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 34px;
  line-height: 1;
}

/* Note / CTA card */
.pg-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: clamp(28px, 3.5vw, 44px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(233, 38, 47, .07), rgba(227, 193, 60, .14));
}
.pg-note__title { margin-bottom: 6px; font-size: 21px; letter-spacing: -0.01em; }
.pg-note p { max-width: 52ch; font-size: 15px; line-height: 1.55; opacity: .8; }

/* Career: roles */
.role-list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.role-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 20px;
  padding: 20px 24px;
  border-radius: 16px;
  background: #fff;
  transition: box-shadow .3s;
}
@media (min-width: 768px) { .role-row { grid-template-columns: minmax(0, 1fr) 120px auto; } }
.role-row:hover { box-shadow: 0 14px 32px -20px rgba(16, 24, 32, .3); }
.role-row__main { display: grid; gap: 4px; }
.role-row__title { font-size: 18px; letter-spacing: -0.01em; }
.role-row__meta { font-size: 14px; opacity: .6; }
.role-row__type {
  display: none;
  justify-self: start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--tb-ground);
  font-size: 13px;
}
@media (min-width: 768px) { .role-row__type { display: inline-block; } }
.role-row__apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(233, 38, 47, .1), rgba(227, 193, 60, .16));
  color: var(--tb-red);
  font-size: 14px;
  transition: background .25s, color .25s;
}
.role-row__apply:hover { background: var(--tb-red); color: #fff; }

/* FAQ */
.faq-tools { grid-template-columns: minmax(0, 1fr) !important; max-width: 640px !important; }
.faq-filter { justify-content: center; }
@media (max-width: 639px) { .faq-filter { justify-content: flex-start; } }
.faq-group { margin-top: clamp(24px, 3vw, 36px); }
.faq-group[hidden], .faq-item[hidden] { display: none; }
.faq-group__title {
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tb-red);
}

/* Contact */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; } }
.contact-info { display: grid; gap: 12px; }
@media (min-width: 640px) and (max-width: 1023px) { .contact-info { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-card {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--tb-ground);
  font-size: 15px;
  line-height: 1.6;
}
.contact-card__title { margin-bottom: 4px; font-size: 17px; }
.contact-card a { transition: color .2s; }
.contact-card a:hover { color: var(--tb-red); }
.contact-map-wrap { padding-bottom: clamp(36px, 4.6vw, 60px); }
.contact-map {
  overflow: hidden;
  border-radius: 20px;
  background: var(--tb-ground);
  aspect-ratio: 16 / 7;
  min-height: 300px;
}
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.35); }

/* Forms (contact + partner) */
.pg-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 24px 56px -28px rgba(16, 24, 32, .22);
}
.pg-form__title { margin-bottom: 4px; font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -0.015em; }
.pg-form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .pg-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pg-field { position: relative; display: grid; gap: 7px; font-size: 14px; }
.pg-field > span { opacity: .7; }
.pg-field input,
.pg-field select,
.pg-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--tb-line);
  border-radius: 12px;
  background: var(--tb-ground);
  color: var(--tb-ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.pg-field textarea { resize: vertical; min-height: 130px; }
.pg-field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' stroke='%231c1c1c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 11px;
  cursor: pointer;
}
.pg-field input:focus,
.pg-field select:focus,
.pg-field textarea:focus {
  border-color: rgba(233, 38, 47, .4);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(233, 38, 47, .08);
}
.pg-form__submit { justify-self: start; margin-top: 4px; }
.pg-form__notice {
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(233, 38, 47, .07), rgba(227, 193, 60, .14));
  font-size: 15px;
}

/* Page ground is already #f8f9fa, so cards sit on white with a soft edge. */
.pg-tile,
.contact-card {
  background: #fff;
  border: 1px solid rgba(16, 24, 32, .06);
  box-shadow: 0 1px 2px rgba(16, 24, 32, .03), 0 10px 30px -18px rgba(16, 24, 32, .14);
}
.pg-tile:hover { box-shadow: 0 1px 2px rgba(16, 24, 32, .03), 0 22px 44px -22px rgba(16, 24, 32, .24); }

/* Tiles: soft brand tints, each a different shade, with the contour vector. */
.pg-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  box-shadow: none;
  background: linear-gradient(140deg, #fdeceb 0%, #fdf6e4 100%);
}
.pg-tile:nth-child(4n+2) { background: linear-gradient(140deg, #fdf6e1 0%, #fbeee0 100%); }
.pg-tile:nth-child(4n+3) { background: linear-gradient(140deg, #fbe9ea 0%, #fdf1ec 100%); }
.pg-tile:nth-child(4n)   { background: linear-gradient(140deg, #fcf3e2 0%, #fdeae8 100%); }
.pg-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--tb-red), var(--tb-gold));
  opacity: .16;
  pointer-events: none;
  -webkit-mask: url("../images/pattern-contours.svg") 0 0 / 360px 360px repeat;
  mask: url("../images/pattern-contours.svg") 0 0 / 360px 360px repeat;
}
.pg-tile:nth-child(2n)::before { -webkit-mask-position: 180px 120px; mask-position: 180px 120px; }
.pg-tile .pg-icon { background: #fff; }
.pg-tile:hover { box-shadow: 0 22px 44px -24px rgba(120, 30, 20, .28); }

/* Contact: left info panel, brand gradient with the contour vector */
.contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: 24px;
  background: linear-gradient(150deg, #e9262f 0%, #c81d26 55%, #b8461c 100%);
  color: #fff;
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  opacity: .1;
  pointer-events: none;
  -webkit-mask: url("../images/pattern-contours.svg") 0 0 / 380px 380px repeat;
  mask: url("../images/pattern-contours.svg") 0 0 / 380px 380px repeat;
}
.contact-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  z-index: -1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 193, 60, .55), rgba(227, 193, 60, 0) 70%);
  pointer-events: none;
}
.contact-panel__eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.contact-panel__title { font-size: clamp(1.625rem, 2.6vw, 2.125rem); line-height: 1.12; letter-spacing: -0.02em; }
.contact-panel__lead { max-width: 40ch; font-size: 15px; line-height: 1.55; opacity: .85; }
.contact-panel__list {
  display: grid;
  gap: 14px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.contact-panel__list li {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(4px);
  font-size: 15px;
  line-height: 1.55;
  transition: background .3s;
}
.contact-panel__list li:hover { background: rgba(255, 255, 255, .16); }
.contact-panel__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  color: var(--tb-red);
}
.contact-panel__icon svg { width: 20px; height: 20px; }
.contact-panel__label { display: block; margin-bottom: 2px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.contact-panel a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.contact-panel a:hover { text-decoration-color: #fff; }
.contact-panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 8px; }
.contact-panel__foot .contact-panel__label { margin: 0; }
.contact-panel__social { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.contact-panel__soc {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  text-decoration: none !important;
  transition: background .25s, color .25s;
}
.contact-panel__soc:hover { background: #fff; color: var(--tb-red); }
.contact-panel__soc svg { width: 17px; height: 17px; }
@media (min-width: 1024px) { .contact-grid { align-items: stretch; } }
.contact-grid .pg-form { align-content: start; }

/* Inner pages: alternate white and grey bands. */
.pg-band { background: #fff; }
.contact-map-wrap { padding-top: clamp(36px, 4.6vw, 60px); }
/* Cards that were white now sit on white bands, so give them the grey ground. */
.pg-band .blog-card a { background: var(--tb-ground); }
.pg-band .blog-card a:hover { background: #fff; }
.pg-band .pg-form { background: #fff; border: 1px solid rgba(16, 24, 32, .06); }

/* Career page sits on plain white. */
body:has(.career-page) { background: #fff; }
.career-page .about-section--tint { background: transparent; }
.career-page .role-row { background: var(--tb-ground); }
.career-page .role-row__type { background: #fff; }

/* Career roles: soft brand tints, alternating shades. */
.career-page .role-row { background: linear-gradient(120deg, #fdeceb 0%, #fdf6e4 100%); }
.career-page .role-row:nth-child(even) { background: linear-gradient(120deg, #fdf6e1 0%, #fbeee0 100%); }
.career-page .role-row:hover { box-shadow: 0 14px 32px -20px rgba(120, 30, 20, .3); }
.career-page .role-row__apply { background: #fff; }
.career-page .role-row__apply:hover { background: var(--tb-red); color: #fff; }

/* Career roles: stronger tint, smooth hover lift. */
.career-page .role-row {
  border: 1px solid rgba(233, 38, 47, .1);
  background: linear-gradient(120deg, #fbdcdb 0%, #fcefd2 100%);
  transition: transform .5s var(--tb-ease), box-shadow .5s var(--tb-ease), border-color .5s var(--tb-ease);
}
.career-page .role-row:nth-child(even) {
  border-color: rgba(227, 160, 60, .18);
  background: linear-gradient(120deg, #fcefd2 0%, #f9e0d0 100%);
}
.career-page .role-row:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 38, 47, .22);
  box-shadow: 0 18px 36px -22px rgba(120, 30, 20, .35);
}
.career-page .role-row__apply { transition: background .4s var(--tb-ease), color .4s var(--tb-ease); }

/* Career roles: cool slate rows with a red accent edge. */
.career-page .role-row,
.career-page .role-row:nth-child(even) {
  position: relative;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  background: #f1f4f8;
}
.career-page .role-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--tb-red), var(--tb-gold));
  transform: scaleY(.35);
  transition: transform .5s var(--tb-ease);
}
.career-page .role-row:hover {
  border-color: #d6dde7;
  background: #eaeef4;
  box-shadow: 0 18px 36px -22px rgba(16, 24, 40, .28);
}
.career-page .role-row:hover::before { transform: scaleY(1); }
.career-page .role-row__type { background: #fff; }

/* Career roles: plain white with a soft shadow. */
.career-page .role-row,
.career-page .role-row:nth-child(even),
.career-page .role-row:hover {
  border: 0;
  background: #fff;
}
.career-page .role-row { box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 10px 28px -14px rgba(16, 24, 32, .16); }
.career-page .role-row:hover { box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 20px 40px -18px rgba(16, 24, 32, .24); }
.career-page .role-row::before { display: none; }
.career-page .role-row__type { background: var(--tb-ground); }

/* Career: one apply button style everywhere */
.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(233, 38, 47, .1), rgba(227, 193, 60, .16));
  color: var(--tb-red);
  font-size: 14px;
  white-space: nowrap;
  transition: background .4s var(--tb-ease), color .4s var(--tb-ease);
}
.apply-btn:hover { background: var(--tb-red); color: #fff; }
.apply-btn svg { transition: transform .3s var(--tb-ease); }
.apply-btn:hover svg { transform: translate(2px, -2px); }
.career-page .role-row .apply-btn { background: var(--tb-ground); }
.career-page .role-row .apply-btn:hover { background: var(--tb-red); }
.pg-actions .apply-btn { padding: 14px 24px; font-size: 15px; }
.apply-notice { margin-bottom: 16px; }

/* Career: application popup */
.apply-modal {
  width: min(600px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  overflow: auto;
}
.apply-modal[open] { animation: applyIn .45s var(--tb-ease) both; }
.apply-modal::backdrop { background: rgba(10, 14, 19, .55); backdrop-filter: blur(4px); animation: lbIn .3s ease both; }
@keyframes applyIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.apply-modal__form { position: relative; box-shadow: none; }
.apply-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--tb-ground);
  transition: background .25s, color .25s;
}
.apply-modal__close:hover { background: var(--tb-red); color: #fff; }
.apply-modal__close svg { width: 13px; height: 13px; }
.pg-field em { font-style: normal; opacity: .6; }

/* File picker */
.pg-file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pg-file__box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1.5px dashed rgba(233, 38, 47, .3);
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(233, 38, 47, .04), rgba(227, 193, 60, .08));
  cursor: pointer;
  opacity: 1 !important;
  transition: border-color .25s, background .25s;
}
.pg-file__box svg { width: 22px; height: 22px; flex: none; color: var(--tb-red); }
.pg-file:hover .pg-file__box,
.pg-file input:focus-visible + .pg-file__box { border-color: var(--tb-red); }

/* Partner: enquiry as a red panel + raised form, side by side */
.partner-enquiry { display: grid; gap: 24px; }
@media (min-width: 1024px) {
  .partner-enquiry { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: stretch; }
}
.partner-form {
  position: relative;
  align-content: start;
  border: 1px solid rgba(16, 24, 32, .06);
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 30px 60px -30px rgba(120, 30, 20, .3);
}
.partner-form::before {
  content: "";
  position: absolute;
  inset: 0 28px auto;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--tb-red), var(--tb-gold));
}
.partner-form .pg-form__submit { justify-self: stretch; }
@media (min-width: 640px) { .partner-form .pg-form__submit { justify-self: start; } }

/* Career: roles as an accordion */
.career-page .role-row {
  display: block;
  padding: 0;
  transform: none !important;
}
.role-row__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 20px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}
.role-row__head::-webkit-details-marker { display: none; }
@media (min-width: 768px) { .role-row__head { grid-template-columns: minmax(0, 1fr) 120px auto; } }
.role-row__title { font-size: 18px; letter-spacing: -0.01em; transition: color .25s; }
.role-row__head:hover .role-row__title,
.role-row[open] .role-row__title { color: var(--tb-red); }
.role-row__toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--tb-ground);
  transition: background .3s, color .3s, transform .4s var(--tb-ease);
}
.role-row__toggle svg { width: 12px; height: 12px; }
.role-row[open] .role-row__toggle { background: var(--tb-red); color: #fff; transform: rotate(180deg); }
.role-row__body {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin: 0 24px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--tb-line);
  animation: roleIn .45s var(--tb-ease) both;
}
@keyframes roleIn { from { opacity: 0; transform: translateY(-6px); } }
.role-row__summary { max-width: 70ch; font-size: 15px; line-height: 1.6; opacity: .8; }
.role-row__label { margin-top: 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--tb-red); }
.role-row__reqs { display: grid; gap: 8px; margin: 0 0 6px; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; }
.role-row__reqs li { position: relative; padding-left: 22px; }
.role-row__reqs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--tb-red), var(--tb-gold));
}
.career-page .role-row__body .apply-btn { background: var(--tb-red); color: #fff; }
.career-page .role-row__body .apply-btn:hover { background: #cf1f28; }

/* Shared form look on Contact and Partner (both use .partner-form). */
.contact-grid,
.partner-enquiry { align-items: stretch; }
.partner-form { gap: 18px; }
.partner-form .pg-form__title { margin-bottom: 2px; }

/* Partner: info panel on a deep charcoal with a gold glow, unlike Contact's red. */
.contact-panel--dark { background: linear-gradient(150deg, #24201f 0%, #1c1c1c 55%, #2d1f1a 100%); }
.contact-panel--dark::before { opacity: .07; }
.contact-panel--dark::after {
  right: -110px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(227, 193, 60, .35), rgba(233, 38, 47, .12) 45%, rgba(233, 38, 47, 0) 70%);
}
.contact-panel--dark .contact-panel__eyebrow { color: var(--tb-gold); opacity: 1; }
.contact-panel--dark .contact-panel__list li { background: rgba(255, 255, 255, .06); }
.contact-panel--dark .contact-panel__list li:hover { background: rgba(255, 255, 255, .1); }
.contact-panel--dark .contact-panel__icon { background: linear-gradient(120deg, var(--tb-red), #e0532a); color: #fff; }

/* Partner panel: warm gold-to-amber instead of charcoal. */
.contact-panel--dark { background: linear-gradient(150deg, #e6b23a 0%, #e08d2c 50%, #d4652a 100%); }
.contact-panel--dark::before { opacity: .12; }
.contact-panel--dark::after { background: radial-gradient(circle, rgba(255, 244, 214, .55), rgba(255, 244, 214, 0) 70%); }
.contact-panel--dark .contact-panel__eyebrow { color: #fff; opacity: .85; }
.contact-panel--dark .contact-panel__list li { background: rgba(255, 255, 255, .16); }
.contact-panel--dark .contact-panel__list li:hover { background: rgba(255, 255, 255, .24); }
.contact-panel--dark .contact-panel__icon { background: #fff; color: #d4652a; }

/* Partner panel: crisper, more saturated amber with cleaner edges. */
.contact-panel--dark { background: linear-gradient(150deg, #f2a516 0%, #ea7a17 55%, #dc4f1c 100%); }
.contact-panel--dark::before { opacity: .09; }
.contact-panel--dark::after { display: none; }
.contact-panel--dark .contact-panel__title { font-weight: 500; }
.contact-panel--dark .contact-panel__lead,
.contact-panel--dark .contact-panel__eyebrow { opacity: 1; }
.contact-panel--dark .contact-panel__list li {
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: none;
}
.contact-panel--dark .contact-panel__list li:hover { background: rgba(255, 255, 255, .2); }
.contact-panel--dark .contact-panel__label { opacity: .9; font-weight: 500; }
.contact-panel--dark .contact-panel__icon { color: #dc4f1c; }

/* Styled dropdown (News & media category) */
.nice-select { position: relative; width: 100%; }
.blog-tools__select > svg { display: none; }
.nice-select__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 46px;
  padding: 0 18px 0 20px;
  border-radius: 999px;
  color: var(--tb-ink);
  font-size: 15px;
  text-align: left;
  transition: background .25s;
}
.nice-select__btn:hover { background: var(--tb-ground); }
.nice-select__btn svg { width: 11px; height: 11px; flex: none; opacity: .55; transition: transform .35s var(--tb-ease); }
.nice-select.is-open .nice-select__btn svg { transform: rotate(180deg); }
.nice-select.is-filtered .nice-select__value { color: var(--tb-red); }
.nice-select__list {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  z-index: 20;
  min-width: 220px;
  margin: 0;
  padding: 6px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 24px 48px -18px rgba(16, 24, 32, .28);
  list-style: none;
  outline: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.98);
  transform-origin: top center;
  transition: opacity .25s, transform .3s var(--tb-ease), visibility .25s;
}
.nice-select.is-open .nice-select__list { opacity: 1; visibility: visible; transform: none; }
.nice-select__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.nice-select__opt svg { width: 14px; height: 14px; color: var(--tb-red); opacity: 0; }
.nice-select__opt.is-active { background: var(--tb-ground); }
.nice-select__opt[aria-selected="true"] {
  background: linear-gradient(120deg, rgba(233, 38, 47, .08), rgba(227, 193, 60, .14));
  color: var(--tb-red);
}
.nice-select__opt[aria-selected="true"] svg { opacity: 1; }
@media (max-width: 639px) {
  .nice-select__btn { border-radius: 16px; }
}

/* Brand pages */
.brand-page__logo { display: block; height: clamp(44px, 5vw, 64px); width: auto; margin: 0 auto 8px; object-fit: contain; }

/* ==========================================================================
   Product page (KIA K2500)
   ========================================================================== */
.pd-intro { padding-top: clamp(150px, 15vw, 196px); padding-bottom: clamp(36px, 4.6vw, 60px); }
.pd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(18px, 2.4vw, 28px); font-size: 14px; }
.pd-crumbs a { opacity: .6; transition: color .2s, opacity .2s; }
.pd-crumbs a:hover { color: var(--tb-red); opacity: 1; }
.pd-crumbs span[aria-hidden] { opacity: .35; }
.pd-crumbs [aria-current] { color: var(--tb-red); }
.pd-notice { margin-bottom: 20px; }

.pd-intro__grid { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 1024px) { .pd-intro__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }

/* Gallery */
.pd-gallery { display: grid; gap: 12px; }
@media (min-width: 1024px) { .pd-gallery { position: sticky; top: 140px; } }
.pd-gallery__main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: #fff;
}
.pd-gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .6s var(--tb-ease), transform 1.2s var(--tb-ease);
}
.pd-gallery__img.is-active { opacity: 1; transform: none; }
.pd-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s, background .25s, color .25s;
}
.pd-gallery__arrow svg { width: 14px; height: 14px; }
.pd-gallery__arrow--prev { left: 14px; }
.pd-gallery__arrow--next { right: 14px; }
.pd-gallery__main:hover .pd-gallery__arrow { opacity: 1; }
@media (hover: none) { .pd-gallery__arrow { opacity: 1; } }
.pd-gallery__arrow:hover { background: var(--tb-red); color: #fff; }
.pd-gallery__count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 14, 19, .55);
  color: #fff;
  font-size: 12px;
}
.pd-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.pd-gallery__thumbs::-webkit-scrollbar { display: none; }
.pd-gallery__thumb {
  flex: 0 0 calc((100% - 40px) / 5);
  min-width: 72px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  outline: 2px solid transparent;
  outline-offset: -2px;
  opacity: .55;
  transition: opacity .3s, outline-color .3s;
}
.pd-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery__thumb:hover { opacity: .85; }
.pd-gallery__thumb.is-active { opacity: 1; outline-color: var(--tb-red); }

/* Info */
.pd-info { display: grid; gap: 22px; }
.pd-info__logo { height: 30px; width: auto; }
.pd-info__title { margin-top: -6px; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.02; letter-spacing: -0.03em; }
.pd-info__tag { margin-top: -10px; font-size: 17px; opacity: .7; }
.pd-label { font-size: 14px; opacity: .8; }
.pd-label strong { font-weight: 500; }

.pd-price {
  display: grid;
  gap: 2px;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(233, 38, 47, .07), rgba(227, 193, 60, .14));
}
.pd-price__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.pd-price__value { color: var(--tb-red); font-size: clamp(1.6rem, 2.6vw, 2rem); letter-spacing: -0.02em; }
.pd-price__note { font-size: 13px; opacity: .6; }

.pd-colours { display: grid; gap: 10px; }
.pd-colours__list { display: flex; gap: 10px; }
.pd-swatch {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 32, .15), 0 0 0 3px #fff, 0 0 0 4px transparent;
  transition: box-shadow .3s, transform .3s var(--tb-ease);
}
.pd-swatch:hover { transform: scale(1.08); }
.pd-swatch.is-active { box-shadow: inset 0 0 0 1px rgba(16, 24, 32, .15), 0 0 0 3px #fff, 0 0 0 5px var(--tb-red); }

.pd-keyspecs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pd-keyspecs li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 10px 26px -18px rgba(16, 24, 32, .2);
}
.pd-keyspecs .pg-icon { width: 38px; height: 38px; margin-bottom: 6px; border-radius: 11px; }
.pd-keyspecs .pg-icon svg { width: 18px; height: 18px; }
.pd-keyspecs__label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.pd-keyspecs__value { font-size: 14px; line-height: 1.35; }
@media (max-width: 479px) { .pd-keyspecs { grid-template-columns: minmax(0, 1fr); } .pd-keyspecs li { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; } .pd-keyspecs .pg-icon { grid-row: span 2; margin: 0; } }

.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-actions .btn { width: 100%; }

.pd-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 479px) { .pd-tools, .pd-actions { grid-template-columns: 1fr; } }
.pd-tool {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--tb-line);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--tb-ease);
}
.pd-tool:hover { border-color: rgba(233, 38, 47, .3); transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(16, 24, 32, .3); }
.pd-tool .pg-icon { width: 40px; height: 40px; border-radius: 12px; }
.pd-tool .pg-icon svg { width: 19px; height: 19px; }
.pd-tool strong { display: block; font-weight: 500; font-size: 15px; }
.pd-tool small { display: block; font-size: 13px; opacity: .6; }

/* Sticky section nav */
.pd-subnav {
  position: sticky;
  top: var(--pd-subnav-top, 80px);
  z-index: 30;
  border-block: 1px solid var(--tb-line);
  background: rgba(248, 249, 250, .9);
  backdrop-filter: blur(10px);
  transition: background .3s, box-shadow .3s;
}
.pd-subnav.is-stuck { background: rgba(255, 255, 255, .94); box-shadow: 0 10px 24px -20px rgba(16, 24, 32, .4); }
.pd-subnav__inner { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pd-subnav__inner::-webkit-scrollbar { display: none; }
.pd-subnav a {
  position: relative;
  flex: none;
  padding: 18px 14px;
  font-size: 15px;
  opacity: .65;
  transition: opacity .25s, color .25s;
}
.pd-subnav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--tb-red);
  transform: scaleX(0);
  transition: transform .35s var(--tb-ease);
}
.pd-subnav a:hover { opacity: 1; }
.pd-subnav a.is-active { color: var(--tb-red); opacity: 1; }
.pd-subnav a.is-active::after { transform: scaleX(1); }
.pd-subnav__cta {
  flex: none;
  margin-left: auto;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--tb-red);
  color: #fff;
  font-size: 14px;
  transition: background .25s;
}
.pd-subnav__cta:hover { background: #cf1f27; }
.pd-section { scroll-margin-top: 170px; }

/* Section head */
.pd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.pd-head .sec-title { margin-top: 10px; }
.pd-head--center { justify-content: center; text-align: center; }

/* Overview */
.pd-overview { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .pd-overview { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.pd-overview .sec-title { margin-top: 10px; }
.pd-lead { margin-top: 18px; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.6; opacity: .85; }
.pd-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 22px; }
.pd-overview__media { margin: 0; overflow: hidden; aspect-ratio: 16 / 11; border-radius: 24px; }
.pd-overview__media img { width: 100%; height: 100%; object-fit: cover; }

/* Feature cards */
.pd-cards { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px)  { .pd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pd-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pd-panel:not([hidden]) { animation: galleryIn .5s var(--tb-ease) both; }
.pd-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px 10px 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 12px 30px -22px rgba(16, 24, 32, .22);
  transition: transform .4s var(--tb-ease), box-shadow .4s var(--tb-ease);
}
.pd-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 22px 44px -24px rgba(16, 24, 32, .3); }
.pd-card__media { margin: 0 0 6px; overflow: hidden; aspect-ratio: 16 / 11; border-radius: 16px; }
.pd-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tb-ease); }
.pd-card:hover .pd-card__media img { transform: scale(1.04); }
.pd-card__title { padding-inline: 12px; font-size: 19px; letter-spacing: -0.01em; }
.pd-card__text { padding-inline: 12px; font-size: 15px; line-height: 1.55; opacity: .75; }

/* Tabs */
.pd-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 32, .05), 0 8px 22px -16px rgba(16, 24, 32, .25); }
.pd-tabs--scroll { display: flex; max-width: 100%; width: max-content; margin: 0 auto clamp(20px, 2.6vw, 30px); overflow-x: auto; scrollbar-width: none; }
.pd-tabs--scroll::-webkit-scrollbar { display: none; }
.pd-tab { flex: none; padding: 10px 18px; border-radius: 999px; font-size: 14px; white-space: nowrap; transition: background .3s, color .3s; }
.pd-tab:hover { color: var(--tb-red); }
.pd-tab.is-active { background: var(--tb-red); color: #fff; }

/* Safety */
.pd-safety { display: grid; gap: 20px; }
@media (min-width: 1024px) { .pd-safety { grid-template-columns: 1fr 1fr 1fr; align-items: stretch; } }
.pd-safety__text {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(233, 38, 47, .07), rgba(227, 193, 60, .14));
}
.pd-safety__text .pd-card__title { padding: 0; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pd-chips li { padding: 8px 14px; border-radius: 999px; background: #fff; font-size: 14px; }
.pd-safety__media { margin: 0; overflow: hidden; min-height: 240px; border-radius: 22px; }
.pd-safety__media img { width: 100%; height: 100%; object-fit: cover; }

/* Spec table */
.pd-spec {
  width: 100%;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 12px 30px -22px rgba(16, 24, 32, .22);
}
.pd-spec th,
.pd-spec td { padding: 16px 24px; border-bottom: 1px solid var(--tb-line); font-size: 15px; text-align: left; vertical-align: middle; }
.pd-spec tr:last-child th,
.pd-spec tr:last-child td { border-bottom: 0; }
.pd-spec th { width: 45%; font-weight: 400; opacity: .65; }
.pd-spec tr:nth-child(even) { background: #fbfbfc; }
.pd-check { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: linear-gradient(120deg, rgba(233, 38, 47, .12), rgba(227, 193, 60, .2)); color: var(--tb-red); }
.pd-check svg { width: 13px; height: 13px; }
.pd-disclaimer { margin-top: 14px; font-size: 13px; opacity: .55; }
#specifications .pd-disclaimer { text-align: center; }

/* EMI drawer */
.pd-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(440px, 100%);
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: -20px 0 60px -30px rgba(16, 24, 32, .4);
}
.pd-drawer[open] { animation: drawerIn .45s var(--tb-ease) both; }
.pd-drawer::backdrop { background: rgba(10, 14, 19, .5); backdrop-filter: blur(3px); animation: lbIn .3s ease both; }
@keyframes drawerIn { from { transform: translateX(100%); } }
.pd-drawer__inner { display: grid; gap: 18px; height: 100%; overflow-y: auto; padding: 28px; align-content: start; }
.pd-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.pd-drawer__head .apply-modal__close { position: static; }
.pd-emi__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 15px; }
.pd-emi__row span { opacity: .65; }
.pd-emi__row strong { font-weight: 500; }
.pd-emi__row--price { padding: 16px 18px; border-radius: 14px; background: var(--tb-ground); }
.pd-drawer .nice-select__btn { height: 48px; border: 1px solid var(--tb-line); background: var(--tb-ground); border-radius: 12px; }
.pd-drawer .nice-select__list { top: calc(100% + 6px); }
.pd-emi__years { margin: 0; padding: 0; border: 0; }
.pd-emi__years legend { margin-bottom: 8px; }
.pd-emi__yearlist { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pd-emi__yearlist input { position: absolute; opacity: 0; pointer-events: none; }
.pd-emi__yearlist span {
  display: grid;
  place-items: center;
  height: 42px;
  border: 1px solid var(--tb-line);
  border-radius: 12px;
  background: var(--tb-ground);
  font-size: 15px;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.pd-emi__yearlist span:hover { border-color: rgba(233, 38, 47, .35); }
.pd-emi__yearlist input:checked + span { border-color: var(--tb-red); background: var(--tb-red); color: #fff; }
.pd-emi__yearlist input:focus-visible + span { box-shadow: 0 0 0 4px rgba(233, 38, 47, .15); }
.pd-emi__summary { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--tb-line); }
.pd-emi__total {
  display: grid;
  gap: 2px;
  margin-top: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(233, 38, 47, .08), rgba(227, 193, 60, .16));
}
.pd-emi__total span { font-size: 13px; opacity: .7; }
.pd-emi__total strong { color: var(--tb-red); font-weight: 400; font-size: 28px; letter-spacing: -0.02em; }
.pd-emi__cta { width: 100%; }

/* ==========================================================================
   KIA range + model pages
   ========================================================================== */
.kia-filter { justify-content: center; }
@media (max-width: 639px) { .kia-filter { justify-content: flex-start; } }

.kia-grid { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px)  { .kia-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .kia-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kia-card[hidden] { display: none; }
.kia-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 16px 40px -26px rgba(16, 24, 32, .28);
  transition: transform .5s var(--tb-ease), box-shadow .5s var(--tb-ease);
}
.kia-card:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 30px 60px -30px rgba(16, 24, 32, .38); }
.kia-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: radial-gradient(120% 90% at 50% 100%, #eef0f3, #f8f9fa 60%);
}
.kia-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--tb-ease); }
.kia-card:hover .kia-card__media img { transform: scale(1.05); }
.kia-card__type {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--tb-red);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kia-card__media .kia-card__type { position: absolute; top: 14px; left: 14px; }
.kia-card__360 {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(10, 14, 19, .55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
}
.kia-card__body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 22px 24px 24px; }
.kia-card__name { font-size: 24px; letter-spacing: -0.02em; }
.kia-card__name a { transition: color .25s; }
.kia-card__name a:hover { color: var(--tb-red); }
.kia-card__tag { margin-top: -6px; font-size: 15px; line-height: 1.5; opacity: .7; }
.kia-card__price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(120deg, rgba(233, 38, 47, .07), rgba(227, 193, 60, .14)); }
.kia-card__price span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.kia-card__price strong { color: var(--tb-red); font-weight: 400; font-size: 20px; }
.kia-card__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.kia-card__specs li { display: grid; gap: 2px; padding: 0 12px; border-left: 1px solid var(--tb-line); }
.kia-card__specs li:first-child { padding-left: 0; border-left: 0; }
.kia-card__specs span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.kia-card__specs strong { font-weight: 400; font-size: 14px; }
.kia-card__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: auto; padding-top: 4px; }
.kia-card__ghost { padding: 0 20px; border: 1px solid var(--tb-line); border-radius: 999px; font-size: 14px; transition: border-color .25s, color .25s; }
.kia-card__ghost:hover { border-color: var(--tb-red); color: var(--tb-red); }

.kia-mini { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; margin: 0; padding: 4px 0 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.kia-mini::-webkit-scrollbar { display: none; }
.kia-mini li { scroll-snap-align: start; }
.kia-mini a { display: grid; gap: 4px; padding: 10px 10px 18px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 12px 30px -22px rgba(16, 24, 32, .25); transition: transform .4s var(--tb-ease); }
.kia-mini a:hover { transform: translateY(-4px); }
.kia-mini figure { margin: 0 0 8px; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 14px; }
.kia-mini img { width: 100%; height: 100%; object-fit: cover; }
.kia-mini__type, .kia-mini strong, .kia-mini__price { padding-inline: 8px; }
.kia-mini__type { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tb-red); }
.kia-mini strong { font-weight: 400; font-size: 18px; }
.kia-mini__price { font-size: 14px; opacity: .6; }

/* Model page: media switch + 360° spin */
.pd-media { position: relative; display: grid; gap: 12px; }
@media (min-width: 1024px) { .pd-media { position: sticky; top: 140px; } .pd-gallery { position: static; } }
.pd-media__switch { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 32, .05), 0 8px 22px -16px rgba(16, 24, 32, .25); }
.pd-media__switch button { padding: 8px 16px; border-radius: 999px; font-size: 14px; transition: background .3s, color .3s; }
.pd-media__switch button.is-active { background: var(--tb-ink); color: #fff; }
.pd-media [hidden] { display: none !important; }

.spin {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(60% 45% at 50% 78%, rgba(233, 38, 47, .08), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f1f3f6 100%);
}
.spin__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  perspective: 900px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.spin.is-dragging .spin__stage { cursor: grabbing; }
.spin__img {
  position: absolute;
  inset: 8% 6% 16%;
  width: 88%;
  height: 76%;
  object-fit: cover;
  border-radius: 18px;
  pointer-events: none;
  filter: drop-shadow(0 26px 22px rgba(16, 24, 32, .22));
}
/* Turntable: a tilted ring that turns with the car */
.spin__floor {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 82%;
  aspect-ratio: 1;
  transform: translateX(-50%) rotateX(78deg) rotateZ(var(--spin-deg, 0deg));
  transform-origin: 50% 50%;
  border-radius: 50%;
  margin-bottom: -41%;
  background: radial-gradient(circle, rgba(16, 24, 32, .1) 0%, rgba(16, 24, 32, .03) 55%, transparent 70%);
  transition: transform .12s linear;
}
.spin__floor::before,
.spin__floor span {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(233, 38, 47, .35);
}
.spin__floor span { inset: 14%; border: 1px solid rgba(16, 24, 32, .1); }
.spin__floor::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--tb-red);
  box-shadow: 0 0 0 4px rgba(233, 38, 47, .2);
}
.spin__hint {
  position: absolute;
  top: 16px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(10, 14, 19, .6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity .4s;
}
.spin__hint svg { width: 18px; height: 18px; }
.spin.has-dragged .spin__hint { opacity: 0; }
.spin__bar {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px -16px rgba(16, 24, 32, .4);
  transform: translateX(-50%);
}
.spin__bar button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; transition: background .25s, color .25s; }
.spin__bar button:hover { background: var(--tb-red); color: #fff; }
.spin__bar svg { width: 13px; height: 13px; }
.spin__play { display: none; }
[data-spin-play]:not(.is-playing) .spin__play { display: block; }
[data-spin-play]:not(.is-playing) .spin__pause { display: none; }
.spin__deg { min-width: 48px; padding: 0 10px 0 4px; font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; opacity: .7; }

.pd-info__type { justify-self: start; margin-top: -8px; background: linear-gradient(120deg, rgba(233, 38, 47, .1), rgba(227, 193, 60, .16)); }
.pd-keyspecs li { gap: 2px; }

/* Tab bar (sticky) */
.pd-details { scroll-margin-top: 90px; }
.pd-subnav__tab {
  position: relative;
  flex: none;
  padding: 18px 14px;
  font-size: 15px;
  white-space: nowrap;
  opacity: .65;
  transition: opacity .25s, color .25s;
}
.pd-subnav__tab::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--tb-red);
  transform: scaleX(0);
  transition: transform .35s var(--tb-ease);
}
.pd-subnav__tab:hover { opacity: 1; }
.pd-subnav__tab.is-active { color: var(--tb-red); opacity: 1; }
.pd-subnav__tab.is-active::after { transform: scaleX(1); }
.pd-details > div > .pd-panel { min-height: 320px; }
.pd-tabs--wrap { flex-wrap: wrap; border-radius: 22px; }

.pd-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.pd-highlights li { display: grid; gap: 2px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 10px 26px -18px rgba(16, 24, 32, .2); }
.pd-highlights strong { color: var(--tb-red); font-weight: 400; font-size: 20px; letter-spacing: -0.01em; }
.pd-highlights span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
@media (min-width: 1024px) { .pd-safety { grid-template-columns: 1fr 1fr 1.1fr; } }

.pd-features { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px)  { .pd-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pd-features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pd-features li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: #fff; font-size: 15px; box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 10px 26px -20px rgba(16, 24, 32, .2); }
.pd-request-emi { padding: 12px 16px; border-radius: 12px; background: var(--tb-ground); font-size: 14px; }

/* ==========================================================================
   EMI calculator
   ========================================================================== */
.emi {
  display: grid;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 30px 70px -40px rgba(16, 24, 32, .35);
}
@media (min-width: 1024px) { .emi { grid-template-columns: 1.15fr 1fr; } }
.emi__inputs { display: grid; align-content: start; gap: 24px; padding: clamp(26px, 4vw, 52px); }
.emi__title { margin-top: -12px; }
.emi__field { display: grid; gap: 10px; }
.emi__labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.emi__label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.emi__val { font-size: 18px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.emi__scale { display: flex; justify-content: space-between; margin-top: -4px; font-size: 12px; opacity: .45; }

.emi__models { display: flex; flex-wrap: wrap; gap: 8px; }
.emi__model input, .emi__years input { position: absolute; opacity: 0; pointer-events: none; }
.emi__model span,
.emi__years span {
  display: inline-grid;
  place-items: center;
  padding: 10px 16px;
  border: 1px solid var(--tb-line);
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.emi__model span:hover, .emi__years span:hover { border-color: rgba(233, 38, 47, .4); }
.emi__model input:checked + span,
.emi__years input:checked + span { border-color: var(--tb-red); background: var(--tb-red); color: #fff; box-shadow: 0 10px 22px -12px rgba(233, 38, 47, .7); }
.emi__model input:focus-visible + span,
.emi__years input:focus-visible + span { box-shadow: 0 0 0 4px rgba(233, 38, 47, .18); }
.emi__years { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.emi__years span { width: 100%; padding: 10px 0; border-radius: 12px; font-size: 13px; }

.emi__range {
  --fill: 50%;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tb-red), var(--tb-gold)) 0 / var(--fill) 100% no-repeat, #eceef1;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}
.emi__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--tb-red);
  box-shadow: 0 2px 10px rgba(233, 38, 47, .45);
  transition: transform .2s;
}
.emi__range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--tb-red);
  box-shadow: 0 2px 10px rgba(233, 38, 47, .45);
}
.emi__range:active::-webkit-slider-thumb { transform: scale(1.15); }
.emi__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(233, 38, 47, .2); }

.emi__result {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 26px;
  padding: clamp(28px, 4vw, 52px);
  background: linear-gradient(150deg, #e9262f 0%, #c81d26 55%, #b8461c 100%);
  color: #fff;
}
.emi__result::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  opacity: .1;
  -webkit-mask: url("../images/pattern-contours.svg") 0 0 / 380px 380px repeat;
  mask: url("../images/pattern-contours.svg") 0 0 / 380px 380px repeat;
}
.emi__donut { position: relative; width: min(260px, 70vw); aspect-ratio: 1; }
.emi__donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.emi__ring { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 12; }
.emi__ring--interest { stroke: var(--tb-gold); stroke-linecap: round; transition: stroke-dasharray .6s var(--tb-ease); }
.emi__donut-text { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.emi__donut-text span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.emi__donut-text strong { font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.emi__legend { display: grid; gap: 10px; width: 100%; max-width: 380px; margin: 0; padding: 0; list-style: none; }
.emi__legend li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.emi__legend span { flex: 1; opacity: .85; }
.emi__legend strong { font-weight: 400; font-variant-numeric: tabular-nums; }
.emi__legend-total { margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .25); }
.emi__legend-total strong { font-size: 18px; }
.emi__dot { width: 10px; height: 10px; border-radius: 50%; }
.emi__dot--principal { background: #fff; }
.emi__dot--interest { background: var(--tb-gold); }
.emi__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--tb-red);
  font-size: 15px;
  transition: transform .3s var(--tb-ease), box-shadow .3s;
}
.emi__cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .45); }
.emi__note { margin-top: -10px; font-size: 12px; opacity: .7; text-align: center; }

/* 3D model viewer (demo on KIA Sonet) */
.spin--3d .mv {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  --poster-color: transparent;
  --progress-bar-height: 0px;
  background: transparent;
}
.spin--3d .mv:focus-visible { outline: 2px solid var(--tb-red); outline-offset: -2px; border-radius: 26px; }
.mv__progress {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(16, 24, 32, .1);
  transform: translate(-50%, -50%);
  transition: opacity .4s;
}
.mv__progress span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--tb-red), var(--tb-gold));
  animation: mvLoad 1.1s ease-in-out infinite;
}
@keyframes mvLoad { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.spin.is-loaded .mv__progress { opacity: 0; }
.spin--3d .spin__bar { bottom: 34px; }
.mv__credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  font-size: 10.5px;
  text-align: center;
  opacity: .45;
  pointer-events: none;
}

/* model-viewer sets a 150px host height by default; give it the full stage. */
.spin--3d .mv { height: auto; min-height: 340px; aspect-ratio: 4 / 3; }
@media (max-width: 639px) { .spin--3d .mv { min-height: 280px; } }

/* KIA range: filters left, results right */
.kia-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .kia-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 36px; } }
@media (min-width: 1024px) and (max-width: 1279px) { .kia-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .kia-results .kia-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 1023px) { .kia-results .kia-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.kia-side {
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 16px 40px -28px rgba(16, 24, 32, .3);
}
@media (min-width: 1024px) { .kia-side { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; scrollbar-width: thin; } }
.kia-side__head { display: flex; align-items: center; gap: 12px; }
.kia-side__title { flex: 1; font-size: 20px; letter-spacing: -0.01em; }
.kia-side__reset { color: var(--tb-red); font-size: 14px; }
.kia-side__reset:hover { text-decoration: underline; text-underline-offset: 3px; }
.kia-side__close, .kia-side__apply { display: none; }

.kia-search { position: relative; display: flex; align-items: center; }
.kia-search svg { position: absolute; left: 14px; width: 15px; height: 15px; opacity: .5; pointer-events: none; }
.kia-search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 38px;
  border: 1px solid var(--tb-line);
  border-radius: 12px;
  background: var(--tb-ground);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.kia-search input:focus { border-color: rgba(233, 38, 47, .4); background: #fff; box-shadow: 0 0 0 4px rgba(233, 38, 47, .08); }

.kia-group { display: grid; gap: 10px; margin: 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--tb-line); }
.kia-group legend { float: left; width: 100%; margin-bottom: 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.kia-group legend + * { clear: both; }

.kia-check { display: flex; align-items: center; gap: 12px; padding: 4px 0; font-size: 15px; cursor: pointer; }
.kia-check input, .kia-pill input { position: absolute; opacity: 0; pointer-events: none; }
.kia-check__box {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(16, 24, 32, .25);
  border-radius: 6px;
  transition: background .2s, border-color .2s;
}
.kia-check__box::after {
  content: "";
  width: 10px;
  height: 6px;
  margin-top: -2px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) scale(0);
  transition: transform .2s var(--tb-ease);
}
.kia-check input:checked + .kia-check__box { border-color: var(--tb-red); background: var(--tb-red); }
.kia-check input:checked + .kia-check__box::after { transform: rotate(-45deg) scale(1); }
.kia-check input:focus-visible + .kia-check__box { box-shadow: 0 0 0 4px rgba(233, 38, 47, .15); }
.kia-check:hover .kia-check__box { border-color: var(--tb-red); }
.kia-check__label { flex: 1; }
.kia-check__n { min-width: 24px; padding: 2px 8px; border-radius: 999px; background: var(--tb-ground); font-size: 12px; text-align: center; opacity: .7; }

.kia-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.kia-pill span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--tb-line);
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.kia-pill span:hover { border-color: rgba(233, 38, 47, .4); }
.kia-pill input:checked + span { border-color: transparent; background: linear-gradient(120deg, rgba(233, 38, 47, .12), rgba(227, 193, 60, .2)); color: var(--tb-red); }
.kia-pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(233, 38, 47, .15); }
.kia-group .emi__val { font-size: 15px; }

/* Results bar */
.kia-bar { position: relative; z-index: 5; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.kia-bar__count { flex: 1; font-size: 15px; opacity: .75; }
.kia-bar__count strong { font-weight: 500; }
.kia-bar__sort { width: 220px; }
.kia-bar__sort .nice-select__btn { height: 44px; border: 1px solid var(--tb-line); background: #fff; }
.kia-bar__sort .nice-select__list { left: auto; right: 0; }
.kia-bar__filters {
  display: none;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--tb-line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
}
.kia-bar__filters svg { width: 16px; height: 16px; }
.kia-bar__filters span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--tb-red); color: #fff; font-size: 11px; }
.kia-bar__filters span[hidden] { display: none; }
.kia-empty { display: grid; justify-items: center; gap: 14px; padding: 60px 20px; border-radius: 24px; background: #fff; text-align: center; }
.kia-empty[hidden] { display: none; }
.kia-scrim { display: none; }

/* Mobile / tablet: filters slide in from the left */
@media (max-width: 1023px) {
  .kia-bar__filters { display: inline-flex; }
  .kia-bar__count { order: 3; flex-basis: 100%; }
  .kia-bar { flex-wrap: wrap; }
  .kia-bar__sort { margin-left: auto; width: 200px; }
  .kia-side {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 90;
    width: min(340px, 88vw);
    align-content: start;
    overflow-y: auto;
    border-radius: 0 24px 24px 0;
    transform: translateX(-105%);
    transition: transform .45s var(--tb-ease);
  }
  .kia-side.is-open { transform: none; }
  .kia-side__close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--tb-ground); }
  .kia-side__close svg { width: 12px; height: 12px; }
  .kia-side__apply { display: inline-flex; width: 100%; }
  .kia-scrim {
    position: fixed;
    inset: 0;
    z-index: 85;
    display: block;
    background: rgba(10, 14, 19, .5);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .kia-filters-open .kia-scrim { opacity: 1; visibility: visible; }
}

/* KIA range: horizontal product rows with a prominent price */
.kia-page .about-section { padding-top: clamp(20px, 3vw, 36px); }
.kia-results .kia-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 18px; }
.kia-results .kia-card { flex-direction: row; border-radius: 24px; }
.kia-results .kia-card:hover { transform: translateY(-3px); }
.kia-results .kia-card__media { flex: 0 0 clamp(240px, 34%, 360px); aspect-ratio: auto; min-height: 230px; }
.kia-results .kia-card__body {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name   price"
    "tag    price"
    "specs  actions";
  align-items: start;
  gap: 10px 28px;
  padding: 26px 28px;
}
.kia-results .kia-card__name { grid-area: name; font-size: clamp(1.375rem, 2vw, 1.75rem); }
.kia-results .kia-card__tag { grid-area: tag; margin: 0; max-width: 46ch; }
.kia-results .kia-card__specs { grid-area: specs; align-self: end; max-width: 420px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--tb-line); }
.kia-results .kia-card__price {
  grid-area: price;
  display: grid;
  justify-items: end;
  gap: 2px;
  padding: 0;
  background: none;
  text-align: right;
}
.kia-results .kia-card__price span { font-size: 11px; }
.kia-results .kia-card__price strong {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--tb-red), #e0532a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kia-results .kia-card__actions {
  grid-area: actions;
  align-self: end;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.kia-results .kia-card__actions .btn { padding: 12px 20px; font-size: 14px; white-space: nowrap; }
.kia-results .kia-card__ghost { height: 44px; white-space: nowrap; }

/* Tablet: price moves under the name, actions span the row */
@media (max-width: 1279px) {
  .kia-results .kia-card__body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "name" "tag" "price" "specs" "actions";
    gap: 10px;
  }
  .kia-results .kia-card__price { justify-items: start; text-align: left; margin-top: 4px; }
  .kia-results .kia-card__specs { max-width: none; }
}
/* Phone: stack image on top */
@media (max-width: 639px) {
  .kia-results .kia-card { flex-direction: column; }
  .kia-results .kia-card__media { flex-basis: auto; aspect-ratio: 16 / 10; min-height: 0; }
  .kia-results .kia-card__body { padding: 20px; }
  .kia-results .kia-card__actions { display: grid; grid-template-columns: 1fr auto; }
}

/* Spacing: sidebar + bar */
@media (min-width: 1024px) { .kia-layout { grid-template-columns: 290px minmax(0, 1fr); gap: 32px; } }
.kia-side { gap: 20px; padding: 26px 24px; }
.kia-group { gap: 12px; padding-top: 20px; }
.kia-bar { min-height: 44px; margin-bottom: 18px; }
#emi { padding-top: clamp(48px, 6vw, 80px); }

/* KIA filters panel: warm brand tint with the contour vector */
.kia-side {
  isolation: isolate;
  background: linear-gradient(160deg, #fdeceb 0%, #fdf4e6 55%, #fbefe2 100%);
  box-shadow: 0 1px 2px rgba(120, 30, 20, .05), 0 18px 40px -28px rgba(120, 30, 20, .3);
}
.kia-side::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tb-red), var(--tb-gold));
  opacity: .13;
  pointer-events: none;
  -webkit-mask: url("../images/pattern-contours.svg") 0 0 / 340px 340px repeat;
  mask: url("../images/pattern-contours.svg") 0 0 / 340px 340px repeat;
}
@media (min-width: 1024px) { .kia-side { position: sticky; } }
.kia-side .kia-search input { border-color: transparent; background: #fff; }
.kia-side .kia-group { border-top-color: rgba(233, 38, 47, .12); }
.kia-side .kia-check__box { background: #fff; border-color: rgba(120, 30, 20, .25); }
.kia-side .kia-check__n { background: rgba(255, 255, 255, .8); }
.kia-side .kia-pill span { border-color: transparent; background: rgba(255, 255, 255, .85); }
.kia-side .kia-pill input:checked + span { background: var(--tb-red); color: #fff; }
.kia-side .emi__range { background: linear-gradient(90deg, var(--tb-red), var(--tb-gold)) 0 / var(--fill) 100% no-repeat, rgba(255, 255, 255, .9); }
.kia-side .kia-side__close { background: #fff; }

/* KIA range: compact, premium rhythm */
.kia-page .about-intro { padding-bottom: 8px; }
.kia-page .about-intro .gallery-intro__lead { margin-top: 10px; font-size: 1.0625rem; }
.kia-page .brand-page__logo { height: clamp(36px, 4vw, 48px); }
.kia-page .about-section { padding-block: clamp(28px, 3.6vw, 48px); }
.kia-results .kia-grid { gap: 14px; }
.kia-results .kia-card {
  min-height: 0;
  border: 1px solid rgba(16, 24, 32, .05);
  box-shadow: 0 1px 2px rgba(16, 24, 32, .03), 0 14px 34px -26px rgba(16, 24, 32, .3);
}
.kia-results .kia-card:hover { box-shadow: 0 1px 2px rgba(16, 24, 32, .03), 0 24px 48px -28px rgba(16, 24, 32, .38); }
.kia-results .kia-card__media { flex-basis: clamp(220px, 32%, 320px); min-height: 200px; }
.kia-results .kia-card__media .kia-card__type { top: 12px; left: 12px; }
.kia-results .kia-card__360 { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 11px; }
.kia-results .kia-card__body { gap: 6px 24px; padding: 22px 24px; }
.kia-results .kia-card__tag { font-size: 14px; }
.kia-results .kia-card__specs { margin-top: 10px; padding-top: 14px; }
.kia-results .kia-card__specs strong { font-size: 14px; }
.kia-results .kia-card__actions .btn,
.kia-results .kia-card__ghost { height: 42px; padding-block: 0; }
.kia-side { padding: 22px 20px; gap: 18px; }
.kia-group { padding-top: 16px; gap: 10px; }
.kia-check { padding: 2px 0; font-size: 14px; }
.kia-pill span { padding: 7px 13px; font-size: 13px; }

/* KIA range: slim list rows */
.kia-results .kia-grid { gap: 10px; }
.kia-results .kia-card { align-items: stretch; border-radius: 18px; }
.kia-results .kia-card:hover { transform: translateY(-2px); }
.kia-results .kia-card__media { flex: 0 0 180px; min-height: 0; aspect-ratio: auto; }
.kia-results .kia-card__media .kia-card__type { display: none; }
.kia-results .kia-card__360 { top: 8px; right: 8px; width: 30px; height: 30px; font-size: 10px; }
.kia-results .kia-card__body {
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas:
    "name  price actions"
    "tag   price actions"
    "specs price actions";
  align-items: center;
  gap: 2px 24px;
  padding: 14px 20px;
}
.kia-results .kia-card__name { font-size: 19px; line-height: 1.2; }
.kia-results .kia-card__tag {
  overflow: hidden;
  max-width: 52ch;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.kia-results .kia-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 6px;
  padding: 0;
  border: 0;
}
.kia-results .kia-card__specs li { display: flex; gap: 5px; align-items: baseline; padding: 0; border: 0; }
.kia-results .kia-card__specs span { font-size: 10px; }
.kia-results .kia-card__specs strong { font-size: 13px; }
.kia-results .kia-card__price { justify-items: end; align-self: center; }
.kia-results .kia-card__price strong { font-size: clamp(1.375rem, 2vw, 1.625rem); }
.kia-results .kia-card__actions { flex-direction: column; align-self: center; gap: 6px; }
.kia-results .kia-card__actions .btn,
.kia-results .kia-card__ghost { height: 36px; padding: 0 16px; font-size: 13px; }
.kia-results .kia-card__actions .btn svg { width: 12px; height: 12px; }

@media (max-width: 1279px) {
  .kia-results .kia-card__body {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name price" "tag price" "specs actions";
    gap: 2px 18px;
  }
  .kia-results .kia-card__price { justify-items: end; text-align: right; margin: 0; }
  .kia-results .kia-card__actions { flex-direction: row; align-self: end; }
}
@media (max-width: 639px) {
  .kia-results .kia-card { flex-direction: row; }
  .kia-results .kia-card__media { flex-basis: 110px; aspect-ratio: auto; }
  .kia-results .kia-card__body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "name" "price" "specs" "actions";
    padding: 12px 14px;
  }
  .kia-results .kia-card__tag { display: none; }
  .kia-results .kia-card__price { justify-items: start; text-align: left; margin-top: 2px; }
  .kia-results .kia-card__price span { display: none; }
  .kia-results .kia-card__actions { display: flex; margin-top: 8px; }
}

/* Photo credits (Creative Commons attribution) */
.kia-credits { padding-bottom: 24px; font-size: 11.5px; line-height: 1.6; opacity: .5; }
.kia-credits a { text-decoration: underline; text-underline-offset: 2px; }
.kia-credits--inline { padding: 0; margin-top: -2px; }
/* Real car photos: keep the car centred in the slim list thumbnails */
.kia-results .kia-card__media img { object-position: center 60%; }

/* KIA list page: cool, soft backdrop so the white rows and warm filters pop */
body:has(.kia-page) {
  background:
    radial-gradient(1200px 600px at 85% 0%, rgba(227, 193, 60, .08), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(233, 38, 47, .05), transparent 60%),
    #eef1f6;
}

/* KIA list page: content sections on white */
.kia-page .about-section { background: #fff; }
.kia-page .kia-card { border-color: rgba(16, 24, 32, .08); }

/* KIA list page: intro on full-width white too */
.kia-page .about-intro {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

/* KIA filters: Ion.RangeSlider ("big" skin) in brand colours */
.kia-price { padding-top: 0; border-top: 0; }
.kia-price[hidden] { display: none; }
.kia-price__slider { margin: -4px 0 4px; }
.kia-price .irs { font-family: inherit; }
.kia-price .irs--big { height: 64px; }
.kia-price .irs--big .irs-line { top: 33px; height: 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .95); box-shadow: inset 0 1px 2px rgba(120, 30, 20, .12); }
.kia-price .irs--big .irs-bar { top: 33px; height: 12px; border: 0; border-radius: 0; background: linear-gradient(90deg, var(--tb-red), #ec5a3a); box-shadow: none; }
.kia-price .irs--big .irs-handle {
  top: 26px;
  width: 26px;
  height: 26px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--tb-red);
  box-shadow: 0 2px 10px rgba(233, 38, 47, .45);
  cursor: grab;
}
.kia-price .irs--big .irs-handle.state_hover,
.kia-price .irs--big .irs-handle:hover { background: #c81d26; }
.kia-price .irs--big .irs-from,
.kia-price .irs--big .irs-to,
.kia-price .irs--big .irs-single {
  top: 0;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--tb-red);
  text-shadow: none;
  font-size: 12px;
  line-height: 1.3;
}
.kia-price .irs--big .irs-from::before,
.kia-price .irs--big .irs-to::before,
.kia-price .irs--big .irs-single::before { border-top-color: var(--tb-red); }
.kia-price .irs--big .irs-grid { top: 50px; }
.kia-price .irs--big .irs-grid-pol { background: rgba(16, 24, 32, .2); }
.kia-price .irs--big .irs-grid-text { color: rgba(16, 24, 32, .5); font-size: 10.5px; }

/* KIA filters: no inner scroll; panel shows at full height and scrolls with the page */
@media (min-width: 1024px) {
  .kia-side { position: relative; top: auto; max-height: none; overflow: visible; }
}

/* KIA list page: stories — one lead story with two side stories */
.kia-stories__grid { display: grid; gap: 18px; }
@media (min-width: 900px) {
  .kia-stories__grid { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; }
  .kia-story--lead { grid-row: span 2; }
}
.kia-story a {
  position: relative;
  display: grid;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(16, 24, 32, .07);
  box-shadow: 0 1px 2px rgba(16, 24, 32, .03), 0 14px 34px -26px rgba(16, 24, 32, .3);
  transition: transform .45s var(--tb-ease), box-shadow .45s var(--tb-ease);
}
.kia-story a:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(16, 24, 32, .03), 0 26px 50px -28px rgba(16, 24, 32, .38); }
.kia-story__media { margin: 0; overflow: hidden; }
.kia-story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--tb-ease); }
.kia-story a:hover .kia-story__media img { transform: scale(1.05); }
.kia-story__body { display: grid; align-content: center; gap: 8px; padding: 20px 22px; }
.kia-story__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; opacity: .85; }
.kia-story__meta time { opacity: .65; }
.kia-story__tag { padding: 4px 10px; border-radius: 999px; background: linear-gradient(120deg, rgba(233, 38, 47, .1), rgba(227, 193, 60, .18)); color: var(--tb-red); letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px; }
.kia-story__title { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; transition: color .25s; }
.kia-story a:hover .kia-story__title { color: var(--tb-red); }
.kia-story__text { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; line-height: 1.55; opacity: .7; }
.kia-story__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--tb-red); font-size: 14px; }
.kia-story__more svg { transition: transform .3s var(--tb-ease); }
.kia-story a:hover .kia-story__more svg { transform: translate(2px, -2px); }

/* Side stories: image beside text */
.kia-story:not(.kia-story--lead) a { grid-template-columns: 42% 1fr; }
.kia-story:not(.kia-story--lead) .kia-story__media { min-height: 180px; }
@media (max-width: 539px) {
  .kia-story:not(.kia-story--lead) a { grid-template-columns: 1fr; }
  .kia-story:not(.kia-story--lead) .kia-story__media { aspect-ratio: 16 / 10; min-height: 0; }
}

/* Lead story: photo fills the card, text on a dark fade */
.kia-story--lead a { min-height: 420px; color: #fff; border: 0; }
.kia-story--lead .kia-story__media { position: absolute; inset: 0; }
.kia-story--lead a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 19, .85) 0%, rgba(10, 14, 19, .35) 45%, rgba(10, 14, 19, 0) 70%);
}
.kia-story--lead .kia-story__body { position: relative; z-index: 1; align-self: end; align-content: end; padding: clamp(22px, 3vw, 34px); }
.kia-story--lead .kia-story__title { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.kia-story--lead a:hover .kia-story__title { color: #fff; }
.kia-story--lead .kia-story__text { max-width: 46ch; opacity: .85; }
.kia-story--lead .kia-story__tag { background: rgba(255, 255, 255, .92); }
.kia-story--lead .kia-story__more { color: #fff; }

/* ==========================================================================
   Model page: compact, creative, animated
   ========================================================================== */
.pd-info { gap: 16px; }
.pd-info__title { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.pd-info__tag { font-size: 16px; }
.pd-price { padding: 14px 18px; border-radius: 16px; }
.pd-price__value { font-size: clamp(1.5rem, 2.2vw, 1.85rem); }

/* Colours: smaller swatches with a springy select */
.pd-colours { gap: 8px; }
.pd-colours__list { gap: 8px; }
.pd-swatch { width: 26px; height: 26px; transition: box-shadow .35s var(--tb-ease), transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.pd-swatch.is-active { transform: scale(1.12); box-shadow: inset 0 0 0 1px rgba(16, 24, 32, .15), 0 0 0 2px #fff, 0 0 0 3.5px var(--tb-red); }

/* Key specs: one slim strip with dividers instead of three boxes */
.pd-keyspecs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 4px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 10px 26px -20px rgba(16, 24, 32, .25);
}
.pd-keyspecs li { padding: 10px 14px; border-radius: 0; background: none; box-shadow: none; border-left: 1px solid var(--tb-line); }
.pd-keyspecs li:first-child { border-left: 0; }
.pd-keyspecs__label { font-size: 10.5px; }
.pd-keyspecs__value { font-size: 15px; }
@media (max-width: 479px) { .pd-keyspecs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pd-keyspecs li { display: grid; padding: 10px; } }

/* Actions: compact, with a sheen sweep on the primary */
.pd-actions { gap: 8px; }
.pd-actions .btn { height: 48px; padding-block: 0; font-size: 15px; }
.pd-actions .btn-primary { position: relative; overflow: hidden; }
.pd-actions .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  animation: pdSheen 3.6s ease-in-out infinite;
}
@keyframes pdSheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* Tools: slim single-line pills */
.pd-tools { gap: 8px; }
.pd-tool { gap: 10px; padding: 10px 12px; border-radius: 14px; }
.pd-tool .pg-icon { width: 34px; height: 34px; border-radius: 10px; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.pd-tool .pg-icon svg { width: 16px; height: 16px; }
.pd-tool:hover .pg-icon { transform: rotate(-8deg) scale(1.08); }
.pd-tool strong { font-size: 14px; }
.pd-tool small { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.pd-tool > span:last-child { min-width: 0; }

/* Tab bar: segmented pill with a sliding red ink */
.pd-subnav { border: 0; background: transparent; backdrop-filter: none; padding-block: 10px; }
.pd-subnav.is-stuck { background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); box-shadow: 0 10px 24px -20px rgba(16, 24, 32, .45); }
.pd-subnav__inner { position: relative; gap: 2px; }
.pd-subnav__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.pd-subnav__tab {
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  opacity: .7;
  transition: color .35s, opacity .35s;
}
.pd-subnav__tab::after { display: none; }
.pd-subnav__tab.is-active { color: #fff; opacity: 1; }
.pd-subnav__ink {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 0;
  margin-block: auto;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--tb-red), #ec5a3a);
  box-shadow: 0 10px 20px -10px rgba(233, 38, 47, .7);
  transition: transform .5s cubic-bezier(.65, 0, .35, 1), width .5s cubic-bezier(.65, 0, .35, 1);
}
.pd-subnav__cta { padding: 9px 16px; font-size: 13px; }
.pd-details > div { padding-block: clamp(28px, 4vw, 48px) !important; }

/* Panels: content rises in, children staggered */
.pd-panel:not([hidden]) { animation: pdRise .6s var(--tb-ease) both; }
@keyframes pdRise { from { opacity: 0; transform: translateY(14px); } }
.pd-panel:not([hidden]) .pd-card,
.pd-panel:not([hidden]) .pd-features li,
.pd-panel:not([hidden]) .pd-highlights li,
.pd-panel:not([hidden]) .pd-chips li { animation: pdRise .55s var(--tb-ease) both; }
.pd-panel:not([hidden]) :is(.pd-card, .pd-features li, .pd-highlights li, .pd-chips li):nth-child(2) { animation-delay: .06s; }
.pd-panel:not([hidden]) :is(.pd-card, .pd-features li, .pd-highlights li, .pd-chips li):nth-child(3) { animation-delay: .12s; }
.pd-panel:not([hidden]) :is(.pd-card, .pd-features li, .pd-highlights li, .pd-chips li):nth-child(4) { animation-delay: .18s; }
.pd-panel:not([hidden]) :is(.pd-card, .pd-features li, .pd-highlights li, .pd-chips li):nth-child(n+5) { animation-delay: .24s; }

/* Overview: tighter, stat strip, floating price, tilt */
.pd-overview { gap: 28px; }
@media (min-width: 1024px) { .pd-overview { grid-template-columns: 1fr 1.05fr; gap: 48px; } }
.pd-overview .sec-title { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.pd-lead { margin-top: 12px; font-size: 16px; line-height: 1.6; }
.pd-highlights {
  gap: 0;
  margin-top: 20px;
  padding: 4px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 10px 26px -20px rgba(16, 24, 32, .25);
}
.pd-highlights li { padding: 12px 16px; border-radius: 0; background: none; box-shadow: none; border-left: 1px solid var(--tb-line); }
.pd-highlights li:first-child { border-left: 0; }
.pd-highlights strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.pd-highlights span { font-size: 10.5px; }
.pd-links { margin-top: 18px; }
.pd-overview__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: visible;
  border-radius: 22px;
  transition: transform .5s var(--tb-ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.pd-overview__media img { border-radius: 22px; box-shadow: 0 30px 60px -36px rgba(16, 24, 32, .5); }
.pd-overview__media::before {
  content: "";
  position: absolute;
  inset: 12% -4% -6% 10%;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(233, 38, 47, .14), rgba(227, 193, 60, .22));
  transform: translateZ(-30px) rotate(3deg);
}
.pd-overview__badge {
  position: absolute;
  left: -14px;
  bottom: 22px;
  display: grid;
  gap: 1px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 36px -18px rgba(16, 24, 32, .4);
  transform: translateZ(40px);
  animation: pdFloat 4.5s ease-in-out infinite;
}
.pd-overview__badge span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.pd-overview__badge strong { color: var(--tb-red); font-weight: 400; font-size: 20px; letter-spacing: -0.01em; }
@keyframes pdFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 639px) { .pd-overview__badge { left: 10px; bottom: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .pd-actions .btn-primary::after, .pd-overview__badge { animation: none; }
}

/* EMI calculator: compact, ocean-blue result panel */
.emi { max-width: 980px; margin-inline: auto; border-radius: 22px; }
@media (min-width: 1024px) { .emi { grid-template-columns: 1.2fr 1fr; } }
.emi__inputs { gap: 16px; padding: clamp(20px, 3vw, 32px); }
.emi__inputs .sec-eyebrow { font-size: 11px; }
.emi__title { margin-top: -8px; font-size: clamp(1.375rem, 2.2vw, 1.75rem) !important; line-height: 1.15; }
.emi__field { gap: 8px; }
.emi__label { font-size: 11px; }
.emi__val { font-size: 15px; }
.emi__range { height: 6px; }
.emi__range::-webkit-slider-thumb { width: 20px; height: 20px; border-width: 4px; }
.emi__years span, .emi__model span { padding: 8px 0; font-size: 12.5px; border-radius: 10px; }
.emi__model span { padding: 8px 14px; border-radius: 999px; }

.emi__result {
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(94, 200, 229, .35), transparent 55%),
    linear-gradient(155deg, #12355b 0%, #0e4f7a 55%, #0b7285 100%);
}
.emi__result::before { opacity: .08; }
.emi__donut { width: min(170px, 52vw); }
.emi__ring { stroke: rgba(255, 255, 255, .22); stroke-width: 11; }
.emi__ring--interest { stroke: #ffd166; }
.emi__ring:first-child { stroke: rgba(255, 255, 255, .9); }
.emi__donut-text span { font-size: 10px; }
.emi__donut-text strong { font-size: clamp(1.2rem, 2vw, 1.45rem); }
.emi__legend { gap: 7px; max-width: 300px; }
.emi__legend li { font-size: 13.5px; }
.emi__legend-total { padding-top: 9px; }
.emi__legend-total strong { font-size: 16px; color: #ffd166; }
.emi__dot--interest { background: #ffd166; }
.emi__cta { padding: 11px 20px; font-size: 14px; color: #0e4f7a; }
.emi__note { margin-top: -6px; font-size: 11px; }

/* Sliders and chips pick up the blue accent */
.emi__range { background: linear-gradient(90deg, #0e4f7a, #0b9db5) 0 / var(--fill) 100% no-repeat, #e8edf3; }
.emi__range::-webkit-slider-thumb { background: #0e4f7a; box-shadow: 0 2px 10px rgba(14, 79, 122, .45); }
.emi__range::-moz-range-thumb { background: #0e4f7a; box-shadow: 0 2px 10px rgba(14, 79, 122, .45); }
.emi__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(14, 79, 122, .2); }
.emi__model input:checked + span,
.emi__years input:checked + span { border-color: #0e4f7a; background: #0e4f7a; box-shadow: 0 8px 18px -10px rgba(14, 79, 122, .7); }
.emi__model span:hover, .emi__years span:hover { border-color: rgba(14, 79, 122, .45); }
.emi .accent { color: #0e6f96; }

/* KIA range: compact vertical cards, 3 per row */
.kia-results .kia-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px; }
@media (max-width: 1199px) { .kia-results .kia-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 559px)  { .kia-results .kia-grid { grid-template-columns: minmax(0, 1fr) !important; } }

.kia-results .kia-card,
.kia-results .kia-card:hover { flex-direction: column; border-radius: 20px; }
.kia-results .kia-card:hover { transform: translateY(-4px); }
.kia-results .kia-card__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
.kia-results .kia-card__media .kia-card__type { display: inline-block; top: 10px; left: 10px; padding: 4px 9px; font-size: 10px; }
.kia-results .kia-card__360 { top: 10px; right: 10px; width: 30px; height: 30px; font-size: 10px; }

.kia-results .kia-card__body,
.kia-results .kia-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
}
.kia-results .kia-card__name { font-size: 18px; line-height: 1.2; }
.kia-results .kia-card__tag { max-width: none; margin: 0; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kia-results .kia-card__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 2px 0 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(233, 38, 47, .07), rgba(227, 193, 60, .14));
  text-align: left;
}
.kia-results .kia-card__price span { display: inline; font-size: 10px; }
.kia-results .kia-card__price strong { font-size: 20px; }
.kia-results .kia-card__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.kia-results .kia-card__specs li { display: grid; gap: 1px; padding: 0 8px; border-left: 1px solid var(--tb-line); }
.kia-results .kia-card__specs li:first-child { padding-left: 0; border-left: 0; }
.kia-results .kia-card__specs span { font-size: 9.5px; }
.kia-results .kia-card__specs strong { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kia-results .kia-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  flex-direction: row;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.kia-results .kia-card__actions .btn,
.kia-results .kia-card__ghost { height: 38px; padding: 0 14px; font-size: 13px; }
@media (max-width: 559px) { .kia-results .kia-card__tag { display: block; } .kia-results .kia-card__price span { display: inline; } }

/* KIA cards: left-align text, full-width rows, even inner padding */
.kia-results .kia-card__body { align-items: stretch; padding: 16px 18px 18px; text-align: left; }
.kia-results .kia-card__name,
.kia-results .kia-card__tag { text-align: left; }
.kia-results .kia-card__price { width: 100%; }
.kia-results .kia-card__specs { justify-content: stretch; width: 100%; }
.kia-results .kia-card__specs li { justify-items: start; text-align: left; }
.kia-results .kia-card__actions { width: 100%; }

/* Model page tabs: white pill container with a red active pill (matches spec tabs) */
.pd-subnav { padding-block: 14px; }
.pd-subnav__inner { justify-content: space-between; gap: 12px; overflow: visible; }
.pd-subnav__tabs {
  position: relative;
  display: flex;
  gap: 2px;
  min-width: 0;
  padding: 5px;
  overflow-x: auto;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .05), 0 10px 26px -16px rgba(16, 24, 32, .28);
  scrollbar-width: none;
}
.pd-subnav__tabs::-webkit-scrollbar { display: none; }
.pd-subnav__tab { padding: 11px 20px; font-size: 15px; color: var(--tb-ink); opacity: 1; }
.pd-subnav__tab:hover:not(.is-active) { color: var(--tb-red); }
.pd-subnav__ink {
  top: 5px;
  bottom: 5px;
  height: auto;
  margin: 0;
  background: var(--tb-red);
  box-shadow: none;
}
.pd-subnav__cta { flex: none; margin-left: 0; padding: 12px 20px; font-size: 14px; }
@media (max-width: 767px) { .pd-subnav__cta { display: none; } }

/* Model page: tab content on full-width white, every box rounded */
.pd-details > div:not(.pd-subnav) {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}
.pd-details .pd-card,
.pd-details .pd-features li,
.pd-details .pd-highlights,
.pd-details .pd-tabs,
.pd-details .pd-spec {
  border: 1px solid rgba(16, 24, 32, .07);
  border-radius: 20px;
  background: var(--tb-ground);
  box-shadow: none;
}
.pd-details .pd-card { padding: 8px 8px 20px; }
.pd-details .pd-card__media,
.pd-details .pd-card__media img { border-radius: 14px; }
.pd-details .pd-features li { border-radius: 16px; }
.pd-details .pd-highlights { border-radius: 18px; }
.pd-details .pd-tabs { border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 32, .05), 0 10px 26px -16px rgba(16, 24, 32, .28); border: 0; }
.pd-details .pd-spec { overflow: hidden; border-collapse: separate; border-spacing: 0; background: #fff; }
.pd-details .pd-spec tr:nth-child(even) { background: var(--tb-ground); }
.pd-details .pd-spec tr:first-child th { border-top-left-radius: 20px; }
.pd-details .pd-spec tr:first-child td { border-top-right-radius: 20px; }
.pd-details .pd-spec tr:last-child th { border-bottom-left-radius: 20px; }
.pd-details .pd-spec tr:last-child td { border-bottom-right-radius: 20px; }
.pd-details .pd-safety__text,
.pd-details .pd-safety__media,
.pd-details .pd-safety__media img,
.pd-details .pd-overview__media img { border-radius: 20px; }
.pd-details .pd-safety__media { overflow: hidden; }
.pd-details .pd-chips li { border-radius: 999px; }
.pd-details .emi { border: 1px solid rgba(16, 24, 32, .07); border-radius: 22px; overflow: hidden; }

/* Single-photo gallery: no arrows, counter or thumbnails */
.pd-gallery.is-single .pd-gallery__arrow,
.pd-gallery.is-single .pd-gallery__count,
.pd-gallery.is-single .pd-gallery__thumbs { display: none; }

/* Model page: tab bar + content as one bordered white card, container width */
.pd-details > div:not(.pd-subnav) { background: none; box-shadow: none; clip-path: none; padding-block: 0 !important; }
.pd-subnav { padding-block: 24px 0; background: transparent; }
.pd-subnav__inner { display: block; }
.pd-subnav__tabs {
  width: 100%;
  padding: 6px;
  border: 1px solid rgba(16, 24, 32, .08);
  border-bottom-color: var(--tb-line);
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: none;
  transition: border-radius .35s var(--tb-ease), box-shadow .35s;
}
.pd-subnav__tab { flex: 1 0 auto; text-align: center; }
.pd-subnav.is-stuck { padding-block: 10px; background: rgba(248, 249, 250, .86); backdrop-filter: blur(12px); box-shadow: none; }
.pd-subnav.is-stuck .pd-subnav__tabs { border-radius: 999px; border-bottom-color: rgba(16, 24, 32, .08); box-shadow: 0 12px 28px -18px rgba(16, 24, 32, .4); }

.pd-content {
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid rgba(16, 24, 32, .08);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: #fff;
  box-shadow: 0 24px 50px -40px rgba(16, 24, 32, .35);
}
.pd-content-wrap { padding-bottom: clamp(36px, 4.6vw, 60px); }

/* Tab nav back to the floating pill style; content card below */
.pd-subnav { padding-block: 24px 14px; }
.pd-subnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd-subnav__tabs {
  width: auto;
  padding: 5px;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .05), 0 10px 26px -16px rgba(16, 24, 32, .28);
}
.pd-subnav__tab { flex: 0 0 auto; }
.pd-subnav.is-stuck { padding-block: 10px; }
.pd-subnav.is-stuck .pd-subnav__tabs { border: 0; }
.pd-content { border-top: 1px solid rgba(16, 24, 32, .08); border-radius: 24px; }
.spin--3d .spin__bar { bottom: 14px; }

/* ==========================================================================
   Material Design surfaces (M3 elevation + shape) for KIA list + model pages
   ========================================================================== */
:root {
  --md-elev-1: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .15);
  --md-elev-2: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 6px 2px rgba(0, 0, 0, .15);
  --md-elev-3: 0 1px 3px rgba(0, 0, 0, .3), 0 4px 8px 3px rgba(0, 0, 0, .15);
  --md-radius: 12px;
  --md-radius-lg: 16px;
  --md-ease: cubic-bezier(.2, 0, 0, 1);
}

/* List page cards */
.kia-results .kia-card,
.kia-story a {
  border: 0;
  border-radius: var(--md-radius);
  box-shadow: var(--md-elev-1);
  transition: box-shadow .28s var(--md-ease), transform .28s var(--md-ease);
}
.kia-results .kia-card:hover,
.kia-story a:hover { transform: none; box-shadow: var(--md-elev-3); }
.kia-results .kia-card__price { border-radius: 8px; }
.kia-results .kia-card__actions .btn,
.kia-results .kia-card__ghost { border-radius: 20px; }
.kia-side { border-radius: var(--md-radius-lg); box-shadow: var(--md-elev-1); }
.kia-side .kia-search input { border-radius: 8px; }
.kia-empty { border-radius: var(--md-radius); box-shadow: var(--md-elev-1); }
.kia-bar__sort .nice-select__btn,
.kia-bar__filters { border-radius: 8px; }

/* Model page surfaces */
.pd-gallery__main,
.spin { border-radius: var(--md-radius-lg); box-shadow: var(--md-elev-1); }
.pd-price { border-radius: var(--md-radius); }
.pd-keyspecs { border-radius: var(--md-radius); box-shadow: var(--md-elev-1); }
.pd-tool { border: 0; border-radius: var(--md-radius); box-shadow: var(--md-elev-1); transition: box-shadow .28s var(--md-ease); }
.pd-tool:hover { transform: none; box-shadow: var(--md-elev-2); }
.pd-subnav__tabs { box-shadow: var(--md-elev-1); }
.pd-subnav.is-stuck .pd-subnav__tabs { box-shadow: var(--md-elev-2); }
.pd-content {
  border: 0;
  border-radius: var(--md-radius-lg);
  box-shadow: var(--md-elev-1);
}
.pd-details .pd-card,
.pd-details .pd-features li,
.pd-details .pd-highlights,
.pd-details .pd-spec,
.pd-details .pd-safety__text {
  border: 0;
  border-radius: var(--md-radius);
  background: #fff;
  box-shadow: var(--md-elev-1);
}
.pd-details .pd-card:hover { transform: none; box-shadow: var(--md-elev-2); }
.pd-details .pd-spec tr:first-child th { border-top-left-radius: var(--md-radius); }
.pd-details .pd-spec tr:first-child td { border-top-right-radius: var(--md-radius); }
.pd-details .pd-spec tr:last-child th { border-bottom-left-radius: var(--md-radius); }
.pd-details .pd-spec tr:last-child td { border-bottom-right-radius: var(--md-radius); }
.pd-details .pd-safety__media,
.pd-details .pd-safety__media img,
.pd-details .pd-overview__media img { border-radius: var(--md-radius); }
.pd-details .emi { border: 0; border-radius: var(--md-radius-lg); box-shadow: var(--md-elev-1); }
.kia-mini a { border-radius: var(--md-radius); box-shadow: var(--md-elev-1); transition: box-shadow .28s var(--md-ease); }
.kia-mini a:hover { transform: none; box-shadow: var(--md-elev-3); }
.kia-mini figure { border-radius: 8px; }

/* KIA list cards: same card treatment as News & media (blog.php) cards —
   inset photo, soft lift and shadow on hover. Grey card on the white section,
   turning white on hover, as the blog cards do on a white band. */
.kia-results .kia-card {
  padding: 10px;
  border: 0;
  border-radius: 20px;
  background: var(--tb-ground);
  box-shadow: none;
  transition: transform .4s var(--tb-ease), box-shadow .4s var(--tb-ease), background .4s var(--tb-ease);
}
.kia-results .kia-card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 18px 40px -20px rgba(16, 24, 32, .25);
}
.kia-results .kia-card__media { border-radius: 14px; }
.kia-results .kia-card__media img { transition: transform .8s var(--tb-ease); }
.kia-results .kia-card:hover .kia-card__media img { transform: scale(1.04); }
.kia-results .kia-card__body { padding: 14px 8px 6px; }
.kia-results .kia-card__name a { transition: color .25s; }
.kia-results .kia-card:hover .kia-card__name a { color: var(--tb-red); }
.kia-results .kia-card:hover .kia-card__price { background: linear-gradient(120deg, rgba(233, 38, 47, .07), rgba(227, 193, 60, .14)); }
.kia-results .kia-card__price { background: #fff; }

/* KIA filter panel: same card style as the model cards (grey, 20px, no shadow) */
.kia-side {
  border: 0;
  border-radius: 20px;
  background: var(--tb-ground);
  box-shadow: none;
}
.kia-side::before { display: none; }
.kia-side .kia-group { border-top-color: var(--tb-line); }
.kia-side .kia-search input { border-radius: 12px; background: #fff; }
.kia-side .kia-check__box { border-color: rgba(16, 24, 32, .22); }
.kia-side .kia-check__n { background: #fff; }
.kia-side .kia-pill span { background: #fff; }
@media (max-width: 1023px) { .kia-side { border-radius: 0 20px 20px 0; background: #fff; } .kia-side .kia-search input, .kia-side .kia-pill span, .kia-side .kia-check__n { background: var(--tb-ground); } }

/* KIA results bar: search sits left of the sort dropdown */
.kia-bar__search { width: 260px; flex: none; }
.kia-bar__search input { height: 44px; border-radius: 12px; background: var(--tb-ground); border-color: transparent; }
.kia-bar__search input:focus { background: #fff; }
@media (max-width: 1023px) {
  .kia-bar__search { order: 2; flex: 1 1 200px; width: auto; }
  .kia-bar__sort { order: 3; }
  .kia-bar__count { order: 4; }
}
@media (max-width: 559px) {
  .kia-bar__search { order: 4; flex-basis: 100%; }
  .kia-bar__count { order: 5; }
}

/* KIA results bar: search left, sort right, count on its own line below */
.kia-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; }
.kia-bar__filters { order: 0; }
.kia-bar__search { order: 1; flex: 0 1 320px; width: auto; }
.kia-bar__sort { order: 2; margin-left: auto; }
.kia-bar__count { order: 3; flex: 0 0 100%; margin: 0; font-size: 14px; }
@media (max-width: 1023px) {
  .kia-bar__search { order: 1; flex: 1 1 200px; }
  .kia-bar__sort { order: 2; margin-left: 0; }
  .kia-bar__count { order: 3; }
}
@media (max-width: 559px) {
  .kia-bar__search { order: 3; flex-basis: 100%; }
  .kia-bar__count { order: 4; }
}

/* Cards + filter panel on white, with a hairline edge; blog-style lift on hover */
.kia-results .kia-card,
.kia-side {
  background: #fff;
  border: 1px solid rgba(16, 24, 32, .08);
}
.kia-results .kia-card:hover { border-color: transparent; }
.kia-results .kia-card__price { background: linear-gradient(120deg, rgba(233, 38, 47, .07), rgba(227, 193, 60, .14)); }
.kia-side .kia-search input,
.kia-side .kia-pill span,
.kia-side .kia-check__n { background: var(--tb-ground); }
.kia-bar__search input { background: #fff; border-color: rgba(16, 24, 32, .1); }

/* KIA list page matches News & media: grey page, white cards and filter panel */
body:has(.kia-page) { background: var(--tb-ground); }
.kia-page .about-section,
.kia-page .about-intro { background: transparent; box-shadow: none; clip-path: none; }
.kia-results .kia-card,
.kia-side { border: 0; background: #fff; }
.kia-results .kia-card:hover { background: #fff; }
.kia-bar__search input { border-color: transparent; background: #fff; }
.kia-bar__sort .nice-select__btn { border-color: transparent; }
.kia-story a { border: 0; }

/* KIA list: drop the Material hairline shadows; News & media card style throughout */
.kia-story a,
.kia-empty,
.kia-bar__filters {
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
  transition: transform .4s var(--tb-ease), box-shadow .4s var(--tb-ease);
}
.kia-story a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(16, 24, 32, .25); }
.kia-story--lead a { background: var(--tb-ink); }
.kia-bar__filters { border-radius: 999px; }
.kia-results .kia-card:hover { box-shadow: 0 18px 40px -20px rgba(16, 24, 32, .25); }


/* KIA results bar: count as a quiet status chip beside the sort menu */
.kia-bar { flex-wrap: nowrap; }
.kia-bar__search { order: 1; flex: 0 1 340px; }
.kia-bar__count {
  order: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  margin: 0 0 0 auto;
  padding: 0 14px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  opacity: 1;
  color: rgba(28, 28, 28, .7);
  white-space: nowrap;
}
.kia-bar__count strong { color: var(--tb-red); font-weight: 500; }
.kia-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--tb-red), var(--tb-gold));
  box-shadow: 0 0 0 4px rgba(233, 38, 47, .1);
}
.kia-bar__sort { order: 3; margin-left: 0; }
@media (max-width: 1023px) {
  .kia-bar { flex-wrap: wrap; }
  .kia-bar__search { order: 1; flex: 1 1 200px; }
  .kia-bar__sort { order: 2; }
  .kia-bar__count { order: 3; flex: 0 0 auto; margin: 0; height: auto; padding: 0 4px; background: none; }
}
@media (max-width: 559px) {
  .kia-bar__search { order: 3; flex-basis: 100%; }
  .kia-bar__count { order: 4; }
}


/* KIA banner above the listing */
.kia-banner-wrap { padding-block: clamp(4px, 1vw, 12px) 0; }
.kia-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(300px, 34vw, 440px);
  overflow: hidden;
  border-radius: 24px;
  background: #0d1117;
}
.kia-banner__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 55%;
  transform: scale(1.04);
  transition: transform 1.6s var(--tb-ease);
}
.kia-banner:hover .kia-banner__img { transform: scale(1.08); }
.kia-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 12, 18, .88) 0%, rgba(8, 12, 18, .6) 38%, rgba(8, 12, 18, 0) 70%);
}
.kia-banner__content {
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: 520px;
  padding: clamp(24px, 4vw, 56px);
  color: #fff;
}
.kia-banner__logo { height: 28px; width: auto; filter: brightness(0) invert(1); }
.kia-banner__title { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; }
.kia-banner__title span { background: linear-gradient(90deg, #ff6b6b, var(--tb-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kia-banner__text { max-width: 42ch; font-size: 16px; line-height: 1.55; opacity: .82; }
.kia-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.kia-banner__ghost {
  height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  backdrop-filter: blur(6px);
  transition: background .25s, color .25s, border-color .25s;
}
.kia-banner__ghost:hover { background: #fff; border-color: #fff; color: var(--tb-ink); }
@media (max-width: 639px) {
  .kia-banner { align-items: flex-end; min-height: 420px; }
  .kia-banner::before { background: linear-gradient(0deg, rgba(8, 12, 18, .92) 0%, rgba(8, 12, 18, .55) 50%, rgba(8, 12, 18, .1) 100%); }
  .kia-banner__img { object-position: 60% 30%; }
}
#models { scroll-margin-top: 130px; }

/* KIA banner: supplied line-up artwork, shown whole, cars clickable */
.kia-banner--lineup { display: block; min-height: 0; background: #000; }
.kia-banner--lineup::before { display: none; }
.kia-banner__art { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .kia-banner--lineup { overflow-x: auto; border-radius: 16px; scrollbar-width: none; }
  .kia-banner--lineup::-webkit-scrollbar { display: none; }
  .kia-banner__art,     }
.kia-banner--lineup { background: #fff; }

/* Model page: same soft card language as the KIA list / News & media
   (replace the Material hairline elevations with soft, diffuse shadows) */
:root {
  --md-elev-1: 0 1px 2px rgba(16, 24, 32, .04), 0 12px 32px -18px rgba(16, 24, 32, .18);
  --md-elev-2: 0 1px 2px rgba(16, 24, 32, .04), 0 18px 40px -20px rgba(16, 24, 32, .25);
  --md-elev-3: 0 1px 2px rgba(16, 24, 32, .04), 0 22px 48px -22px rgba(16, 24, 32, .3);
  --md-radius: 16px;
  --md-radius-lg: 20px;
}
.pd-content { border-radius: 20px; box-shadow: var(--md-elev-1); }
.pd-subnav__tabs { box-shadow: var(--md-elev-1); }
/* Boxes inside the white content card: flat grey, like blog cards on white */
.pd-details .pd-highlights,
.pd-details .pd-features li,
.pd-details .pd-safety__text,
.pd-details .pd-card {
  background: var(--tb-ground);
  box-shadow: none;
}
.pd-details .pd-card:hover { background: #fff; box-shadow: var(--md-elev-2); transform: translateY(-4px); }
.pd-details .pd-spec { background: #fff; box-shadow: 0 0 0 1px rgba(16, 24, 32, .06); }
.pd-details .pd-highlights li { border-left-color: rgba(16, 24, 32, .08); }
/* Top section boxes */
.pd-keyspecs,
.pd-tool { box-shadow: var(--md-elev-1); }
.pd-tool:hover { box-shadow: var(--md-elev-2); transform: translateY(-2px); }
.spin, .pd-gallery__main { box-shadow: var(--md-elev-1); }
/* Overview: text sits at the top instead of floating mid-card */
.pd-overview { align-items: start; }

/* ==========================================================================
   Group company pages
   ========================================================================== */
.company-logo { display: block; height: clamp(56px, 6vw, 76px); width: auto; max-width: 240px; margin: 0 auto 14px; object-fit: contain; border-radius: 12px; }
.company-hero-wrap { padding-top: clamp(16px, 2vw, 24px); }
.company-hero { position: relative; margin: 0; overflow: hidden; border-radius: 24px; aspect-ratio: 21 / 9; background: #fff; }
.company-hero img { width: 100%; height: 100%; object-fit: cover; }
.company-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 14, 19, .55), rgba(10, 14, 19, 0) 50%); pointer-events: none; }
.company-stats {
  position: absolute;
  left: clamp(14px, 3vw, 32px);
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 640px;
  margin: 0;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  list-style: none;
}
.company-stats li { display: grid; gap: 2px; padding: 12px 16px; border-left: 1px solid var(--tb-line); }
.company-stats li:first-child { border-left: 0; }
.company-stats strong { color: var(--tb-red); font-weight: 400; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -0.02em; }
.company-stats span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
@media (max-width: 639px) {
  .company-hero { aspect-ratio: 4 / 3; }
  .company-stats li { padding: 10px; }
}

.company-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.company-brands li {
  display: grid;
  place-items: center;
  width: 180px;
  height: 96px;
  padding: 20px;
  border-radius: 20px;
  background: var(--tb-ground);
  transition: transform .4s var(--tb-ease), box-shadow .4s var(--tb-ease), background .4s;
}
.company-brands li:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 18px 40px -20px rgba(16, 24, 32, .25); }
.company-brands img { max-width: 100%; max-height: 48px; object-fit: contain; }
.company-brands__more { margin-top: 22px; text-align: center; }

.company-others { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px)  { .company-others { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .company-others { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.company-others a {
  position: relative;
  display: grid;
  align-content: start;
  gap: 4px;
  height: 100%;
  padding: 20px 20px 22px;
  border-radius: 20px;
  background: #fff;
  transition: transform .4s var(--tb-ease), box-shadow .4s var(--tb-ease);
}
.company-others a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(16, 24, 32, .25); }
.company-others__logo { display: grid; place-items: center start; height: 48px; margin-bottom: 10px; }
.company-others__logo img { max-height: 48px; max-width: 140px; object-fit: contain; border-radius: 8px; }
.company-others strong { font-weight: 400; font-size: 18px; transition: color .25s; }
.company-others a:hover strong { color: var(--tb-red); }
.company-others span:not(.company-others__logo):not(.company-others__go) { font-size: 14px; opacity: .65; }
.company-others__go {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--tb-ground);
  color: var(--tb-red);
  transition: background .3s, color .3s;
}
.company-others a:hover .company-others__go { background: var(--tb-red); color: #fff; }

/* Company logo: bigger, in a white badge with a soft ring and float */
.company-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(132px, 13vw, 168px);
  height: clamp(132px, 13vw, 168px);
  max-width: none;
  margin: 0 auto 22px;
  padding: 18px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .05), 0 24px 48px -24px rgba(16, 24, 32, .3);
  animation: pdFloat 5s ease-in-out infinite;
}
.company-logo::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(233, 38, 47, .14), rgba(227, 193, 60, .22));
}
.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;   /* hides the JPEG's light background */
}
@media (prefers-reduced-motion: reduce) { .company-logo { animation: none; } }

/* Company logo: no badge background, ring or shadow; just the bigger logo */
.company-logo { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.company-logo::before { display: none; }
.company-logo img { mix-blend-mode: multiply; }

/* Company logo: size the image itself so tall logos can't spill over the eyebrow */
.company-logo { width: auto; height: auto; margin-bottom: 24px; }
.company-logo img {
  display: block;
  width: auto;
  height: clamp(110px, 11vw, 140px);
  max-width: min(260px, 70vw);
  object-fit: contain;
}

/* Company hero with a transparent cut-out image (Times Business) */
.company-hero--cutout {
  display: grid;
  justify-items: center;
  gap: clamp(18px, 3vw, 32px);
  aspect-ratio: auto;
  padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 48px) clamp(22px, 3vw, 36px);
  isolation: isolate;
  background:
    radial-gradient(60% 50% at 50% 85%, rgba(16, 24, 32, .12), transparent 70%),
    linear-gradient(160deg, #fdeceb 0%, #fdf6e8 55%, #fbf0e3 100%);
}
.company-hero--cutout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--tb-red), var(--tb-gold));
  opacity: .12;
  -webkit-mask: url("../images/pattern-contours.svg") 0 0 / 420px 420px repeat;
  mask: url("../images/pattern-contours.svg") 0 0 / 420px 420px repeat;
}
.company-hero--cutout::after { display: none; }
.company-hero--cutout img {
  width: min(100%, 900px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 24px rgba(16, 24, 32, .22));
}
.company-hero--cutout .company-stats {
  position: static;
  width: 100%;
  background: #fff;
  backdrop-filter: none;
  box-shadow: 0 12px 30px -18px rgba(16, 24, 32, .25);
}

/* Company hero: brand colour + vector pattern instead of a photo */
.company-hero--pattern {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(22px, 3vw, 34px);
  aspect-ratio: auto;
  min-height: clamp(280px, 30vw, 380px);
  padding: clamp(34px, 5vw, 64px) clamp(18px, 4vw, 48px);
  isolation: isolate;
  background:
    radial-gradient(70% 90% at 85% 10%, rgba(227, 193, 60, .45), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(120, 10, 16, .55), transparent 60%),
    linear-gradient(140deg, #e9262f 0%, #c81d26 55%, #a3171f 100%);
  color: #fff;
}
.company-hero--pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  opacity: .14;
  -webkit-mask: url("../images/pattern-contours.svg") 0 0 / 460px 460px repeat;
  mask: url("../images/pattern-contours.svg") 0 0 / 460px 460px repeat;
  animation: patternDrift 40s linear infinite;
}
@keyframes patternDrift { to { -webkit-mask-position: 460px 460px; mask-position: 460px 460px; } }
.company-hero--pattern::after { display: none; }
.company-hero__words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin: 0;
  font-size: clamp(1.8rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.company-hero__words span + span::before {
  content: "";
  display: inline-block;
  width: .26em;
  height: .26em;
  margin: 0 22px .18em 0;
  border-radius: 50%;
  background: var(--tb-gold);
  vertical-align: middle;
}
.company-hero--pattern .company-stats {
  position: static;
  width: 100%;
  background: rgba(255, 255, 255, .95);
  color: var(--tb-ink);
  box-shadow: 0 18px 40px -22px rgba(60, 0, 6, .6);
}
@media (prefers-reduced-motion: reduce) { .company-hero--pattern::before { animation: none; } }

/* Company banners: each company's own colours + line-art illustration */
.company-hero--pattern {
  background:
    radial-gradient(70% 90% at 85% 10%, color-mix(in srgb, var(--co-glow, #e3c13c) 45%, transparent), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, color-mix(in srgb, var(--co-2, #a3171f) 80%, #000 20%), transparent 60%),
    linear-gradient(140deg, var(--co-1, #e9262f) 0%, var(--co-2, #c81d26) 100%);
  overflow: hidden;
}
.company-hero__words span + span::before { background: var(--co-glow, var(--tb-gold)); }
.company-hero__art {
  position: absolute;
  right: -2%;
  bottom: 0;
  z-index: -1;
  width: min(62%, 640px);
  height: auto;
  color: #fff;
  opacity: .22;
  stroke-width: 2.2;
}
.company-hero__art path, .company-hero__art circle, .company-hero__art ellipse {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: artDraw 2.8s var(--tb-ease) forwards;
}
.company-hero__art [stroke-dasharray="6 8"] { stroke-dasharray: 6 8; stroke-dashoffset: 0; animation: artDash 1.6s linear infinite; }
@keyframes artDraw { to { stroke-dashoffset: 0; } }
@keyframes artDash { to { stroke-dashoffset: -28; } }
@media (max-width: 767px) { .company-hero__art { width: 110%; right: -20%; opacity: .16; } }
@media (prefers-reduced-motion: reduce) { .company-hero__art * { animation: none !important; stroke-dashoffset: 0 !important; } }

/* Company banners: a little lighter */
.company-hero--pattern {
  background:
    radial-gradient(70% 90% at 85% 10%, color-mix(in srgb, var(--co-glow, #e3c13c) 50%, transparent), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, color-mix(in srgb, var(--co-2, #a3171f) 55%, transparent), transparent 60%),
    linear-gradient(140deg, color-mix(in srgb, var(--co-1, #e9262f) 78%, #fff) 0%, color-mix(in srgb, var(--co-2, #c81d26) 85%, #fff) 100%);
}
.company-hero__words { text-shadow: 0 2px 18px rgba(0, 0, 0, .12); }

/* Company pages: accents follow each company's logo colours */
.company-page { --tb-red: var(--co-1); --tb-gold: var(--co-glow); }
.company-page .accent,
.company-page .sec-eyebrow { color: var(--co-1); }
.company-page .pg-icon { background: color-mix(in srgb, var(--co-1) 12%, #fff); color: var(--co-1); }
.company-page .pg-tile { background: linear-gradient(140deg, color-mix(in srgb, var(--co-1) 9%, #fff), color-mix(in srgb, var(--co-glow) 14%, #fff)); }
.company-page .pg-tile::before { background: linear-gradient(90deg, var(--co-1), var(--co-glow)); }
.company-page .pg-tile .pg-icon { background: #fff; }
.company-page .company-stats strong { color: var(--co-1); }
.company-page .message__mark { color: var(--co-1); }
.company-page .company-others__go { color: var(--co-1); }
.company-page .company-others a:hover strong { color: var(--co-1); }
.company-page .company-others a:hover .company-others__go { background: var(--co-1); color: #fff; }
/* Shared group sections keep the Times red */
.company-page #contact,
.company-page #brands { --tb-red: #e9262f; --tb-gold: #e3c13c; }
.company-page #contact .accent,
.company-page #contact .sec-eyebrow,
.company-page #brands .sec-eyebrow { color: #e9262f; }

/* Closing CTA: "Find a location" pill (replaces the newsletter form) */
.location-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 480px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 14px 30px -18px rgba(16, 24, 32, .25);
  transition: transform .35s var(--tb-ease), box-shadow .35s var(--tb-ease);
}
.location-cta:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 20px 40px -20px rgba(16, 24, 32, .32); }
.location-cta__text { display: grid; min-width: 0; line-height: 1.25; }
.location-cta__text strong { font-weight: 500; font-size: 16px; }
.location-cta__text small { overflow: hidden; font-size: 12.5px; opacity: .6; white-space: nowrap; text-overflow: ellipsis; }
.location-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--tb-ink);
  color: #fff;
  font-size: 15px;
  transition: background .3s;
}
.location-cta:hover .location-cta__btn { background: #e9262f; }
.location-cta__btn svg { transition: transform .3s var(--tb-ease); }
.location-cta:hover .location-cta__btn svg { transform: translate(2px, -2px); }
@media (max-width: 479px) { .location-cta { flex-wrap: wrap; border-radius: 24px; padding: 14px; } .location-cta__btn { width: 100%; justify-content: center; } }

/* Company pages: timeline and "Other group companies" stay in the Times colours */
.company-page .company-generic { --tb-red: #e9262f; --tb-gold: #e3c13c; --co-1: #e9262f; --co-glow: #e3c13c; }
.company-page .company-generic .accent,
.company-page .company-generic .sec-eyebrow { color: #e9262f; }

/* ==========================================================================
   Locations page: SVG map of Nepal with pins + filterable list
   ========================================================================== */
.loc { --loc-showroom: #e9262f; --loc-service: #0e6f96; --loc-office: #1c1c1c; --loc-project: #0f8a6f; }
.loc-dot { display: inline-block; width: 8px; height: 8px; margin-right: 2px; border-radius: 50%; vertical-align: middle; }
.loc-dot--showroom { background: var(--loc-showroom); }
.loc-dot--service { background: var(--loc-service); }
.loc-dot--office { background: var(--loc-office); }
.loc-dot--project { background: var(--loc-project); }

.loc-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.loc-filters .gallery-filter { margin: 0; }
.loc-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.loc-brand {
  display: grid;
  place-items: center;
  width: 74px;
  height: 40px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  opacity: .7;
  transition: opacity .25s, border-color .25s, box-shadow .25s;
}
.loc-brand img { max-width: 100%; max-height: 22px; object-fit: contain; }
.loc-brand:hover { opacity: 1; }
.loc-brand[aria-pressed="true"] { opacity: 1; border-color: var(--tb-red); box-shadow: 0 0 0 3px rgba(233, 38, 47, .12); }

.loc-map {
  position: relative;
  padding: clamp(14px, 3vw, 36px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 18px 44px -28px rgba(16, 24, 32, .3);
}
.loc-map__svg { display: block; width: 100%; height: auto; overflow: visible; }
.loc-map__land { fill: url(#locFill); }
.loc-map__dots { fill: url(#locDots); }
#locDots circle { fill: rgba(233, 38, 47, .18); }
.loc-map__edge { fill: none; stroke: rgba(233, 38, 47, .45); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: artDraw 2.6s var(--tb-ease) forwards; }
.loc-map__city { font-size: 15px; fill: rgba(28, 28, 28, .55); letter-spacing: .04em; }
.loc-map__note { position: absolute; right: 20px; bottom: 14px; font-size: 11px; opacity: .4; }

.loc-pin { cursor: pointer; outline: none; }
.loc-pin__head { fill: var(--pin, var(--loc-showroom)); stroke: #fff; stroke-width: 2.5; transform-origin: 0 0; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); filter: drop-shadow(0 4px 4px rgba(16, 24, 32, .25)); }
.loc-pin__eye { fill: #fff; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.loc-pin__pulse { fill: var(--pin, var(--loc-showroom)); opacity: .25; transform-origin: 0 0; animation: locPulse 2.4s ease-out infinite; }
.loc-pin--showroom { --pin: var(--loc-showroom); }
.loc-pin--service { --pin: var(--loc-service); }
.loc-pin--office { --pin: var(--loc-office); }
.loc-pin--project { --pin: var(--loc-project); }
.loc-pin:hover .loc-pin__head, .loc-pin:focus-visible .loc-pin__head, .loc-pin.is-active .loc-pin__head { transform: scale(1.35); }
.loc-pin:hover .loc-pin__eye, .loc-pin:focus-visible .loc-pin__eye, .loc-pin.is-active .loc-pin__eye { transform: translateY(-7px) scale(1.35); }
.loc-pin.is-dim { opacity: .15; pointer-events: none; }
.loc-pin { transition: opacity .3s; }
@keyframes locPulse { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(2.6); opacity: 0; } }

.loc-tip {
  position: absolute;
  z-index: 3;
  max-width: 240px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--tb-ink);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 34px));
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5);
}
.loc-tip strong { display: block; font-weight: 500; font-size: 14px; }
.loc-tip span { opacity: .7; }
.loc-tip::after { content: ""; position: absolute; left: 50%; top: 100%; border: 6px solid transparent; border-top-color: var(--tb-ink); transform: translateX(-50%); }

.loc-list { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px)  { .loc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .loc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.loc-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 20px;
  background: #fff;
  scroll-margin-top: 140px;
  transition: transform .4s var(--tb-ease), box-shadow .4s var(--tb-ease);
}
.loc-card[hidden] { display: none; }
.loc-card:hover, .loc-card.is-active { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(16, 24, 32, .25); }
.loc-card.is-active { box-shadow: 0 0 0 2px var(--tb-red), 0 18px 40px -20px rgba(16, 24, 32, .25); }
.loc-card__top { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; }
.loc-card__type { letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.loc-card__city { opacity: .55; }
.loc-card__name { font-size: 18px; letter-spacing: -0.01em; }
.loc-card__addr { font-size: 14px; opacity: .7; }
.loc-card__addr a:hover { color: var(--tb-red); }
.loc-card__brands { display: flex; flex-wrap: wrap; gap: 6px; }
.loc-card__brands img { height: 28px; width: 64px; padding: 5px 8px; border-radius: 8px; background: var(--tb-ground); object-fit: contain; }
.loc-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--tb-line); }
.loc-card__cos { font-size: 12.5px; opacity: .6; }
.loc-card__foot .blog-link { font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .loc-pin__pulse, .loc-map__edge { animation: none; stroke-dashoffset: 0; } }

/* Locations: company filter chips */
.loc-co { width: auto; height: 40px; gap: 8px; display: inline-flex; align-items: center; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: 13px; }
.loc-co img { width: 28px; height: 28px; max-height: none; border-radius: 50%; object-fit: contain; mix-blend-mode: multiply; }
.loc-co[aria-pressed="true"] { background: #fff; color: var(--tb-red); }

/* Location card: company chips */
.loc-card__cos-logos { display: flex; flex-wrap: wrap; gap: 6px; }
.loc-co-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: var(--tb-ground); font-size: 12px; }
.loc-co-chip img { width: 22px; height: 22px; border-radius: 50%; object-fit: contain; mix-blend-mode: multiply; }
.loc-card__cos a { color: inherit; }
.loc-card__cos a:hover { color: var(--tb-red); }

/* Marker popup */
.loc-pop {
  position: absolute;
  z-index: 4;
  width: min(300px, 80vw);
  padding: 16px 18px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 24px 50px -18px rgba(16, 24, 32, .45);
  transform: translate(-50%, calc(-100% - 40px));
  animation: locPop .35s cubic-bezier(.34, 1.56, .64, 1) both;
}
.loc-pop[hidden] { display: none; }
@keyframes locPop { from { opacity: 0; transform: translate(-50%, calc(-100% - 28px)) scale(.94); } }
.loc-pop::after { content: ""; position: absolute; left: 50%; top: 100%; border: 8px solid transparent; border-top-color: #fff; transform: translateX(-50%); }
.loc-pop > div { display: grid; gap: 6px; }
.loc-pop__close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--tb-ground); }
.loc-pop__close svg { width: 10px; height: 10px; }
.loc-pop__type { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.loc-pop__name { padding-right: 30px; font-weight: 500; font-size: 16px; line-height: 1.25; }
.loc-pop__addr { font-size: 13.5px; opacity: .7; }
.loc-pop__cos { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.loc-pop__actions { display: flex; gap: 8px; margin-top: 8px; }
.loc-pop__dir, .loc-pop__ghost { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; transition: background .25s, color .25s, border-color .25s; }
.loc-pop__dir { flex: 1; background: var(--tb-red); color: #fff; }
.loc-pop__dir:hover { background: #cf1f28; }
.loc-pop__ghost { border: 1px solid var(--tb-line); }
.loc-pop__ghost:hover { border-color: var(--tb-red); color: var(--tb-red); }

/* Locations: list on the left, map on the right (map stays in view) */
.loc-layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1024px) {
  .loc-layout { grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr); gap: 24px; }
  .loc-mapcol { position: sticky; top: 130px; order: 2; }
}
.loc-side .loc-list { grid-template-columns: minmax(0, 1fr) !important; margin: 0; gap: 12px; }
@media (min-width: 640px) and (max-width: 1023px) { .loc-side .loc-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 1023px) { .loc-mapcol { order: -1; } }
.loc-side .loc-card { padding: 16px 18px; cursor: pointer; }
.loc-side .loc-card__name { font-size: 17px; }

/* Locations: Leaflet map */
.loc-map { padding: 8px; overflow: hidden; }
.loc-leaflet { width: 100%; height: clamp(420px, 62vh, 640px); border-radius: 18px; background: #eef0f3; z-index: 0; }
@media (max-width: 1023px) { .loc-leaflet { height: 420px; } }
.loc-map__fallback { padding: 40px 20px; text-align: center; opacity: .7; }
.loc-leaflet .leaflet-control-zoom { border: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px -12px rgba(16, 24, 32, .35); }
.loc-leaflet .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 38px; border: 0; color: var(--tb-ink); font: 400 20px/38px "DM Sans", system-ui, sans-serif; }
.loc-leaflet .leaflet-control-zoom a:hover { background: var(--tb-red); color: #fff; }
.loc-leaflet .leaflet-control-attribution { font-size: 10px; border-radius: 8px 0 0 0; }

/* Markers */
.loc-marker { --pin: var(--loc-showroom, #e9262f); }
.loc-marker--service { --pin: #0e6f96; }
.loc-marker--office { --pin: #1c1c1c; }
.loc-marker--project { --pin: #0f8a6f; }
.loc-marker__pin {
  position: absolute;
  left: 3px;
  top: 0;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--pin);
  transform: rotate(-45deg);
  transform-origin: center;
  box-shadow: 0 4px 10px rgba(16, 24, 32, .35);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.loc-marker__pin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.loc-marker__pulse {
  position: absolute;
  left: 7px;
  bottom: -4px;
  width: 16px;
  height: 8px;
  border-radius: 50%;
  background: var(--pin);
  opacity: .35;
  animation: locPulse 2.4s ease-out infinite;
}
.loc-marker.is-hover .loc-marker__pin,
.loc-marker.is-active .loc-marker__pin,
.loc-marker:hover .loc-marker__pin { transform: rotate(-45deg) scale(1.25); }

/* Popup in our style */
.loc-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 18px; box-shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 24px 50px -18px rgba(16, 24, 32, .45); }
.loc-popup .leaflet-popup-content { margin: 16px 18px 18px; font: inherit; color: var(--tb-ink); }
.loc-popup .leaflet-popup-tip { box-shadow: none; }
.loc-popup a.leaflet-popup-close-button { top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 999px; background: var(--tb-ground); color: var(--tb-ink); font: 18px/26px system-ui; }
.loc-pop__body { display: grid; gap: 6px; }
.loc-popup .loc-pop__dir { color: #fff; }
.loc-popup .loc-pop__ghost { color: var(--tb-ink); }

/* Locations: narrower, compact list */
@media (min-width: 1024px) { .loc-layout { grid-template-columns: 340px minmax(0, 1fr); gap: 20px; } }
.loc-side .loc-list { gap: 8px; }
.loc-side .loc-card { gap: 4px; padding: 12px 14px; border-radius: 14px; }
.loc-side .loc-card:hover, .loc-side .loc-card.is-active { transform: none; }
.loc-side .loc-card__top { font-size: 10.5px; }
.loc-side .loc-card__name { font-size: 15px; line-height: 1.25; }
.loc-side .loc-card__addr { font-size: 12.5px; }
.loc-side .loc-card__cos-logos { gap: 4px; }
.loc-side .loc-co-chip { padding: 2px 8px 2px 2px; font-size: 11px; }
.loc-side .loc-co-chip img { width: 18px; height: 18px; }
.loc-side .loc-card__foot { margin-top: 2px; padding-top: 6px; }
.loc-side .loc-card__cos, .loc-side .loc-card__foot .blog-link { font-size: 12.5px; }

/* Locations map: OSM tiles softened to suit the site; popup + marker fixes */
.loc-leaflet .leaflet-tile-pane { filter: saturate(.7) contrast(.95) brightness(1.03); }
.loc-map { overflow: visible; }
.loc-leaflet { overflow: hidden; }
.loc-marker__pulse { left: 8px; bottom: 6px; width: 14px; height: 6px; }
.loc-popup .leaflet-popup-content { margin: 14px 16px 16px; width: auto !important; }
.loc-popup .leaflet-popup-content-wrapper { border-radius: 16px; }
.loc-pop__body { gap: 4px; }
.loc-popup .loc-pop__type { display: flex; align-items: center; gap: 6px; padding-right: 30px; font-size: 10.5px; }
.loc-popup .loc-pop__type .loc-dot { margin: 0; }
.loc-popup .loc-pop__name { padding-right: 24px; font-size: 15px; }
.loc-popup .loc-pop__addr { font-size: 13px; }
.loc-popup .loc-co-chip { font-size: 11.5px; }
.loc-popup .loc-co-chip img { width: 20px; height: 20px; }
.loc-popup .loc-pop__actions { margin-top: 8px; }
.loc-popup .loc-pop__dir, .loc-popup .loc-pop__ghost { height: 36px; font-size: 13px; }
.loc-popup a.leaflet-popup-close-button { display: grid; place-items: center; padding: 0; font-size: 16px; line-height: 1; }

/* Locations popup: fixed width so text doesn't squeeze; tip joined to the card */
.loc-popup .leaflet-popup-content { width: 228px !important; margin: 14px 16px 16px; line-height: 1.4; }
.loc-popup .leaflet-popup-content-wrapper { overflow: hidden; }
.loc-popup .leaflet-popup-tip-container { margin-top: -1px; }
.loc-popup .leaflet-popup-tip { width: 14px; height: 14px; margin-top: -7px; box-shadow: none; }
.loc-popup .loc-pop__name { font-size: 16px; line-height: 1.25; }
.loc-popup .loc-pop__cos { flex-wrap: wrap; }
.loc-popup .loc-co-chip { white-space: nowrap; }
.loc-popup .loc-pop__actions { display: flex; }
.loc-popup .loc-pop__dir { flex: 1; }

/* Locations: one simple filter card above the list */
.loc-filter-card {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
}
.loc-search { position: relative; display: flex; align-items: center; }
.loc-search svg { position: absolute; left: 14px; width: 15px; height: 15px; opacity: .5; pointer-events: none; }
.loc-search input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 38px;
  border: 0;
  border-radius: 12px;
  background: var(--tb-ground);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: box-shadow .25s, background .25s;
}
.loc-search input:focus { background: #fff; box-shadow: 0 0 0 2px rgba(233, 38, 47, .3); }
.loc-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.loc-selects .nice-select__btn { height: 42px; padding: 0 12px 0 14px; border-radius: 12px; background: var(--tb-ground); font-size: 14px; }
.loc-selects .nice-select__btn:hover { background: #eef0f3; }
.loc-selects .nice-select__list { z-index: 30; min-width: 200px; }
.loc-selects .nice-select:last-child .nice-select__list { left: auto; right: 0; }
.loc-filter-foot { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 0; font-size: 13px; opacity: .8; }
.loc-filter-foot strong { color: var(--tb-red); font-weight: 500; }
.loc-reset { color: var(--tb-red); font-size: 13px; }
.loc-reset[hidden] { display: none; }
.loc-reset:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .loc-filter-card { grid-column: 1 / -1; } }

/* Brand range without a filter panel (one or two items) */
.kia-layout--plain { grid-template-columns: minmax(0, 1fr) !important; }
.kia-layout--plain .kia-bar__filters { display: none; }
.kia-layout--plain .kia-results .kia-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 380px)) !important; justify-content: center; }
.kia-banner__logo { max-width: 160px; object-fit: contain; }
.company-brands li { padding: 0; }
.company-brands a { display: grid; place-items: center; width: 100%; height: 100%; padding: 20px; }
.company-brands__more { font-size: 14px; opacity: .6; }
/* Brand banner logos: on a white chip (not all logos survive a white invert) */
.kia-banner__logo { height: 40px; padding: 6px 12px; border-radius: 10px; background: #fff; filter: none; }

/* ==========================================================================
   Single story (blog-post.php)
   ========================================================================== */
.post-head { padding-top: clamp(150px, 15vw, 196px); text-align: center; }
.post-head .pd-crumbs { justify-content: center; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; font-size: 14px; color: rgba(28, 28, 28, .6); }
.post-meta__tag { position: static; color: var(--tb-red); background: linear-gradient(120deg, rgba(233, 38, 47, .1), rgba(227, 193, 60, .16)); }
.post-title { margin-top: 16px; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.06; letter-spacing: -0.03em; }
.post-lead { max-width: 60ch; margin: 18px auto 0; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.55; opacity: .75; }
.post-cover { margin: clamp(28px, 4vw, 48px) auto 0; }
.post-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 24px; }

.post-layout { display: grid; gap: 24px; padding-block: clamp(32px, 4vw, 56px); }
@media (min-width: 1024px) { .post-layout { grid-template-columns: 80px minmax(0, 720px) 1fr; } }
.post-share { display: flex; align-items: center; gap: 8px; }
@media (min-width: 1024px) {
  .post-share { position: sticky; top: 150px; flex-direction: column; align-self: start; }
}
.post-share > span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
.post-share a, .post-share button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #fff;
  color: var(--tb-ink);
  box-shadow: 0 1px 2px rgba(16, 24, 32, .05), 0 8px 20px -14px rgba(16, 24, 32, .35);
  transition: background .25s, color .25s, transform .25s;
}
.post-share a:hover, .post-share button:hover { background: var(--tb-red); color: #fff; transform: translateY(-2px); }
.post-share svg { width: 17px; height: 17px; }
.post-share button.is-copied { background: #0f8a6f; color: #fff; }

.post-body { font-size: 18px; line-height: 1.75; }
.post-body > * + * { margin-top: 1.1em; }
.post-body .post-first::first-letter { float: left; margin: 6px 10px 0 0; color: var(--tb-red); font-size: 3.6em; line-height: .8; }
.post-body h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; }
.post-body ul { display: grid; gap: 10px; padding: 0; list-style: none; }
.post-body li { position: relative; padding-left: 26px; }
.post-body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(120deg, var(--tb-red), var(--tb-gold)); }
.post-body blockquote {
  position: relative;
  margin: 1.8em 0;
  padding: 26px 28px 24px 30px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(233, 38, 47, .07), rgba(227, 193, 60, .14));
}
.post-body blockquote::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px; border-radius: 4px; background: var(--tb-red); }
.post-body blockquote p { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; letter-spacing: -0.01em; }
.post-body blockquote cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; opacity: .6; }
.post-source { padding: 16px 20px; border-radius: 16px; background: #fff; font-size: 15px; }
.post-source .blog-link { margin-left: 4px; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 2.4em !important; padding-top: 1.6em; border-top: 1px solid var(--tb-line); }
.post-nav__item { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #fff; transition: box-shadow .3s, transform .3s; }
.post-nav__item:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(16, 24, 32, .3); }
.post-nav__item span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.post-nav__item strong { font-weight: 400; font-size: 16px; line-height: 1.3; }
.post-nav__item--next { text-align: right; }
@media (max-width: 559px) { .post-nav { grid-template-columns: 1fr; } .post-nav__item--next { text-align: left; } }

/* Closing CTA: Nepal map background (outline, routes from Kathmandu, pins) */
.cta-panel--map { position: relative; overflow: hidden; isolation: isolate; }
.cta-panel--map::before { opacity: .08 !important; }
.cta-map {
  position: absolute;
  right: -4%;
  top: 50%;
  z-index: 0;
  width: min(78%, 900px);
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.cta-panel--map > .relative { z-index: 1; }
#ctaDots circle { fill: rgba(233, 38, 47, .22); }
.cta-map__fill { fill: url(#ctaDots); }
.cta-map__edge {
  fill: rgba(255, 255, 255, .35);
  stroke: rgba(233, 38, 47, .45);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-dasharray: 3200;
  stroke-dashoffset: 3200;
  animation: artDraw 3s var(--tb-ease) forwards;
}
.cta-map__route {
  fill: none;
  stroke: rgba(233, 38, 47, .35);
  stroke-width: 1.6;
  stroke-dasharray: 5 7;
  animation: ctaRoute 2.4s linear infinite;
}
@keyframes ctaRoute { to { stroke-dashoffset: -48; } }
.cta-map__dot { fill: #e9262f; stroke: #fff; stroke-width: 2.5; }
.cta-map__ping { fill: rgba(233, 38, 47, .25); transform-origin: 0 0; animation: locPulse 2.6s ease-out infinite; }
.cta-map__hq circle:nth-child(2) { fill: var(--tb-gold); stroke: #fff; stroke-width: 3; }
.cta-map__hq .cta-map__ping { fill: rgba(227, 193, 60, .35); }
@media (max-width: 1023px) {
  .cta-map { right: -20%; top: auto; bottom: -6%; width: 130%; transform: none; opacity: .55; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%); mask-image: linear-gradient(180deg, transparent 0%, #000 40%); }
}
@media (prefers-reduced-motion: reduce) { .cta-map * { animation: none !important; stroke-dashoffset: 0 !important; } }

/* Closing CTA: map sits in its own box in the right column (no overlap) */
.cta-panel--map::before { opacity: .2 !important; }
.cta-mapbox {
  position: relative;
  max-width: 480px;
  padding: 14px 16px 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.cta-mapbox .cta-map {
  position: static;
  display: block;
  width: 100%;
  transform: none;
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}
.cta-mapbox__label {
  position: absolute;
  left: 18px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: rgba(28, 28, 28, .65);
}
.cta-mapbox__label i { width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: var(--tb-gold); box-shadow: 0 0 0 1px rgba(227, 193, 60, .5); }
@media (max-width: 1023px) { .cta-mapbox .cta-map { right: auto; bottom: auto; width: 100%; } }

/* Closing CTA: Nepal skyline illustration as the background */
.cta-panel--scene {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #f6e9dc url("../images/cta-nepal-skyline.jpg") center 70% / cover no-repeat;
}
.cta-panel--scene::before {
  /* soft wash on the left so the heading stays readable; contour pattern off */
  -webkit-mask: none !important;
  mask: none !important;
  opacity: 1 !important;
  background: linear-gradient(90deg, rgba(253, 246, 238, .92) 0%, rgba(253, 246, 238, .7) 38%, rgba(253, 246, 238, 0) 62%) !important;
  z-index: 0;
}
.cta-panel--scene > .relative { z-index: 1; }
.cta-panel--scene .grid > div:last-child { align-self: end; justify-self: end; }
@media (max-width: 1023px) {
  .cta-panel--scene { background-position: 70% 100%; }
  .cta-panel--scene::before { background: linear-gradient(180deg, rgba(253, 246, 238, .94) 0%, rgba(253, 246, 238, .75) 45%, rgba(253, 246, 238, .15) 100%) !important; }
  .cta-panel--scene .grid > div:last-child { justify-self: stretch; }
}

/* Locations: filter panel across the top, results header below */
.loc-top {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(24px, 3vw, 36px);
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 18px 44px -30px rgba(16, 24, 32, .3);
}
.loc-top__head { padding-bottom: 14px; border-bottom: 1px solid var(--tb-line); }
.loc-top__head .sec-eyebrow { font-size: 12px; }
.loc-top__title { margin-top: 6px; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.015em; }
.loc-top .loc-search input { height: 52px; font-size: 15px; border-radius: 12px; }
.loc-top__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto; gap: 10px; }
.loc-top__row .nice-select__btn { height: 52px; padding: 0 16px; border-radius: 12px; background: var(--tb-ground); font-size: 15px; }
.loc-top__row .nice-select__btn:hover { background: #eef0f3; }
.loc-top__row .nice-select__list { z-index: 40; }
.loc-top__reset {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--tb-ground);
  color: rgba(28, 28, 28, .6);
  transition: background .25s, color .25s, transform .4s var(--tb-ease);
}
.loc-top__reset svg { width: 17px; height: 17px; }
.loc-top__reset:hover { color: var(--tb-red); transform: rotate(-90deg); }
.loc-top__reset.is-on { color: var(--tb-red); background: rgba(233, 38, 47, .08); }
.loc-top__go { height: 52px; padding: 0 26px; border-radius: 12px; white-space: nowrap; }
@media (max-width: 1023px) {
  .loc-top__row { grid-template-columns: 1fr 1fr; }
  .loc-top__row .nice-select:nth-of-type(3) { grid-column: 1 / -1; }
  .loc-top__go { grid-column: 2; }
}
@media (max-width: 559px) {
  .loc-top__row { grid-template-columns: 1fr; }
  .loc-top__reset { width: 100%; }
  .loc-top__go { grid-column: auto; }
}

.loc-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tb-line);
  scroll-margin-top: 130px;
}
.loc-results-head__eyebrow { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--tb-red); font-weight: 500; }
.loc-results-head p { margin-top: 4px; font-size: 15px; opacity: .75; }
.loc-results-head strong { font-weight: 500; }
.loc-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; opacity: .75; }
.loc-legend span { display: inline-flex; align-items: center; gap: 6px; }

/* Locations filter: compact single row */
.loc-top { gap: 12px; padding: 16px 18px 18px; border-radius: 18px; }
.loc-top__head { display: flex; align-items: baseline; gap: 12px; padding: 0; border: 0; }
.loc-top__head .sec-eyebrow { font-size: 11px; }
.loc-top__title { margin: 0; font-size: 17px; }
.loc-top__row { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) auto auto; gap: 8px; }
.loc-top .loc-search input,
.loc-top__row .nice-select__btn { height: 44px; font-size: 14px; border-radius: 10px; }
.loc-top__row .nice-select__btn { padding: 0 12px 0 14px; }
.loc-top__reset { width: 44px; height: 44px; border-radius: 10px; }
.loc-top__reset svg { width: 15px; height: 15px; }
.loc-top__go { height: 44px; padding: 0 18px; border-radius: 10px; font-size: 14px; }
@media (max-width: 1199px) {
  .loc-top__row { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .loc-top__row .loc-search { grid-column: 1 / -1; }
  .loc-top__go { grid-column: 1 / -1; }
}
@media (max-width: 559px) {
  .loc-top__row { grid-template-columns: 1fr 1fr; }
  .loc-top__row .nice-select:nth-of-type(3) { grid-column: auto; }
  .loc-top__reset { width: 100%; }
}
.loc-results-head { margin-bottom: 14px; padding-bottom: 12px; }
.loc-results-head__eyebrow { font-size: 12px; }
.loc-results-head p { font-size: 14px; }

/* Model page: brochure download + video buttons */
.pd-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pd-dl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .05), 0 10px 26px -18px rgba(16, 24, 32, .3);
  transition: transform .35s var(--tb-ease), box-shadow .35s var(--tb-ease);
}
.pd-dl:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(16, 24, 32, .05), 0 18px 36px -20px rgba(16, 24, 32, .35); }
.pd-dl__icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--tb-red), #ec5a3a);
  color: #fff;
}
.pd-dl__icon svg { width: 22px; height: 22px; }
.pd-dl__icon em {
  position: absolute;
  right: -6px;
  bottom: -5px;
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--tb-ink);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .06em;
}
.pd-dl--video .pd-dl__icon { background: var(--tb-ink); }
.pd-dl--video .pd-dl__icon svg { width: 18px; height: 18px; margin-left: 2px; }
.pd-dl__text { display: grid; line-height: 1.25; padding-right: 6px; }
.pd-dl__text strong { font-weight: 500; font-size: 15px; }
.pd-dl__text small { font-size: 12px; opacity: .6; }
.pd-dl__go {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--tb-ground);
  color: var(--tb-red);
  transition: background .25s, color .25s;
}
.pd-dl__go svg { width: 15px; height: 15px; }
.pd-dl:hover .pd-dl__go { background: var(--tb-red); color: #fff; }
.pd-dl:hover .pd-dl__go svg { animation: dlBounce .7s ease-in-out infinite; }
@keyframes dlBounce { 50% { transform: translateY(2px); } }
.pd-details .pd-dl { background: var(--tb-ground); box-shadow: none; }
.pd-details .pd-dl:hover { background: #fff; box-shadow: 0 18px 36px -20px rgba(16, 24, 32, .35); }
.pd-details .pd-dl__go { background: #fff; }

/* Home hero: banner-artwork slide (image has its own branding) */
.hero-slide--art { background: #f3d9c2; }
.hero-slide--art .hero-media img { object-position: 70% 50%; }
.hero-slide--art .shell { display: flex; align-items: flex-end; min-height: inherit; }
.hero-art__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.hero-art__ghost {
  border: 1px solid rgba(28, 28, 28, .25);
  background: rgba(255, 255, 255, .6);
  color: var(--tb-ink);
  backdrop-filter: blur(6px);
}
.hero-art__ghost:hover { background: #fff; }
@media (max-width: 767px) { .hero-slide--art .hero-media img { object-position: 72% 50%; } }

/* Brands without banner artwork: same banner block as KIA, using the brand photo */
.kia-banner--photo .kia-banner__art { aspect-ratio: 3 / 1; object-fit: cover; object-position: center 55%; }
@media (max-width: 767px) { .kia-banner--photo .kia-banner__art { width: 100%; aspect-ratio: 16 / 9; } .kia-banner--photo { overflow: hidden; } }

/* What we do: each industry card gets a short title + description */
.industry-card__text {
  display: grid;
  flex: 1 0 100%;
  order: -1;
  gap: 3px;
  margin-bottom: 4px;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.industry-card__text strong { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.industry-card__text small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13px;
  line-height: 1.45;
  opacity: .88;
}
.industry-card__wash {
  background:
    linear-gradient(to top, rgba(10, 14, 19, .78) 0%, rgba(10, 14, 19, .35) 45%, rgba(10, 14, 19, 0) 72%),
    color-mix(in srgb, var(--tint-ink) 22%, transparent) !important;
}

/* Business nodes: logo fills the circle, leaving just a thin white border */
.eco__dotbtn { padding: 3px; }
.eco__thumb { padding: 2px; object-fit: contain; }
@media (max-width: 767px) { .eco__thumb { padding: 1px; } }

/* Model page: Brochure button in the tab bar; Test Drive CTA with icon */
.pd-subnav__cta--dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--tb-ink);
  box-shadow: var(--md-elev-1);
}
.pd-subnav__cta--dl svg { width: 15px; height: 15px; color: var(--tb-red); transition: transform .3s; }
.pd-subnav__cta--dl:hover { background: var(--tb-red); color: #fff; }
.pd-subnav__cta--dl:hover svg { color: #fff; transform: translateY(2px); }
@media (max-width: 767px) { .pd-subnav__cta--dl { display: inline-flex; padding: 10px 14px; } }
.pd-cta-drive { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 500; letter-spacing: -0.005em; }
.pd-cta-drive svg { width: 19px; height: 19px; color: var(--tb-red); transition: transform .5s var(--tb-ease); }
.pd-cta-drive:hover svg { transform: rotate(-35deg); }

/* Tab bar: brochure card (same design as the Overview one, compact) */
.pd-dl--bar { flex: none; gap: 10px; padding: 5px 6px 5px 5px; border-radius: 14px; background: #fff; box-shadow: var(--md-elev-1); }
.pd-dl--bar .pd-dl__icon { width: 38px; height: 38px; border-radius: 10px; }
.pd-dl--bar .pd-dl__icon svg { width: 18px; height: 18px; }
.pd-dl--bar .pd-dl__icon em { right: -5px; bottom: -4px; font-size: 8px; }
.pd-dl--bar .pd-dl__text strong { font-size: 14px; }
.pd-dl--bar .pd-dl__text small { max-width: 170px; overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.pd-dl--bar .pd-dl__go { width: 30px; height: 30px; background: var(--tb-ground); }
.pd-dl--bar .pd-dl__go svg { width: 14px; height: 14px; }
@media (max-width: 1023px) { .pd-dl--bar .pd-dl__text { display: none; } .pd-dl--bar .pd-dl__go { display: none; } .pd-dl--bar { padding: 5px; } }

/* Brand list pages: range brochure CTA under the intro */
.brand-dl { display: flex; justify-content: center; margin-top: 22px; }
.brand-dl .pd-dl { text-align: left; }

/* Brand list banner slider */
.brand-slider { position: relative; overflow: hidden; }
.brand-slider__track { display: grid; }
.brand-slider__slide { grid-area: 1 / 1; opacity: 0; transition: opacity .8s var(--tb-ease), transform 1.2s var(--tb-ease); transform: scale(1.02); }
.brand-slider__slide.is-active { opacity: 1; transform: none; }
.brand-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--tb-ink);
  box-shadow: 0 8px 20px -12px rgba(16, 24, 32, .45);
  opacity: 0;
  transition: opacity .3s, background .25s, color .25s;
}
.brand-slider__arrow svg { width: 13px; height: 13px; }
.brand-slider__arrow--prev { left: 14px; }
.brand-slider__arrow--next { right: 14px; }
.brand-slider:hover .brand-slider__arrow, .brand-slider__arrow:focus-visible { opacity: 1; }
@media (hover: none) { .brand-slider__arrow { opacity: 1; } }
.brand-slider__arrow:hover { background: var(--tb-red); color: #fff; }
.brand-slider__dots { position: absolute; left: 50%; bottom: 12px; z-index: 2; display: flex; gap: 6px; padding: 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .75); backdrop-filter: blur(6px); transform: translateX(-50%); }
.brand-slider__dots button { display: grid; place-items: center; width: 14px; height: 14px; }
.brand-slider__dots span { width: 7px; height: 7px; border-radius: 999px; background: rgba(28, 28, 28, .3); transition: width .35s var(--tb-ease), background .3s; }
.brand-slider__dots .is-active span { width: 20px; background: var(--tb-red); }
.brand-slider__dots button.is-active { width: 26px; }
@media (max-width: 767px) { .brand-slider { overflow: hidden; } .brand-slider__slide { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; } }

/* Model cards: brochure download button beside the actions */
.kia-results .kia-card__actions { grid-template-columns: 1fr auto auto; }
.kia-card__pdf {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(233, 38, 47, .1), rgba(227, 193, 60, .18));
  color: var(--tb-red);
  transition: background .25s, color .25s, transform .3s var(--tb-ease);
}
.kia-card__pdf svg { width: 18px; height: 18px; }
.kia-card__pdf em {
  position: absolute;
  right: -5px;
  bottom: -5px;
  padding: 1px 4px;
  border-radius: 5px;
  background: var(--tb-ink);
  color: #fff;
  font-size: 7.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .05em;
}
.kia-card__pdf:hover { background: var(--tb-red); color: #fff; transform: translateY(-2px); }
.kia-card__pdf::after {
  content: "Brochure";
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--tb-ink);
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 4px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.kia-card__pdf:hover::after, .kia-card__pdf:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

/* Model cards: three actions fit the card — equal buttons + PDF icon */
.kia-results .kia-card__actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 38px; gap: 6px; }
.kia-results .kia-card__actions .btn,
.kia-results .kia-card__ghost {
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  font-size: 13px;
  white-space: nowrap;
}
.kia-results .kia-card__actions .btn { gap: 6px; box-shadow: 0 8px 18px -12px rgba(233, 38, 47, .7); }
.kia-results .kia-card__actions .btn svg { width: 11px; height: 11px; }
.kia-card__pdf { width: 38px; height: 38px; }

/* Back to top: fixed bottom-right with a scroll-progress ring */
.to-top {
  position: fixed;
  right: clamp(16px, 2.5vw, 28px);
  bottom: clamp(16px, 2.5vw, 28px);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: #fff;
  color: var(--tb-ink);
  box-shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 14px 30px -14px rgba(16, 24, 32, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: opacity .35s, visibility .35s, transform .45s var(--tb-ease), background .25s, color .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--tb-red); color: #fff; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: rgba(16, 24, 32, .08); stroke-width: 2.5; }
.to-top__ring .to-top__progress { stroke: var(--tb-red); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.to-top:hover .to-top__ring .to-top__progress { stroke: #fff; }
.to-top__arrow { position: relative; width: 14px; height: 14px; transition: transform .3s var(--tb-ease); }
.to-top:hover .to-top__arrow { transform: translateY(-2px); }
.nice-select__opt[hidden] { display: none; }

/* Header utility bar: "Find us" next to the email */
.utility-sep { width: 1px; height: 14px; margin: 0 14px; background: rgba(28, 28, 28, .15); }
.find-us {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 3px 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: rgba(28, 28, 28, .85);
  transition: background .25s, color .25s;
}
.find-us__pin {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--tb-red);
  color: #fff;
}
.find-us__pin svg { width: 13px; height: 13px; }
.find-us__arrow { width: 10px; height: 10px; opacity: .5; transition: transform .25s, opacity .25s; }
.find-us:hover, .find-us[aria-current="page"] { background: #fff; color: var(--tb-red); }
.find-us:hover .find-us__arrow { opacity: 1; transform: translate(1px, -1px); }
.find-us:hover .find-us__pin { animation: pinBob .6s ease-in-out; }
@keyframes pinBob { 50% { transform: translateY(-2px); } }

/* Model page: variants & prices dropdown under the price */
.pd-variants { margin-top: -8px; border-radius: 14px; background: #fff; box-shadow: var(--md-elev-1); }
.pd-variants summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
}
.pd-variants summary::-webkit-details-marker { display: none; }
.pd-variants summary span { color: var(--tb-red); font-weight: 500; }
.pd-variants summary svg { width: 10px; height: 10px; margin-left: auto; transition: transform .3s; }
.pd-variants[open] summary svg { transform: rotate(180deg); }
.pd-variants ul { margin: 0; padding: 0 16px 10px; list-style: none; }
.pd-variants li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--tb-line); font-size: 14px; }
.pd-variants li strong { font-weight: 500; font-variant-numeric: tabular-nums; }

/* Tab bar brochure: full strength, clearly visible, gentle attention animation */
.pd-subnav a.pd-dl--bar { opacity: 1; }
.pd-subnav a.pd-dl--bar::after { display: none; }
.pd-dl--bar {
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(233, 38, 47, .14), 0 12px 28px -14px rgba(233, 38, 47, .45);
}
.pd-dl--bar .pd-dl__text strong { color: var(--tb-ink); }
.pd-dl--bar .pd-dl__text small { color: rgba(28, 28, 28, .6); opacity: 1; }
.pd-dl--bar .pd-dl__go { background: var(--tb-red); color: #fff; }
/* soft light sweep across the card every few seconds */
.pd-dl--bar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: skewX(-20deg);
  animation: dlSheen 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes dlSheen { 0%, 65% { left: -60%; } 100% { left: 130%; } }
/* pulse ring around the PDF icon */
.pd-dl--bar .pd-dl__icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 13px;
  border: 2px solid rgba(233, 38, 47, .45);
  animation: dlPulse 2.4s ease-out infinite;
}
@keyframes dlPulse { 0% { opacity: .9; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.25); } }
/* the arrow nudges down now and then */
.pd-dl--bar .pd-dl__go svg { animation: dlNudge 2.4s ease-in-out infinite; }
@keyframes dlNudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(3px); } 90% { transform: translateY(-1px); } }
.pd-dl--bar:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(233, 38, 47, .3), 0 18px 34px -14px rgba(233, 38, 47, .55); }
@media (prefers-reduced-motion: reduce) {
  .pd-dl--bar::before, .pd-dl--bar .pd-dl__icon::after, .pd-dl--bar .pd-dl__go svg { animation: none; }
}

/* Model page tab bar: not sticky, scrolls with the page */
.pd-subnav { position: relative; top: auto; }
.pd-subnav.is-stuck { padding-block: 24px 14px; background: transparent; backdrop-filter: none; box-shadow: none; }
.pd-subnav.is-stuck .pd-subnav__tabs { border-radius: 999px; box-shadow: var(--md-elev-1); }

/* 360° photo viewer (model pages) — clean white stage like kia.com.np */
.s360 {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(16px, 2.4vw, 28px) clamp(12px, 2vw, 24px) clamp(18px, 2.4vw, 26px);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--md-elev-1);
}
@media (min-width: 1024px) { .s360 { position: sticky; top: 140px; } }
.s360__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  outline: none;
}
.s360.is-dragging .s360__stage { cursor: grabbing; }
.s360__img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.s360__stage:focus-visible { box-shadow: 0 0 0 2px var(--tb-red); border-radius: 16px; }
.s360__hint {
  position: absolute;
  left: 50%;
  bottom: 4%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 14, 19, .72);
  color: #fff;
  font-size: 12px;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity .4s;
}
.s360__hint svg { width: 18px; height: 18px; }
.s360.has-dragged .s360__hint { opacity: 0; }
.s360__loading { position: absolute; left: 50%; top: 50%; width: 120px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(16, 24, 32, .08); transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s; }
.s360__loading span { display: block; width: 40%; height: 100%; background: linear-gradient(90deg, var(--tb-red), var(--tb-gold)); animation: mvLoad 1.1s ease-in-out infinite; }
.s360:not(.is-ready) .s360__loading, .s360.is-loading .s360__loading { opacity: 1; }
.s360__paint { font-size: 15px; color: rgba(28, 28, 28, .8); }
.s360__paint strong { font-weight: 500; color: var(--tb-ink); }
.s360__swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.s360__swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 32, .14), 0 0 0 3px #fff, 0 0 0 4px transparent;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}
.s360__swatch:hover { transform: scale(1.08); }
.s360__swatch.is-active { box-shadow: inset 0 0 0 1px rgba(16, 24, 32, .14), 0 0 0 3px #fff, 0 0 0 5px var(--tb-ink); }
.s360__swatch:focus-visible { outline: 2px solid var(--tb-red); outline-offset: 4px; }
@media (max-width: 559px) { .s360__swatch { width: 34px; height: 34px; } .s360__swatches { gap: 10px; } }

/* Model card: studio cut-out (from the 360° set) on a clean white stage */
.kia-card__media--studio { background: #fff !important; box-shadow: inset 0 0 0 1px rgba(16, 24, 32, .05); }
.kia-card__media--studio img { object-fit: contain !important; padding: 6% 8% 4%; transform-origin: 50% 70%; }
.kia-card__media--studio::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 9%;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16, 24, 32, .14), transparent);
  pointer-events: none;
}

/* EMI: editable vehicle price + variant quick-picks */
.emi__price {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--tb-line);
  border-radius: 14px;
  background: var(--tb-ground);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.emi__price:focus-within { border-color: #0e4f7a; background: #fff; box-shadow: 0 0 0 4px rgba(14, 79, 122, .12); }
.emi__price span { font-size: 15px; opacity: .6; }
.emi__price input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  outline: none;
}
.emi__variants { display: flex; flex-wrap: wrap; gap: 6px; }
.emi__variants button {
  padding: 6px 12px;
  border: 1px solid var(--tb-line);
  border-radius: 999px;
  font-size: 12.5px;
  transition: background .25s, color .25s, border-color .25s;
}
.emi__variants button:hover { border-color: rgba(14, 79, 122, .45); }
.emi__variants button.is-active { border-color: #0e4f7a; background: #0e4f7a; color: #fff; }

/* Model card specs: each column stays inside its own cell; long values wrap to 2 lines */
.kia-card__specs li { min-width: 0; }
.kia-results .kia-card__specs strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Product cut-out gallery (PREET): white stage, whole tractor visible, swipeable */
.pd-gallery--studio .pd-gallery__main { background: #fff; box-shadow: var(--md-elev-1); }
.pd-gallery--studio .pd-gallery__img { object-fit: contain; padding: 6% 8%; }
.pd-gallery--studio .pd-gallery__main::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 8%;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16, 24, 32, .16), transparent);
  pointer-events: none;
}
.pd-gallery--studio .pd-gallery__thumb { background: #fff; }
.pd-gallery--studio .pd-gallery__thumb img { object-fit: contain; padding: 6px; }
.pd-gallery--studio .pd-gallery__count { background: rgba(10, 14, 19, .45); }

/* Feature badges under the model title */
.pd-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 0; padding: 0; list-style: none; }
.pd-badges li {
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--tb-line);
  font-size: 13px;
}

/* Model page: tagline, 5-figure spec bar, features with descriptions */
.pd-info__tagline { margin-top: -12px; color: var(--tb-red); font-size: 16px; }
.pd-keyspecs--bar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pd-keyspecs--bar li { padding: 10px 12px; }
.pd-keyspecs--bar .pd-keyspecs__value { font-size: 14px; }
@media (max-width: 639px) { .pd-keyspecs--bar { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pd-keyspecs--bar li:nth-child(4) { border-left: 0; } }
.pd-features--detail li { align-items: flex-start; }
.pd-features--detail li > span:last-child { display: grid; gap: 3px; }
.pd-features--detail strong { font-weight: 500; font-size: 15px; }
.pd-features--detail small { font-size: 13.5px; line-height: 1.5; opacity: .7; }

/* Specification sub-tabs: squarer, lightly rounded (matches cards/tables) */
.pd-details .pd-tabs,
.pd-details .pd-tabs--wrap { border-radius: 14px; padding: 6px; gap: 4px; }
.pd-details .pd-tab { border-radius: 9px; padding: 9px 14px; }
.pd-details .pd-tab.is-active { box-shadow: none; }

/* Brand logo with a small sub-line (e.g. Skyworth "EV BUS") */
.brand-logo-lockup { display: inline-grid; justify-items: end; gap: 2px; margin: 0 auto 8px; }
.brand-logo-lockup .brand-page__logo { margin: 0; }
.brand-logo-lockup--start { justify-self: start; margin: 0; }
.brand-logo-lockup__sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  color: #1a4fa3;
}

/* Brands strip: Skyworth logo with "EV BUS" under it, kept within the same 56px row */
.brand-logo--sub .brand-logo-lockup { margin: 0; gap: 3px; }
.brand-logo--sub img { height: 28px; }
.brand-logo--sub .brand-logo-lockup__sub { font-size: 9px; letter-spacing: .16em; }
