/* ─────────────────────────────────────────────────────────────
   TCS × MAKITA — Shared brand integration
   Universal treatment applied site-wide. Page-specific accents
   (e.g. lt-* live-timing classes) stay inline on those pages.
   ───────────────────────────────────────────────────────────── */

:root {
  --makita-teal: #00909e;
  --makita-teal-soft: rgba(0, 144, 158, 0.14);
  --makita-teal-edge: rgba(0, 144, 158, 0.45);
}

/* Nav: teal→black gradient + teal-edge bottom border */
.nav,
.nav.scrolled {
  background: linear-gradient(
    90deg,
    var(--makita-teal) 0%,
    rgba(0, 144, 158, 0.55) 22%,
    rgba(5, 5, 5, 0.92) 65%,
    var(--black) 100%
  ) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--makita-teal-edge);
}

/* Compact nav, locked size (no scroll-shrink) */
.nav,
.nav.scrolled { height: 70px; }
.nav__link,
.nav.scrolled .nav__link { line-height: 70px; height: 70px; }
.nav__logo img {
  height: 84px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}
@media (max-width: 640px) {
  .nav__logo img { height: 56px; }
}

/* Hero: teal glow on title + teal watermark */
.page-hero .page-hero__title {
  text-shadow: 0 0 42px rgba(0, 144, 158, 0.18);
}
.page-hero .page-hero__watermark {
  color: rgba(0, 144, 158, 0.06) !important;
}
.page-hero .page-hero__title .lt-ampersand,
.page-hero .page-hero__title .makita-amp {
  color: var(--makita-teal);
  font-weight: 400;
  padding: 0 0.12em;
}

/* "Presented by Makita" eyebrow rule */
.makita-presents,
.lt-hero-presents {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--makita-teal);
}
.makita-presents::before,
.lt-hero-presents::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--makita-teal);
}
.makita-wordmark,
.lt-hero-makita {
  display: block;
  height: clamp(44px, 6vw, 72px);
  width: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 24px rgba(0, 144, 158, 0.18));
}

/* Boxed "presented by" chip */
.makita-presents-chip,
.lt-presents {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 10px;
  background: var(--makita-teal-soft);
  border: 1px solid var(--makita-teal-edge);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--makita-teal);
  white-space: nowrap;
}
.makita-presents-chip__mark,
.lt-presents__mark { height: 12px; width: auto; }
.makita-presents-chip__sep,
.lt-presents__sep { width: 1px; height: 12px; background: var(--makita-teal-edge); }

/* Side rails: left teal / right red = partnership signal */
body > div[style*="left:0"][style*="width:3px"] { background: var(--makita-teal) !important; }

/* Footer: teal-edge top border */
.footer { border-top: 1px solid var(--makita-teal-edge); }

/* ─────────────────────────────────────────────────────────────
   HERO PARTNERSHIP REVEAL — home page hero
   Premium "Presented By Makita" announcement above the 2026 mark
   ───────────────────────────────────────────────────────────── */

.hero-makita-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(20px, 3vh, 36px);
  opacity: 0;
  animation: heroMakitaIn 1.1s 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  z-index: 4;
}

.hero-makita-reveal__rule {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--makita-teal);
  white-space: nowrap;
}
.hero-makita-reveal__rule::before,
.hero-makita-reveal__rule::after {
  content: '';
  width: clamp(40px, 9vw, 110px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--makita-teal), transparent);
  opacity: 0;
  animation: heroMakitaRule 0.9s 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-makita-reveal__mark-wrap {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.hero-makita-reveal__mark {
  display: block;
  height: clamp(34px, 4.5vw, 52px);
  width: auto;
  filter:
    drop-shadow(0 0 18px rgba(0, 144, 158, 0.55))
    drop-shadow(0 0 36px rgba(0, 144, 158, 0.32));
  animation: heroMakitaPulse 4.5s 1.5s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
/* Teal "scanline shine" sweep across the Makita block on entrance */
.hero-makita-reveal__mark-wrap::after {
  content: '';
  position: absolute;
  inset: -4px -8px;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(0, 144, 158, 0.55) 48%,
    rgba(212, 255, 0, 0.35) 50%,
    rgba(0, 144, 158, 0.55) 52%,
    transparent 65%
  );
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  animation: heroMakitaShine 2.2s 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1 forwards;
}

.hero-makita-reveal__tag {
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-makita-reveal__tag strong {
  color: var(--makita-teal);
  font-weight: 700;
  letter-spacing: 0.28em;
}
.hero-makita-reveal__tag-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--makita-teal);
  box-shadow: 0 0 10px var(--makita-teal), 0 0 20px rgba(0, 144, 158, 0.5);
  animation: heroMakitaDot 1.6s ease-in-out infinite;
}

@keyframes heroMakitaIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroMakitaRule {
  from { opacity: 0; transform: scaleX(0.3); }
  to   { opacity: 1; transform: scaleX(1); }
}
@keyframes heroMakitaPulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 18px rgba(0, 144, 158, 0.55))
      drop-shadow(0 0 36px rgba(0, 144, 158, 0.32));
  }
  50% {
    filter:
      drop-shadow(0 0 26px rgba(0, 144, 158, 0.85))
      drop-shadow(0 0 56px rgba(0, 144, 158, 0.5));
  }
}
@keyframes heroMakitaShine {
  0%   { transform: translateX(-120%); opacity: 0; }
  10%  { opacity: 0.85; }
  60%  { opacity: 0.85; }
  100% { transform: translateX(120%); opacity: 0; }
}
@keyframes heroMakitaDot {
  0%, 100% { opacity: 0.5; transform: scale(0.85); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-makita-reveal,
  .hero-makita-reveal__mark,
  .hero-makita-reveal__rule::before,
  .hero-makita-reveal__rule::after,
  .hero-makita-reveal__mark-wrap::after,
  .hero-makita-reveal__tag-dot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   TITLE PARTNER — featured callout (above sponsor marquees / partner grids)
   .tp-featured            → dark surface
   .tp-featured--light     → light cream surface (home Series Sponsors)
   ───────────────────────────────────────────────────────────── */

.tp-featured {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: clamp(32px, 5vw, 56px) 28px clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(0, 144, 158, 0.08) 0%, rgba(0, 144, 158, 0.015) 100%);
  border: 1px solid rgba(0, 144, 158, 0.25);
  border-top: 2px solid var(--makita-teal);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s, transform 0.4s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}
.tp-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 75% at 50% 50%, rgba(0, 144, 158, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
/* Corner brackets (mirrors live event card treatment) */
.tp-featured::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(0, 144, 158, 0.18);
  border-image: linear-gradient(135deg,
    var(--makita-teal) 0 24px,
    transparent 24px calc(100% - 24px),
    var(--makita-teal) calc(100% - 24px) 100%) 1;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}
.tp-featured:hover {
  border-color: var(--makita-teal);
  transform: translateY(-2px);
}

.tp-featured__eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--makita-teal);
}
.tp-featured__eyebrow::before,
.tp-featured__eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--makita-teal);
}

.tp-featured__mark-wrap {
  position: relative;
  z-index: 1;
  display: inline-block;
}
.tp-featured__mark {
  display: block;
  height: clamp(54px, 7.5vw, 96px);
  width: auto;
  /* No filter / drop-shadow on the Makita mark — respects their brand
     guidelines, which forbid effects on the wordmark. */
  transition: transform 0.4s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}
.tp-featured:hover .tp-featured__mark {
  transform: none;
}

.tp-featured__tag {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2, rgba(255, 255, 255, 0.6));
  text-align: center;
  max-width: 56ch;
}
.tp-featured__tag em {
  color: #fff;
  font-style: normal;
  font-weight: 700;
}

/* Light-surface variant — editorial / minimalist title-partner panel.
   Brand-respecting: no glow, no radial gradient, no corner brackets.
   Just a clean white surface with one thin Makita-teal hairline up top. */
.tp-featured--light {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 2px solid var(--makita-teal);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 6px 20px rgba(0, 0, 0, 0.035);
  padding: clamp(52px, 7.5vw, 88px) 28px clamp(44px, 6vw, 68px);
  gap: clamp(22px, 3vw, 34px);
  transition: transform 0.4s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
              box-shadow 0.4s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}
/* Suppress the dark variant's decorative ::before (radial) and ::after (corner brackets) */
.tp-featured--light::before,
.tp-featured--light::after {
  display: none;
}
.tp-featured--light:hover {
  border-color: rgba(0, 0, 0, 0.05);
  border-top-color: var(--makita-teal);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 14px 34px rgba(0, 0, 0, 0.06);
}

/* Refined eyebrow — smaller, more letter-spacing, thinner rule */
.tp-featured--light .tp-featured__eyebrow {
  color: var(--makita-teal);
  font-size: 10px;
  letter-spacing: 0.5em;
  gap: 14px;
}
.tp-featured--light .tp-featured__eyebrow::before,
.tp-featured--light .tp-featured__eyebrow::after {
  width: 22px;
  background: rgba(0, 144, 158, 0.45);
}

/* Tag — quiet, small, dark gray */
.tp-featured--light .tp-featured__tag {
  color: rgba(26, 21, 22, 0.55);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.tp-featured--light .tp-featured__tag em {
  color: var(--text-dark, #1a1516);
  font-weight: 700;
}

/* ─────────────────────────────────────────────────────────────
   Dark sections — replace stark black with a Makita-tinted field.
   Two soft teal radial glows in opposite corners + faint 60px grid.
   Subtle by design; reinforces partnership across every dark band.
   ───────────────────────────────────────────────────────────── */
.section--dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 8% 0%,   rgba(0, 144, 158, 0.10), transparent 62%),
    radial-gradient(ellipse 65% 50% at 92% 100%, rgba(0, 144, 158, 0.06), transparent 68%),
    linear-gradient(180deg, #07090a 0%, #050505 70%, #050505 100%);
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}
.section--dark > * { position: relative; z-index: 1; }

/* Home page News card date → Makita teal */
.home-news-date {
  color: var(--makita-teal) !important;
  border-top-color: rgba(0, 144, 158, 0.28) !important;
}

