/* ═══════════════════════════════════════════════════════════════
   HRIDAY NIJHAWAN — THE WEEKND DARK REDESIGN
   Deep blacks · Crimson glows · Cinematic grain
═══════════════════════════════════════════════════════════════ */

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

:root {
  /* Core palette */
  --void:        #050305;
  --deep:        #0a0608;
  --surface:     #0f090c;
  --elevated:    #160d10;
  --card:        #1a1014;
  --card-hover:  #221318;

  /* Red spectrum */
  --red:         #c0192c;
  --red-bright:  #e8202f;
  --red-dim:     #7a1020;
  --red-pale:    rgba(192,25,44,0.12);
  --red-glow:    rgba(192,25,44,0.35);
  --crimson:     #8b0000;

  /* Text */
  --text:        #f0e8e8;
  --text-mid:    #b8a8a8;
  --text-light:  #7a6060;
  --text-faint:  #3a2828;

  /* Borders & glass */
  --border:      rgba(192,25,44,0.2);
  --border-dim:  rgba(192,25,44,0.1);
  --glass:       rgba(20,10,12,0.85);
  --glass-hover: rgba(192,25,44,0.06);
  --shadow:      rgba(0,0,0,0.7);
  --shadow-red:  rgba(192,25,44,0.25);

  /* Accent (red) */
  --accent:      #c0192c;
  --accent-light: #e8202f;
  --accent-pale: rgba(192,25,44,0.1);
  --stone:       #5a3535;
  --stone-dark:  #7a5050;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  background: var(--void);
  color: var(--text);
  font-family: 'Nunito', -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Custom scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--red-bright), var(--crimson));
  border-radius: 99px;
}

/* ── Cinematic grain overlay ──────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.055'/%3E%3C/svg%3E");
  opacity: 1;
}

/* ── Background — deep dark with red light source ─────────────── */
.photo-bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(139,0,0,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(192,25,44,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 50% 50%, #0f0608 0%, #050305 100%);
}
.photo-bg::after { display: none; }

/* ── Ambient red pulse behind hero ───────────────────────────── */
.photo-bg::before {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 70%; height: 80%;
  background: radial-gradient(ellipse, rgba(139,0,0,0.22) 0%, transparent 65%);
  animation: ambientPulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ambientPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

/* ═══════════════════════════════════════════════════════════════
   LOADER — DRAMATIC CINEMATIC INTRO
═══════════════════════════════════════════════════════════════ */
#loader {
  position: fixed; inset: 0; z-index: 99999;
  background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0;
  transition: opacity 1s cubic-bezier(.23,1,.32,1), visibility 1s;
}
#loader.out { opacity: 0; pointer-events: none; visibility: hidden; }

/* Horizontal red scan line */
.loader-scan {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-bright), var(--red), transparent);
  box-shadow: 0 0 20px var(--red), 0 0 60px rgba(192,25,44,0.5);
  animation: scanLine 1.8s cubic-bezier(.4,0,.6,1) forwards;
  opacity: 0;
}
@keyframes scanLine {
  0%   { top: 0%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Corner brackets */
.loader-corners {
  position: relative;
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 40px;
}
.loader-corner {
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--red);
  border-style: solid;
  opacity: 0;
  animation: cornerIn 0.4s cubic-bezier(.23,1,.32,1) forwards;
}
.loader-corner-tl { top: 0; left: 0; border-width: 2px 0 0 2px; animation-delay: 0.2s; }
.loader-corner-tr { top: 0; right: 0; border-width: 2px 2px 0 0; animation-delay: 0.3s; }
.loader-corner-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; animation-delay: 0.35s; }
.loader-corner-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; animation-delay: 0.4s; }
@keyframes cornerIn {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

/* Logo inside loader — now red */
.loader-mark {
  position: relative;
  width: 72px; height: 72px;
}
.loader-mark svg { width: 72px; height: 72px; filter: drop-shadow(0 0 16px rgba(192,25,44,0.8)); }
.loader-stem { stroke-dasharray: 200; stroke-dashoffset: 200; animation: drawStem .5s cubic-bezier(.23,1,.32,1) forwards; }
.loader-stem-1 { animation-delay: .5s; }
.loader-stem-2 { animation-delay: .65s; }
.loader-stem-3 { animation-delay: .8s; }
.loader-crossbar { stroke-dasharray: 100; stroke-dashoffset: 100; animation: drawStem .4s cubic-bezier(.23,1,.32,1) .95s forwards; }
.loader-diag { stroke-dasharray: 300; stroke-dashoffset: 300; animation: drawStem .5s cubic-bezier(.23,1,.32,1) 1.05s forwards; }
@keyframes drawStem { to { stroke-dashoffset: 0; } }

/* Pulsing ring */
.loader-ring {
  position: absolute; inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(192,25,44,0);
  animation: ringPulse 1.4s ease-out 1.3s forwards;
}
@keyframes ringPulse {
  0%   { border-color: rgba(192,25,44,0); transform: scale(0.7); }
  50%  { border-color: rgba(192,25,44,0.7); transform: scale(1.15); box-shadow: 0 0 30px rgba(192,25,44,0.4); }
  100% { border-color: rgba(192,25,44,0); transform: scale(1.4); }
}

/* Second expanding ring */
.loader-ring-2 {
  position: absolute; inset: -32px;
  border-radius: 50%;
  border: 1px solid rgba(192,25,44,0);
  animation: ringPulse2 1.4s ease-out 1.5s forwards;
}
@keyframes ringPulse2 {
  0%   { border-color: rgba(192,25,44,0); transform: scale(0.5); }
  60%  { border-color: rgba(192,25,44,0.3); transform: scale(1.1); }
  100% { border-color: rgba(192,25,44,0); transform: scale(1.5); }
}

.loader-name {
  opacity: 0;
  animation: fadeUp .7s cubic-bezier(.23,1,.32,1) 1.1s forwards;
  text-align: center;
  margin-top: 8px;
}
.loader-name-main {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-weight: 400;
  font-size: 24px; letter-spacing: -0.02em;
  color: var(--text);
}
.loader-name-sub {
  display: block;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red);
  margin-top: 8px;
  animation: subtitleGlow 2s ease-in-out 1.5s infinite;
}
@keyframes subtitleGlow {
  0%, 100% { text-shadow: 0 0 8px rgba(192,25,44,0.4); }
  50%       { text-shadow: 0 0 20px rgba(192,25,44,0.9), 0 0 40px rgba(192,25,44,0.3); }
}

.loader-bar {
  width: 160px; height: 1px;
  background: rgba(192,25,44,0.15);
  border-radius: 1px; overflow: hidden;
  opacity: 0; margin-top: 28px;
  animation: fadeUp .3s ease 1.2s forwards;
}
.loader-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--crimson), var(--red-bright));
  box-shadow: 0 0 8px var(--red);
  border-radius: 1px;
  animation: fillBar 1.2s cubic-bezier(.23,1,.32,1) 1.3s forwards;
}
@keyframes fillBar { to { width: 100%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(5,3,5,0.88);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border-bottom: 1px solid var(--border-dim);
  transition: background .4s, border-color .4s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(5,3,5,0.96);
  box-shadow: 0 4px 32px rgba(0,0,0,0.6), 0 1px 0 var(--border-dim);
}
.nav-container {
  max-width: 1400px; margin: 0 auto;
  padding: 16px 7vw;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  transition: padding .3s;
}
.navbar.scrolled .nav-container { padding-top: 12px; padding-bottom: 12px; }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px; font-weight: 600;
  color: var(--text); flex-shrink: 0;
}
.nav-logo svg { width: 28px; height: 28px; }
.nav-logo span { transition: color .2s; }
.nav-logo:hover span { color: var(--red); }

.nav-menu { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav-link {
  font-size: 13px; font-weight: 500;
  color: var(--text-light); text-decoration: none;
  padding: 10px 15px; border-radius: 8px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 1px; background: var(--red); border-radius: 1px;
  transition: left .25s cubic-bezier(.23,1,.32,1), right .25s cubic-bezier(.23,1,.32,1);
}
.nav-link:hover { color: var(--text); background: var(--glass-hover); }
.nav-link:hover::after, .nav-link.active::after { left: 14px; right: 14px; }
.nav-link.active { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border-dim); background: transparent;
  cursor: pointer; transition: background .2s, transform .15s, border-color .2s;
  color: var(--text-light);
}
.theme-toggle:hover { background: var(--glass-hover); transform: scale(1.1); color: var(--text); border-color: var(--border); }
.theme-toggle .icon-sun, .theme-toggle .icon-moon { position: absolute; transition: opacity .3s, transform .3s; }
[data-theme="light"] .icon-moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
[data-theme="light"] .icon-sun  { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="dark"]  .icon-sun  { opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="dark"]  .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

.btn-cta {
  font-size: 12px; font-weight: 700; color: white;
  text-decoration: none; padding: 8px 20px; border-radius: 8px;
  background: linear-gradient(135deg, var(--red) 0%, var(--crimson) 100%);
  border: 1px solid rgba(192,25,44,0.5);
  box-shadow: 0 4px 16px var(--shadow-red);
  transition: filter .2s, transform .15s, box-shadow .2s;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.btn-cta:hover {
  filter: brightness(1.15); transform: scale(1.04) translateY(-1px);
  box-shadow: 0 8px 28px rgba(192,25,44,0.55);
}

.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 24px; height: 24px; background: none; border: none; cursor: pointer; }
.menu-toggle span { width: 100%; height: 1.5px; background: var(--text); border-radius: 1px; transition: all .3s; }
.nav-menu.active {
  display: flex !important; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(5,3,5,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-dim);
  padding: 16px 0; gap: 0;
}
.nav-menu.active .nav-link { padding: 14px 7vw; border-radius: 0; width: 100%; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(9.5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-9.5px); }

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════════ */
.container { max-width: 1400px; margin: 0 auto; padding: 0 7vw; }
.section { position: relative; z-index: 2; padding: 100px 0; }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400; font-style: italic;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 20px;
}
.section-title .accent {
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 60%, var(--crimson) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 20px rgba(192,25,44,0.5));
}
.section-subtitle {
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--text-mid); margin-bottom: 60px; line-height: 1.7;
}

.divider {
  position: relative; z-index: 2; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-dim) 20%, var(--red) 50%, var(--red-dim) 80%, transparent);
  animation: divGlow 4s ease-in-out infinite;
}
@keyframes divGlow {
  0%, 100% { opacity: 0.3; box-shadow: none; }
  50%       { opacity: 0.8; box-shadow: 0 0 12px rgba(192,25,44,0.4); }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative; z-index: 2; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 0 7vw 120px; margin-top: 80px;
}
.hero-content { animation: up .9s .2s cubic-bezier(.23,1,.32,1) both; }
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 400; font-style: italic;
  letter-spacing: -0.03em; line-height: 1;
  color: var(--text); margin-bottom: 32px;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 60%, var(--crimson) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 24px rgba(192,25,44,0.6));
}
.hero-subtitle {
  font-size: clamp(15px, 1.4vw, 18px); line-height: 1.75;
  color: var(--text-mid); max-width: 520px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: up .9s .4s cubic-bezier(.23,1,.32,1) both; }

.scroll-indicator {
  position: absolute; bottom: 80px; right: 7vw;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: up 1s .6s cubic-bezier(.23,1,.32,1) both;
}
.scroll-indicator span {
  font-size: 9px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-faint); writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--red-dim), transparent);
  animation: spulse 2.5s ease-in-out infinite;
}
@keyframes spulse { 0%, 100% { opacity: .3; } 50% { opacity: .9; } }
@keyframes up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════════════════
   PAGE HEADERS
═══════════════════════════════════════════════════════════════ */
.page-header {
  position: relative; z-index: 2;
  min-height: 380px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 180px 7vw 100px; margin-top: 80px;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(139,0,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 400; font-style: italic;
  letter-spacing: -0.02em; color: var(--text); margin-bottom: 20px;
}
.page-header p { font-size: clamp(15px, 1.4vw, 18px); color: var(--text-mid); max-width: 600px; }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 700;
  text-decoration: none; border: none; border-radius: 8px; cursor: pointer;
  transition: transform .2s cubic-bezier(.23,1,.32,1), box-shadow .2s, filter .2s;
  position: relative; overflow: hidden;
}
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--red) 0%, var(--crimson) 100%);
  box-shadow: 0 6px 24px var(--shadow-red);
  letter-spacing: 0.02em;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  animation: btnPulse 2.8s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes btnPulse {
  0%   { box-shadow: 0 0 0 0 rgba(192,25,44,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(192,25,44,0); }
  100% { box-shadow: 0 0 0 0 rgba(192,25,44,0); }
}
.btn-primary:hover { transform: translateY(-4px) scale(1.04); filter: brightness(1.12); box-shadow: 0 12px 40px rgba(192,25,44,0.6); }
.btn-secondary {
  color: var(--text); background: var(--glass);
  border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.btn-secondary:hover { transform: translateY(-4px) scale(1.04); background: var(--card-hover); border-color: var(--red); color: var(--red); }
.btn-block { width: 100%; justify-content: center; }
.btn-large { padding: 18px 40px; font-size: 16px; }

/* Ripple */
.ripple-effect {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: scale(0); animation: rippleAnim .6s linear; pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ═══════════════════════════════════════════════════════════════
   CARDS — INTRO / SERVICE / WHY
═══════════════════════════════════════════════════════════════ */
.intro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 60px; }
.intro-card {
  padding: 36px; background: var(--card);
  border: 1px solid var(--border-dim); border-radius: 16px;
  transition: transform .3s cubic-bezier(.23,1,.32,1), box-shadow .3s, border-color .3s;
  opacity: 0; transform: translateY(26px);
  animation: fadeInUp .9s cubic-bezier(.23,1,.32,1) forwards;
  position: relative; overflow: hidden;
}
.intro-card::before {
  content: ''; position: absolute; top: -60%; left: -60%;
  width: 60%; height: 180%;
  background: linear-gradient(105deg, transparent 40%, rgba(192,25,44,0.05) 50%, transparent 60%);
  transform: skewX(-15deg);
  transition: left .6s cubic-bezier(.23,1,.32,1); pointer-events: none;
}
.intro-card:hover::before { left: 160%; }
.intro-card:nth-child(1) { animation-delay: .1s; }
.intro-card:nth-child(2) { animation-delay: .2s; }
.intro-card:nth-child(3) { animation-delay: .3s; }
.intro-card:nth-child(4) { animation-delay: .4s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.intro-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 0 1px var(--border); border-color: var(--border); }
.intro-icon { font-size: 28px; margin-bottom: 16px; }
.intro-card h3 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.intro-card p { font-size: 13.5px; line-height: 1.7; color: var(--text-mid); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 60px; }
.service-card {
  padding: 40px; background: var(--card);
  border: 1px solid var(--border-dim); border-radius: 16px;
  transition: transform .3s cubic-bezier(.23,1,.32,1), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: -60%; left: -60%;
  width: 60%; height: 180%;
  background: linear-gradient(105deg, transparent 40%, rgba(192,25,44,0.04) 50%, transparent 60%);
  transform: skewX(-15deg);
  transition: left .6s cubic-bezier(.23,1,.32,1); pointer-events: none;
}
.service-card:hover::before { left: 160%; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(0,0,0,0.5), 0 0 0 1px var(--border); border-color: var(--border); }
.service-icon { font-size: 36px; margin-bottom: 20px; }
.service-card h3 { font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.service-card p { font-size: 14px; line-height: 1.75; color: var(--text-mid); margin-bottom: 24px; }
.service-list { list-style: none; }
.service-list li { font-size: 13px; padding: 8px 0; color: var(--text-mid); border-bottom: 1px solid var(--border-dim); }
.service-list li:last-child { border-bottom: none; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 60px; }
.why-card {
  padding: 32px; background: var(--card);
  border: 1px solid var(--border-dim); border-radius: 14px;
  transition: transform .3s cubic-bezier(.23,1,.32,1), box-shadow .3s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.4); border-color: var(--border); }
.why-card h3 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.why-card p { font-size: 13.5px; line-height: 1.7; color: var(--text-mid); }

/* ═══════════════════════════════════════════════════════════════
   CTA BOXES
═══════════════════════════════════════════════════════════════ */
.cta-box {
  margin-top: 80px; padding: 48px;
  background: linear-gradient(135deg, rgba(139,0,0,0.12) 0%, rgba(192,25,44,0.06) 100%);
  border: 1px solid var(--border);
  border-radius: 20px; text-align: center;
  box-shadow: 0 0 60px rgba(139,0,0,0.08);
}
.cta-box h3 { font-size: 28px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.cta-box p { font-size: 15px; color: var(--text-mid); margin-bottom: 28px; }
.cta-section { background: linear-gradient(135deg, rgba(139,0,0,0.08) 0%, rgba(192,25,44,0.03) 100%); text-align: center; }
.cta-section h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.cta-section p { font-size: 16px; color: var(--text-mid); margin-bottom: 36px; }

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════════════════════════ */
.portfolio-preview { margin-top: 60px; }
.portfolio-item { margin-bottom: 80px; }
.portfolio-item h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 600; color: var(--text); margin-bottom: 12px; }
.project-meta {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 24px;
}
.project-description { font-size: 15px; line-height: 1.8; color: var(--text-mid); margin-bottom: 32px; max-width: 700px; }
.project-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 40px; }
.highlight {
  padding: 20px; background: var(--card);
  border: 1px solid var(--border-dim); border-radius: 12px;
  font-size: 13px; line-height: 1.7; color: var(--text-mid);
}
.highlight strong { color: var(--red); display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

/* Slider */
.slider-container {
  position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--border-dim);
  box-shadow: 0 20px 56px var(--shadow); margin: 40px 0;
  background: var(--card); user-select: none; -webkit-user-select: none;
  touch-action: none;
}
.slider-pane { position: absolute; inset: 0; overflow: hidden; }
.slider-pane-after { z-index: 1; }
.slider-pane-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.mockup { width: 100%; height: 100%; display: flex; flex-direction: column; }
.mockup-after { background: #f0f4f8; font-family: system-ui, -apple-system, sans-serif; }
.mock-nav { background: rgba(255,255,255,0.95); padding: clamp(8px,2vw,16px) clamp(12px,2.5vw,24px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(140,170,200,0.2); flex-shrink: 0; }
.mock-logo { font-weight: 800; font-size: clamp(10px,1.8vw,16px); color: #1a2533; }
.mock-nav-links { font-size: clamp(7px,1.2vw,11px); color: #6b88a4; font-weight: 500; }
.mock-cta { background: linear-gradient(135deg, #1a2533, #2e4560); color: white; padding: clamp(4px,1vw,8px) clamp(10px,1.8vw,16px); border-radius: 6px; font-size: clamp(7px,1.2vw,11px); font-weight: 700; }
.mock-hero { background: linear-gradient(145deg, #0f1c2e 0%, #1a2e47 100%); padding: clamp(12px,2.5vw,24px); flex: 1; display: flex; flex-direction: column; justify-content: center; color: white; }
.mock-hero h2 { font-size: clamp(12px,2.5vw,24px); font-weight: 800; margin-bottom: 8px; }
.mock-hero p { font-size: clamp(8px,1.4vw,12px); color: rgba(220,232,245,0.7); margin-bottom: 12px; }
.mock-btn { background: linear-gradient(135deg, #6b9ec7, #4a7fa8); color: white; border: none; padding: clamp(5px,1vw,8px) clamp(12px,2vw,18px); border-radius: 6px; font-size: clamp(7px,1.2vw,11px); font-weight: 700; cursor: pointer; width: fit-content; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(6px,1vw,10px); padding: clamp(8px,1.5vw,14px); background: #f8fafb; }
.mock-card { background: white; padding: clamp(6px,1.2vw,10px); border-radius: 8px; font-size: clamp(6px,1vw,9px); font-weight: 600; color: #1a2533; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.mockup-before { background: #ffffff; font-family: 'Comic Sans MS', cursive; }
.mock-nav-before { background: linear-gradient(to right,#0000cc,#0066ff); padding: clamp(4px,1vw,8px); display: flex; align-items: center; gap: 6px; border-bottom: 4px solid #ffff00; flex-wrap: wrap; flex-shrink: 0; }
.mock-nav-before span { color: #ffff00; font-size: clamp(7px,1.5vw,12px); font-weight: bold; text-shadow: 1px 1px #000; }
.mock-nav-before a { color: #ffff00; font-size: clamp(6px,1vw,9px); background: #0000aa; border: 2px outset #ffff00; padding: 2px 6px; font-weight: bold; }
.mock-hero-before { background: linear-gradient(135deg,#ff6600,#ffcc00,#ff3300); padding: clamp(8px,2vw,14px); text-align: center; border: 4px dashed #cc0000; }
.mock-hero-before h1 { color: #cc0000; font-size: clamp(10px,2vw,18px); font-weight: bold; text-shadow: 2px 2px #000; margin: 0 0 6px 0; }
.mock-hero-before p { color: #000; font-size: clamp(6px,1.2vw,10px); margin-bottom: 8px; }
.mock-ticker { background: #ffff00; color: #cc0000; font-size: clamp(5px,1vw,8px); padding: 4px; border-top: 2px solid red; border-bottom: 2px solid red; font-weight: bold; animation: scroll-ticker 8s linear infinite; }
@keyframes scroll-ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.mock-body { padding: clamp(6px,1.2vw,12px); background: #eeeeee; flex: 1; overflow: hidden; }
.mock-content { background: #ccccff; border: 2px solid #0000cc; padding: 6px; font-size: clamp(5px,1vw,8px); height: 100%; }
.slider-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 10;
  width: 2px; background: var(--red); transform: translateX(-50%);
  box-shadow: 0 0 20px var(--red), 0 0 40px rgba(192,25,44,0.3); cursor: ew-resize;
}
.slider-handle::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 40px; height: 40px;
  border-radius: 50%; background: var(--void);
  border: 1.5px solid var(--red); box-shadow: 0 0 16px var(--red);
}
.slider-handle::after {
  content: '◀ ▶'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); font-size: 9px;
  color: var(--red); font-weight: 800; z-index: 1;
}
.slider-label {
  position: absolute; top: 16px; z-index: 5;
  padding: 5px 12px; border-radius: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.slider-label-before { left: 16px; background: rgba(192,25,44,0.85); color: white; }
.slider-label-after  { right: 16px; background: rgba(15,9,12,0.85); color: var(--text); border: 1px solid var(--border-dim); }
.slider-caption { text-align: center; margin-top: 14px; font-size: 12px; color: var(--text-light); font-style: italic; }

/* img slider (portfolio page) */
.img-slider-container {
  position: relative; width: 100%; aspect-ratio: 11/7; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--border-dim);
  box-shadow: 0 20px 56px var(--shadow); margin: 40px 0; background: var(--card);
  user-select: none; -webkit-user-select: none; touch-action: none; cursor: ew-resize;
}
.img-pane { position: absolute; inset: 0; overflow: hidden; }
.img-pane-after { z-index: 1; }
.img-pane-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.img-pane img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; pointer-events: none; }
.img-slider-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 10;
  width: 2px; background: var(--red); transform: translateX(-50%);
  box-shadow: 0 0 20px var(--red); cursor: ew-resize;
}
.img-slider-handle::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 40px; height: 40px;
  border-radius: 50%; background: var(--void);
  border: 1.5px solid var(--red); box-shadow: 0 0 16px var(--red);
}
.img-slider-handle::after {
  content: '◀ ▶'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); font-size: 9px; color: var(--red); font-weight: 800; z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS / STEPS
═══════════════════════════════════════════════════════════════ */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 60px; }
.step {
  padding: 36px; background: var(--card);
  border: 1px solid var(--border-dim); border-radius: 16px;
}
.step-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px; font-weight: 400; font-style: italic;
  color: var(--red); margin-bottom: 16px;
  text-shadow: 0 0 24px rgba(192,25,44,0.5);
}
.step h3 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.step p { font-size: 13.5px; line-height: 1.7; color: var(--text-mid); }

/* ═══════════════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 60px; }
.pricing-card {
  position: relative; padding: 40px; background: var(--card);
  border: 1px solid var(--border-dim); border-radius: 16px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.pricing-card::before {
  content: ''; position: absolute; top: -60%; left: -60%;
  width: 60%; height: 180%;
  background: linear-gradient(105deg, transparent 40%, rgba(192,25,44,0.04) 50%, transparent 60%);
  transform: skewX(-15deg); transition: left .6s cubic-bezier(.23,1,.32,1); pointer-events: none;
}
.pricing-card:hover::before { left: 160%; }
.pricing-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 40px rgba(192,25,44,0.15), 0 24px 56px rgba(0,0,0,0.4);
  background: linear-gradient(160deg, var(--elevated) 0%, var(--card) 100%);
}
.pricing-badge {
  position: absolute; top: -12px; left: 20px;
  background: linear-gradient(135deg, var(--red), var(--crimson));
  color: white; padding: 5px 14px; border-radius: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 4px 16px var(--shadow-red);
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(0,0,0,0.5); border-color: var(--border); }
.pricing-card.featured:hover { transform: translateY(-8px); }
.pricing-header { margin-bottom: 28px; }
.pricing-header h3 { font-size: 24px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.pricing-no-price .price-label { font-size: 14px; color: var(--red); font-weight: 600; font-style: italic; }
.pricing-subtext { font-size: 13px; color: var(--text-mid); margin-top: 8px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { font-size: 13.5px; padding: 9px 0; color: var(--text-mid); border-bottom: 1px solid var(--border-dim); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-note {
  margin-top: 80px; padding: 36px;
  background: linear-gradient(135deg, rgba(139,0,0,0.1) 0%, rgba(192,25,44,0.05) 100%);
  border: 1px solid var(--border); border-radius: 16px;
}
.pricing-note h3 { font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.pricing-note p { font-size: 14px; line-height: 1.8; color: var(--text-mid); }

/* ═══════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════ */
.about-content { max-width: 900px; margin: 0 auto; }
.about-content h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 38px; font-weight: 400; font-style: italic; color: var(--text); margin-bottom: 22px; margin-top: 60px; }
.about-content h2:first-child { margin-top: 0; }
.about-content h3 { font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 20px; margin-top: 44px; }
.about-content p { font-size: 15px; line-height: 1.85; color: var(--text-mid); margin-bottom: 16px; }
.about-content strong { color: var(--text); font-weight: 600; }
.background-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 28px; }
.background-item { padding: 28px; background: var(--card); border: 1px solid var(--border-dim); border-radius: 14px; }
.background-item h4 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.background-item p { font-size: 13px; margin-bottom: 8px; }
.approach-list { list-style: none; margin-top: 28px; }
.approach-list li { font-size: 15px; line-height: 1.8; color: var(--text-mid); margin-bottom: 14px; }
.approach-list li strong { color: var(--text); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   AUDIT / FORM
═══════════════════════════════════════════════════════════════ */
.audit-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 60px; }
.audit-info h2 { font-size: 26px; font-weight: 600; color: var(--text); margin-bottom: 28px; }
.audit-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 28px; }
.audit-item { padding: 22px; background: var(--card); border: 1px solid var(--border-dim); border-radius: 14px; }
.audit-icon { font-size: 28px; margin-bottom: 10px; }
.audit-item h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.audit-item p { font-size: 13px; line-height: 1.7; color: var(--text-mid); }
.audit-note { margin-top: 20px; padding: 16px; background: var(--red-pale); border: 1px solid var(--border); border-radius: 10px; font-size: 13px; line-height: 1.7; color: var(--text-mid); }
.audit-form-wrapper { display: flex; flex-direction: column; }
.audit-form { padding: 36px; background: var(--card); border: 1px solid var(--border-dim); border-radius: 16px; }
.audit-form h3 { font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 7px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px;
  background: var(--elevated); border: 1px solid var(--border-dim);
  border-radius: 10px; color: var(--text);
  font-family: 'Nunito', sans-serif; font-size: 14px;
  outline: none; resize: none;
  transition: border-color .2s, background .2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-faint); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--red); background: var(--card-hover); }
.form-note { font-size: 12px; color: var(--text-light); margin-top: 14px; font-style: italic; }
.form-success { display: none; text-align: center; padding: 44px 36px; background: var(--red-pale); border: 1px solid var(--border); border-radius: 16px; }
.success-icon { font-size: 44px; margin-bottom: 14px; }
.form-success h3 { font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.form-success p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO PAGE SPECIFIC
═══════════════════════════════════════════════════════════════ */
.accordion {
  margin: 1.5rem 0; border: 1px solid var(--border-dim);
  border-radius: 14px; overflow: hidden; background: var(--card);
}
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; background: none; border: none; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--text); text-align: left;
}
.accordion-trigger:hover { background: var(--glass-hover); }
.accordion-arrow { transition: transform .3s; color: var(--red); flex-shrink: 0; }
.accordion.open .accordion-arrow { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.23,1,.32,1); }
.accordion.open .accordion-body { max-height: 600px; }
.accordion-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--border-dim); }
.accordion-item { background: var(--card); padding: 20px; }
.accordion-icon { font-size: 20px; margin-bottom: 8px; }
.accordion-item h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.accordion-item p { font-size: 12.5px; line-height: 1.65; color: var(--text-mid); }

/* BrightNest highlights */
.brightnest-highlights {
  margin: 2rem 0; padding: 2px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(192,25,44,0.4), rgba(139,0,0,0.15), rgba(192,25,44,0.3));
  animation: highlightGlow 3s ease-in-out infinite;
}
@keyframes highlightGlow {
  0%, 100% { box-shadow: 0 0 24px rgba(192,25,44,0.15), 0 8px 32px var(--shadow); }
  50%       { box-shadow: 0 0 48px rgba(192,25,44,0.35), 0 8px 32px var(--shadow); }
}
.bnh-inner {
  display: flex; align-items: stretch; border-radius: 14px;
  background: var(--glass); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); overflow: hidden;
}
.bnh-item { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 20px 22px; }
.bnh-label { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.bnh-value { font-size: 13px; font-weight: 600; color: var(--text); }
.bnh-divider { width: 1px; background: var(--border-dim); margin: 12px 0; }
@media (max-width: 680px) {
  .bnh-inner { flex-direction: column; }
  .bnh-divider { width: auto; height: 1px; margin: 0 16px; }
}
.portfolio-screenshot { margin: 2.5rem 0; }
.portfolio-screenshot img { width: 100%; border-radius: 14px; border: 1px solid var(--border-dim); box-shadow: 0 16px 48px var(--shadow); display: block; }
.screenshot-caption { font-size: 12.5px; color: var(--text-light); margin-top: 10px; padding-left: 2px; line-height: 1.6; }
.case-section { margin: 2rem 0; }
.case-heading { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 500; font-style: italic; color: var(--text); margin-bottom: 12px; }
.case-section p { font-size: 14.5px; line-height: 1.8; color: var(--text-mid); margin-bottom: 10px; }
.case-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 1rem; }
.case-goal { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--border-dim); border-radius: 10px; padding: 14px 16px; }
.case-goal span { font-size: 11px; font-weight: 800; color: var(--red); letter-spacing: 0.05em; flex-shrink: 0; padding-top: 2px; }
.case-goal p { font-size: 13.5px; color: var(--text-mid); margin: 0; line-height: 1.6; }
@media (max-width: 600px) { .case-goals { grid-template-columns: 1fr; } }
.case-tech { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5rem 0 0; }
.case-tech span { font-size: 11px; font-weight: 700; color: var(--red); background: var(--red-pale); border: 1px solid rgba(192,25,44,0.25); border-radius: 20px; padding: 5px 14px; letter-spacing: 0.04em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border-dim);
  padding: 48px 7vw; background: var(--deep);
}
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-section h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.footer-section p { font-size: 13px; color: var(--text-mid); margin-bottom: 6px; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 8px; }
.footer-section ul li a { font-size: 13px; color: var(--text-light); text-decoration: none; transition: color .2s; }
.footer-section ul li a:hover { color: var(--red); }
.footer-bottom { text-align: center; padding-top: 32px; border-top: 1px solid var(--border-dim); font-size: 12px; color: var(--text-faint); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .75s cubic-bezier(.23,1,.32,1), transform .75s cubic-bezier(.23,1,.32,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: .05s; } .stagger-2 { transition-delay: .12s; }
.stagger-3 { transition-delay: .19s; } .stagger-4 { transition-delay: .26s; }
.stagger-5 { transition-delay: .33s; } .stagger-6 { transition-delay: .40s; }

/* ── Cursor glow ──────────────────────────────────────────────── */
.cursor-glow {
  position: fixed; width: 340px; height: 340px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(192,25,44,0.06) 0%, transparent 70%);
}

/* ── Page fade in ─────────────────────────────────────────────── */
main, .section, .page-header { animation: pageFadeIn .6s cubic-bezier(.23,1,.32,1) both; }
@keyframes pageFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 0 6vw 80px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .services-grid, .pricing-grid, .why-grid, .intro-grid { grid-template-columns: 1fr; }
  .audit-wrapper { grid-template-columns: 1fr; }
  .audit-items { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .scroll-indicator { display: none; }
  .page-header { padding: 120px 6vw 80px; }
}

/* ═══════════════════════════════════════════════════════════════
   DRAMATIC LOADER EXTRAS
═══════════════════════════════════════════════════════════════ */

/* Center the logo + name + bar as a unit */
.loader-center {
  display: flex; flex-direction: column; align-items: center;
  gap: 0; position: relative; z-index: 2;
}
.loader-center .loader-mark { margin-bottom: 36px; }
.loader-center .loader-bar  { margin-top: 28px; }

/* Red flash that fires at start then fades */
.loader-flash {
  position: absolute; inset: 0; z-index: 10;
  background: radial-gradient(ellipse at 50% 50%, rgba(192,25,44,0.35) 0%, transparent 70%);
  animation: flashIn 0.6s cubic-bezier(.23,1,.32,1) 0.1s both;
  pointer-events: none;
}
@keyframes flashIn {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

/* Horizontal glitch lines */
.loader-glitch-1,
.loader-glitch-2,
.loader-glitch-3 {
  position: absolute; left: 0; right: 0;
  height: 1px; pointer-events: none; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(192,25,44,0.6) 30%, rgba(192,25,44,0.8) 50%, rgba(192,25,44,0.6) 70%, transparent);
  opacity: 0;
}
.loader-glitch-1 { top: 28%; animation: glitchLine 3s ease-in-out 0.3s infinite; }
.loader-glitch-2 { top: 55%; animation: glitchLine 3s ease-in-out 0.9s infinite; }
.loader-glitch-3 { top: 78%; animation: glitchLine 3s ease-in-out 1.5s infinite; }

@keyframes glitchLine {
  0%        { opacity: 0; transform: scaleX(0); transform-origin: left; }
  8%        { opacity: 1; transform: scaleX(1); transform-origin: left; }
  14%       { opacity: 0.2; transform: translateX(8px) scaleX(0.95); }
  18%       { opacity: 0; }
  100%      { opacity: 0; }
}

/* Loader corners — make them larger and more dramatic */
.loader-corners {
  position: fixed; inset: 24px;
  pointer-events: none; z-index: 2;
}
.loader-corner {
  position: absolute; width: 28px; height: 28px;
  border-color: var(--red); border-style: solid; opacity: 0;
  animation: cornerIn 0.5s cubic-bezier(.23,1,.32,1) forwards;
  box-shadow: 0 0 12px rgba(192,25,44,0.5);
}
.loader-corner-tl { top: 0; left: 0; border-width: 2px 0 0 2px; animation-delay: 0.15s; }
.loader-corner-tr { top: 0; right: 0; border-width: 2px 2px 0 0; animation-delay: 0.25s; }
.loader-corner-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; animation-delay: 0.3s; }
.loader-corner-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; animation-delay: 0.35s; }
@keyframes cornerIn {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

/* Corner breathing pulse once drawn */
.loader-corner-tl { animation: cornerIn 0.5s cubic-bezier(.23,1,.32,1) 0.15s forwards, cornerGlow 2s ease-in-out 0.8s infinite; }
.loader-corner-tr { animation: cornerIn 0.5s cubic-bezier(.23,1,.32,1) 0.25s forwards, cornerGlow 2s ease-in-out 1.0s infinite; }
.loader-corner-bl { animation: cornerIn 0.5s cubic-bezier(.23,1,.32,1) 0.30s forwards, cornerGlow 2s ease-in-out 1.1s infinite; }
.loader-corner-br { animation: cornerIn 0.5s cubic-bezier(.23,1,.32,1) 0.35s forwards, cornerGlow 2s ease-in-out 1.2s infinite; }
@keyframes cornerGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(192,25,44,0.4); opacity: 1; }
  50%       { box-shadow: 0 0 24px rgba(192,25,44,0.9), 0 0 48px rgba(192,25,44,0.3); opacity: 1; }
}

/* Loader scan — now faster and more vivid */
.loader-scan {
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px; z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(192,25,44,0.3) 20%, var(--red-bright) 50%, rgba(192,25,44,0.3) 80%, transparent 100%);
  box-shadow: 0 0 24px rgba(192,25,44,0.8), 0 0 80px rgba(192,25,44,0.3);
  animation: scanDown 1.4s cubic-bezier(.4,0,.6,1) 0.05s forwards;
}
@keyframes scanDown {
  0%   { top: 0; opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

/* ── HB monogram B arc animation ─────────────────────────────── */
.loader-arc2 {
  animation: drawStem .5s cubic-bezier(.23,1,.32,1) 1.15s forwards;
}

/* ── Nav logo hover glow ──────────────────────────────────────── */
.nav-logo svg {
  transition: filter .3s;
  filter: drop-shadow(0 0 0px rgba(192,25,44,0));
}
.nav-logo:hover svg {
  filter: drop-shadow(0 0 8px rgba(192,25,44,0.6));
}

/* ── Founder cards ─────────────────────────────────────────────── */
.founder-card .founder-role {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 12px; margin-top: -4px;
}
.founder-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px; font-style: italic; font-weight: 400;
  color: var(--text); margin-bottom: 4px;
}

/* ── Founders grid ─────────────────────────────────────────────── */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 640px) {
  .founders-grid { grid-template-columns: 1fr; }
}
.founder-block {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 36px; background: var(--card);
  border: 1px solid var(--border-dim); border-radius: 16px;
  transition: border-color .3s, box-shadow .3s;
}
.founder-block:hover {
  border-color: var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(192,25,44,0.1);
}
.founder-initial {
  flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--red) 0%, var(--crimson) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px; font-style: italic; font-weight: 400;
  color: white;
  box-shadow: 0 4px 20px var(--shadow-red);
}
.founder-info h3 {
  font-size: 18px; font-weight: 600; color: var(--text);
  margin-bottom: 4px;
}
.founder-info .founder-role {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 12px; display: block;
}
.founder-info p {
  font-size: 13.5px; line-height: 1.75; color: var(--text-mid);
}
