/* =============================================
   FIXESTO — FUTURISTIC TECHY REDESIGN
   Black & White | Glows | Animations
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:     #000000;
  --white:     #ffffff;
  --gray-100:  #f5f5f5;
  --gray-200:  #e0e0e0;
  --gray-400:  #888888;
  --gray-600:  #444444;
  --gray-800:  #1a1a1a;
  --gray-900:  #0d0d0d;

  --glow-sm:   0 0 8px rgba(255,255,255,0.25);
  --glow-md:   0 0 20px rgba(255,255,255,0.18), 0 0 40px rgba(255,255,255,0.08);
  --glow-lg:   0 0 30px rgba(255,255,255,0.25), 0 0 80px rgba(255,255,255,0.1);
  --glow-btn:  0 0 14px rgba(255,255,255,0.5), 0 0 28px rgba(255,255,255,0.2);

  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --header-height: 68px;
  --container-max: 1200px;
  --radius: 4px;
  --radius-sm: 2px;
  --radius-lg: 8px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Scanline overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.015) 2px,
    rgba(255,255,255,0.015) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Utility --- */
.section-pad {
  padding-top: 100px;
  padding-bottom: 100px;
}

.bg-light { background: var(--gray-900); }
.bg-dark  { background: var(--black); }
.text-center { text-align: center; }

/* --- Section Tags --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '//';
  color: var(--white);
  font-weight: 700;
}

.section-tag.light {
  color: var(--gray-400);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 18px;
}

.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-400);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

.section-subtitle.light { color: var(--gray-400); }

.section-header {
  margin-bottom: 60px;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }
.mb-32 { margin-bottom: 32px; }
.mb-60 { margin-bottom: 60px; }

/* --- Divider lines --- */
.section-line {
  width: 40px;
  height: 1px;
  background: var(--white);
  margin: 20px auto;
  position: relative;
  overflow: visible;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

/* Primary: White fill */
.btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-primary:hover {
  background: var(--black);
  color: var(--white);
  box-shadow: var(--glow-btn);
  border-color: var(--white);
}

/* Outline: White border */
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn-outline:hover {
  border-color: var(--white);
  box-shadow: var(--glow-sm);
  background: rgba(255,255,255,0.04);
}

/* White bg variant (dark sections) */
.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  box-shadow: var(--glow-btn);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 0.88rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.75rem;
}

.btn-full { width: 100%; }

/* =============================================
   GRID BACKGROUND UTILITY
   ============================================= */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: border-color var(--transition);
}

/* Blur lives on ::before so the header doesn't create a containing block
   for position:fixed children (backdrop-filter breaks fixed descendants) */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: -1;
}

.site-header.scrolled {
  border-bottom-color: rgba(255,255,255,0.15);
  box-shadow: 0 1px 40px rgba(0,0,0,0.8);
}

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

/* Logo */
.site-logo { flex-shrink: 0; }

.logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo .logo-img {
  height: 32px;
}

/* Logo bracket decoration */
.logo-wrap::before,
.logo-wrap::after {
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.2);
  font-size: 1.1rem;
}

/* Navigation */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: block;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

/* Cart */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Phone number in header */
.header-phone {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header-phone:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  box-shadow: var(--glow-sm);
}

/* Phone in mobile nav overlay — hidden on desktop */
.nav-phone { display: none; }

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--gray-400);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--white);
  border-color: var(--white);
  box-shadow: var(--glow-sm);
}

.theme-toggle .icon-moon { display: none; }

[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* Ripple fill on open */
.hamburger::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1);
}

.hamburger.open::before {
  transform: scaleX(1);
}

.hamburger:hover { border-color: var(--white); box-shadow: var(--glow-sm); }

.hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--white);
  border-radius: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1),
              opacity 0.3s ease,
              background 0.35s ease;
}

/* Invert bar color when filled white */
.hamburger.open span { background: var(--black); }

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
  background: var(--black);
}

/* Animated grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 80px 80px, 80px 80px; }
}

/* Radial glow center */
.hero::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
}

.hero-text { max-width: 580px; }

/* Mono label */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 24px;
  animation: fadeSlideIn 0.8s ease both;
}

.hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gray-400);
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeSlideIn 0.8s 0.15s ease both;
}

.hero-title .line-accent {
  color: var(--gray-400);
}

.cursor-blink {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--white);
  margin-left: 4px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 440px;
  animation: fadeSlideIn 0.8s 0.3s ease both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeSlideIn 0.8s 0.45s ease both;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero visual: Terminal window */
.hero-image {
  display: flex;
  justify-content: center;
  animation: fadeSlideIn 0.8s 0.2s ease both;
}

.terminal {
  width: 100%;
  max-width: 500px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--glow-md), 0 40px 80px rgba(0,0,0,0.8);
  animation: terminalFloat 8s ease-in-out infinite;
}

@keyframes terminalFloat {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  33%     { transform: translateY(-10px) rotate(0.3deg); }
  66%     { transform: translateY(-5px) rotate(-0.3deg); }
}

.terminal-bar {
  background: #111;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tb-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: block;
  opacity: 0.6;
}

.tb-dot:nth-child(1) { background: #ff5f57; }
.tb-dot:nth-child(2) { background: #febc2e; }
.tb-dot:nth-child(3) { background: #28c840; }

.terminal-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gray-600);
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.9;
}

.t-line {
  display: flex;
  gap: 10px;
  opacity: 0;
  animation: typeIn 0.3s ease forwards;
}

.t-prompt { color: var(--gray-600); flex-shrink: 0; }
.t-cmd    { color: var(--white); }
.t-out    { color: var(--gray-400); }
.t-ok     { color: #28c840; }
.t-warn   { color: #febc2e; }
.t-dim    { color: var(--gray-600); }

.t-line:nth-child(1)  { animation-delay: 0.5s; }
.t-line:nth-child(2)  { animation-delay: 1.0s; }
.t-line:nth-child(3)  { animation-delay: 1.5s; }
.t-line:nth-child(4)  { animation-delay: 2.0s; }
.t-line:nth-child(5)  { animation-delay: 2.5s; }
.t-line:nth-child(6)  { animation-delay: 3.0s; }
.t-line:nth-child(7)  { animation-delay: 3.5s; }
.t-line:nth-child(8)  { animation-delay: 4.0s; }
.t-line:nth-child(9)  { animation-delay: 4.5s; }

@keyframes typeIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

.t-cursor {
  display: inline-block;
  width: 7px; height: 1.1em;
  background: var(--white);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  animation-delay: 5s;
  opacity: 0;
}

/* Hero bottom stat bar */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeSlideIn 0.8s 0.8s ease both;
}

.hero-stat {
  flex: 1;
  padding: 20px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-stat:last-child { border-right: none; }

.hs-num {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.hs-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  text-align: center;
}

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.1);
}

.service-card {
  background: var(--black);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width var(--transition-slow);
}

.service-card:hover,
.product-card:hover {
  background: var(--gray-900);
}

.service-card:hover::before {
  width: 100%;
}

/* Card number */
.service-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gray-600);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.service-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover .service-icon {
  border-color: var(--white);
  box-shadow: var(--glow-sm);
}

.service-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--white);
}

.service-desc {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.service-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}

.service-link::after {
  content: '→';
}

.service-link:hover {
  gap: 14px;
}

/* =============================================
   ABOUT PREVIEW
   ============================================= */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-preview-text .section-tag { display: block; }
.about-preview-text .section-title { margin-bottom: 20px; }

.about-preview-text p {
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.about-stats {
  display: flex;
  gap: 0;
  margin: 36px 0;
  border: 1px solid rgba(255,255,255,0.1);
}

.stat {
  flex: 1;
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat:last-child { border-right: none; }

.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* About cards */
.about-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.1);
}

.about-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--black);
  padding: 28px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 0;
  background: var(--white);
  transition: height var(--transition-slow);
}

.about-card:hover {
  background: var(--gray-900);
}

.about-card:hover::after {
  height: 100%;
}

.about-card-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.about-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-card p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* =============================================
   TRUSTED / DARK SECTION
   ============================================= */
.trusted-section {
  background: var(--gray-900);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.trusted-section::before {
  content: 'FIXESTO';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12vw;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.015);
  pointer-events: none;
  white-space: nowrap;
  font-family: var(--font-body);
}

.trusted-section .section-title { margin-bottom: 16px; }
.trusted-section .section-subtitle { margin-bottom: 44px; }

/* =============================================
   CLASSES PREVIEW
   ============================================= */
.classes-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.classes-preview-text .section-tag { display: block; }
.classes-preview-text .section-title { margin-bottom: 16px; }
.classes-preview-text p {
  color: var(--gray-400);
  margin-bottom: 32px;
  line-height: 1.75;
}

.classes-preview-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.1);
}

.mini-card {
  background: var(--black);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.mini-card:hover {
  background: var(--gray-900);
}

.mini-card-icon {
  font-size: 1.5rem;
  display: block;
}

.mini-card span:last-child {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: var(--white);
  color: var(--black);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-section > .container { position: relative; z-index: 1; }
.cta-section .section-tag { color: var(--gray-600); }

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--black);
}

.cta-subtitle {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-section .btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.cta-section .btn-primary:hover {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 0 20px rgba(0,0,0,0.25);
}

.cta-section .btn-outline {
  color: var(--black);
  border-color: rgba(0,0,0,0.3);
}

.cta-section .btn-outline:hover {
  border-color: var(--black);
  background: rgba(0,0,0,0.05);
}

.hours-display {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  border: 1px solid rgba(0,0,0,0.15);
  padding: 10px 20px;
  border-radius: 100px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 72px;
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 56px;
  padding-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}


.footer-brand p {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 14px;
}

.footer-location {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem !important;
  letter-spacing: 0.06em;
  color: var(--gray-600) !important;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--gray-400);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1;
  transition: color var(--transition);
}

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

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

.footer-hours { margin-bottom: 24px; }

.hours-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hours-row span:first-child {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray-600);
  letter-spacing: 0.06em;
}

.hours-row span:last-child {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-btn {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.footer-btn:hover {
  background: var(--black);
  color: var(--white);
  box-shadow: var(--glow-btn);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray-600);
  text-align: center;
  letter-spacing: 0.06em;
}

/* =============================================
   PAGE BANNER (inner pages)
   ============================================= */
.page-banner {
  padding: calc(var(--header-height) + 72px) 0 80px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-banner .container { position: relative; z-index: 1; text-align: center; }

.page-banner h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-banner p {
  font-size: 1rem;
  color: var(--gray-400);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contact-info-item:last-of-type {
  border-bottom: none;
}

.contact-info-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}

/* Form */
.contact-form-wrap {
  background: var(--gray-900);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
}

.contact-form-wrap h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-form-wrap .form-intro {
  color: var(--gray-400);
  margin-bottom: 36px;
  font-size: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--white);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 13px 16px;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-600);
}

.form-group select option {
  background: var(--gray-800);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* =============================================
   SHOP PAGE
   ============================================= */
.shop-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 24px;
}

.filter-btn {
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.1);
}

.product-card {
  background: var(--black);
  overflow: hidden;
  transition: background var(--transition);
  position: relative;
}

.product-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: background var(--transition);
}

.product-card:hover .product-img {
  background: #111;
}

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-body { padding: 24px; }

.product-name {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.84rem;
  color: var(--gray-400);
  margin-bottom: 20px;
  line-height: 1.65;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.product-price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
}

/* =============================================
   BOOKING PAGE — CAL.COM CARDS
   ============================================= */
.booking-cal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.booking-cal-card {
  background: var(--black);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.booking-cal-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width var(--transition-slow);
}

.booking-cal-card:hover {
  background: var(--gray-900);
}

.booking-cal-card:hover::before {
  width: 100%;
}

.booking-cal-icon {
  font-size: 2rem;
  display: block;
}

.booking-cal-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.booking-cal-card p {
  font-size: 0.87rem;
  color: var(--gray-400);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.booking-cal-cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  transition: gap var(--transition);
}

.booking-cal-card:hover .booking-cal-cta {
  gap: 14px;
}

.booking-cal-note {
  text-align: center;
  padding: 24px 28px;
  border: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}

.booking-cal-note a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =============================================
   CLASSES PAGE
   ============================================= */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.1);
}

.class-card {
  background: var(--black);
  padding: 36px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.class-card:hover {
  background: var(--gray-900);
}

.class-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-600);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 10px;
  margin-bottom: 18px;
}

.class-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.class-desc {
  color: var(--gray-400);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.class-meta {
  display: flex;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.class-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}

/* =============================================
   TRUSTED PRODUCTS PAGE
   ============================================= */
.trusted-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

/* =============================================
   WORK PAGE
   ============================================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.1);
}

.work-card {
  overflow: hidden;
  position: relative;
}

.work-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: background var(--transition), transform var(--transition);
}

.work-card:hover .work-img {
  background: #111;
}

.work-body {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 20px;
  transition: background var(--transition);
}

.work-card:hover .work-body {
  background: var(--gray-900);
}

.work-category {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.work-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-mission {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-mission p {
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1.85;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.1);
}

.value-card {
  background: var(--black);
  padding: 40px 32px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card:hover {
  background: var(--gray-900);
}

.value-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.value-card:hover .value-icon {
  border-color: var(--white);
  box-shadow: var(--glow-sm);
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.87rem;
  color: var(--gray-400);
  line-height: 1.75;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
              transform 0.65s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* =============================================
   GLITCH TEXT
   ============================================= */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.glitch::before {
  animation: glitchTop 4s infinite linear;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
  opacity: 0.8;
}

.glitch::after {
  animation: glitchBottom 4s infinite linear;
  clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
  opacity: 0.8;
}

@keyframes glitchTop {
  0%, 90%, 100% { transform: translate(0); filter: none; }
  92%           { transform: translate(-2px, -1px); filter: hue-rotate(180deg); }
  94%           { transform: translate(2px, 1px); filter: hue-rotate(0deg); }
  96%           { transform: translate(-1px, 2px); }
  98%           { transform: translate(0); }
}

@keyframes glitchBottom {
  0%, 90%, 100% { transform: translate(0); filter: none; }
  93%           { transform: translate(2px, 1px); filter: invert(1); }
  95%           { transform: translate(-2px, -1px); filter: invert(0); }
  97%           { transform: translate(1px, -2px); }
  99%           { transform: translate(0); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
/* --- Tablet + Mobile: hamburger at 1024px --- */
@media (max-width: 1024px) {
  .hamburger { display: flex; }

  /* ── Full-screen overlay nav ── */
  .main-nav {
    /* Always rendered, hidden via clip-path so we can animate */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    z-index: 9998;
    overflow: hidden;
    pointer-events: none;
    /* Clip-path: collapsed to a thin line at the top */
    clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0%);
    transition: clip-path 0.65s cubic-bezier(0.76, 0, 0.24, 1);
    /* Grid overlay inside nav */
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    background-color: rgba(0, 0, 0, 0.96);
  }

  .main-nav.open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: all;
  }

  /* Nav list: centered column */
  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 480px;
    padding: 0 40px;
    counter-reset: nav-counter;
  }

  /* Stagger items in */
  .nav-list li {
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    /* delay 0 on close → instant hide */
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .main-nav.open .nav-list li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger open delays */
  .main-nav.open .nav-list li:nth-child(1) { transition-delay: 0.18s; }
  .main-nav.open .nav-list li:nth-child(2) { transition-delay: 0.23s; }
  .main-nav.open .nav-list li:nth-child(3) { transition-delay: 0.28s; }
  .main-nav.open .nav-list li:nth-child(4) { transition-delay: 0.33s; }
  .main-nav.open .nav-list li:nth-child(5) { transition-delay: 0.38s; }
  .main-nav.open .nav-list li:nth-child(6) { transition-delay: 0.43s; }
  .main-nav.open .nav-list li:nth-child(7) { transition-delay: 0.48s; }
  .main-nav.open .nav-list li:nth-child(8) { transition-delay: 0.53s; }

  /* Nav link: big, bold, techy */
  .nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    font-family: var(--font-body);
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.45);
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    border-radius: 0;
    background: none;
    transition: color 0.2s ease, letter-spacing 0.2s ease;
    white-space: nowrap;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--white);
    letter-spacing: 0.01em;
    background: none;
  }

  /* Counter prefix on each item */
  .nav-list li {
    counter-increment: nav-counter;
  }

  .nav-link::before {
    content: counter(nav-counter, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.2);
    flex-shrink: 0;
    transition: color 0.2s ease;
  }

  .nav-link:hover::before,
  .nav-link.active::before {
    color: rgba(255,255,255,0.5);
  }

  /* Active indicator */
  .nav-link.active {
    color: var(--white);
  }

  /* ── Hero: single column ── */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 0 40px;
    gap: 48px;
  }

  .hero-text  { max-width: 100%; }
  .hero-label { justify-content: center; }
  .hero-subtitle { max-width: 520px; margin-left: auto; margin-right: auto; }
  .hero-buttons  { justify-content: center; }

  /* Hide terminal on mobile — keep hero clean */
  .hero-image { display: none; }

  .hero-stats { flex-wrap: wrap; }
  .hero-stat  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .about-preview-grid,
  .classes-preview-inner { grid-template-columns: 1fr; gap: 56px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Hide header phone, show it in nav overlay instead */
  .header-phone { display: none; }

  .nav-phone {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    padding: 28px 40px 0;
    max-width: 480px;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease 0.55s, transform 0.35s ease 0.55s, color 0.2s ease;
  }

  .main-nav.open .nav-phone {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-phone:hover { color: var(--white); }
}

@media (max-width: 900px) {
  .services-grid,
  .products-grid,
  .values-grid { grid-template-columns: 1fr; }

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

  .contact-grid { grid-template-columns: 1fr; }

  .classes-grid { grid-template-columns: 1fr; }

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

@media (max-width: 768px) {
  :root { --header-height: 60px; }

  .section-pad { padding-top: 64px; padding-bottom: 64px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .about-stats { flex-direction: column; }

  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat:last-child { border-bottom: none; }

  .form-row { grid-template-columns: 1fr; }

  .classes-preview-cards { grid-template-columns: 1fr 1fr; }

  .contact-form-wrap { padding: 28px 22px; }

  /* Fix hero title on mobile — no glitch artifacts, clean size */
  .hero-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
    letter-spacing: -0.03em;
  }

  /* Disable glitch pseudo-elements on mobile (cause visual clipping) */
  .glitch::before,
  .glitch::after { display: none; }

  /* Hero: tighter padding on small screens */
  .hero-content { padding: 48px 0 32px; }

  .hero-stats { flex-direction: column; }
  .hero-stat  { padding: 16px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.2rem); }

  .cta-buttons { flex-direction: column; align-items: center; }

  .classes-preview-cards { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .booking-cal-grid { grid-template-columns: 1fr; }

  /* Tighten hero label on very small screens */
  .hero-label { font-size: 0.65rem; }

  /* Ensure hero fills viewport height properly */
  .hero { min-height: calc(100svh - 0px); }
}

/* =============================================
   LIGHT MODE
   ============================================= */
[data-theme="light"] {
  --glow-sm:  0 0 8px rgba(0,0,0,0.12);
  --glow-md:  0 0 20px rgba(0,0,0,0.10), 0 0 40px rgba(0,0,0,0.05);
  --glow-lg:  0 0 30px rgba(0,0,0,0.15), 0 0 80px rgba(0,0,0,0.06);
  --glow-btn: 0 0 14px rgba(0,0,0,0.20), 0 0 28px rgba(0,0,0,0.10);
}

/* Base */
[data-theme="light"] body {
  background: #f0f0f0;
  color: #0d0d0d;
}

[data-theme="light"] body::before {
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,0.012) 2px, rgba(0,0,0,0.012) 4px
  );
}

[data-theme="light"] .bg-light { background: #e4e4e4; }
[data-theme="light"] .bg-dark  { background: #f0f0f0; }

/* Section text */
[data-theme="light"] .section-tag::before { color: #0d0d0d; }
[data-theme="light"] .section-title       { color: #0d0d0d; }
[data-theme="light"] .section-line        { background: #0d0d0d; }
[data-theme="light"] .cursor-blink        { background: #0d0d0d; }

/* Header */
[data-theme="light"] .site-header {
  border-bottom-color: rgba(0,0,0,0.10);
}
[data-theme="light"] .site-header::before {
  background: rgba(240,240,240,0.94);
}
[data-theme="light"] .site-header.scrolled {
  box-shadow: 0 1px 24px rgba(0,0,0,0.12);
}
[data-theme="light"] .logo-img {
  filter: invert(1);
}

/* Nav links */
[data-theme="light"] .nav-link              { color: #555; }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active       { color: #0d0d0d; background: rgba(0,0,0,0.05); }

/* Header phone in light mode */
[data-theme="light"] .header-phone {
  color: #555;
  border-color: rgba(0,0,0,0.15);
}
[data-theme="light"] .header-phone:hover {
  color: #0d0d0d;
  border-color: rgba(0,0,0,0.5);
  box-shadow: 0 0 8px rgba(0,0,0,0.12);
}

/* Theme toggle in light mode */
[data-theme="light"] .theme-toggle {
  border-color: rgba(0,0,0,0.15);
  color: #555;
}
[data-theme="light"] .theme-toggle:hover {
  color: #0d0d0d;
  border-color: #0d0d0d;
}

/* Hamburger */
[data-theme="light"] .hamburger {
  border-color: rgba(0,0,0,0.15);
}
[data-theme="light"] .hamburger::before     { background: #0d0d0d; }
[data-theme="light"] .hamburger span        { background: #0d0d0d; }
[data-theme="light"] .hamburger.open span   { background: #f0f0f0; }
[data-theme="light"] .hamburger:hover       { border-color: #0d0d0d; }

/* Buttons */
[data-theme="light"] .btn-primary {
  background: #0d0d0d;
  color: #f0f0f0;
  border-color: #0d0d0d;
}
[data-theme="light"] .btn-primary:hover {
  background: #f0f0f0;
  color: #0d0d0d;
}
[data-theme="light"] .btn-outline {
  color: #0d0d0d;
  border-color: rgba(0,0,0,0.35);
}
[data-theme="light"] .btn-outline:hover {
  border-color: #0d0d0d;
  background: rgba(0,0,0,0.04);
}
[data-theme="light"] .btn-white {
  background: #0d0d0d;
  color: #f0f0f0;
  border-color: #0d0d0d;
}
[data-theme="light"] .btn-white:hover {
  background: transparent;
  color: #0d0d0d;
}
[data-theme="light"] .footer-btn {
  background: #0d0d0d;
  color: #f0f0f0;
  border-color: #0d0d0d;
}
[data-theme="light"] .footer-btn:hover {
  background: #f0f0f0;
  color: #0d0d0d;
}

/* Grid backgrounds */
[data-theme="light"] .grid-bg {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}
/* Hero */
[data-theme="light"] .hero              { background: #f0f0f0; }
[data-theme="light"] .hero::before {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}
[data-theme="light"] .hero::after {
  background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 65%);
}
[data-theme="light"] .hero-label             { color: #555; }
[data-theme="light"] .hero-label::before     { background: #555; }
[data-theme="light"] .hero-title .line-accent { color: #888; }
[data-theme="light"] .hero-subtitle          { color: #555; }
[data-theme="light"] .hero-stats {
  border-top-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .hero-stat  { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .hs-label   { color: #555; }

/* Services */
[data-theme="light"] .services-grid {
  border-color: rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.10);
}
[data-theme="light"] .service-card           { background: #f8f8f8; }
[data-theme="light"] .service-card::before   { background: #0d0d0d; }
[data-theme="light"] .service-card:hover     { background: #ececec; }
[data-theme="light"] .service-num            { color: #aaa; }
[data-theme="light"] .service-icon { border-color: rgba(0,0,0,0.15); color: #0d0d0d; }
[data-theme="light"] .service-name           { color: #0d0d0d; }
[data-theme="light"] .service-desc           { color: #555; }
[data-theme="light"] .service-link           { color: #0d0d0d; }

/* About preview */
[data-theme="light"] .about-preview-text p   { color: #555; }
[data-theme="light"] .about-stats            { border-color: rgba(0,0,0,0.10); }
[data-theme="light"] .stat                   { border-color: rgba(0,0,0,0.10); }
[data-theme="light"] .stat-label             { color: #888; }
[data-theme="light"] .about-card-wrap {
  border-color: rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.10);
}
[data-theme="light"] .about-card             { background: #f8f8f8; }
[data-theme="light"] .about-card::after      { background: #0d0d0d; }
[data-theme="light"] .about-card:hover       { background: #ececec; }
[data-theme="light"] .about-card-icon { border-color: rgba(0,0,0,0.15); color: #0d0d0d; }
[data-theme="light"] .about-card p           { color: #555; }

/* Trusted section */
[data-theme="light"] .trusted-section {
  background: #e4e4e4;
  border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .trusted-section::before { color: rgba(0,0,0,0.04); }

/* Classes preview */
[data-theme="light"] .classes-preview-text p  { color: #555; }
[data-theme="light"] .classes-preview-cards {
  border-color: rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.10);
}
[data-theme="light"] .mini-card              { background: #f8f8f8; }
[data-theme="light"] .mini-card:hover        { background: #ececec; }
[data-theme="light"] .mini-card span:last-child { color: #0d0d0d; }

/* CTA — becomes dark section in light mode for contrast */
[data-theme="light"] .cta-section {
  background: #0d0d0d;
  color: #f0f0f0;
}
[data-theme="light"] .cta-title              { color: #f0f0f0; }
[data-theme="light"] .cta-subtitle           { color: #888; }
[data-theme="light"] .cta-section .btn-primary {
  background: #f0f0f0;
  color: #0d0d0d;
  border-color: #f0f0f0;
}
[data-theme="light"] .cta-section .btn-primary:hover {
  background: #0d0d0d;
  color: #f0f0f0;
}
[data-theme="light"] .cta-section .btn-outline {
  color: #f0f0f0;
  border-color: rgba(255,255,255,0.35);
}
[data-theme="light"] .cta-section .btn-outline:hover {
  border-color: #f0f0f0;
  background: rgba(255,255,255,0.06);
}
[data-theme="light"] .hours-display {
  color: #888;
  border-color: rgba(255,255,255,0.20);
}

/* Footer */
[data-theme="light"] .site-footer {
  background: #e0e0e0;
  border-top-color: rgba(0,0,0,0.08);
  color: #0d0d0d;
}
[data-theme="light"] .footer-brand p         { color: #555; }
[data-theme="light"] .footer-heading         { color: #888; }
[data-theme="light"] .footer-links a         { color: #555; }
[data-theme="light"] .footer-links a::before { color: #888; }
[data-theme="light"] .footer-links a:hover   { color: #0d0d0d; }
[data-theme="light"] .footer-links a:hover::before { color: #0d0d0d; }
[data-theme="light"] .footer-location        { color: #888 !important; }
[data-theme="light"] .hours-row span:first-child { color: #888; }
[data-theme="light"] .hours-row span:last-child  { color: #0d0d0d; }
[data-theme="light"] .footer-bottom          { border-top-color: rgba(0,0,0,0.06); }
[data-theme="light"] .footer-bottom p        { color: #888; }

/* Page banner */
[data-theme="light"] .page-banner {
  border-bottom-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .page-banner::before {
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
}
[data-theme="light"] .page-banner p          { color: #555; }

/* Contact page */
[data-theme="light"] .contact-info-item {
  border-bottom-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .contact-info-icon { border-color: rgba(0,0,0,0.15); color: #0d0d0d; }
[data-theme="light"] .contact-info-item h4   { color: #888; }
[data-theme="light"] .contact-info-item p    { color: #0d0d0d; }
[data-theme="light"] .contact-form-wrap {
  background: #f8f8f8;
  border-color: rgba(0,0,0,0.10);
}
[data-theme="light"] .form-group label       { color: #888; }
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
  color: #0d0d0d;
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
}
[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
[data-theme="light"] .form-group select:focus {
  border-color: rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.06);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}
[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder { color: #aaa; }
[data-theme="light"] .form-group select option {
  background: #f0f0f0;
  color: #0d0d0d;
}

/* Booking page */
[data-theme="light"] .booking-cal-grid {
  border-color: rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.10);
}
[data-theme="light"] .booking-cal-card         { background: #f8f8f8; }
[data-theme="light"] .booking-cal-card:hover   { background: #ececec; }
[data-theme="light"] .booking-cal-card::before { background: #0d0d0d; }
[data-theme="light"] .booking-cal-card h3      { color: #0d0d0d; }
[data-theme="light"] .booking-cal-card p       { color: #555; }
[data-theme="light"] .booking-cal-cta          { color: #0d0d0d; }
[data-theme="light"] .booking-cal-note {
  border-color: rgba(0,0,0,0.08);
  color: #888;
}
[data-theme="light"] .booking-cal-note a       { color: #0d0d0d; }

/* Classes page */
[data-theme="light"] .classes-grid {
  border-color: rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.10);
}
[data-theme="light"] .class-card              { background: #f8f8f8; }
[data-theme="light"] .class-card:hover        { background: #ececec; }
[data-theme="light"] .class-tag { border-color: rgba(0,0,0,0.15); color: #888; }
[data-theme="light"] .class-desc              { color: #555; }
[data-theme="light"] .class-meta             { border-top-color: rgba(0,0,0,0.06); }
[data-theme="light"] .class-meta-item        { color: #888; }

/* Products / Trusted products */
[data-theme="light"] .products-grid {
  border-color: rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.10);
}
[data-theme="light"] .product-card            { background: #f8f8f8; }
[data-theme="light"] .product-card:hover      { background: #ececec; }
[data-theme="light"] .product-img             { background: #ececec; }
[data-theme="light"] .product-card:hover .product-img { background: #e0e0e0; }
[data-theme="light"] .product-badge { background: #0d0d0d; color: #f0f0f0; }
[data-theme="light"] .product-desc            { color: #555; }
[data-theme="light"] .product-footer { border-top-color: rgba(0,0,0,0.06); }

/* Work page */
[data-theme="light"] .work-grid {
  border-color: rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.10);
}
[data-theme="light"] .work-img               { background: #e4e4e4; }
[data-theme="light"] .work-card:hover .work-img { background: #d8d8d8; }
[data-theme="light"] .work-body {
  background: #f8f8f8;
  border-top-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .work-card:hover .work-body { background: #ececec; }
[data-theme="light"] .work-category          { color: #aaa; }
[data-theme="light"] .work-title             { color: #0d0d0d; }

/* About page values */
[data-theme="light"] .values-grid {
  border-color: rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.10);
}
[data-theme="light"] .value-card             { background: #f8f8f8; }
[data-theme="light"] .value-card:hover       { background: #ececec; }
[data-theme="light"] .value-icon { border-color: rgba(0,0,0,0.15); color: #0d0d0d; }
[data-theme="light"] .value-card:hover .value-icon { border-color: #0d0d0d; }
[data-theme="light"] .value-card p           { color: #555; }
[data-theme="light"] .about-mission p        { color: #555; }

/* Mobile nav overlay in light mode */
@media (max-width: 1024px) {
  [data-theme="light"] .main-nav {
    background-color: rgba(240,240,240,0.97);
    background-image:
      linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  }
  [data-theme="light"] .nav-link {
    color: rgba(0,0,0,0.40);
    border-bottom-color: rgba(0,0,0,0.07);
  }
  [data-theme="light"] .nav-link:hover,
  [data-theme="light"] .nav-link.active { color: #0d0d0d; }
  [data-theme="light"] .nav-link::before { color: rgba(0,0,0,0.20); }
  [data-theme="light"] .nav-link:hover::before,
  [data-theme="light"] .nav-link.active::before { color: rgba(0,0,0,0.50); }
  [data-theme="light"] .hero-stat { border-color: rgba(0,0,0,0.08); }
  [data-theme="light"] .stat { border-color: rgba(0,0,0,0.10); }
  [data-theme="light"] .nav-phone { color: rgba(0,0,0,0.40); }
  [data-theme="light"] .main-nav.open .nav-phone { color: rgba(0,0,0,0.70); }
}

/* =============================================
   FLOATING CALL BUTTON  (mobile only)
   ============================================= */
.fab-call {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--white);
  color: var(--black);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  z-index: 9990;
  box-shadow: 0 4px 24px rgba(255,255,255,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fab-pulse 3s ease-in-out infinite;
}

.fab-call:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 36px rgba(255,255,255,0.3);
  animation-play-state: paused;
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(255,255,255,0.15), 0 0 0 0 rgba(255,255,255,0.2); }
  50%       { box-shadow: 0 4px 24px rgba(255,255,255,0.2), 0 0 0 10px rgba(255,255,255,0); }
}

@media (max-width: 1024px) {
  .fab-call { display: flex; }
}

[data-theme="light"] .fab-call {
  background: #0d0d0d;
  color: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  animation: fab-pulse-light 3s ease-in-out infinite;
}

[data-theme="light"] .fab-call:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,0.35);
  animation-play-state: paused;
}

@keyframes fab-pulse-light {
  0%, 100% { box-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 0 0 0 rgba(0,0,0,0.15); }
  50%       { box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 0 10px rgba(0,0,0,0); }
}

/* =============================================
   GOOGLE REVIEW STRIP  (footer)
   ============================================= */
.footer-review {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
}

.review-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.review-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  box-shadow: var(--glow-sm);
}

[data-theme="light"] .footer-review {
  border-top-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .review-btn {
  color: var(--gray-600);
  border-color: rgba(0,0,0,0.12);
}

[data-theme="light"] .review-btn:hover {
  color: var(--black);
  border-color: rgba(0,0,0,0.4);
  box-shadow: 0 0 8px rgba(0,0,0,0.12);
}

/* =============================================
   BLOG PAGE
   ============================================= */

/* Filter row */
.blog-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Featured post */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--gray-900);
  margin-bottom: 48px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.blog-featured:hover {
  border-color: rgba(255,255,255,0.28);
  box-shadow: var(--glow-sm);
}

.blog-featured-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.blog-featured .blog-card-img {
  aspect-ratio: auto;
  min-height: 300px;
  border-right: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}

.blog-featured .blog-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured .blog-card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured .blog-card-title {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

/* Post grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--gray-900);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
  box-shadow: var(--glow-sm);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background var(--transition);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

.blog-card:hover .blog-card-img {
  background: #111;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.blog-card-category {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 3px 8px;
}

.blog-card-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gray-600);
}

.blog-card-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 10px;
  transition: text-shadow var(--transition);
}

.blog-card:hover .blog-card-title,
.blog-featured:hover .blog-card-title {
  text-shadow: var(--glow-sm);
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition), text-shadow var(--transition);
}

.blog-card:hover .blog-card-link,
.blog-featured:hover .blog-card-link {
  gap: 10px;
  text-shadow: var(--glow-sm);
}

/* Responsive */
@media (max-width: 960px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured .blog-card-img {
    min-height: 200px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .blog-featured .blog-card-body {
    padding: 28px;
  }
  .blog-featured .blog-card-title {
    font-size: 1.2rem;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Light theme */
[data-theme="light"] .blog-featured {
  background: #f8f8f8;
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .blog-featured:hover {
  border-color: rgba(0,0,0,0.3);
}
[data-theme="light"] .blog-featured .blog-card-img {
  border-right-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .blog-card {
  background: #f8f8f8;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .blog-card:hover {
  border-color: rgba(0,0,0,0.28);
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
[data-theme="light"] .blog-card-img {
  background: #efefef;
  border-bottom-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .blog-card:hover .blog-card-img {
  background: #e4e4e4;
}
[data-theme="light"] .blog-card-category {
  color: #0d0d0d;
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.12);
}
[data-theme="light"] .blog-card-date    { color: #999; }
[data-theme="light"] .blog-card-excerpt { color: #555; }
[data-theme="light"] .blog-card-link    { color: #0d0d0d; }
[data-theme="light"] .blog-featured-label { color: #aaa; }

/* ==========================================
   POST PAGE
   ========================================== */

.post-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.post-banner-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* Featured hero image */
.post-hero-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  max-height: 480px;
}

.post-hero-img img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Article body typography */
.post-content {
  color: var(--gray-300);
  font-size: 1.05rem;
  line-height: 1.85;
}

.post-content p {
  margin-bottom: 1.4rem;
}

.post-content strong {
  color: var(--white);
  font-weight: 600;
}

.post-content ul,
.post-content ol {
  margin: 0 0 1.4rem 1.5rem;
  padding: 0;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin: 12px 0 24px;
  display: block;
  object-fit: cover;
}

.post-content h2,
.post-content h3 {
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.post-content h2 { font-size: 1.25rem; }
.post-content h3 { font-size: 1.05rem; }

.post-content a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content br {
  display: none; /* imgs handle their own spacing */
}

/* Post footer */
.post-footer {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.post-cta {
  margin-top: 48px;
  text-align: center;
}

/* Light theme overrides */
[data-theme="light"] .post-content          { color: #333; }
[data-theme="light"] .post-content strong   { color: #0d0d0d; }
[data-theme="light"] .post-content h2,
[data-theme="light"] .post-content h3       { color: #0d0d0d; }
[data-theme="light"] .post-content a        { color: #0d0d0d; }
[data-theme="light"] .post-hero-img         { border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .post-content img      { border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .post-footer           { border-top-color: rgba(0,0,0,0.1); }
[data-theme="light"] .post-banner-date      { color: #999; }

/* Responsive */
@media (max-width: 600px) {
  .post-hero-img { margin-bottom: 32px; max-height: 260px; }
  .post-content  { font-size: 0.97rem; }
}
