/* ============================================================
   RTD — Redefine The Discipline™  ·  Landing page styles
   Black / red / white brand system
   ============================================================ */

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

:root {
  --black:    #0E0E10;
  --surface:  #1A1A1C;
  --surface2: #222226;
  --red:      #C0312B;
  --red-dark: #8B1E1A;
  --white:    #F0F0F0;
  --gray:     #9A9A9A;
  --gray-lt:  #C8C8C8;
  --rule:     #2A2A2E;
  --max:      1200px;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
section[id] { scroll-margin-top: 84px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* Accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: 12px 20px;
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .1em;
  text-decoration: none;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* Shared bits */
.eyebrow {
  font-family: var(--font-cond);
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--red);
  display: block; margin-bottom: 14px;
}
.section-rule { width: 48px; height: 3px; background: var(--red); margin-bottom: 28px; }
.accent { color: var(--red); }

.btn-primary, .btn-outline {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 13px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; line-height: 1;
  border: none; cursor: pointer;
}
.btn-primary {
  background: var(--red); color: #fff;
  padding: 16px 40px; border-radius: 2px;
  position: relative;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(192,49,43,.32); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(192,49,43,.25); }
.btn-primary.btn-sm { padding: 13px 28px; }
.btn-primary.btn-disabled {
  background: var(--surface2); color: var(--gray);
  cursor: default; box-shadow: none; transform: none;
  border: 1px solid var(--rule);
}
.btn-outline {
  background: transparent; color: var(--white);
  padding: 15px 40px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 2px;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--white); color: #fff; }

/* Logos on dark backgrounds: black pixels blend away */
.blend-logo { mix-blend-mode: screen; }

/* ============================================================ NAV */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14,14,16,.96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  height: 72px; display: flex; align-items: center;
  transition: box-shadow .3s ease;
}
#site-nav.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px;
}
.nav-logo { display: block; line-height: 0; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-logo-text {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  color: #fff; letter-spacing: .04em;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a:not(.btn-primary) {
  font-family: var(--font-cond);
  font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-lt); text-decoration: none;
  position: relative; padding-bottom: 4px;
  transition: color .25s ease;
}
.nav-links a:not(.btn-primary)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.nav-links a:not(.btn-primary):hover { color: #fff; }
.nav-links a:not(.btn-primary):hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 12px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--white);
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--surface); border-bottom: 1px solid var(--rule);
  padding: 24px 32px; z-index: 99;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn-primary) {
  font-family: var(--font-cond);
  font-size: 15px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-lt); text-decoration: none;
  padding: 12px 0; border-bottom: 1px solid var(--rule);
}
.mobile-menu .mobile-cta { margin-top: 16px; text-align: center; padding: 16px; }

/* ============================================================ HERO */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: transparent none center 12% / cover no-repeat;
  filter: brightness(.58);
  z-index: 0;
}
/* Desktop: fit the full photo height (whole pose visible, hands included),
   anchored right, left edge faded into the black so there's no hard seam */
@media (min-width: 961px) {
  .hero-bg {
    background-size: auto 100%;
    background-position: right center;
    -webkit-mask-image: linear-gradient(to right, transparent calc(100% - 60vh), #000 calc(100% - 44vh));
    mask-image: linear-gradient(to right, transparent calc(100% - 60vh), #000 calc(100% - 44vh));
  }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg,
    rgba(14,14,16,.96) 0%,
    rgba(14,14,16,.82) 45%,
    rgba(14,14,16,.06) 100%);
}
/* #hero is a flex container; without an explicit width the auto-margin
   .container shrink-wraps and centers — force it full so the hero text
   left-aligns with the nav logo like every other section */
#hero .container { width: 100%; }
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 110px 0; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 700; line-height: 1.03;
  letter-spacing: -.01em; text-transform: uppercase;
  color: #fff; margin-bottom: 28px;
}
.hero-sub {
  font-size: 17px; line-height: 1.72; font-weight: 300;
  color: var(--gray-lt);
  margin-bottom: 44px; max-width: 560px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 64px; }
.hero-divider { width: 48px; height: 1px; background: rgba(255,255,255,.28); margin-bottom: 28px; }
.hero-quote p {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 300; font-style: italic;
  color: var(--gray-lt); line-height: 1.55; max-width: 480px;
}
.hero-quote figcaption {
  display: block; margin-top: 10px;
  font-family: var(--font-cond);
  font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--red);
}

/* ================================================= CREDIBILITY BAR */
#credibility {
  background: var(--surface);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cred-inner { display: flex; align-items: stretch; max-width: var(--max); margin: 0 auto; }
.cred-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 28px 16px; text-align: center; min-height: 88px;
  border-right: 1px solid var(--rule);
}
.cred-item:last-child { border-right: none; }
.cred-item strong {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; color: var(--white);
  display: block; margin-bottom: 5px; line-height: 1;
}
.cred-item span {
  font-family: var(--font-cond);
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray); line-height: 1.4;
}

/* =========================================================== ABOUT */
#about { padding: 108px 0; background: var(--black); }
.about-grid { display: grid; grid-template-columns: 460px 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; overflow: hidden; }
.about-img-wrap img { width: 100%; height: 620px; object-fit: cover; object-position: center top; display: block; }
.about-img-wrap::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--red); }
.about-text h2, .section-header h2, .framework-intro h2, .contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700; text-transform: uppercase;
  line-height: 1.08; color: #fff;
  margin-bottom: 28px;
}
.about-text p { font-size: 15px; line-height: 1.82; color: var(--gray-lt); margin-bottom: 18px; }
.credentials-list { list-style: none; margin: 32px 0 40px; display: flex; flex-direction: column; gap: 12px; }
.credentials-list li {
  font-family: var(--font-cond);
  font-size: 14px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray-lt);
  display: flex; align-items: center; gap: 14px; line-height: 1.3;
}
.credentials-list li::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--red); flex-shrink: 0;
}

/* ======================================================== KEYNOTES */
#keynotes { padding: 108px 0; background: var(--surface); position: relative; overflow: hidden; }
.keynotes-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  filter: brightness(.62) saturate(.7);
  z-index: 0;
}
.keynotes-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg,
    rgba(26,26,28,.28) 0%,
    rgba(26,26,28,.52) 26%,
    rgba(26,26,28,.90) 46%,
    rgba(26,26,28,.92) 100%);
}
#keynotes .container { position: relative; z-index: 2; }
.keynotes-bg ~ .container .talk-card { background: rgba(10,10,12,.86); }
.keynotes-bg ~ .container .talk-card:hover { background: rgba(14,14,17,.95); }
/* When a background photo is set, shift the content right on wide screens
   so Adam is visible on stage in the left band */
@media (min-width: 1100px) {
  .keynotes-bg ~ .container .section-header,
  .keynotes-bg ~ .container .talks-grid,
  .keynotes-bg ~ .container .keynotes-cta { margin-left: 33%; }
}
@media (max-width: 1099px) {
  .keynotes-overlay {
    background: linear-gradient(180deg,
      rgba(26,26,28,.92) 0%,
      rgba(26,26,28,.72) 40%,
      rgba(26,26,28,.86) 100%);
  }
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-rule { margin: 0 auto 28px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 16px; color: var(--gray); max-width: 540px; margin: 0 auto; line-height: 1.72; }
.talks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; margin-bottom: 56px; }
.talk-card {
  background: var(--black); padding: 48px 44px;
  border-top: 3px solid transparent;
  transition: border-color .25s, background .25s;
}
.talk-card:hover { border-top-color: var(--red); background: #111113; }
.talk-num {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 700; color: var(--rule);
  line-height: 1; margin-bottom: 20px; display: block;
}
.talk-card h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .03em;
  color: #fff; margin-bottom: 14px; line-height: 1.3;
}
.talk-card p { font-size: 15px; line-height: 1.75; color: var(--gray); }
.keynotes-cta { text-align: center; }

/* ======================================================= FRAMEWORK */
#framework { padding: 108px 0; background: var(--black); }
.framework-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-bottom: 72px; }
.framework-intro h2 { margin-bottom: 0; font-size: clamp(30px, 3.5vw, 48px); }
.framework-intro-right p { font-size: 15px; line-height: 1.82; color: var(--gray-lt); margin-bottom: 18px; }
.framework-quote { font-style: italic; color: var(--gray) !important; }
.codes-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.code-card {
  background: var(--surface); padding: 40px 28px 36px;
  border-bottom: 3px solid var(--rule);
  transition: border-color .25s;
}
.code-card:hover { border-bottom-color: var(--red); }
.code-number {
  font-family: var(--font-cond);
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px; display: block;
}
.code-card h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  text-transform: uppercase; color: #fff; margin-bottom: 12px;
}
.code-card p { font-size: 13px; line-height: 1.72; color: var(--gray); }

/* ======================================================== COACHING */
#coaching { padding: 108px 0; background: var(--surface); }
#coaching .section-header { margin-bottom: 48px; }
.coaching-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.coaching-card {
  overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--rule);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.coaching-card:hover { transform: translateY(-4px); border-color: rgba(192,49,43,.45); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.coaching-card-img {
  width: 100%; aspect-ratio: 1 / 1; height: auto;
  object-fit: cover; object-position: center 55%;
  display: block; filter: brightness(.85);
}
.coaching-card.secondary .coaching-card-img { object-position: center; filter: none; }
.coaching-card-body { padding: 48px 44px; flex: 1; display: flex; flex-direction: column; }
.coaching-card.primary .coaching-card-body { background: var(--black); }
.coaching-card.secondary .coaching-card-body { background: var(--surface2); }
.coaching-card h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700; text-transform: uppercase;
  color: #fff; line-height: 1.08; margin-bottom: 18px;
}
.coaching-card-body > p { font-size: 15px; line-height: 1.78; color: var(--gray-lt); margin-bottom: 28px; }
.feature-list { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.feature-list li {
  font-size: 14px; color: var(--gray-lt);
  display: flex; align-items: flex-start; gap: 12px; line-height: 1.55;
}
.feature-list li::before { content: '→'; color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.coaching-card .btn-primary, .coaching-card .btn-outline { align-self: flex-start; }

/* ============================================================ BOOK */
#book { padding: 108px 0; background: var(--black); position: relative; overflow: hidden; }
.book-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 480px;
  gap: 64px; align-items: center;
}
.book-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700; text-transform: uppercase;
  color: #fff; line-height: 1.03; margin-bottom: 20px;
}
.book-tagline {
  font-family: var(--font-cond);
  font-size: 16px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-lt) !important;
}
.book-text p { font-size: 15px; line-height: 1.82; color: var(--gray-lt); margin-bottom: 18px; }
.book-pull-quote {
  border-left: 3px solid var(--red);
  padding-left: 24px; margin: 32px 0 40px;
  font-family: var(--font-display);
  font-size: 19px; font-weight: 300; font-style: italic;
  color: var(--gray-lt); line-height: 1.5;
}
.book-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.book-cover-img {
  width: 100%; display: block;
  /* Fade the render's own background into the section so it doesn't read as a pasted rectangle */
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at center, #000 55%, transparent 98%);
  mask-image: radial-gradient(ellipse 72% 68% at center, #000 55%, transparent 98%);
}
.book-cover-mock {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--surface) 0%, #131315 100%);
  border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 44px 32px; text-align: center; position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,.55);
}
.book-cover-mock::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--red); }
.book-cover-top { font-family: var(--font-cond); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.book-cover-title { font-family: var(--font-display); font-size: 30px; font-weight: 700; text-transform: uppercase; color: #fff; line-height: 1.1; }
.book-cover-subtitle { font-family: var(--font-body); font-size: 13px; font-weight: 300; color: var(--gray); line-height: 1.65; }
.book-cover-author { font-family: var(--font-cond); font-size: 14px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gray-lt); }

/* ==================================================== TESTIMONIALS */
#testimonials { padding: 108px 0; background: var(--surface); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; margin-top: 64px; }
.testimonial-card { background: var(--black); padding: 52px 44px 44px; position: relative; }
.quote-mark {
  font-family: var(--font-display);
  font-size: 96px; font-weight: 700; color: var(--red);
  opacity: .18; position: absolute; top: 20px; left: 36px;
  line-height: 1; pointer-events: none;
}
.testimonial-card blockquote {
  font-size: 15px; line-height: 1.82; color: var(--gray-lt);
  font-style: italic; margin-bottom: 28px; padding-top: 48px;
}
.attribution .role {
  font-family: var(--font-cond);
  font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); font-style: normal;
}

/* ========================================================= CONTACT */
#contact { padding: 108px 0; background: var(--black); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info h2 { margin-bottom: 24px; }
.contact-info > p { font-size: 15px; line-height: 1.82; color: var(--gray-lt); margin-bottom: 32px; }
.contact-meta { display: flex; flex-direction: column; gap: 24px; }
.contact-meta-item { display: flex; flex-direction: column; gap: 5px; }
.contact-meta-item .label {
  font-family: var(--font-cond);
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--red);
}
.contact-meta-item a { font-size: 14px; color: var(--gray-lt); text-decoration: none; transition: color .2s; }
.contact-meta-item a:hover { color: #fff; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-family: var(--font-cond);
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gray);
}
.form-group label .optional { color: #55555b; letter-spacing: .08em; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--surface);
  border: none; border-bottom: 1px solid #3A3A3E;
  color: var(--white);
  font-family: var(--font-body); font-size: 15px;
  padding: 14px 16px; outline: none; width: 100%;
  resize: none; appearance: none; -webkit-appearance: none;
  border-radius: 0;
  transition: border-color .2s, background .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-bottom-color: var(--red); background: #1E1E22;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #5A5A60; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--surface2); color: var(--white); }
.form-note { font-size: 13px; color: var(--gray); line-height: 1.6; padding-top: 4px; }
.form-submit { margin-top: 8px; width: 100%; text-align: center; padding: 18px 40px; font-size: 13px; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

.form-banner {
  padding: 16px 20px; margin-bottom: 20px;
  font-size: 14px; line-height: 1.6;
  border-left: 3px solid;
}
.form-banner-success { background: rgba(46,125,50,.12); border-color: #2E7D32; color: #A5D6A7; }
.form-banner-error { background: rgba(192,49,43,.12); border-color: var(--red); color: #EF9A9A; }

/* ========================================================== FOOTER */
footer { background: var(--surface); border-top: 1px solid var(--rule); padding: 72px 0 44px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 64px;
  margin-bottom: 56px; padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.footer-logo-wrap { display: inline-block; margin-bottom: 22px; line-height: 0; }
.footer-logo-wrap img { height: 44px; width: auto; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.78; color: var(--gray); max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-cond);
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-col ul li a { font-size: 14px; color: var(--gray); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 12px; color: var(--gray); letter-spacing: .04em; }
.social-row { display: flex; gap: 24px; align-items: center; }
.social-row a {
  font-family: var(--font-cond);
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray); text-decoration: none; transition: color .2s;
}
.social-row a:hover { color: var(--white); }

/* ================================================ REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal, .reveal.no-observer { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ================================================== GUIDE POPUP */
.guide-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; }
.guide-modal[hidden] { display: none; }
.guide-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.guide-modal-dialog {
  position: relative; width: 100%; max-width: 440px;
  background: var(--surface); border: 1px solid var(--rule);
  border-top: 3px solid var(--red);
  padding: 44px 40px 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: guide-pop .25s ease;
}
@keyframes guide-pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .guide-modal-dialog { animation: none; } }
.guide-modal-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; cursor: pointer;
  font-size: 28px; line-height: 1; color: var(--gray);
  padding: 6px; transition: color .2s;
}
.guide-modal-close:hover { color: #fff; }
.guide-modal-dialog h3 {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  text-transform: uppercase; color: #fff; line-height: 1.15; margin-bottom: 12px;
}
.guide-modal-dialog p { font-size: 14px; line-height: 1.7; color: var(--gray-lt); margin-bottom: 20px; }
.guide-modal-dialog .form-group { margin-bottom: 14px; }
.guide-submit { width: 100%; text-align: center; padding: 17px 20px; }
.guide-privacy { font-size: 12px !important; color: var(--gray) !important; margin: 12px 0 0 !important; text-align: center; }
.guide-error { color: #EF9A9A !important; font-size: 13px !important; margin: 12px 0 0 !important; }
.guide-submit[disabled] { opacity: .6; cursor: wait; transform: none !important; }
.guide-modal-success h3 { margin-bottom: 10px; }
.guide-modal-success p { margin-bottom: 0; }
.guide-modal-success .section-rule { margin-bottom: 20px; }
.guide-direct-link { color: var(--red); }

/* ====================================================== RESPONSIVE */
@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap img { height: 500px; }
  .framework-intro { grid-template-columns: 1fr; gap: 32px; }
  .codes-grid { grid-template-columns: repeat(2, 1fr); }
  .coaching-grid { grid-template-columns: 1fr; }
  .book-content { grid-template-columns: 1fr; gap: 48px; }
  .book-cover-col { max-width: 320px; margin: 0 auto; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .talks-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .cred-inner { flex-wrap: wrap; }
  .cred-item { flex: 0 0 33.333%; border-bottom: 1px solid var(--rule); }
  .cred-item:nth-child(3n) { border-right: none; }
  .cred-item:nth-child(n+4) { border-bottom: none; }
  #about, #keynotes, #framework, #coaching, #book, #testimonials, #contact { padding: 72px 0; }
  .hero-content { padding: 80px 0; }
  /* Mobile: keep the faded photo visible behind the text instead of
     the desktop left-to-right gradient (which goes solid at this width) */
  .hero-bg { background-position: center 0; filter: brightness(.55); }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(14,14,16,.55) 0%,
      rgba(14,14,16,.78) 45%,
      rgba(14,14,16,.94) 100%);
  }
}
@media (max-width: 520px) {
  .hero-ctas, .book-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas a, .book-ctas a, .book-ctas span { text-align: center; }
  .codes-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cred-item { flex: 0 0 50%; }
  .cred-item:nth-child(3n) { border-right: 1px solid var(--rule); }
  .cred-item:nth-child(2n) { border-right: none; }
  .cred-item:nth-child(n+4) { border-bottom: none; }
  .cred-item:nth-child(4) { border-bottom: 1px solid var(--rule); }
  .talk-card, .coaching-card-body, .testimonial-card { padding-left: 28px; padding-right: 28px; }
}
