/* yes i write my own css. no i don't use tailwind. yes i know what specificity is. */
/* if you're copying this pricing layout, at least change the colors */

/* =========================================================================
   DESIGN TOKENS -- DARK (homepage default)
   ========================================================================= */
:root {
  --bg:          #0e0e0e;
  --bg-2:        #161616;
  --bg-3:        #1f1f1f;
  --bg-4:        #272727;
  --surface:     #1a1a1a;
  --border:      #282828;
  --border-2:    #353535;
  --text:        #f2f2f2;
  --text-2:      #b8b8b8;
  --muted:       #666666;
  --muted-2:     #3a3a3a;

  /* dark theme: deep red base, bright red on hover */
  --red:         #c0271f;
  --red-hover:   #e53e3e;
  --red-dark:    #a01e17;
  --red-bg:      #260d0b;

  --white:       #ffffff;
  --black:       #000000;

  --font-body:    'Fira Sans Condensed', sans-serif;
  --font-display: 'Montserrat', sans-serif;
  --font-mono:    'Fira Code', monospace;

  --radius:      999px;
  --radius-card: 12px;
  --radius-sm:   4px;
  --radius-lg:   16px;

  --gap:         24px;
  --section-pad: 100px;
  --wrap:        1160px;

  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================================================
   LIGHT THEME -- applied via [data-theme="light"] on <html> OR body.ep-light
   ========================================================================= */
:root[data-theme="light"],
:root[data-theme="light"] body,
body.ep-light {
  --bg:      #f0efeb;
  --bg-2:    #e8e7e2;
  --bg-3:    #e0dfd9;
  --bg-4:    #d8d7d0;
  --surface: #e8e7e2;
  --border:  #cccbc3;
  --border-2:#b8b7ae;
  --text:    #111111;
  --text-2:  #3a3a3a;
  --muted:   #777770;
  --muted-2: #aaaaaa;

  /* light theme inherits bright red directly */
  --red:        #d42b1f;
  --red-hover:  #e53e3e;
  --red-dark:   #b02218;
  --red-bg:     #f9e6e5;
}

/* =========================================================================
   RESET & BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.02em;
}

ul { list-style: none; }

/* =========================================================================
   UTILITY
   ========================================================================= */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.red   { color: var(--red); }
.muted { color: var(--muted); }
.mono  { font-family: var(--font-mono); }

/* section label -- plain text style, no badge */
.ep-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

/* keep .ep-eyebrow as alias for anything not yet converted */
.ep-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.ep-section-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.04;
  color: var(--text);
  margin-bottom: 16px;
}

.ep-section-lead {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 48px;
}

/* =========================================================================
   WAVE DIVIDERS
   ========================================================================= */
.ep-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}
.ep-wave svg {
  display: block;
  width: 100%;
  height: auto;
}
.ep-section-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* =========================================================================
   ANIMATIONS
   ========================================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes ep-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes ep-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes ep-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}
@keyframes liquid-in {
  from { clip-path: ellipse(60% 0% at 50% 100%); opacity: 0; }
  to   { clip-path: ellipse(100% 100% at 50% 50%); opacity: 1; }
}

/* Scroll reveal */
.ep-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  will-change: opacity, transform;
}
.ep-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.ep-reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.ep-reveal-left.visible { opacity: 1; transform: translateX(0); }
.ep-reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-spring);
}
.ep-reveal-scale.visible { opacity: 1; transform: scale(1); }

.ep-d1 { transition-delay: 0.07s; }
.ep-d2 { transition-delay: 0.14s; }
.ep-d3 { transition-delay: 0.21s; }
.ep-d4 { transition-delay: 0.28s; }
.ep-d5 { transition-delay: 0.35s; }

/* =========================================================================
   BUTTONS -- ALL PILL SHAPED
   the buttons took 3 rounds of feedback. the pill shape was always the answer.
   ========================================================================= */
.ep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.ep-btn:hover { text-decoration: none; transform: translateY(-1px); }
.ep-btn:active { transform: scale(0.97) translateY(0); }

.ep-btn-red {
  background: var(--red);
  color: var(--white);
}
.ep-btn-red:hover {
  background: var(--red-hover);
  color: var(--white);
}

.ep-btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.ep-btn-outline:hover { border-color: var(--text); color: var(--text); }

.ep-btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border);
}
.ep-btn-ghost:hover { color: var(--text); border-color: var(--border-2); }

.ep-btn-dark {
  background: var(--bg-4);
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.ep-btn-dark:hover { background: var(--bg-3); border-color: var(--text); }

/* light theme button overrides -- must come before data-theme light body a rule */
:root[data-theme="light"] body .ep-btn-red,
body.ep-light .ep-btn-red,
:root[data-theme="light"] body .ep-btn-red:hover,
body.ep-light .ep-btn-red:hover { color: #ffffff !important; }
:root[data-theme="light"] body .ep-btn-ghost,
body.ep-light .ep-btn-ghost {
  color: var(--text-2);
  border-color: var(--border);
}
:root[data-theme="light"] body .ep-btn-ghost:hover,
body.ep-light .ep-btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-2);
}
:root[data-theme="light"] body .ep-btn-outline,
body.ep-light .ep-btn-outline {
  color: var(--text);
  border-color: var(--border-2);
}
:root[data-theme="light"] body .ep-btn-outline:hover,
body.ep-light .ep-btn-outline:hover {
  border-color: var(--text);
}

/* =========================================================================
   NAV
   ========================================================================= */
/* this nav took three iterations. the first two were embarrassing. */
.ep-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  transition: all 0.3s var(--ease);
  width: calc(100% - 32px);
  max-width: var(--wrap);
}

.ep-nav-inner {
  background: rgba(17, 17, 17, 0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 8px 12px 8px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

:root[data-theme="light"] body .ep-nav-inner,
body.ep-light .ep-nav-inner {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0,0,0,0.08);
}

.ep-nav.ep-nav-scrolled .ep-nav-inner {
  background: rgba(12, 12, 12, 0.97);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

:root[data-theme="light"] body .ep-nav.ep-nav-scrolled .ep-nav-inner,
body.ep-light .ep-nav.ep-nav-scrolled .ep-nav-inner {
  background: rgba(255,255,255,0.98);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.ep-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.ep-nav-brand:hover { text-decoration: none; }

.ep-nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--red);
  flex-shrink: 0;
}

.ep-nav-brand-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
:root[data-theme="light"] body .ep-nav-brand-name,
body.ep-light .ep-nav-brand-name { color: var(--text); }
.ep-nav-brand-name span { color: var(--red); }

.ep-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.ep-nav-links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  padding: 7px 14px;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.ep-nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.ep-nav-links a.ep-nav-active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

:root[data-theme="light"] body .ep-nav-links a,
body.ep-light .ep-nav-links a { color: var(--text-2); }
:root[data-theme="light"] body .ep-nav-links a:hover,
body.ep-light .ep-nav-links a:hover { color: var(--text); background: var(--bg-3); }
:root[data-theme="light"] body .ep-nav-links a.ep-nav-active,
body.ep-light .ep-nav-links a.ep-nav-active {
  color: var(--text);
  background: var(--bg-3);
  border-radius: 999px;
  padding: 4px 14px;
}

.ep-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ep-nav-cta {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.ep-nav-cta:hover { background: var(--red-hover); color: var(--white); text-decoration: none; transform: translateY(-1px); }

/* Client login button -- desktop */
.ep-nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.ep-nav-login:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.05);
  text-decoration: none;
}
.ep-nav-login svg { flex-shrink: 0; opacity: 0.7; }
.ep-nav-login:hover svg { opacity: 1; }

:root[data-theme="light"] body .ep-nav-login,
body.ep-light .ep-nav-login {
  color: var(--text-2);
  border-color: var(--border);
}
:root[data-theme="light"] body .ep-nav-login:hover,
body.ep-light .ep-nav-login:hover {
  color: var(--text);
  border-color: var(--border-2);
  background: var(--bg-3);
}

/* Theme toggle button */
.ep-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  cursor: pointer;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  flex-shrink: 0;
  padding: 0;
}
.ep-theme-toggle:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
}
:root[data-theme="light"] body .ep-theme-toggle,
body.ep-light .ep-theme-toggle {
  color: var(--text-2);
  border-color: var(--border);
}
:root[data-theme="light"] body .ep-theme-toggle:hover,
body.ep-light .ep-theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-2);
  background: var(--bg-3);
}

/* show moon when dark, sun when light */
.ep-theme-icon-sun { display: none; }
.ep-theme-icon-moon { display: block; }
:root[data-theme="light"] .ep-theme-icon-sun { display: block; }
:root[data-theme="light"] .ep-theme-icon-moon { display: none; }

/* mobile toggle full-width row in mobile nav */
.ep-theme-toggle-mobile {
  width: 100%;
  height: auto;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  border-top: none;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
}
.ep-theme-toggle-mobile:hover { color: var(--text); background: transparent; border-color: var(--border); }
.ep-theme-toggle-mobile .ep-theme-label { font-size: 18px; font-weight: 700; }

.ep-nav-burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--white);
  flex-direction: column;
  gap: 4px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}
:root[data-theme="light"] body .ep-nav-burger,
body.ep-light .ep-nav-burger { color: var(--text); }
.ep-nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.ep-nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ep-nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ep-nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav drawer */
.ep-nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  flex-direction: column;
  padding: 80px 32px 40px;
}
.ep-nav-mobile.open { display: flex; }
.ep-nav-mobile a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
  transition: color 0.15s, padding-left 0.2s var(--ease);
}
.ep-nav-mobile a:hover { color: var(--red); padding-left: 8px; text-decoration: none; }
.ep-nav-mobile a.ep-nav-active { color: var(--red); }
.ep-nav-mobile a:last-child { border-bottom: none; }
/* Client login in mobile drawer */
.ep-nav-mobile .ep-nav-mobile-login {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: color 0.15s, padding-left 0.15s;
}
.ep-nav-mobile .ep-nav-mobile-login:hover {
  color: var(--text);
  padding-left: 8px;
}
.ep-nav-mobile .ep-nav-mobile-login svg { opacity: 0.55; flex-shrink: 0; transition: opacity 0.15s; }
.ep-nav-mobile .ep-nav-mobile-login:hover svg { opacity: 1; }

.ep-nav-mobile .ep-nav-mobile-cta {
  margin-top: 32px;
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 16px 24px;
  border-radius: 999px;
  border-bottom: none;
  font-size: 18px;
}
.ep-nav-mobile .ep-nav-mobile-cta:hover { background: var(--red-hover); color: var(--white); padding-left: 0; }

/* =========================================================================
   SECTIONS
   ========================================================================= */
.ep-section      { padding: var(--section-pad) 0; }
.ep-section-sm   { padding: 64px 0; }
.ep-section-xs   { padding: 40px 0; }

/* =========================================================================
   HERO -- 100VH
   z-stack: 0 car photo / 1 red glow / 2 dark scrim / 3 content
   ========================================================================= */
.ep-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.ep-hero-car-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--hero-car-bg) no-repeat center / cover;
  opacity: 0.85;
  pointer-events: none;
}

.ep-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 55% 55% at 70% 35%, rgba(229,62,62,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 20% 70%, rgba(229,62,62,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.ep-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to right, rgba(15,15,15,0.88) 0%, rgba(15,15,15,0.65) 45%, rgba(15,15,15,0.35) 100%),
    linear-gradient(to bottom, rgba(15,15,15,0.35) 0%, transparent 25%, transparent 70%, rgba(15,15,15,0.6) 100%);
  pointer-events: none;
}

.ep-hero > .wrap {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

.ep-hero-inner {
  max-width: 640px;
  padding: 80px 0;
}

.ep-hero-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ep-hero-title {
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.ep-hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 40px;
}

.ep-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ep-hero-note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* Hero scroll indicator */
.ep-hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  animation: ep-float 2.5s ease-in-out infinite;
}
.ep-hero-scroll span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ep-hero-scroll svg { color: var(--muted); }

/* =========================================================================
   MARQUEE
   ========================================================================= */
.ep-marquee-wrap {
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}
.ep-marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ep-marquee 32s linear infinite;
}
.ep-marquee-item {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 14px;
}
.ep-marquee-item::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =========================================================================
   SERVICES
   ========================================================================= */
.ep-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 48px;
}

.ep-service-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: border-color 0.2s, transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.ep-service-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.ep-service-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}
.ep-service-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}
.ep-service-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

/* =========================================================================
   QUOTE STRIP
   ========================================================================= */
.ep-quote-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.ep-quote-strip blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.ep-quote-strip blockquote .red { color: var(--red); }
.ep-quote-strip blockquote .muted { color: var(--muted); }

/* =========================================================================
   ABOUT
   ========================================================================= */
.ep-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ep-about-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ep-about-img img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease);
}
.ep-about-img:hover img { transform: scale(1.02); }

.ep-about-content h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 20px;
}
.ep-about-content p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
}
.ep-about-content p:last-of-type { margin-bottom: 32px; }

.ep-about-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.ep-about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.04em;
}
.ep-about-stat span {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =========================================================================
   MANSKIPORT STRIP
   ========================================================================= */
.ep-mp-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
.ep-mp-strip-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.ep-mp-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: ep-pulse 1.6s infinite;
  margin-right: 10px;
  vertical-align: middle;
}
.ep-mp-strip h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  margin-bottom: 12px;
}
.ep-mp-strip p {
  font-size: 16px;
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.65;
}
.ep-mp-strip-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  min-width: 200px;
}
.ep-mp-strip-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* =========================================================================
   WORK GRID + CARDS
   ========================================================================= */
.ep-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.ep-work-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.25s var(--ease-spring), box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.ep-work-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
}

.ep-work-thumb {
  width: 100%;
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 16/9;
  position: relative;
}
.ep-work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
  display: block;
}
.ep-work-card:hover .ep-work-thumb img { transform: scale(1.04); }

.ep-work-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.ep-work-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ep-work-status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: var(--bg-4);
  color: var(--muted);
}
.ep-work-status.live {
  background: #0d2818;
  color: #4caf73;
}
:root[data-theme="light"] body .ep-work-status.live,
body.ep-light .ep-work-status.live {
  background: #e6f5ec;
  color: #2a7d4a;
}
.ep-work-status.in-progress {
  background: #1a1a0a;
  color: #c9a227;
}
:root[data-theme="light"] body .ep-work-status.in-progress,
body.ep-light .ep-work-status.in-progress {
  background: #fdf8e6;
  color: #9a7a1a;
}

.ep-work-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.ep-work-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.ep-work-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ep-work-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  background: var(--bg-4);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ep-work-tag:hover, .ep-work-tag.active {
  background: var(--red);
  color: var(--white);
}
:root[data-theme="light"] body .ep-work-tag,
body.ep-light .ep-work-tag {
  background: var(--bg-3);
}

.ep-work-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.ep-work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  text-decoration: none;
  transition: color 0.15s;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-work-link:hover { color: var(--text); text-decoration: none; }

/* =========================================================================
   PORTFOLIO FILTERS
   ========================================================================= */
.ep-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  margin-top: 12px;
}
.ep-filter-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ep-filter-btn:hover { border-color: var(--border-2); color: var(--text); }
.ep-filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* =========================================================================
   PRICING PACKAGES
   ========================================================================= */
/* if you're copying this pricing layout, at least change the colors */
.ep-pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: start;
}

.ep-pkg-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
  transition: border-color 0.2s, transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.ep-pkg-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
}
:root[data-theme="light"] body .ep-pkg-card:hover,
body.ep-light .ep-pkg-card:hover { }

.ep-pkg-card.ep-pkg-featured {
  border-color: var(--red);
  background: var(--bg-2);
}
.ep-pkg-card.ep-pkg-featured:hover {
  border-color: var(--red-hover);
}

.ep-pkg-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.ep-pkg-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.ep-pkg-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.ep-pkg-price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.ep-pkg-price-note {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  font-weight: 400;
  margin-top: 4px;
  margin-bottom: 24px;
}
.ep-pkg-features {
  border-top: 1px solid var(--border);
  margin: 20px 0;
  padding-top: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ep-pkg-features li {
  font-size: 14px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.ep-pkg-features li::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='7' fill='%23e53e3e'/%3E%3Cpath d='M4 7l2 2 4-4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}
.ep-pkg-card .ep-btn {
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* =========================================================================
   STEPS / PROCESS
   ========================================================================= */
.ep-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.ep-step-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
  transition: transform 0.25s var(--ease-spring), border-color 0.2s;
}
.ep-step-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.ep-step-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: var(--border-2);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.ep-step-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.ep-step-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* =========================================================================
   REVIEWS
   ========================================================================= */
.ep-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.ep-review-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s var(--ease-spring), border-color 0.2s;
}
.ep-review-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.ep-review-stars { color: var(--red); font-size: 14px; letter-spacing: 3px; }
.ep-review-body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}
.ep-review-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.ep-review-author span { font-size: 13px; color: var(--muted); }

/* =========================================================================
   CONTACT FORM
   ========================================================================= */
.ep-contact-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}
.ep-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ep-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ep-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ep-form-field label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-2);
}
.ep-form-field input,
.ep-form-field select,
.ep-form-field textarea {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.ep-form-field input:focus,
.ep-form-field select:focus,
.ep-form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12);
}
.ep-form-field select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.ep-form-field textarea { resize: vertical; min-height: 140px; border-radius: 12px; }
.ep-honeypot { display: none !important; }

.ep-form-error {
  background: var(--red-bg);
  border: 1px solid var(--red);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--red);
}
.ep-form-success {
  background: #0d2818;
  border: 1px solid #4caf73;
  border-radius: 12px;
  padding: 24px;
  color: #4caf73;
  font-size: 16px;
  font-family: var(--font-display);
  font-weight: 700;
}
:root[data-theme="light"] body .ep-form-success,
body.ep-light .ep-form-success {
  background: #e6f5ec;
  color: #2a7d4a;
  border-color: #2a7d4a;
}
.ep-form-success p {
  margin-top: 8px;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--text-2);
  font-size: 14px;
}

.ep-contact-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}
.ep-contact-detail { display: flex; flex-direction: column; gap: 4px; }
.ep-contact-detail dt {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ep-contact-detail dd {
  font-size: 16px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
}
.ep-contact-detail dd a { color: var(--text); text-decoration: none; }
.ep-contact-detail dd a:hover { color: var(--red); }

/* =========================================================================
   INVESTMENT PAGE
   ========================================================================= */
.ep-investment-hero {
  padding: 140px 0 64px;
  text-align: center;
}
.ep-investment-hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  margin-bottom: 20px;
}
.ep-investment-hero p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.ep-booking-wrap {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 48px;
  margin-top: 48px;
}

/* Investment intent switcher */
.ep-intent-switcher {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.ep-intent-btn {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ep-intent-btn:hover { border-color: var(--border-2); color: var(--text); text-decoration: none; }
.ep-intent-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* =========================================================================
   MANSKIPORT SALES PAGE -- 100VH HERO
   ========================================================================= */
.ep-plugin-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
}
.ep-plugin-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 80% 40%, rgba(229,62,62,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 30% 35% at 10% 70%, rgba(229,62,62,0.04) 0%, transparent 55%);
  pointer-events: none;
}
.ep-plugin-hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: center;
  padding-bottom: 80px;
}
.ep-plugin-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.ep-plugin-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  animation: ep-pulse 1.6s infinite;
}
.ep-plugin-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.ep-plugin-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 36px;
}
.ep-plugin-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ep-plugin-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.07em;
}

.ep-plugin-price-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  text-align: center;
}
.ep-plugin-price-n {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.04em;
  line-height: 1;
}
.ep-plugin-price-n small { font-size: 24px; color: var(--red); font-weight: 600; }
.ep-plugin-price-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 8px 0 16px;
}
.ep-plugin-price-lock {
  font-size: 13px;
  color: var(--text-2);
  background: var(--bg-4);
  padding: 7px 16px;
  border-radius: 999px;
  display: inline-block;
}

/* Demo tabs */
.ep-demo-tabs { margin-top: 48px; }
.ep-demo-tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.ep-demo-tab-nav::-webkit-scrollbar { display: none; }
.ep-demo-tab-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  border-radius: 8px 8px 0 0;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.ep-demo-tab-btn:hover { color: var(--text); background: var(--bg-3); }
.ep-demo-tab-btn.active { color: var(--text); border-bottom-color: var(--red); background: transparent; }
.ep-demo-tab-panel { display: none; padding-top: 32px; }
.ep-demo-tab-panel.active { display: block; }
.ep-demo-tab-panel img { width: 100%; border-radius: var(--radius-card); border: 1px solid var(--border); display: block; }

/* Problem, Feature, Usecase, Why grids */
.ep-problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); margin-top: 48px; }
.ep-problem-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; transition: border-color 0.2s, transform 0.25s var(--ease-spring); }
.ep-problem-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.ep-problem-icon { font-size: 28px; margin-bottom: 14px; display: block; }
.ep-problem-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.ep-problem-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

.ep-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 48px; }
.ep-feature-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; transition: border-color 0.2s, transform 0.25s var(--ease-spring); }
.ep-feature-card:hover { border-color: var(--red); transform: translateY(-3px); }
.ep-feature-icon { font-size: 24px; display: block; margin-bottom: 12px; }
.ep-feature-card h4 { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.ep-feature-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }

.ep-usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 48px; }
.ep-usecase-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; }
.ep-usecase-header { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.ep-usecase-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ep-usecase-list li { font-size: 14px; color: var(--text-2); display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.ep-usecase-list li::before { content: ''; display: block; width: 4px; height: 4px; background: var(--red); border-radius: 50%; margin-top: 7px; flex-shrink: 0; }

.ep-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.ep-why-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: border-color 0.2s; }
.ep-why-card:hover { border-color: var(--border-2); }
.ep-why-check { width: 28px; height: 28px; background: var(--red); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; flex-shrink: 0; }
.ep-why-card strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.ep-why-card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

/* FAQ */
.ep-faq-list { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }
.ep-faq-item { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.ep-faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: background 0.15s;
}
.ep-faq-item summary:hover { background: var(--bg-3); }
.ep-faq-item summary::-webkit-details-marker { display: none; }
.ep-faq-item summary::after { content: '+'; font-size: 22px; color: var(--muted); flex-shrink: 0; line-height: 1; }
.ep-faq-item[open] summary::after { content: '-'; }
.ep-faq-item .ep-faq-body { padding: 4px 24px 20px; font-size: 15px; color: var(--text-2); line-height: 1.65; }

/* =========================================================================
   LOCATION LANDING PAGE
   ========================================================================= */
.ep-loc-hero { padding: 140px 0 80px; position: relative; }
.ep-loc-hero-breadcrumb { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 20px; }
.ep-loc-hero-breadcrumb a { color: var(--muted); text-decoration: none; }
.ep-loc-hero-breadcrumb a:hover { color: var(--text); }
.ep-loc-hero h1 { font-size: clamp(36px, 5.5vw, 64px); font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin-bottom: 24px; }
.ep-loc-hero p { font-size: 18px; color: var(--text-2); max-width: 600px; line-height: 1.65; margin-bottom: 16px; }
.ep-loc-credibility { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 24px; letter-spacing: 0.06em; }

/* Location trust row */
.ep-loc-trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ep-loc-trust-item { padding: 20px; border-left: 2px solid var(--red); }
.ep-loc-trust-item strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.ep-loc-trust-item p { font-size: 13px; color: var(--text-2); line-height: 1.55; margin: 0; }
@media (max-width: 900px) { .ep-loc-trust-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ep-loc-trust-row { grid-template-columns: 1fr; } }

.ep-loc-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 48px; }
.ep-loc-service-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; transition: border-color 0.15s; }
.ep-loc-service-card:hover { border-color: var(--red); }
.ep-loc-service-num { font-family: var(--font-mono); font-size: 11px; color: var(--muted); font-weight: 700; display: block; margin-bottom: 10px; }
.ep-loc-service-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.ep-loc-service-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
@media (max-width: 800px) { .ep-loc-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ep-loc-services-grid { grid-template-columns: 1fr; } }

.ep-loc-cta { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 64px; text-align: center; }
.ep-work-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }

/* Docs archive container */
.ep-docs-archive { padding: 120px 0 80px; }

/* =========================================================================
   ARCHIVE / PORTFOLIO
   ========================================================================= */
.ep-archive-page { padding: 140px 0 80px; }
.ep-archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); margin-top: 48px; }

/* =========================================================================
   SINGLE WORK -- CASE STUDY LAYOUT
   ========================================================================= */
.ep-single-work { padding: 140px 0 80px; }
.ep-single-work-inner { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.ep-single-work-meta { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.ep-single-work-detail dt { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.ep-single-work-detail dd { font-size: 15px; color: var(--text); font-weight: 500; }

/* Case study sections */
.ep-case-block { margin-bottom: 56px; }
.ep-case-block h2 { font-size: 26px; font-weight: 800; margin-bottom: 16px; color: var(--text); }
.ep-case-block p { font-size: 17px; color: var(--text-2); line-height: 1.75; margin-bottom: 16px; }
.ep-case-block ul { padding-left: 20px; list-style: disc; }
.ep-case-block ul li { font-size: 16px; color: var(--text-2); line-height: 1.65; margin-bottom: 8px; }

.ep-case-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.ep-case-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
}
.ep-case-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.ep-case-stat span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }

.ep-case-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.ep-case-gallery img { width: 100%; border-radius: var(--radius-card); border: 1px solid var(--border); }

/* =========================================================================
   BLOG SYSTEM
   ========================================================================= */
.ep-blog-archive { padding: 140px 0 80px; }

.ep-blog-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }

/* Blog grid layouts */
.ep-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.ep-blog-grid.ep-blog-list {
  grid-template-columns: 1fr;
}
.ep-blog-grid.ep-blog-magazine {
  grid-template-columns: repeat(2, 1fr);
}
.ep-blog-grid.ep-blog-magazine .ep-post-card:first-child {
  grid-column: 1 / -1;
}

/* Post card */
.ep-post-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.25s var(--ease-spring), box-shadow 0.25s;
  text-decoration: none;
  color: var(--text);
}
.ep-post-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--text);
}

.ep-post-thumb { width: 100%; overflow: hidden; aspect-ratio: 16/9; background: var(--bg-3); }
.ep-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); display: block; }
.ep-post-card:hover .ep-post-thumb img { transform: scale(1.04); }

.ep-post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.ep-post-category {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.ep-post-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.ep-post-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.ep-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.ep-post-date { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.ep-post-read-time { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

/* featured/magazine first card */
.ep-blog-magazine .ep-post-card:first-child .ep-post-thumb { aspect-ratio: 21/9; }
.ep-blog-magazine .ep-post-card:first-child .ep-post-title { font-size: 28px; }
.ep-blog-magazine .ep-post-card:first-child .ep-post-body { padding: 32px; }

/* List layout */
.ep-blog-list .ep-post-card { flex-direction: row; }
.ep-blog-list .ep-post-thumb { width: 280px; flex-shrink: 0; aspect-ratio: unset; min-height: 180px; }
.ep-blog-list .ep-post-body { padding: 28px; }

/* Single blog post */
.ep-single-post { padding: 140px 0 80px; }
.ep-single-post-inner { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
.ep-single-post-content { min-width: 0; }
.ep-post-header { margin-bottom: 40px; }
.ep-post-hero-img { width: 100%; border-radius: var(--radius-card); border: 1px solid var(--border); margin-bottom: 40px; }
.ep-post-content h2 { font-size: 26px; margin: 40px 0 14px; }
.ep-post-content h3 { font-size: 20px; margin: 30px 0 12px; }
.ep-post-content p { font-size: 17px; color: var(--text-2); line-height: 1.78; margin-bottom: 20px; }
.ep-post-content ul, .ep-post-content ol { padding-left: 24px; margin-bottom: 20px; }
.ep-post-content ul { list-style: disc; }
.ep-post-content ol { list-style: decimal; }
.ep-post-content li { font-size: 16px; color: var(--text-2); line-height: 1.65; margin-bottom: 8px; }
.ep-post-content a { color: var(--red); }
.ep-post-content blockquote { border-left: 3px solid var(--red); padding-left: 20px; margin: 28px 0; font-style: italic; color: var(--text-2); font-size: 18px; line-height: 1.65; }
.ep-post-content pre { background: var(--bg-3); border: 1px solid var(--border); border-radius: 8px; padding: 20px; overflow-x: auto; margin: 24px 0; }
.ep-post-content code { font-family: var(--font-mono); font-size: 14px; }
.ep-post-content img { border-radius: var(--radius-card); border: 1px solid var(--border); margin: 24px 0; }

.ep-post-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 28px; }
.ep-post-toc { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; }
.ep-post-toc h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.ep-post-toc a { display: block; font-size: 14px; color: var(--text-2); padding: 6px 0; border-bottom: 1px solid var(--border); text-decoration: none; transition: color 0.15s; }
.ep-post-toc a:last-child { border-bottom: none; }
.ep-post-toc a:hover { color: var(--red); }
.ep-post-share { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; text-align: center; }
.ep-post-share h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.ep-post-share-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   POLICY PAGES
   ========================================================================= */
.ep-policy-page { padding: 140px 0 80px; }
.ep-policy-content { max-width: 720px; }
.ep-policy-updated { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 40px; }
.ep-policy-content h2 { font-size: 22px; font-weight: 800; margin: 40px 0 12px; color: var(--text); }
.ep-policy-content h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; color: var(--text); }
.ep-policy-content p { font-size: 16px; color: var(--text-2); line-height: 1.75; margin-bottom: 16px; }
.ep-policy-content ul, .ep-policy-content ol { padding-left: 24px; margin-bottom: 20px; }
.ep-policy-content ul { list-style: disc; }
.ep-policy-content ol { list-style: decimal; }
.ep-policy-content li { font-size: 16px; color: var(--text-2); line-height: 1.65; margin-bottom: 8px; }
.ep-policy-content a { color: var(--red); }
.ep-policy-content code { font-family: var(--font-mono); background: var(--bg-3); padding: 2px 6px; border-radius: 4px; font-size: 13px; }

/* =========================================================================
   GENERIC PAGE
   ========================================================================= */
.ep-generic-page { padding: 140px 0 80px; min-height: 60vh; }
.ep-page-content p { font-size: 17px; color: var(--text-2); line-height: 1.75; margin-bottom: 20px; }
.ep-page-content h2 { font-size: 26px; margin: 36px 0 14px; }

/* =========================================================================
   SOCIALS / NEWSLETTER
   ========================================================================= */
.ep-socials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 40px; }

/* car background section */
.ep-social-section {
  position: relative;
  overflow: hidden;
}
.ep-social-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--social-bg-image);
  background-size: cover;
  background-position: center 40%;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  /* fade image from visible in center to fully transparent at top and bottom edges */
  mask-image: linear-gradient(to bottom, transparent 0%, black 28%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 28%, black 70%, transparent 100%);
}
.ep-social-section > * { position: relative; z-index: 1; }

.ep-social-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.25s var(--ease-spring);
  color: var(--text);
}
.ep-social-card:hover { border-color: var(--red); transform: translateY(-3px); text-decoration: none; color: var(--text); }
.ep-social-platform { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.ep-social-handle { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.ep-social-desc { font-size: 14px; color: var(--text-2); line-height: 1.55; }

.ep-newsletter-strip { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 72px 0; text-align: center; }
.ep-newsletter-strip h2 { font-size: clamp(24px, 3.5vw, 42px); margin-bottom: 12px; }
.ep-newsletter-strip p { font-size: 16px; color: var(--text-2); max-width: 480px; margin: 0 auto 28px; line-height: 1.65; }
.ep-newsletter-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.ep-newsletter-form input {
  flex: 1;
  background: var(--bg-3);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 20px;
  transition: border-color 0.15s;
  min-width: 0;
}
.ep-newsletter-form input:focus { outline: none; border-color: var(--red); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.ep-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.ep-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.ep-footer-brand { display: flex; flex-direction: column; gap: 14px; }
.ep-footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ep-footer-logo:hover { text-decoration: none; }
.ep-footer-logo-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); }
.ep-footer-logo-text { font-family: var(--font-display); font-size: 18px; font-weight: 900; color: var(--text); letter-spacing: -0.02em; }
.ep-footer-logo-text span { color: var(--red); }
.ep-footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 260px; }
.ep-footer-socials { display: flex; gap: 10px; }
.ep-footer-social { width: 36px; height: 36px; background: var(--bg-4); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; text-decoration: none; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.ep-footer-social:hover { border-color: var(--red); color: var(--red); background: var(--red-bg); text-decoration: none; }
.ep-footer-col h4 { font-family: var(--font-display); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 16px; }
.ep-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ep-footer-col a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.ep-footer-col a:hover { color: var(--text); text-decoration: none; }
.ep-footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ep-footer-bottom p { font-size: 13px; color: var(--muted-2); }
.ep-footer-bottom a { color: var(--muted); text-decoration: none; }
.ep-footer-bottom a:hover { color: var(--text); }
.ep-footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* =========================================================================
   PAGINATION
   ========================================================================= */
.ep-pagination { margin-top: 48px; display: flex; justify-content: center; }
.ep-pagination .nav-links { display: flex; gap: 6px; }
.ep-pagination a, .ep-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.ep-pagination a:hover { border-color: var(--border-2); color: var(--text); }
.ep-pagination .current { background: var(--red); border-color: var(--red); color: var(--white); }

/* =========================================================================
   LAYOUT SWITCHER (blog view types)
   ========================================================================= */
.ep-layout-switcher { display: flex; gap: 4px; }
.ep-layout-btn { width: 36px; height: 36px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); transition: color 0.15s, border-color 0.15s; }
.ep-layout-btn:hover, .ep-layout-btn.active { color: var(--text); border-color: var(--border-2); }

/* =========================================================================
   RESPONSIVE -- 960px
   ========================================================================= */
@media (max-width: 960px) {
  :root { --section-pad: 72px; }

  .ep-hero-title { font-size: clamp(42px, 9vw, 64px); }
  .ep-hero-sub { font-size: 17px; max-width: 100%; }

  .ep-services-grid { grid-template-columns: repeat(2, 1fr); }
  .ep-features-grid { grid-template-columns: repeat(2, 1fr); }
  .ep-usecase-grid { grid-template-columns: 1fr; }
  .ep-why-grid { grid-template-columns: 1fr; }
  .ep-reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .ep-pkg-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .ep-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .ep-socials-grid { grid-template-columns: repeat(2, 1fr); }
  .ep-work-grid { grid-template-columns: 1fr; }
  .ep-archive-grid { grid-template-columns: 1fr; }
  .ep-about-inner { grid-template-columns: 1fr; }
  .ep-about-img {
    display: block;
    max-width: 380px;
    margin: 0 auto 8px;
  }
  .ep-about-img img { aspect-ratio: 4/5; }
  .ep-plugin-hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 72px;
  }
  .ep-plugin-price-box { max-width: 320px; }
  .ep-mp-strip-inner { grid-template-columns: 1fr; }
  .ep-mp-strip-actions { flex-direction: row; }
  .ep-contact-wrap { grid-template-columns: 1fr; }
  .ep-contact-aside { position: static; }
  .ep-footer { padding: 40px 0 24px; }
  .ep-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; margin-bottom: 28px; }
  .ep-footer-brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
  .ep-footer-tagline { flex-basis: 100%; max-width: 100%; margin: 0; font-size: 13px; }
  .ep-footer-col h4 { margin-bottom: 10px; }
  .ep-footer-col ul { gap: 8px; }
  .ep-footer-col a { font-size: 13px; }
  .ep-loc-services-grid { grid-template-columns: 1fr; }
  .ep-single-work-inner { grid-template-columns: 1fr; }
  .ep-single-work-meta { position: static; }
  .ep-nav-links { display: none; }
  .ep-nav-burger { display: flex; }
  .ep-nav-cta { display: none; }
  .ep-nav-login { display: none; }
  .ep-problem-grid { grid-template-columns: 1fr; }
  .ep-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .ep-blog-grid.ep-blog-list .ep-post-card { flex-direction: column; }
  .ep-blog-grid.ep-blog-list .ep-post-thumb { width: 100%; min-height: unset; }
  .ep-single-post-inner { grid-template-columns: 1fr; }
  .ep-post-sidebar { position: static; }
  .ep-case-stats-row { grid-template-columns: repeat(2, 1fr); }
  .ep-case-gallery { grid-template-columns: 1fr; }
}

/* =========================================================================
   RESPONSIVE -- 640px
   ========================================================================= */
/* 640px is where things get humbling. mobile first was not optional. */
@media (max-width: 640px) {
  :root { --section-pad: 64px; --gap: 14px; }

  .wrap { padding: 0 20px; }

  /* ---- HERO MOBILE -- clean, no clutter ---- */
  .ep-hero { height: 100svh; height: 100vh; }
  .ep-hero-inner {
    padding: 100px 0 80px;
    text-align: center;
  }
  .ep-hero-label {
    display: none;
  }
  .ep-hero-title {
    font-size: clamp(38px, 12vw, 56px);
    letter-spacing: -0.04em;
    margin-bottom: 20px;
  }
  .ep-hero-sub {
    font-size: 16px;
    max-width: 100%;
    margin-bottom: 32px;
  }
  .ep-hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .ep-hero-actions .ep-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
    padding: 15px 24px;
    font-size: 15px;
  }
  .ep-hero-note { text-align: center; }
  .ep-hero-scroll { display: none; }

  /* ---- MANSKIPORT HERO MOBILE ---- */
  .ep-plugin-hero {
    min-height: 100svh;
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
  }
  .ep-plugin-hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 100px 0 80px;
    text-align: center;
  }
  .ep-plugin-title {
    font-size: clamp(36px, 11vw, 52px);
    letter-spacing: -0.04em;
  }
  .ep-plugin-sub {
    font-size: 16px;
    max-width: 100%;
  }
  .ep-plugin-actions {
    flex-direction: column;
    align-items: center;
  }
  .ep-plugin-actions .ep-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
    padding: 15px 24px;
    font-size: 15px;
  }
  .ep-plugin-price-box { display: none; }

  /* ---- GENERAL MOBILE ---- */
  .ep-services-grid { grid-template-columns: 1fr; }
  .ep-features-grid { grid-template-columns: 1fr; }
  .ep-usecase-grid { grid-template-columns: 1fr; }
  .ep-reviews-grid { grid-template-columns: 1fr; }
  .ep-steps-grid { grid-template-columns: 1fr; }
  .ep-socials-grid { grid-template-columns: 1fr; }
  .ep-blog-grid { grid-template-columns: 1fr; }
  .ep-blog-grid.ep-blog-magazine .ep-post-card:first-child { grid-column: unset; }

  .ep-footer { padding: 32px 0 20px; }
  .ep-footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-bottom: 20px; }
  .ep-footer-brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
  .ep-footer-tagline { flex-basis: 100%; max-width: 100%; margin: 0; font-size: 12px; }
  .ep-footer-col h4 { font-size: 11px; margin-bottom: 8px; }
  .ep-footer-col ul { gap: 6px; }
  .ep-footer-col a { font-size: 12px; }
  .ep-footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 16px; }
  .ep-footer-bottom p { font-size: 12px; }
  .ep-footer-legal { gap: 14px; }
  .ep-footer-legal a { font-size: 12px; }

  .ep-newsletter-form { flex-direction: column; }
  .ep-newsletter-form input { width: 100%; }
  .ep-newsletter-form .ep-btn { width: 100%; justify-content: center; }

  .ep-form-row { grid-template-columns: 1fr; }

  .ep-booking-wrap { padding: 24px 16px; }
  .ep-investment-hero { padding: 100px 0 40px; }

  .ep-loc-hero { padding: 100px 0 56px; }
  .ep-loc-cta { padding: 40px 24px; }

  .ep-about-stats { gap: 20px; }

  .ep-nav { top: 8px; width: calc(100% - 16px); }

  .ep-case-stats-row { grid-template-columns: 1fr; }
  .ep-case-gallery { grid-template-columns: 1fr; }

  .ep-intent-switcher { gap: 6px; }
  .ep-intent-btn { font-size: 13px; padding: 9px 18px; }

  .ep-single-work-inner { gap: 32px; }

  /* section labels on mobile -- tighten up */
  .ep-section-title { font-size: clamp(28px, 9vw, 44px); }
  .ep-section-lead { font-size: 16px; margin-bottom: 32px; }

  /* card bodies less padding on small screens */
  .ep-service-card,
  .ep-step-card,
  .ep-pkg-card { padding: 24px; }

  .ep-mp-strip { padding: 48px 0; }
  .ep-mp-strip-inner { grid-template-columns: 1fr; gap: 28px; }
  .ep-mp-strip-actions { flex-direction: column; }
  .ep-mp-strip-actions .ep-btn { width: 100%; justify-content: center; }
}

/* =========================================================================
   LIGHT THEME OVERRIDES FOR SPECIFIC COMPONENTS
   ========================================================================= */
:root[data-theme="light"] body .ep-marquee-wrap,
body.ep-light .ep-marquee-wrap { background: var(--bg-3); }
:root[data-theme="light"] body .ep-quote-strip,
body.ep-light .ep-quote-strip { background: var(--bg-3); border-color: var(--border); }
:root[data-theme="light"] body .ep-mp-strip,
body.ep-light .ep-mp-strip { background: var(--bg-3); border-color: var(--border); }
:root[data-theme="light"] body .ep-newsletter-strip,
body.ep-light .ep-newsletter-strip { background: var(--bg-3); border-color: var(--border); }

/* footer stays dark on all pages */
:root[data-theme="light"] body .ep-footer,
body.ep-light .ep-footer { background: #111111; }
:root[data-theme="light"] body .ep-footer-col a,
body.ep-light .ep-footer-col a { color: #888; }
:root[data-theme="light"] body .ep-footer-col a:hover,
body.ep-light .ep-footer-col a:hover { color: #ccc; }
:root[data-theme="light"] body .ep-footer-logo-text,
body.ep-light .ep-footer-logo-text { color: #f0f0f0; }
:root[data-theme="light"] body .ep-footer-tagline,
body.ep-light .ep-footer-tagline { color: #666; }
:root[data-theme="light"] body .ep-footer-bottom p,
body.ep-light .ep-footer-bottom p { color: #555; }
:root[data-theme="light"] body .ep-footer-bottom a,
body.ep-light .ep-footer-bottom a { color: #777; }
:root[data-theme="light"] body .ep-footer-bottom a:hover,
body.ep-light .ep-footer-bottom a:hover { color: #ccc; }
:root[data-theme="light"] body .ep-footer-social,
body.ep-light .ep-footer-social { background: #222; border-color: #333; color: #888; }
:root[data-theme="light"] body .ep-footer-social:hover,
body.ep-light .ep-footer-social:hover { border-color: var(--red-hover); color: var(--red-hover); background: #1a0a08; }
:root[data-theme="light"] body .ep-footer-col h4,
body.ep-light .ep-footer-col h4 { color: #eee; }
:root[data-theme="light"] body .ep-footer-bottom,
body.ep-light .ep-footer-bottom { border-color: #222; }

:root[data-theme="light"] body .ep-nav-mobile,
body.ep-light .ep-nav-mobile { background: var(--bg); }
:root[data-theme="light"] body .ep-nav-mobile a,
body.ep-light .ep-nav-mobile a { color: var(--text); border-color: var(--border); }
:root[data-theme="light"] body .ep-nav-mobile a:hover,
body.ep-light .ep-nav-mobile a:hover { color: var(--red); }
:root[data-theme="light"] body .ep-nav-mobile .ep-nav-mobile-cta,
body.ep-light .ep-nav-mobile .ep-nav-mobile-cta { background: var(--red); color: #fff; border-color: transparent; }

:root[data-theme="light"] body .ep-booking-wrap,
body.ep-light .ep-booking-wrap { background: var(--bg-2); border-color: var(--border); }
:root[data-theme="light"] body .ep-form-field input,
body.ep-light .ep-form-field input,
:root[data-theme="light"] body .ep-form-field select,
body.ep-light .ep-form-field select,
:root[data-theme="light"] body .ep-form-field textarea,
body.ep-light .ep-form-field textarea {
  background: var(--bg-3);
  border-color: var(--border);
  color: var(--text);
}
:root[data-theme="light"] body .ep-post-content blockquote,
body.ep-light .ep-post-content blockquote { background: var(--bg-3); border-color: var(--border); }

/* light theme: accent headings use red */
:root[data-theme="light"] body .red,
body.ep-light .red { color: var(--red); }
:root[data-theme="light"] body .ep-label,
body.ep-light .ep-label { color: var(--red); }
:root[data-theme="light"] body .ep-post-category,
body.ep-light .ep-post-category { color: var(--red); }

/* body links use red in light theme, but NOT buttons or footer */
:root[data-theme="light"] body a,
body.ep-light a { color: var(--red); }
:root[data-theme="light"] body a:hover,
body.ep-light a:hover { color: var(--red-hover); }

/* footer links keep their own dark scheme on light pages */
:root[data-theme="light"] body .ep-footer a,
body.ep-light .ep-footer a { color: #888; }
:root[data-theme="light"] body .ep-footer a:hover,
body.ep-light .ep-footer a:hover { color: #ccc; text-decoration: none; }
:root[data-theme="light"] body .ep-footer-col a,
body.ep-light .ep-footer-col a { color: #888; }
:root[data-theme="light"] body .ep-footer-col a:hover,
body.ep-light .ep-footer-col a:hover { color: #ccc; }
:root[data-theme="light"] body .ep-footer-bottom a,
body.ep-light .ep-footer-bottom a { color: #777; }
:root[data-theme="light"] body .ep-footer-bottom a:hover,
body.ep-light .ep-footer-bottom a:hover { color: #ccc; }
:root[data-theme="light"] body .ep-footer-logo,
body.ep-light .ep-footer-logo { color: #f0f0f0; }
:root[data-theme="light"] body .ep-footer-social,
body.ep-light .ep-footer-social { color: #888; }
:root[data-theme="light"] body .ep-footer-social:hover,
body.ep-light .ep-footer-social:hover { color: var(--red-hover); }

/* always force correct text on all button variants -- light theme */
:root[data-theme="light"] body .ep-btn,
body.ep-light .ep-btn { color: var(--text); }
:root[data-theme="light"] body .ep-btn:hover,
body.ep-light .ep-btn:hover { text-decoration: none; }
:root[data-theme="light"] body .ep-btn-red,
body.ep-light .ep-btn-red,
:root[data-theme="light"] body .ep-btn-red:hover,
body.ep-light .ep-btn-red:hover,
:root[data-theme="light"] body a.ep-btn-red,
body.ep-light a.ep-btn-red,
:root[data-theme="light"] body a.ep-btn-red:hover,
body.ep-light a.ep-btn-red:hover { color: #ffffff !important; }
:root[data-theme="light"] body .ep-btn-ghost,
body.ep-light .ep-btn-ghost {
  color: var(--text-2);
  border-color: var(--border-2);
}
:root[data-theme="light"] body .ep-btn-ghost:hover,
body.ep-light .ep-btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-2);
}
:root[data-theme="light"] body .ep-btn-outline,
body.ep-light .ep-btn-outline {
  color: var(--text);
  border-color: var(--border-2);
}
:root[data-theme="light"] body .ep-btn-outline:hover,
body.ep-light .ep-btn-outline:hover {
  border-color: var(--text);
  color: var(--text);
}
:root[data-theme="light"] body .ep-btn-dark,
body.ep-light .ep-btn-dark {
  color: var(--text);
}

/* nav links must not turn red in light theme -- restore after :root[data-theme="light"] body a rule */,
body.ep-light a rule */
:root[data-theme="light"] body .ep-nav-links a,
body.ep-light .ep-nav-links a { color: var(--text-2); text-decoration: none; }
:root[data-theme="light"] body .ep-nav-links a:hover,
body.ep-light .ep-nav-links a:hover { color: var(--text); background: var(--bg-3); text-decoration: none; }
:root[data-theme="light"] body .ep-nav-links a.ep-nav-active,
body.ep-light .ep-nav-links a.ep-nav-active {
  color: var(--text);
  background: var(--bg-3);
  border-radius: 999px;
  padding: 4px 14px;
}
:root[data-theme="light"] body .ep-nav-brand,
body.ep-light .ep-nav-brand,
:root[data-theme="light"] body .ep-nav-brand:hover,
body.ep-light .ep-nav-brand:hover { color: var(--text); text-decoration: none; }
:root[data-theme="light"] body .ep-nav-brand-name,
body.ep-light .ep-nav-brand-name { color: var(--text); }

/* nav CTA stays white-on-red always */
:root[data-theme="light"] body .ep-nav-cta,
body.ep-light .ep-nav-cta,
:root[data-theme="light"] body .ep-nav-cta:hover,
body.ep-light .ep-nav-cta:hover { color: #ffffff !important; text-decoration: none; }

/* nav login ghost button -- stays muted/text in light theme */
:root[data-theme="light"] body .ep-nav-login,
body.ep-light .ep-nav-login { color: var(--text-2); text-decoration: none; }
:root[data-theme="light"] body .ep-nav-login:hover,
body.ep-light .ep-nav-login:hover { color: var(--text); text-decoration: none; }

/* work status badges in light mode */
:root[data-theme="light"] body .ep-work-status,
body.ep-light .ep-work-status { background: var(--bg-4); color: var(--muted); }
:root[data-theme="light"] body .ep-work-status.live,
body.ep-light .ep-work-status.live { background: #d6eedf; color: #1e6b3e; }
:root[data-theme="light"] body .ep-work-status.in-progress,
body.ep-light .ep-work-status.in-progress { background: #f5ecd5; color: #7a5a15; }

/* light mode: slightly deeper card bg for contrast */
:root[data-theme="light"] body .ep-service-card,
body.ep-light .ep-service-card,
:root[data-theme="light"] body .ep-step-card,
body.ep-light .ep-step-card,
:root[data-theme="light"] body .ep-pkg-card,
body.ep-light .ep-pkg-card,
:root[data-theme="light"] body .ep-review-card,
body.ep-light .ep-review-card,
:root[data-theme="light"] body .ep-feature-card,
body.ep-light .ep-feature-card,
:root[data-theme="light"] body .ep-social-card,
body.ep-light .ep-social-card,
:root[data-theme="light"] body .ep-post-card,
body.ep-light .ep-post-card,
:root[data-theme="light"] body .ep-work-card,
body.ep-light .ep-work-card { background: var(--bg-2); border-color: var(--border); }

/* post card is an <a> tag -- restore non-red text inside it */
:root[data-theme="light"] body .ep-post-card,
body.ep-light .ep-post-card,
:root[data-theme="light"] body .ep-post-card:hover,
body.ep-light .ep-post-card:hover { color: var(--text); text-decoration: none; }
:root[data-theme="light"] body .ep-post-card .ep-post-title,
body.ep-light .ep-post-card .ep-post-title { color: var(--text); }
:root[data-theme="light"] body .ep-post-card .ep-post-excerpt,
body.ep-light .ep-post-card .ep-post-excerpt { color: var(--text-2); }
:root[data-theme="light"] body .ep-post-card .ep-post-meta,
body.ep-light .ep-post-card .ep-post-meta,
:root[data-theme="light"] body .ep-post-card .ep-post-date,
body.ep-light .ep-post-card .ep-post-date,
:root[data-theme="light"] body .ep-post-card .ep-post-read-time,
body.ep-light .ep-post-card .ep-post-read-time { color: var(--muted); }

/* work live link inside cards */
:root[data-theme="light"] body .ep-work-link,
body.ep-light .ep-work-link { color: var(--muted); }
:root[data-theme="light"] body .ep-work-link:hover,
body.ep-light .ep-work-link:hover { color: var(--text); text-decoration: none; }

/* doc cards are <a> tags -- fix red text cascade in light mode */
:root[data-theme="light"] body .ep-doc-card,
body.ep-light .ep-doc-card { color: var(--text); text-decoration: none; background: var(--bg-2); border-color: var(--border); }
:root[data-theme="light"] body .ep-doc-card:hover,
body.ep-light .ep-doc-card:hover { color: var(--text); text-decoration: none; border-color: var(--red); }
:root[data-theme="light"] body .ep-doc-title,
body.ep-light .ep-doc-title { color: var(--text); }
:root[data-theme="light"] body .ep-doc-excerpt,
body.ep-light .ep-doc-excerpt { color: var(--text-2); }
:root[data-theme="light"] body .ep-doc-read-link,
body.ep-light .ep-doc-read-link { color: var(--red); }

:root[data-theme="light"] body .ep-pkg-card.ep-pkg-featured,
body.ep-light .ep-pkg-card.ep-pkg-featured {
  border-color: var(--red);
  background: var(--bg-2);
}

/* doc nav links -- restore non-red in light mode */
:root[data-theme="light"] body .ep-docs-nav-link,
body.ep-light .ep-docs-nav-link { color: var(--text-2); text-decoration: none; }
:root[data-theme="light"] body .ep-docs-nav-link:hover,
body.ep-light .ep-docs-nav-link:hover { color: var(--text); background: var(--bg-3); text-decoration: none; }
:root[data-theme="light"] body .ep-docs-nav-link.active,
body.ep-light .ep-docs-nav-link.active { color: var(--red); }

/* doc back link, post nav links */
:root[data-theme="light"] body .ep-doc-back-link,
body.ep-light .ep-doc-back-link { color: var(--muted); text-decoration: none; }
:root[data-theme="light"] body .ep-doc-back-link:hover,
body.ep-light .ep-doc-back-link:hover { color: var(--text); text-decoration: none; }
:root[data-theme="light"] body .ep-doc-nav-prev,
:root[data-theme="light"] body .ep-doc-nav-next,
body.ep-light .ep-doc-nav-prev,
body.ep-light .ep-doc-nav-next { color: var(--text); text-decoration: none; background: var(--bg-2); border-color: var(--border); }
:root[data-theme="light"] body .ep-doc-nav-title,
body.ep-light .ep-doc-nav-title { color: var(--text); }
:root[data-theme="light"] body .ep-doc-toc nav a,
body.ep-light .ep-doc-toc nav a { color: var(--text-2); text-decoration: none; }
:root[data-theme="light"] body .ep-doc-toc nav a:hover,
body.ep-light .ep-doc-toc nav a:hover { color: var(--red); text-decoration: none; }

/* intent switcher active stays white-on-red in light theme */
:root[data-theme="light"] body .ep-intent-btn.active,
body.ep-light .ep-intent-btn.active,
:root[data-theme="light"] body .ep-intent-btn.active:hover,
body.ep-light .ep-intent-btn.active:hover { color: #ffffff !important; text-decoration: none; }

/* light theme: .muted spans inside headings become red accent */
:root[data-theme="light"] body h1 .muted,
body.ep-light h1 .muted,
:root[data-theme="light"] body h2 .muted,
body.ep-light h2 .muted,
:root[data-theme="light"] body h3 .muted,
body.ep-light h3 .muted { color: var(--red); }

/* you made it to the bottom of the stylesheet. there's nothing down here. go outside. */

/* =========================================================================
   DOCS SYSTEM
   ========================================================================= */
.ep-docs-header { max-width: 740px; margin-bottom: 56px; }

/* Plugin tabs */
.ep-docs-plugin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.ep-docs-plugin-tab {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ep-docs-plugin-tab:hover { border-color: var(--border-2); color: var(--text); }
.ep-docs-plugin-tab.active { background: var(--red); border-color: var(--red); color: #fff; }
:root[data-theme="light"] body .ep-docs-plugin-tab.active,
body.ep-light .ep-docs-plugin-tab.active { color: #fff !important; }

.ep-docs-plugin-panel { display: none; }
.ep-docs-plugin-panel.active { display: block; }
.ep-docs-plugin-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.ep-docs-plugin-desc { color: var(--text-2); font-size: 16px; margin-bottom: 40px; }

/* Docs layout */
.ep-docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) {
  .ep-docs-layout { grid-template-columns: 1fr; }
  .ep-docs-sidebar { position: static !important; }
}

/* Sidebar */
.ep-docs-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.ep-docs-nav { display: flex; flex-direction: column; gap: 24px; }
.ep-docs-nav-group ul { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.ep-docs-nav-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 6px;
}
.ep-docs-nav-link {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 5px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.12s, background 0.12s;
  line-height: 1.4;
}
.ep-docs-nav-link:hover { color: var(--text); background: var(--bg-3); text-decoration: none; }
.ep-docs-nav-link.active { color: var(--red); background: var(--bg-3); font-weight: 700; }

.ep-docs-sidebar-cta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.ep-docs-sidebar-cta p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

.ep-docs-empty { color: var(--muted); font-style: italic; }

/* Doc cards grid */
.ep-docs-category-block { margin-bottom: 48px; }
.ep-docs-cat-heading {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.ep-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.ep-doc-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, transform 0.2s var(--ease-spring);
}
.ep-doc-card:hover { border-color: var(--red); transform: translateY(-2px); text-decoration: none; color: var(--text); }
.ep-doc-card-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ep-doc-title { font-family: var(--font-display); font-size: 15px; font-weight: 800; line-height: 1.3; }
.ep-doc-excerpt { font-size: 13px; color: var(--text-2); line-height: 1.55; flex: 1; }
.ep-doc-read-link { font-family: var(--font-mono); font-size: 11px; color: var(--red); text-transform: uppercase; letter-spacing: 0.08em; margin-top: auto; }

.ep-doc-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 999px;
}
.ep-doc-badge-beginner { background: var(--bg-4); color: var(--muted); }
.ep-doc-badge-intermediate { background: #1a1a0a; color: #c9a227; }
.ep-doc-badge-advanced { background: var(--red-bg); color: var(--red); }
:root[data-theme="light"] body .ep-doc-badge-intermediate,
body.ep-light .ep-doc-badge-intermediate { background: #fdf8e6; color: #9a7a1a; }
:root[data-theme="light"] body .ep-doc-badge-beginner,
body.ep-light .ep-doc-badge-beginner { background: var(--bg-3); color: var(--muted); }

.ep-doc-version { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

/* Single doc */
.ep-single-doc { padding: 100px 0 80px; }
.ep-single-doc-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 800px) {
  .ep-single-doc-inner { grid-template-columns: 1fr; }
  .ep-doc-sidebar { display: none; }
}
.ep-doc-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.ep-doc-sidebar-top { margin-bottom: 24px; }
.ep-doc-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.12s;
}
.ep-doc-back-link:hover { color: var(--text); text-decoration: none; }
.ep-doc-plugin-label { font-family: var(--font-display); font-size: 13px; font-weight: 800; color: var(--text); }

/* Doc content */
.ep-doc-breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ep-doc-breadcrumb a { color: var(--muted); text-decoration: none; }
.ep-doc-breadcrumb a:hover { color: var(--text); }

.ep-doc-header { margin-bottom: 32px; }
.ep-doc-meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ep-doc-updated { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.ep-doc-header h1 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 12px; }
.ep-doc-lead { font-size: 18px; color: var(--text-2); line-height: 1.6; }

/* TOC */
.ep-doc-toc {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin-bottom: 40px;
}
.ep-doc-toc-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.ep-doc-toc nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ep-doc-toc nav li.ep-toc-sub { padding-left: 14px; }
.ep-doc-toc nav a { font-size: 13px; color: var(--text-2); text-decoration: none; }
.ep-doc-toc nav a:hover { color: var(--red); text-decoration: none; }

/* Doc prose */
.ep-doc-prose h2 { font-size: 22px; margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.ep-doc-prose h3 { font-size: 17px; margin: 28px 0 10px; }
.ep-doc-prose p { margin-bottom: 18px; line-height: 1.7; }
.ep-doc-prose ul, .ep-doc-prose ol { padding-left: 22px; margin-bottom: 18px; }
.ep-doc-prose li { margin-bottom: 6px; line-height: 1.65; }
.ep-doc-prose pre {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.ep-doc-prose code {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.ep-doc-prose pre code { background: transparent; border: none; padding: 0; }
.ep-doc-prose blockquote {
  border-left: 3px solid var(--red);
  margin: 0 0 20px;
  padding: 12px 18px;
  background: var(--bg-3);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-2);
}
.ep-doc-prose table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.ep-doc-prose th { text-align: left; font-family: var(--font-display); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 10px 12px; border-bottom: 2px solid var(--border-2); color: var(--text-2); }
.ep-doc-prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.ep-doc-prose img { border-radius: 8px; border: 1px solid var(--border); margin: 20px 0; }

/* Callout/tip boxes via WP custom block shorthand */
.ep-doc-note { background: var(--bg-3); border-left: 3px solid var(--red); border-radius: 0 8px 8px 0; padding: 14px 18px; margin-bottom: 20px; font-size: 14px; }
.ep-doc-note strong { color: var(--red); }

/* Related docs */
.ep-doc-related { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.ep-doc-related h4 { font-size: 14px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 12px; }
.ep-doc-related ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ep-doc-related a { font-size: 14px; color: var(--red); }

/* Feedback */
.ep-doc-feedback { margin-top: 40px; padding: 24px; background: var(--bg-2); border-radius: var(--radius-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ep-doc-feedback p { font-size: 14px; color: var(--text-2); margin: 0; }

/* Post nav */
.ep-doc-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.ep-doc-nav-prev, .ep-doc-nav-next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: border-color 0.15s;
}
.ep-doc-nav-prev:hover, .ep-doc-nav-next:hover { border-color: var(--red); text-decoration: none; }
.ep-doc-nav-next { text-align: right; }
.ep-doc-nav-label { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.ep-doc-nav-title { font-size: 14px; font-weight: 700; color: var(--text); }
