/* ==========================================================================
   MAGNUSSON RACING — Design System & Layout
   Palette anchored on Logo & Studio Photography:
   Asphalt Obsidian (#0a0b0e), Magnusson Navy (#072b42), Racing Red (#e02424),
   Tachometer Yellow (#ffc700), Chalk White (#f4f5f7).
   ========================================================================== */

:root {
  --bg: #0a0b0e;
  --bg-elevated: #12141b;
  --bg-card: #161922;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --navy: #072b42;
  --red: #e02424;
  --red-bright: #ff3333;
  --yellow: #ffc700;
  --yellow-soft: rgba(255, 199, 0, 0.14);

  --text: #f4f5f7;
  --text-muted: #9aa1b2;
  --text-dim: #666d7e;

  --font-display: "Unbounded", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1240px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* Background Atmosphere */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 40%, transparent 100%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.24;
  z-index: -1;
  pointer-events: none;
}

.bg-glow-1 {
  width: 560px;
  height: 560px;
  top: -180px;
  right: -120px;
  background: var(--red);
}

.bg-glow-2 {
  width: 520px;
  height: 520px;
  bottom: 10%;
  left: -180px;
  background: var(--navy);
  opacity: 0.45;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(10, 11, 14, 0.78);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
}

/* Light racing plate ensures dark navy logo has razor-sharp contrast */
.brand-link {
  display: inline-flex;
  align-items: center;
  background: #f8f9fb;
  padding: 6px 13px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: transform var(--transition);
}

.brand-link:hover {
  transform: translateY(-1px) scale(1.02);
}

.brand-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 199, 0, 0.1);
  border: 1px solid rgba(255, 199, 0, 0.28);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--yellow);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255, 199, 0, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 199, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 199, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 199, 0, 0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 15px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--yellow);
  color: #0b0d12;
  box-shadow: 0 10px 26px rgba(255, 199, 0, 0.24);
}

.btn-primary:hover {
  background: #ffd638;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 199, 0, 0.34);
}

.btn-red {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(224, 36, 36, 0.3);
}

.btn-red:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 51, 51, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 0 10px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition);
}

.mobile-menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 22px;
  border-top: 1px solid var(--border);
  background: rgba(10, 11, 14, 0.96);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 10px 4px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-cta {
  margin-top: 10px;
  padding: 13px 18px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 56px 0 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 64px;
}

.hero-copy,
.hero-showcase,
.tk-content,
.tk-media,
.about-avatar-card,
.about-copy,
.lightbox-media,
.lightbox-info {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.checkered-badge {
  width: 22px;
  height: 14px;
  border-radius: 4px;
  background-image:
    linear-gradient(45deg, var(--red) 25%, transparent 25%),
    linear-gradient(-45deg, var(--red) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--red) 75%),
    linear-gradient(-45deg, transparent 75%, var(--red) 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0;
  background-color: #ffffff;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.72rem, 5.2vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.title-accent {
  color: var(--yellow);
}

.title-plus {
  color: var(--red-bright);
  display: inline-block;
  margin-right: 6px;
}

.title-outline {
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(244, 245, 247, 0.85);
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0 0 32px;
}

.hero-subtitle strong {
  color: var(--text);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-telemetry {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.telemetry-value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text);
}

.telemetry-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.telemetry-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero Featured Card */
.hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
}

.showcase-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease-out;
  transform-style: preserve-3d;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--yellow);
  text-transform: uppercase;
}

.rpm-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(224, 36, 36, 0.16);
  border: 1px solid rgba(224, 36, 36, 0.4);
  color: #ff6b6b;
}

.showcase-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #14161c;
  aspect-ratio: 4 / 3;
  position: relative;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.25s ease;
}

.showcase-card:hover .showcase-img {
  transform: scale(1.03);
}

.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 4px 4px;
}

.showcase-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.showcase-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.btn-cycle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-cycle:hover {
  background: rgba(255, 199, 0, 0.14);
  border-color: var(--yellow);
  color: var(--yellow);
}

.floating-mascot {
  position: absolute;
  bottom: -22px;
  left: -24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: rgba(18, 20, 27, 0.94);
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
}

.floating-mascot img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  border: 2px solid var(--yellow);
}

.mascot-caption {
  display: flex;
  flex-direction: column;
}

.mascot-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
}

.mascot-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--yellow);
}

/* Kinetic Marquee */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  padding: 15px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  animation: marqueeScroll 32s linear infinite;
}

.marquee-track .sep {
  color: var(--yellow);
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */
.section {
  padding: 96px 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-tag.tag-red {
  color: #ff6b6b;
}

.section-tag.tag-red .pulse-dot {
  background: var(--red-bright);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.48rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.text-yellow {
  color: var(--yellow);
}

.text-muted-light {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.72em;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}

.section-lead {
  max-width: 48ch;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   PROJETO TKFOURI SPOTLIGHT
   ========================================================================== */
.tk-section {
  background: radial-gradient(circle at 80% 40%, rgba(224, 36, 36, 0.12), transparent 55%);
}

.tk-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
  background: linear-gradient(145deg, rgba(22, 25, 34, 0.92), rgba(13, 15, 20, 0.95));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.tk-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--navy));
}

.tk-description {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin: 0 0 26px;
}

.tk-description strong {
  color: var(--text);
}

.tk-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tk-highlights li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.mono-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--yellow);
  background: var(--yellow-soft);
  padding: 4px 8px;
  border-radius: 6px;
}

.video-card {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-card:hover .video-thumb {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.25) 0%, rgba(10, 11, 14, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.video-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(10, 11, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.play-button {
  align-self: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 10px rgba(224, 36, 36, 0.25), 0 16px 35px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition), background var(--transition);
}

.video-card:hover .play-button {
  transform: scale(1.1);
  background: var(--red-bright);
}

.video-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.video-caption strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.video-caption span {
  font-size: 0.84rem;
  color: var(--yellow);
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.filter-btn.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #0b0d12;
}

.filter-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active .filter-count {
  background: rgba(11, 13, 18, 0.14);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.bike-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.bike-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 199, 0, 0.48);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

.bike-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1d24;
}

.bike-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.bike-card:hover .bike-media img {
  transform: scale(1.06);
}

.bike-index {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(10, 11, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--yellow);
  backdrop-filter: blur(8px);
}

.bike-cat-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(7, 43, 66, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e7f0f7;
  text-transform: uppercase;
}

.bike-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.bike-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.bike-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.bike-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.bike-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.collection-callout {
  margin-top: 34px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(7, 43, 66, 0.55), rgba(22, 25, 34, 0.95));
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.callout-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.callout-number {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}

.callout-left h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin: 0 0 4px;
}

.callout-left p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   ABOUT / FERNANDO
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: center;
}

.about-avatar-card {
  position: relative;
}

.avatar-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #ffffff;
  border: 3px solid var(--yellow);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.avatar-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-checkered {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 92px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid #ffffff;
  background-image:
    linear-gradient(45deg, var(--red) 25%, transparent 25%),
    linear-gradient(-45deg, var(--red) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--red) 75%),
    linear-gradient(-45deg, transparent 75%, var(--red) 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
  background-color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

.about-copy > p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin: 0 0 16px;
}

.about-copy strong {
  color: var(--text);
}

.brand-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.pillar {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.pillar-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--yellow);
  margin-bottom: 8px;
}

.pillar strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.pillar p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SOCIAL HUB
   ========================================================================== */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.social-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.social-instagram:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 199, 0, 0.5);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
}

.social-youtube:hover,
.social-tiktok:hover {
  border-color: var(--border-strong);
}

.social-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.social-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
}

.social-instagram .social-icon {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: #ffffff;
}

.social-youtube .social-icon {
  background: rgba(224, 36, 36, 0.16);
  color: #ff4d4d;
}

.social-tiktok .social-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.status-live {
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.status-soon {
  background: rgba(255, 199, 0, 0.12);
  border: 1px solid rgba(255, 199, 0, 0.3);
  color: var(--yellow);
}

.social-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 4px;
}

.social-handle {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--yellow);
  margin: 0 0 12px;
}

.social-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 22px;
  flex: 1;
}

.social-cta {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.link-inline {
  color: #ff6b6b;
}

.link-inline:hover {
  text-decoration: underline;
}

.muted-cta {
  color: var(--text-dim);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 42px 0;
  background: #07080b;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-logo {
  height: 30px;
  width: auto;
  background: #f8f9fb;
  padding: 5px 11px;
  border-radius: 8px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 8, 0.88);
  backdrop-filter: blur(10px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.75);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 11, 14, 0.8);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  transition: background var(--transition), transform var(--transition);
}

.lightbox-close:hover {
  background: var(--red);
  transform: rotate(90deg);
}

.lightbox-media {
  position: relative;
  background: #14161c;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.lightbox-media img {
  width: 100%;
  height: 100%;
  max-height: 76vh;
  object-fit: cover;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 11, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  transition: background var(--transition), border-color var(--transition);
}

.lightbox-nav:hover {
  background: var(--yellow);
  color: #0b0d12;
  border-color: var(--yellow);
}

.lightbox-nav.prev {
  left: 14px;
}

.lightbox-nav.next {
  right: 14px;
}

.lightbox-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.lightbox-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-right: 36px;
}

.lightbox-category {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(7, 43, 66, 0.85);
  color: #e7f0f7;
  text-transform: uppercase;
}

.lightbox-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0 0 12px;
}

.lightbox-info p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0 0 22px;
}

.lightbox-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.lightbox-counter {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .tk-wrapper,
  .about-grid,
  .lightbox-panel {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-mascot {
    position: static;
    margin-top: 14px;
    align-self: flex-start;
  }

  .lightbox-media {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .header-inner {
    height: 66px;
    gap: 10px;
  }

  .brand-link {
    padding: 5px 10px;
    border-radius: 8px;
  }

  .brand-logo {
    height: 22px;
  }

  .main-nav,
  .header-actions .btn-primary {
    display: none;
  }

  .live-counter-pill {
    padding: 5px 9px;
    font-size: 0.62rem;
    gap: 6px;
  }

  .pulse-dot {
    width: 6px;
    height: 6px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-grid {
    gap: 32px;
    padding-bottom: 44px;
  }

  .hero-eyebrow {
    font-size: 0.64rem;
    padding: 5px 11px 5px 7px;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
  }

  .hero-cta-row .btn,
  .tk-actions .btn,
  .collection-callout .btn {
    width: 100%;
  }

  .btn-lg {
    padding: 13px 18px;
    font-size: 0.94rem;
    white-space: normal;
    text-align: center;
  }

  .hero-telemetry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 18px;
  }

  .telemetry-divider {
    display: none;
  }

  .telemetry-value {
    font-size: 1.25rem;
  }

  .telemetry-label {
    font-size: 0.6rem;
    line-height: 1.3;
  }

  .showcase-card {
    padding: 14px;
    border-radius: var(--radius-lg);
  }

  .showcase-footer {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 2px 2px;
  }

  .showcase-name {
    font-size: 1rem;
  }

  .showcase-meta {
    font-size: 0.8rem;
  }

  .section {
    padding: 58px 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-header.centered {
    margin-bottom: 32px;
  }

  .tk-wrapper {
    padding: 22px 18px;
    gap: 24px;
    border-radius: var(--radius-lg);
  }

  .tk-highlights {
    gap: 10px;
    margin-bottom: 22px;
  }

  .tk-highlights li {
    padding: 10px 12px;
    font-size: 0.88rem;
    gap: 10px;
  }

  .video-overlay {
    padding: 12px 14px;
  }

  .video-badge {
    font-size: 0.56rem;
    padding: 4px 7px;
  }

  .play-button {
    width: 50px;
    height: 50px;
    box-shadow: 0 0 0 7px rgba(224, 36, 36, 0.25), 0 10px 24px rgba(0, 0, 0, 0.6);
  }

  .play-button svg {
    width: 20px;
    height: 20px;
  }

  .video-caption strong {
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .video-caption span {
    font-size: 0.74rem;
  }

  .filter-bar {
    gap: 8px;
    margin-bottom: 22px;
  }

  .filter-btn {
    padding: 8px 12px;
    font-size: 0.82rem;
    gap: 6px;
  }

  .gallery-grid,
  .social-grid,
  .brand-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .collection-callout {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 18px;
    gap: 18px;
  }

  .callout-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .about-grid {
    gap: 34px;
  }

  .about-checkered {
    right: 12px;
    bottom: -12px;
    width: 78px;
    height: 24px;
  }

  .social-card {
    padding: 22px 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .lightbox {
    padding: 10px;
  }

  .lightbox-panel {
    max-height: 92dvh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
  }

  .lightbox-media {
    min-height: 210px;
  }

  .lightbox-media img {
    max-height: 44dvh;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
  }

  .lightbox-nav.prev {
    left: 10px;
  }

  .lightbox-nav.next {
    right: 10px;
  }

  .lightbox-info {
    padding: 20px 18px 22px;
  }

  .lightbox-meta-row {
    padding-right: 0;
  }

  .lightbox-info h3 {
    font-size: 1.15rem;
  }

  .lightbox-info p {
    font-size: 0.88rem;
    margin-bottom: 16px;
  }
}

@media (max-width: 380px) {
  .live-counter-pill {
    display: none;
  }

  .hero-title {
    font-size: 1.56rem;
  }
}
