:root {
  --eb-bg: #06131a;
  --eb-bg-soft: #0c1c24;
  --eb-panel: rgba(255, 248, 239, 0.06);
  --eb-panel-strong: rgba(255, 248, 239, 0.1);
  --eb-text: #f7f1e9;
  --eb-muted: rgba(247, 241, 233, 0.7);
  --eb-line: rgba(247, 241, 233, 0.12);
  --eb-accent: #b7a37a;
  --eb-accent-soft: rgba(183, 163, 122, 0.18);
  --eb-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

body.page-template-default,
body.page {
  background:
    radial-gradient(circle at top, rgba(58, 93, 124, 0.26), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(183, 163, 122, 0.12), transparent 20%),
    linear-gradient(180deg, #041018 0%, #07161d 42%, #041018 100%);
  color: var(--eb-text);
}

body.page-template-default::before,
body.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 88%);
  pointer-events: none;
  opacity: 0.32;
}

.eb-shell {
  position: relative;
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 28px 88px;
  z-index: 1;
}

.eb-section {
  padding: 36px 0;
}

.eb-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  backdrop-filter: blur(14px);
}

.eb-topbar-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

.eb-brand,
.eb-nav a,
.eb-lang span,
.eb-inline-link,
.eb-button {
  text-decoration: none;
}

.eb-brand {
  color: var(--eb-text);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.eb-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.eb-nav a,
.eb-lang span {
  color: var(--eb-muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eb-lang {
  display: flex;
  gap: 8px;
}

.eb-lang span {
  border: 1px solid var(--eb-line);
  padding: 7px 10px;
  border-radius: 999px;
}

.eb-lang span.is-active {
  color: var(--eb-text);
  border-color: rgba(183, 163, 122, 0.6);
  background: var(--eb-accent-soft);
}

.eb-hero {
  min-height: calc(100svh - 90px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
}

.eb-eyebrow,
.eb-kicker,
.eb-small-label {
  margin: 0 0 12px;
  color: var(--eb-accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.eb-hero h1,
.eb-section-head h2,
.eb-card h3,
.eb-panel h3 {
  margin: 0;
  color: var(--eb-text);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.eb-hero h1 {
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 0.98;
  max-width: 12ch;
}

.eb-hero p,
.eb-copy-columns p,
.eb-card p,
.eb-panel p,
.eb-testimonial p,
.eb-contact-note {
  color: var(--eb-muted);
  line-height: 1.74;
  font-size: 0.98rem;
}

.eb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.eb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--eb-line);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--eb-text);
}

.eb-button.is-primary {
  background: linear-gradient(135deg, rgba(183, 163, 122, 0.18), rgba(183, 163, 122, 0.04));
  border-color: rgba(183, 163, 122, 0.48);
}

.eb-button.is-secondary {
  background: rgba(255, 255, 255, 0.02);
}

.eb-visual,
.eb-card,
.eb-panel,
.eb-testimonial {
  border: 1px solid var(--eb-line);
  background: linear-gradient(180deg, var(--eb-panel), rgba(255, 255, 255, 0.02));
  box-shadow: var(--eb-shadow);
}

.eb-visual {
  position: relative;
  min-height: 500px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(183, 163, 122, 0.12), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(105, 147, 180, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(255, 248, 239, 0.04), rgba(255, 255, 255, 0.02));
}

.eb-wordfield span {
  position: absolute;
  color: rgba(247, 241, 233, 0.14);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eb-wordfield span:nth-child(1) { top: 12%; left: 15%; }
.eb-wordfield span:nth-child(2) { top: 20%; right: 14%; }
.eb-wordfield span:nth-child(3) { top: 34%; left: 10%; }
.eb-wordfield span:nth-child(4) { top: 44%; right: 20%; }
.eb-wordfield span:nth-child(5) { bottom: 31%; left: 18%; }
.eb-wordfield span:nth-child(6) { bottom: 18%; right: 11%; }
.eb-wordfield span:nth-child(7) { bottom: 10%; left: 14%; }
.eb-wordfield span:nth-child(8) { top: 14%; left: 39%; }
.eb-wordfield span:nth-child(9) { bottom: 42%; right: 31%; }

.eb-monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 15vw, 8.5rem);
  color: var(--eb-text);
  text-shadow: 0 0 30px rgba(183, 163, 122, 0.25);
}

.eb-section-head {
  margin-bottom: 24px;
}

.eb-section-head h2 {
  font-size: clamp(1.7rem, 5vw, 3rem);
  line-height: 1;
  max-width: 13ch;
}

.eb-copy-columns,
.eb-grid-2,
.eb-grid-3,
.eb-frameworks {
  display: grid;
  gap: 20px;
}

.eb-copy-columns,
.eb-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eb-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eb-card,
.eb-panel,
.eb-testimonial {
  border-radius: 24px;
  padding: 24px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.eb-card:hover,
.eb-panel:hover,
.eb-testimonial:hover {
  transform: translateY(-6px);
  border-color: rgba(183, 163, 122, 0.3);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.33);
}

.eb-card blockquote,
.eb-testimonial blockquote {
  margin: 0;
  color: var(--eb-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.4;
}

.eb-inline-link,
.eb-quote-author {
  color: var(--eb-muted);
}

.eb-inline-link {
  display: inline-block;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.eb-book-cover {
  min-height: 280px;
  border-radius: 18px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at top, rgba(183, 163, 122, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(4, 16, 24, 0.26)),
    linear-gradient(135deg, #233744, #0d1c24);
  position: relative;
  overflow: hidden;
}

.eb-book-cover::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(247, 241, 233, 0.14);
  border-radius: 12px;
}

.eb-book-cover::after {
  content: "Strategy";
  position: absolute;
  left: 24px;
  bottom: 20px;
  color: rgba(247, 241, 233, 0.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.eb-book-cover.is-alt {
  background:
    radial-gradient(circle at bottom, rgba(183, 163, 122, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(4, 16, 24, 0.26)),
    linear-gradient(135deg, #1f2b39, #071219);
}

.eb-book-cover.is-alt::after {
  content: "Leadership";
}

.eb-frameworks span {
  padding: 18px 20px;
  border-radius: 999px;
  border: 1px solid var(--eb-line);
  background: rgba(255, 248, 239, 0.03);
  color: var(--eb-text);
}

.eb-capture {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.eb-form-note {
  color: rgba(247, 241, 233, 0.54);
  font-size: 0.92rem;
}

.eb-ls-wrap {
  display: flex;
  justify-content: flex-end;
}

.eb-ls-wrap p {
  margin: 0;
}

.eb-ls-wrap .trp_language_switcher_shortcode,
.eb-ls-wrap .trp-shortcode-switcher {
  margin: 0;
}

.eb-ls-wrap .trp-language-switcher,
.eb-ls-wrap .trp-language-switcher-inner {
  display: flex;
  gap: 8px;
  align-items: center;
}

.eb-ls-wrap .trp-ls-shortcode-current-language,
.eb-ls-wrap .trp-ls-shortcode-language,
.eb-ls-wrap .trp-language-item {
  background: transparent;
}

.eb-ls-wrap a,
.eb-ls-wrap .trp-ls-shortcode-disabled-language {
  color: var(--eb-muted) !important;
  border: 1px solid var(--eb-line);
  padding: 7px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  background: transparent;
}

.eb-ls-wrap a:hover {
  color: var(--eb-text) !important;
  border-color: rgba(183, 163, 122, 0.6);
  background: var(--eb-accent-soft);
}

.eb-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 960px) {
  .eb-topbar,
  .eb-hero,
  .eb-copy-columns,
  .eb-grid-2,
  .eb-grid-3,
  .eb-capture {
    grid-template-columns: 1fr;
  }

  .eb-topbar {
    align-items: stretch;
  }

  .eb-topbar-left {
    flex-direction: column;
  }

  .eb-nav,
  .eb-ls-wrap {
    justify-content: center;
  }

  .eb-hero {
    min-height: auto;
  }

  .eb-visual {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .eb-shell {
    padding: 0 14px 56px;
  }

  .eb-nav {
    gap: 12px;
  }

  .eb-nav a,
  .eb-brand {
    font-size: 0.72rem;
  }

  .eb-card,
  .eb-panel,
  .eb-testimonial {
    border-radius: 20px;
    padding: 20px;
  }

  .eb-book-cover {
    min-height: 220px;
  }
}
