/*
Theme Name: David Jones Leadership
Theme URI: https://djlc.org/
Author: David Jones Leadership
Description: A lightweight custom WordPress theme for David Jones Leadership.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: djlc
*/

:root {
  --navy: #132238;
  --blue: #1f4f73;
  --gold: #d9a441;
  --cream: #f7f3eb;
  --paper: #ffffff;
  --ink: #1d2530;
  --muted: #677281;
  --line: rgba(19, 34, 56, 0.12);
  --shadow: 0 22px 60px rgba(19, 34, 56, 0.18);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

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

img,
iframe {
  max-width: 100%;
}

.page {
  overflow-x: hidden;
  overflow-y: visible;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 235, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 92px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(19, 34, 56, 0.16));
}

.nav-links,
.primary-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.primary-menu a {
  opacity: 0.86;
}

.nav-links a:hover,
.primary-menu a:hover {
  opacity: 1;
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #1d1608;
  box-shadow: 0 16px 35px rgba(217, 164, 65, 0.28);
}

.btn-primary:hover {
  background: #e5b34d;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-outline {
  background: white;
  border-color: var(--line);
  color: var(--navy);
}

.hero {
  position: relative;
  background: radial-gradient(circle at 78% 18%, rgba(217, 164, 65, 0.24), transparent 28%), radial-gradient(circle at 10% 10%, rgba(31, 79, 115, 0.28), transparent 32%), linear-gradient(135deg, #132238 0%, #19324d 54%, #1f4f73 100%);
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 48px;
  padding: 86px 0 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(217, 164, 65, 0.18);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin-bottom: 22px;
  max-width: 760px;
}

.hero-copy {
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.84);
  max-width: 690px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 730px;
}

.proof-pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
}

.proof-pill strong {
  display: block;
  color: white;
  font-size: 15px;
  margin-bottom: 2px;
}

.proof-pill span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.video-card {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #0b1422;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-caption {
  padding: 16px 6px 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.video-caption strong {
  color: white;
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-tight {
  padding: 58px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: stretch;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 18px 45px rgba(19, 34, 56, 0.08);
}

.bio-panel {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  position: relative;
  overflow: hidden;
}

.bio-panel::after {
  content: "DJ";
  position: absolute;
  right: -18px;
  bottom: -50px;
  font-size: 210px;
  font-weight: 950;
  line-height: 1;
  color: rgba(255, 255, 255, 0.055);
  letter-spacing: -0.1em;
}

.bio-panel h3 {
  position: relative;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  z-index: 1;
}

.bio-panel p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.signature-line {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.signature-line div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
}

.check {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 99px;
  background: var(--gold);
  color: #201705;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 950;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.audience-card,
.testimonial-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card {
  border-radius: 20px;
  padding: 24px;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(217, 164, 65, 0.15);
  color: var(--navy);
  font-size: 23px;
  margin-bottom: 14px;
}

.feature-card h3 {
  color: var(--navy);
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 15px;
}

.quote-band {
  background: var(--navy);
  color: white;
  position: relative;
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(217, 164, 65, 0.18), transparent 25%), radial-gradient(circle at 80% 60%, rgba(31, 79, 115, 0.35), transparent 32%);
  pointer-events: none;
}

.quote-inner {
  position: relative;
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
  text-align: center;
}

.quote-inner blockquote {
  margin: 0 auto 22px;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 850;
  max-width: 930px;
}

.quote-inner p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 750;
}

.audience-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.audience-card {
  padding: 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 18px 45px rgba(19, 34, 56, 0.06);
}

.audience-card h3 {
  color: var(--navy);
  font-size: 24px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.audience-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(31, 79, 115, 0.08);
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
  border-radius: 999px;
  padding: 8px 10px;
}

.testimonial-card {
  padding: 26px;
  box-shadow: 0 16px 40px rgba(19, 34, 56, 0.06);
}

.testimonial-card blockquote {
  margin: 0 0 22px;
  color: #303a47;
  font-size: 16px;
}

.person {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.person strong {
  display: block;
  color: var(--navy);
  line-height: 1.25;
}

.person span {
  color: var(--muted);
  font-size: 14px;
}

.cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 82px;
  border-radius: 32px;
  background: radial-gradient(circle at 90% 15%, rgba(217, 164, 65, 0.26), transparent 26%), linear-gradient(135deg, var(--blue), var(--navy));
  color: white;
  padding: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta h2 {
  color: white;
  margin-bottom: 12px;
  max-width: 780px;
}

.cta p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 720px;
  font-size: 18px;
}

.footer {
  background: #0e1726;
  color: rgba(255, 255, 255, 0.72);
  padding: 34px 0;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer strong {
  color: white;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

@media (max-width: 940px) {
  .nav-links,
  .primary-menu {
    display: none;
  }

  .hero-inner,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 62px 0 58px;
  }

  .video-card {
    order: -1;
  }

  .proof-row,
  .audience-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

  .cta {
    padding: 38px 28px;
  }

  .cta .btn {
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1180px);
    padding: 12px 0;
  }

  .brand-logo {
    width: 72px;
  }

  .nav .btn {
    padding: 11px 14px;
    font-size: 13px;
  }

  .hero-inner,
  .section,
  .quote-inner,
  .cta,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .hero-inner {
    gap: 28px;
    padding: 34px 0 46px;
  }

  .eyebrow {
    font-size: 11px;
  }

  h1 {
    font-size: 43px;
    letter-spacing: -0.055em;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .proof-row {
    gap: 10px;
  }

  .section {
    padding: 58px 0;
  }

  .section-tight {
    padding: 42px 0;
  }

  h2 {
    font-size: 35px;
  }

  .panel,
  .feature-card,
  .audience-card,
  .testimonial-card {
    padding: 22px;
  }

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

  .quote-inner {
    padding: 58px 0;
  }

  .quote-inner blockquote {
    font-size: 25px;
  }

  .cta {
    margin-bottom: 56px;
    border-radius: 24px;
    padding: 34px 22px;
  }

  .cta .btn {
    width: 100%;
  }

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