/* =============================================
   MICHAEL NITSCHKE — PERSONAL BRAND THEME
   Font-face declarations are injected via
   functions.php → wp_add_inline_style()
   using the correct theme URI at runtime.
   ============================================= */

/* --- Variables --- */
:root {
  --black:    #111112;
  --dark:     #1c1c1d;
  --dark-mid: #404041;
  --blue:     #8DD7F7;
  --blue-dim: rgba(141,215,247,0.12);
  --light:    #EAEAEA;
  --white:    #ffffff;
  --off-white:#F4F4F4;
  --text:     #404041;
  --text-muted: #7a7a7b;

  --font-heading: 'Brother1816', 'Arial Black', sans-serif;
  --font-sub:     'ProximaNova', Arial, sans-serif;
  --font-body:    'ProximaNova', Arial, sans-serif;

  --max-width: 1100px;
  --section-pad: 96px 24px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); font-weight: 400; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad); }
.section--dark { background: var(--dark); color: var(--white); }
.section--black { background: var(--black); color: var(--white); }
.section--grey { background: var(--off-white); }

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { font-size: 1.05rem; line-height: 1.75; }
.section--dark p, .section--black p { color: rgba(255,255,255,0.7); }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.65; }
.eyebrow {
  font-family: var(--font-sub); font-weight: 800;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--blue); display: block; margin-bottom: 14px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-sub); font-weight: 800;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 15px 30px; border-radius: 2px;
  cursor: pointer; border: none; transition: all 0.2s;
  white-space: nowrap;
}
.btn--primary  { background: var(--blue); color: var(--dark); }
.btn--primary:hover  { background: #aae3f9; }
.btn--white    { background: var(--white); color: var(--dark); }
.btn--white:hover    { background: #e8e8e8; }
.btn--outline  { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.25); }
.btn--outline:hover  { border-color: var(--blue); color: var(--blue); }
.btn--dark     { background: var(--dark); color: var(--white); }
.btn--dark:hover     { background: #2a2a2b; }
.btn--ghost-blue { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn--ghost-blue:hover { background: var(--blue); color: var(--dark); }

/* --- NAV --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  background: var(--black);
  border-bottom: 1px solid rgba(141,215,247,0.1);
}
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a {
  font-family: var(--font-sub); font-weight: 800;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55); transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }
.nav__links .nav__cta {
  background: var(--blue); color: var(--dark);
  padding: 10px 22px; border-radius: 2px; font-size: 0.72rem;
  color: var(--dark) !important;
}
.nav__links .nav__cta:hover { background: #aae3f9; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex; align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -20%; right: -10%;
  width: 60vw; height: 80vh;
  background: radial-gradient(ellipse, rgba(141,215,247,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--max-width); margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 500px; gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.hero__label {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.hero__label span {
  font-family: var(--font-sub); font-weight: 800;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--blue);
}
.hero__label::before {
  content: ''; display: block; width: 24px; height: 2px; background: var(--blue);
}
.hero__heading { color: var(--white); margin-bottom: 28px; font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.hero__heading em { color: var(--blue); font-style: normal; display: block; }
.hero__body {
  color: rgba(255,255,255,0.6); font-size: 1.05rem; line-height: 1.75;
  margin-bottom: 40px; max-width: 500px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__image { position: relative; }
.hero__image img { width: 100%; display: block; }

/* --- STATS BAR --- */
.stats { background: var(--blue); padding: 22px 24px; }
.stats__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; gap: 0; flex-wrap: wrap;
}
.stat {
  flex: 1; min-width: 140px; text-align: center;
  padding: 8px 24px;
  border-right: 1px solid rgba(64,64,65,0.15);
}
.stat:last-child { border-right: none; }
.stat__number {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 1.9rem; color: var(--dark); line-height: 1;
}
.stat__label {
  font-family: var(--font-sub); font-weight: 800;
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(64,64,65,0.6); margin-top: 4px;
}

/* --- STORY --- */
.story__inner { max-width: 700px; margin: 0 auto; }
.story__inner p { margin-bottom: 24px; }
.story__inner p:last-child { margin-bottom: 0; }
.pull-quote {
  border-left: 3px solid var(--blue);
  padding: 20px 32px; margin: 40px 0;
  background: var(--off-white);
}
.pull-quote p {
  font-family: var(--font-sub); font-weight: 800;
  font-size: 1.25rem; line-height: 1.5; color: var(--dark);
  margin: 0;
}

/* --- SECTION HEADER --- */
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-muted); max-width: 520px; }
.section--dark .section-header p,
.section--black .section-header p { color: rgba(255,255,255,0.5); }

/* --- ARTICLES --- */
.articles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.article-card {
  background: var(--white); padding: 36px 32px;
  border: 1px solid var(--light);
  transition: border-color 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.article-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.article-card__tag {
  font-family: var(--font-sub); font-weight: 800;
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--blue); margin-bottom: 14px;
}
.article-card h3 { font-size: 1.05rem; line-height: 1.3; margin-bottom: 14px; }
.article-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 24px; }
.article-card__link {
  font-family: var(--font-sub); font-weight: 800;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--dark-mid); display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 2px solid var(--blue); padding-bottom: 2px;
}

/* --- EMAIL SIGNUP --- */
.signup { background: var(--dark); padding: var(--section-pad); }
.signup__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 460px; gap: 80px; align-items: center;
}
.signup__form-wrap {
  background: rgba(141,215,247,0.06);
  border: 1px solid rgba(141,215,247,0.15);
  border-radius: 3px; padding: 40px;
}
.signup__form-wrap h3 {
  font-family: var(--font-heading); font-size: 1.5rem;
  color: var(--white); margin-bottom: 6px;
}
.signup__form-wrap .sub { font-size: 0.9rem; color: rgba(255,255,255,0.45); margin-bottom: 28px; }
.form-row { display: flex; flex-direction: column; gap: 12px; }
.form-row input {
  padding: 14px 18px; border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.09); color: var(--white);
  font-family: var(--font-body); font-size: 0.95rem;
  outline: none; transition: border-color 0.2s;
}
.form-row input::placeholder { color: rgba(255,255,255,0.5); }
.form-row input:focus { border-color: var(--blue); }
.form-row .btn { width: 100%; text-align: center; }
.form-note { font-size: 0.72rem; color: rgba(255,255,255,0.25); margin-top: 10px; }

/* --- BOOK --- */
.book__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 300px 1fr; gap: 80px; align-items: center;
}
.book__content h2 { margin-bottom: 20px; }
.book__content p { margin-bottom: 16px; color: var(--text-muted); }
.book__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* --- WORK WITH ME --- */
.work__inner { max-width: var(--max-width); margin: 0 auto; }
.work__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 2px; margin-top: 56px;
}
.work__card {
  background: rgba(255,255,255,0.04);
  padding: 44px 36px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
}
.work__card--featured {
  background: var(--blue);
  border-color: var(--blue);
}
.work__card--featured h3  { color: var(--dark); }
.work__card--featured p   { color: rgba(28,28,29,0.85); }
.work__card--featured .work__price { color: var(--dark); }
.work__card--featured ul li { color: rgba(28,28,29,0.8); border-color: rgba(64,64,65,0.15); }
.work__card--featured ul li::before { color: var(--dark); opacity: 0.5; }
.work__card .eyebrow { margin-bottom: 10px; }
.work__card--featured .eyebrow { color: rgba(64,64,65,0.5); }
.work__price {
  font-family: var(--font-heading); font-size: 2.2rem;
  color: var(--white); line-height: 1; margin: 14px 0 16px;
}
.work__card h3 { color: var(--white); font-size: 1.35rem; }
.work__card p  { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; flex: 1; }
.work__card ul { list-style: none; margin-bottom: 28px; }
.work__card ul li {
  font-size: 0.88rem; padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; gap: 10px; align-items: flex-start;
  color: rgba(255,255,255,0.6);
}
.work__card ul li::before { content: '—'; color: var(--blue); flex-shrink: 0; font-weight: 800; }

/* --- SPEAKING BANNER --- */
.speaking-banner {
  background: var(--black);
  border-top: 1px solid rgba(141,215,247,0.1);
  border-bottom: 1px solid rgba(141,215,247,0.1);
  padding: 72px 24px;
}
.speaking-banner__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center;
}
.speaking-banner h2 { color: var(--white); margin-bottom: 16px; }
.speaking-banner p  { color: rgba(255,255,255,0.55); max-width: 580px; font-size: 1rem; line-height: 1.75; }
.speaking-banner__cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; text-align: right; }
.speaking-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.speaking-topic {
  font-family: var(--font-sub); font-weight: 800;
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--blue); background: var(--blue-dim);
  border: 1px solid rgba(141,215,247,0.2);
  padding: 6px 14px; border-radius: 2px;
}

/* --- ARTICLE PAGE --- */
.article-hero {
  background: var(--black);
  padding: 140px 24px 72px;
  position: relative; overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(141,215,247,0.05) 0%, transparent 55%);
  pointer-events: none;
}
.article-hero__inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.article-hero__meta {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.article-hero__tag {
  font-family: var(--font-sub); font-weight: 800;
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--blue);
}
.article-hero__date {
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}
.article-hero__date::before { content: '·'; margin-right: 16px; color: rgba(255,255,255,0.2); }
.article-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 20px; }
.article-hero .lead { color: rgba(255,255,255,0.55); max-width: 640px; }

.article-body {
  padding: 80px 24px 96px;
}
.article-body__inner {
  max-width: 700px; margin: 0 auto;
}

.article-cta {
  background: var(--dark); padding: 72px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.article-cta__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center;
}
.article-cta h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 12px; }
.article-cta p { color: rgba(255,255,255,0.5); margin-bottom: 0; }
.article-cta__actions { display: flex; flex-direction: column; gap: 12px; }

/* --- FOOTER --- */
.footer { background: var(--black); padding: 64px 24px 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer__inner { max-width: var(--max-width); margin: 0 auto; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}
.footer__brand img { height: 30px; margin-bottom: 18px; }
.footer__brand p { font-size: 0.85rem; color: rgba(255,255,255,0.3); line-height: 1.65; max-width: 240px; }
.footer__col h4 {
  font-family: var(--font-sub); font-weight: 800;
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.3); margin-bottom: 18px;
}
.footer__col a {
  display: block; font-size: 0.88rem; color: rgba(255,255,255,0.5);
  margin-bottom: 12px; transition: color 0.2s;
}
.footer__col a:hover { color: var(--blue); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer__bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.2); }

/* --- FORM STATES --- */
.form-success {
  font-family: var(--font-sub); font-weight: 800;
  font-size: 0.95rem; color: var(--blue);
  padding: 16px 0; text-align: center;
}
.form-error {
  font-size: 0.82rem; color: #e07070;
  margin-top: 8px; text-align: center;
}

/* --- RESPONSIVE --- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { order: 1; }
  .hero__image { order: 2; max-width: 320px; margin: 40px auto 0; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .signup__inner { grid-template-columns: 1fr; gap: 48px; }
  .book__inner { grid-template-columns: 1fr; }
  .book__inner img { max-width: 240px; }
  .work__grid { grid-template-columns: 1fr; }
  .speaking-banner__inner { grid-template-columns: 1fr; }
  .speaking-banner__cta { align-items: flex-start; text-align: left; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .article-cta__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 64px 20px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: 20px;
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--black); padding: 40px 24px;
  }
  .nav__links.open a { font-size: 1.1rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; }
  .stats__inner { flex-wrap: wrap; }
  .stat { min-width: 45%; }
  .footer__top { grid-template-columns: 1fr; }
}
