/* ============================================================
   TROY HAZARD — Main Stylesheet
   ============================================================ */

/* --- TOKENS --- */
:root {
  --ink: #16191c;
  --paper: #f6f4ef;
  --brass: #00b371;
  --brass-deep: #007a4d;
  --navy: #1c2733;
  --line: rgba(22, 25, 28, 0.12);
  --serif: 'Source Serif 4', 'Georgia', serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- NAVIGATION --- */
header {
  position: sticky; top: 0; z-index: 50;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
  max-width: 1200px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.logo { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: 0.5px; flex-shrink: 0; }
.logo span { color: var(--brass); }
nav ul { display: flex; gap: 14px; list-style: none; flex-wrap: nowrap; }
nav a {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2px;
  text-transform: uppercase; color: rgba(255,255,255,0.7); transition: color .2s;
  white-space: nowrap;
}
nav a:hover, nav a.active { color: #fff; }
.nav-cta {
  background: var(--brass); color: #000 !important; opacity: 1 !important;
  padding: 10px 16px; border-radius: 2px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.2px; text-transform: uppercase; transition: background .2s;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: #00c97f; }

/* Mobile hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; transition: all .3s; }
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--navy);
  z-index: 100; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--paper); font-size: 22px; font-family: var(--serif); }
.mobile-menu .close-btn {
  position: absolute; top: 24px; right: 32px; color: var(--paper);
  font-size: 28px; cursor: pointer; background: none; border: none;
}

/* --- BUTTONS --- */
.btn {
  padding: 15px 30px; font-size: 14px; font-weight: 700; letter-spacing: 0.4px;
  text-transform: uppercase; border-radius: 2px; transition: all .2s; border: 1px solid transparent;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary { background: var(--brass); color: var(--navy); }
.btn-primary:hover { background: #00c97f; transform: translateY(-1px); }
.btn-outline { border-color: rgba(22,25,28,0.3); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: rgba(22,25,28,0.05); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--brass-deep); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- EYEBROW LABEL --- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brass); margin-bottom: 22px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brass); }
.eyebrow--dark { color: var(--brass-deep); }
.eyebrow--dark::before { background: var(--brass-deep); }

/* --- HERO --- */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center;
  background: var(--paper);
  color: var(--ink); overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(0,179,113,0.04) 0px, rgba(0,179,113,0.04) 1px, transparent 1px, transparent 90px);
  pointer-events: none;
}
.hero-grid {
  max-width: 1200px; margin: 0 auto; padding: 60px 32px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(38px, 5vw, 62px); line-height: 1.05; letter-spacing: -0.5px;
  margin-bottom: 24px; color: var(--ink);
}
.hero h1 em { font-style: italic; color: var(--brass); font-weight: 500; }
.hero p { font-size: 18px; color: #4a5058; max-width: 480px; margin-bottom: 34px; }

.hero-media {
  position: relative; border-radius: 4px; overflow: hidden;
  aspect-ratio: 4/5;
  background: #0c1117 center/cover;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
/* Replace with real image: background-image: url('../images/troy-hero.jpg'); */
.hero-media { background-color: #0c1117; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(12,17,23,0.7) 0%, transparent 45%);
}
.play-btn {
  position: absolute; bottom: 24px; left: 24px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  cursor: pointer;
}
.play-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brass); display: flex; align-items: center; justify-content: center;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,179,113,0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(0,179,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,179,113,0); }
}

/* --- STATS STRIP --- */
.stats { background: var(--ink); color: var(--paper); padding: 34px 32px; }

/* --- SECTION SHELL --- */
section.block { padding: 60px 32px 100px; }
.block-inner { max-width: 1200px; margin: 0 auto; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 3.5vw, 40px); line-height: 1.15; color: var(--ink);
}

/* --- ABOUT --- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: start; margin-top: 32px; }
.about-photo {
  border-radius: 4px; aspect-ratio: 3/4; overflow: hidden;
  /* Replace with real image: background-image: url('../images/troy-about.jpg'); */
  background: #1c2733;
}
.about-text p { font-size: 17px; color: #3a3f44; margin-bottom: 18px; }
.about-text h2 { font-family: var(--serif); font-size: 32px; margin-bottom: 20px; font-weight: 600; }
.credential-row {
  display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.credential { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--brass-deep); }

/* --- KEYNOTES --- */
.keynotes { background: #efece4; }
.kt-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.kt-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 34px; transition: transform .2s, box-shadow .2s;
}
.kt-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22,25,28,0.08); }
.kt-num { font-family: var(--serif); font-size: 14px; color: var(--brass); font-weight: 600; margin-bottom: 16px; }
.kt-card h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 12px; font-weight: 600; }
.kt-card p { font-size: 14.5px; color: #5a5f64; margin-bottom: 20px; }
.kt-link { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--brass); padding-bottom: 2px; }

/* --- TICKER --- */
/* ticker-wrap now styled in logo section below */
.ticker-track { display: flex; gap: 20px; width: max-content; animation: scroll 20s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-pill {
  color: rgba(246,244,239,0.55); font-family: var(--serif); font-size: 22px; font-weight: 600;
  white-space: nowrap; padding: 0 10px;
}

/* --- BOARD --- */
.board { background: var(--paper); }
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 32px; }
.board-text h2 { font-family: var(--serif); font-size: clamp(26px,3vw,36px); margin-bottom: 20px; font-weight: 600; }
.board-text p { font-size: 16px; color: #3a3f44; margin-bottom: 24px; }
.board-media {
  aspect-ratio: 5/4; border-radius: 4px; overflow: hidden;
  /* Replace with real image: background-image: url('../images/boardroom.jpg'); */
  background: #1c2733;
}

/* --- CTA BLOCK --- */
.cta-block {
  background: linear-gradient(160deg, var(--navy), #11171f);
  color: var(--paper); text-align: center; padding: 110px 32px;
}
.cta-block .eyebrow { justify-content: center; color: var(--brass); }
.cta-block h2 {
  font-family: var(--serif); font-size: clamp(30px,4vw,46px);
  font-weight: 600; max-width: 680px; margin: 0 auto 30px;
}
.cta-block .btn-row { justify-content: center; }

/* --- FOOTER --- */
footer { background: var(--ink); color: rgba(246,244,239,0.6); padding: 50px 32px 30px; }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(246,244,239,0.1);
}
.footer-logo { font-family: var(--serif); font-size: 20px; color: var(--paper); margin-bottom: 10px; }
.footer-tagline { font-size: 13px; max-width: 260px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--brass); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; margin-bottom: 9px; color: rgba(246,244,239,0.65); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 22px;
  font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* --- RESPONSIVE --- */
@media (max-width: 860px) {
  nav ul { display: none; }
  .hamburger { display: flex; }
  .hero-grid, .about-grid, .board-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .kt-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  section.block { padding: 50px 24px 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .play-circle { animation: none; }
  .btn-primary:hover { transform: none; }
}

/* ===== ABOUT PHOTO (real image) ===== */
.about-photo-wrap {
  border-radius: 4px; overflow: hidden; aspect-ratio: 3/4;
  position: sticky; top: 100px;
}
.about-photo-img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}

/* ===== HERO MEDIA (real image) ===== */
.hero-media {
  background: none !important;
}
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}

/* ===== KEYNOTE CARD ICON ===== */
.kt-icon { font-size: 28px; margin-bottom: 14px; }

/* ===== STAGE GALLERY ===== */
.gallery-block { background: #efece4; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.gallery-item { border-radius: 4px; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item { min-height: 220px; }

/* ===== MEDIA SECTION ===== */
.media-block { background: var(--paper); }
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.media-card {
  border: 1px solid var(--line); border-radius: 4px; padding: 22px 20px;
  background: #efece4; display: flex; flex-direction: column; gap: 10px;
  min-width: 0; overflow: hidden;
}
.media-card h3 { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.media-card p { font-size: 13.5px; color: #5a5f64; line-height: 1.6; }

/* Row 2: two cards centred */
.media-grid-row2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
  max-width: 66.66%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 860px) {
  .media-grid { grid-template-columns: 1fr 1fr; }
  .media-grid-row2 { grid-template-columns: 1fr 1fr; max-width: 100%; }
}
@media (max-width: 580px) {
  .media-grid { grid-template-columns: 1fr; }
  .media-grid-row2 { grid-template-columns: 1fr; max-width: 100%; }
}

/* ===== BOARD MEDIA (real image) ===== */
.board-media {
  border-radius: 4px; overflow: hidden; aspect-ratio: 5/4;
  background: none;
}
.board-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== CTA SUB TEXT ===== */
.cta-sub { color: rgba(246,244,239,0.7); font-size: 16px; max-width: 500px; margin: 0 auto 32px; }

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--tall { grid-row: span 1; }
  .about-photo-wrap { aspect-ratio: 4/3; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
}

/* ===== LOGO IMAGE ===== */
.logo { display: flex; align-items: center; }
.logo-img { height: 36px; width: auto; display: block; }
.footer-logo-img { height: 32px; width: auto; display: block; margin-bottom: 12px; }

/* Green accent override for hero line pattern */
.hero::before {
  background-image: repeating-linear-gradient(115deg, rgba(0,179,113,0.06) 0px, rgba(0,179,113,0.06) 1px, transparent 1px, transparent 90px);
}

/* ===== LOGO SIZE (black header) ===== */
/* ===== LOGO — force light version on black header ===== */
.logo-img { height: 58px; width: auto; display: block; filter: none; }

/* ===== HERO play button on light bg ===== */
.play-btn { color: var(--ink); }
.play-circle { background: var(--brass); }

/* ===== HERO — CTA block needs dark outline buttons still ===== */
.cta-block .btn-outline { border-color: rgba(246,244,239,0.4); color: var(--paper); }
.cta-block .btn-outline:hover { border-color: var(--paper); background: rgba(255,255,255,0.06); }

/* ===== BOOKS ===== */
.books-block { background: var(--paper); }
.books-grid { display: flex; flex-direction: column; gap: 80px; }

.book-card {
  display: grid; grid-template-columns: 0.55fr 1fr; gap: 60px; align-items: start;
}
.book-card--reverse { grid-template-columns: 1fr 0.55fr; }
.book-card--reverse .book-cover { order: 2; }
.book-card--reverse .book-info { order: 1; }

.book-cover {
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(22,25,28,0.15);
  position: sticky; top: 100px;
}
.book-cover img { width: 100%; display: block; }

.book-info h3 {
  font-family: var(--serif); font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600; margin-bottom: 8px; color: var(--ink);
}
.book-subtitle {
  font-size: 15px; font-style: italic; color: var(--brass-deep);
  margin-bottom: 20px; font-weight: 600;
}
.book-info p { font-size: 16px; color: #3a3f44; margin-bottom: 20px; line-height: 1.7; }
.book-quote {
  border-left: 3px solid var(--brass); padding-left: 20px;
  font-style: italic; color: #4a5058; font-size: 15px; line-height: 1.7;
  margin: 24px 0; font-family: var(--serif);
}

@media (max-width: 860px) {
  .book-card, .book-card--reverse { grid-template-columns: 1fr; gap: 32px; }
  .book-card--reverse .book-cover { order: 0; }
  .book-card--reverse .book-info { order: 1; }
  .book-cover { position: static; max-width: 280px; }
}

/* ===== HERO IMAGE & PLAY BUTTON OVERRIDES ===== */
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
}
.play-btn {
  position: absolute !important; bottom: 28px; left: 28px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  color: #fff !important; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer;
}
.play-circle {
  width: 68px !important; height: 68px !important; border-radius: 50%;
  background: var(--brass) !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  animation: pulse-hero 1.8s infinite !important;
}
@keyframes pulse-hero {
  0%   { box-shadow: 0 0 0 0 rgba(0,179,113,0.75); transform: scale(1); }
  50%  { box-shadow: 0 0 0 26px rgba(0,179,113,0); transform: scale(1.06); }
  100% { box-shadow: 0 0 0 0 rgba(0,179,113,0); transform: scale(1); }
}

/* ===== KEYNOTE ACCORDION ===== */
.keynotes .section-head { max-width: 820px; }
.keynotes .section-head h2 { font-size: clamp(22px, 2.8vw, 34px); }

.kt-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }

.kt-item { border-bottom: 1px solid var(--line); }

.kt-item-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0; cursor: pointer; gap: 20px;
}
.kt-item-header:hover h3 { color: var(--brass-deep); }

.kt-item-title {
  display: flex; align-items: flex-start; gap: 24px; flex: 1;
}
.kt-num {
  font-family: var(--serif); font-size: 13px; color: var(--brass);
  font-weight: 600; padding-top: 4px; flex-shrink: 0; min-width: 24px;
}
.kt-item-title h3 {
  font-family: var(--serif); font-size: clamp(18px, 2vw, 22px);
  font-weight: 600; color: var(--ink); margin-bottom: 4px;
  transition: color .2s;
}
.kt-subtitle {
  font-size: 13px; font-style: italic; color: #6a7078; margin: 0;
}

.kt-toggle {
  background: none; border: 1px solid var(--line); border-radius: 50%;
  width: 36px; height: 36px; font-size: 20px; line-height: 1;
  color: var(--brass); cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; font-weight: 300;
}
.kt-item.open .kt-toggle {
  background: var(--brass); color: #fff; border-color: var(--brass);
  transform: rotate(45deg);
}

.kt-body {
  display: none; padding: 0 0 32px 48px;
}
.kt-item.open .kt-body { display: block; }

.kt-body p { font-size: 15.5px; color: #3a3f44; margin-bottom: 16px; line-height: 1.7; }
.kt-bullets {
  margin: 16px 0 20px 0; padding-left: 20px;
}
.kt-bullets li {
  font-size: 15px; color: #3a3f44; margin-bottom: 10px; line-height: 1.6;
}
.kt-closer {
  font-style: italic; color: var(--brass-deep) !important;
  font-weight: 600; border-left: 3px solid var(--brass);
  padding-left: 16px; margin: 24px 0 !important;
}
.kt-pdf { margin-top: 8px; font-size: 13px; padding: 11px 22px; }

@media (max-width: 600px) {
  .kt-body { padding-left: 0; }
  .kt-item-title { gap: 14px; }
}

/* ===== FAST FACTS ===== */
.fast-facts {
  margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line);
}
.fast-facts-title {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--brass-deep); margin-bottom: 24px;
}
.fast-facts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.ff-heading {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--ink); margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 2px solid var(--brass);
  display: inline-block;
}
.ff-col ul { list-style: none; padding: 0; margin: 0; }
.ff-col ul li {
  font-family: var(--sans); font-size: 14px; color: #4a5058;
  padding: 7px 0; border-bottom: 1px solid rgba(22,25,28,0.06);
  line-height: 1.4;
}
.ff-col ul li:last-child { border-bottom: none; }

@media (max-width: 600px) {
  .fast-facts-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== MIXED GALLERY GRID ===== */
.mixed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 10px;
}

.mg-item {
  position: relative; border-radius: 4px; overflow: hidden;
  background: #0f1a24;
  cursor: pointer;
}
.mg-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.mg-item:hover img { transform: scale(1.04); }

/* Dark overlay on all tiles */
.mg-item::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  z-index: 1;
}

/* Video tile background */
.mg-video {
  background: linear-gradient(135deg, #0f1e14 0%, #0a1510 100%);
}
.mg-video::before { background: none; }
.mg-video:hover { background: linear-gradient(135deg, #142a1c 0%, #0f1e14 100%); }

/* Play button */
.mg-play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.mg-play-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--brass); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; padding-left: 4px;
  transition: transform .2s, background .2s;
  animation: pulse-hero 2s infinite;
}
.mg-item:hover .mg-play-circle {
  transform: scale(1.1);
  background: #00c97f;
  animation: none;
}

/* Caption bar */
.mg-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 14px; z-index: 3;
}
.mg-caption p {
  font-size: 13px; font-weight: 600; color: #fff;
  margin: 4px 0 0; line-height: 1.3;
}
.mg-badge {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 3px 8px; border-radius: 2px;
  display: inline-block;
}
.mg-badge--photo { background: var(--brass); color: #fff; }
.mg-badge--video { background: rgba(0,0,0,0.55); color: #fff; border: 1px solid rgba(255,255,255,0.25); }

/* Video modal */
.video-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.88); z-index: 500;
  align-items: center; justify-content: center;
}
.video-modal.active { display: flex; }
.video-modal-inner {
  position: relative; width: min(900px, 90vw); aspect-ratio: 16/9;
}
.video-modal-inner iframe { width: 100%; height: 100%; border: 0; }
.video-modal-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: none; color: #fff;
  font-size: 32px; cursor: pointer; line-height: 1;
}

/* Responsive */
@media (max-width: 860px) {
  .mixed-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .mg-tall { grid-row: span 1; }
}
@media (max-width: 500px) {
  .mixed-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .mg-wide { grid-column: span 1; }
}

/* ===== VIDEO THUMBNAIL IMAGE ===== */
.mg-video img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease;
  filter: brightness(0.7);
}
.mg-video:hover img { transform: scale(1.04); filter: brightness(0.5); }
.mg-video::before { display: none; }

/* ===== PHOTO LIGHTBOX ===== */
.photo-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.92); z-index: 500;
  align-items: center; justify-content: center;
  flex-direction: column;
}
.photo-modal.active { display: flex; }
.photo-modal-close {
  position: fixed; top: 24px; right: 32px;
  background: none; border: none; color: #fff;
  font-size: 36px; cursor: pointer; line-height: 1; z-index: 10;
  opacity: 0.8; transition: opacity .2s;
}
.photo-modal-close:hover { opacity: 1; }
.photo-modal-inner {
  max-width: 90vw; max-height: 88vh;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.photo-modal-inner img {
  max-width: 100%; max-height: 82vh;
  object-fit: contain; border-radius: 2px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.photo-modal-caption {
  color: rgba(255,255,255,0.7); font-size: 13px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  margin: 0;
}

/* Photo tiles — show cursor pointer clearly */
.mg-photo { cursor: pointer; }
.mg-photo:hover img { transform: scale(1.04); }

/* Remove badge space now badges are gone */
.mg-caption p { margin: 0; }

/* ===== STATS STRIP — THREE LINE FORMAT ===== */
.stat-block {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 8px 0;
}
.stat-top {
  font-family: var(--sans); font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: rgba(246,244,239,0.55);
}
.stat-num {
  font-family: var(--serif); font-size: clamp(42px, 5vw, 64px);
  color: var(--brass); line-height: 1;
  transition: transform .3s ease;
}
.stat-bottom {
  font-family: var(--sans); font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: rgba(246,244,239,0.55);
}

/* Count-up animation — numbers slide up into view */
.stat-block { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.stat-block.visible { opacity: 1; transform: translateY(0); }
.stat-block:nth-child(1) { transition-delay: 0s; }
.stat-block:nth-child(2) { transition-delay: 0.15s; }
.stat-block:nth-child(3) { transition-delay: 0.3s; }
.stat-block:nth-child(4) { transition-delay: 0.45s; }
.stat-block:nth-child(5) { transition-delay: 0.6s; }

/* Dividers between stats */
.stats-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 0; text-align: center;
}
.stat-block + .stat-block {
  border-left: 1px solid rgba(246,244,239,0.1);
}

@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-block:nth-child(3) { border-left: none; }
  .stat-block + .stat-block { border-left: 1px solid rgba(246,244,239,0.1); }
  .stat-block:nth-child(3) { border-top: 1px solid rgba(246,244,239,0.1); }
  .stat-block:nth-child(4) { border-top: 1px solid rgba(246,244,239,0.1); }
}

/* ===== TICKER LOGOS ===== */
.ticker-wrap { background: #fff; padding: 40px 0; }
.ticker-head { max-width: 1200px; margin: 0 auto 24px; padding: 0 32px; }
.ticker-head .eyebrow { color: var(--brass-deep); }
.ticker-head .eyebrow--dark,
.ticker-eyebrow {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: var(--brass-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.ticker-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass-deep);
  display: block;
  flex-shrink: 0;
}
.ticker-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 0 40px; flex-shrink: 0;
}
.ticker-logo img {
  height: 72px; width: auto; max-width: 200px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity .2s;
}
.ticker-logo img:hover { opacity: 1; }

/* CW logo */
.ticker-logo img.no-invert {
  opacity: 0.85;
  border-radius: 4px;
}
.ticker-logo img.no-invert:hover { opacity: 1; }

/* Ensure ticker overflow is still hidden */
.ticker-wrap { overflow: hidden; }

/* The Times logo — small source image, needs to render larger */
.ticker-logo img[src*="times"] {
  height: 72px;
  max-width: 220px;
  image-rendering: auto;
}

/* ===== MEDIA CARD THUMBNAILS ===== */
.media-thumb {
  width: 100%; aspect-ratio: 16/9;
  border-radius: 3px; overflow: hidden;
  margin-bottom: 4px;
}
.media-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s ease;
}
.media-card:hover .media-thumb img { transform: scale(1.03); }

/* ===== MEDIA CARD — CLICKABLE THUMBNAIL ===== */
.media-thumb-link {
  display: block; text-decoration: none;
}
.media-thumb {
  position: relative;
}
.media-thumb-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0);
  transition: background .2s;
}
.media-thumb-play::after {
  content: '▶';
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brass);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff; padding-left: 3px;
  opacity: 0; transform: scale(0.8);
  transition: opacity .2s, transform .2s;
}
.media-thumb-link:hover .media-thumb-play { background: rgba(0,0,0,0.25); }
.media-thumb-link:hover .media-thumb-play::after { opacity: 1; transform: scale(1); }
.media-thumb-link:hover .media-thumb img { transform: scale(1.03); }

/* Media block — tighter padding so 5 cards fit on one row */
.media-block.block { padding: 60px 32px 80px; }

/* ===== TRUSTED BY / CLIENT TICKER ===== */
.ticker-wrap--light {
  background: #fff; padding: 40px 0; overflow: hidden;
}
.ticker-wrap--light .ticker-head {
  max-width: 1200px; margin: 0 auto 24px; padding: 0 32px;
}
.ticker-wrap--light .ticker-head .eyebrow--dark {
  display: block;
}
.ticker-track--slow {
  animation: scroll 45s linear infinite;
  gap: 20px;
}
.ticker-track--slow:hover { animation-play-state: paused; }

/* Slightly larger logos for client ticker */
.ticker-track--slow .ticker-logo img {
  height: 72px; max-width: 200px;
  opacity: 0.8;
  transition: opacity .2s;
}
.ticker-track--slow .ticker-logo img:hover { opacity: 1; }

/* ===== SCROLL OFFSET — consistent nav landing position ===== */
/* Accounts for sticky header height (~86px) + breathing room */
#about, #keynotes, #gallery, #trusted, #media, #board, #contact, #books, #resources, #faq {
  scroll-margin-top: 74px;
}

/* ===== BOARD MEDIA — clickable video ===== */
.board-media:hover .board-overlay {
  background: rgba(0,0,0,0.25) !important;
}
.board-media:hover .mg-play-circle {
  opacity: 1 !important;
  transform: scale(1.08);
}
.board-media .mg-play-circle {
  transition: opacity .2s, transform .2s;
}

/* Board section needs a little more scroll clearance */
#board { scroll-margin-top: 74px; }

/* ===== DROPDOWN NAV ===== */
nav ul li { position: relative; }

nav ul li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px; /* bridge the gap — keeps hover active */
  z-index: 200;
}

nav ul li .dropdown-inner {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  min-width: 220px;
  padding: 8px 0;
  border-top: 2px solid var(--brass);
  list-style: none;
}

/* Arrow pointer */
nav ul li .dropdown-inner::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: none;
  border-bottom-color: var(--brass);
}

nav ul li.has-dropdown:hover .dropdown,
nav ul li.has-dropdown:focus-within .dropdown { display: block; }

nav ul li .dropdown li { display: block; }
nav ul li .dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--ink) !important;
  opacity: 1 !important;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
nav ul li .dropdown a:hover {
  background: #f6f4ef;
  color: var(--brass-deep) !important;
}

/* Chevron indicator on parent items */
nav ul li.has-dropdown > a::after {
  content: ' ▾';
  font-size: 9px;
  opacity: 0.6;
  vertical-align: 1px;
}

/* Meeting Planners CTA dropdown — mirrors nav ul li.has-dropdown, scoped
   outside <nav> since the CTA button lives as a sibling, not a menu item */
.nav-cta-wrap { position: relative; }
.nav-cta-wrap .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 12px;
  z-index: 200;
}
.nav-cta-wrap:hover .dropdown,
.nav-cta-wrap:focus-within .dropdown { display: block; }
.nav-cta-wrap .dropdown-inner {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  min-width: 190px;
  padding: 8px 0;
  border-top: 2px solid var(--brass);
  list-style: none;
  position: relative;
}
.nav-cta-wrap .dropdown-inner::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  border: 6px solid transparent;
  border-top: none;
  border-bottom-color: var(--brass);
}
.nav-cta-wrap .dropdown li { display: block; }
.nav-cta-wrap .dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--ink) !important;
  opacity: 1 !important;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-cta-wrap .dropdown a:hover {
  background: #f6f4ef;
  color: var(--brass-deep) !important;
}

/* ===== TESTIMONIALS — homepage ===== */
.testimonials-block { background: #efece4; }
.t-home-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }
.t-home-intro h2 { font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.t-home-intro p { font-size: 16px; color: #4a5058; line-height: 1.7; }

.t-home-carousel-wrap { position: relative; overflow: hidden; height: 480px; }
.t-home-carousel-wrap::before, .t-home-carousel-wrap::after {
  content: ''; position: absolute; left: 0; right: 0; height: 50px; z-index: 2; pointer-events: none;
}
.t-home-carousel-wrap::before { top: 0; background: linear-gradient(#efece4, transparent); }
.t-home-carousel-wrap::after  { bottom: 0; background: linear-gradient(transparent, #efece4); }

.t-home-track {
  display: flex; flex-direction: column; gap: 16px;
  animation: scrollUp 40s linear infinite;
}
.t-home-track:hover { animation-play-state: paused; }

.t-card {
  background: #fff; border-radius: 4px; padding: 24px 26px;
  border: 1px solid var(--line); border-left: 3px solid var(--brass);
  box-shadow: 0 2px 8px rgba(22,25,28,0.05); flex-shrink: 0;
}
.t-card blockquote {
  font-family: var(--serif); font-size: 15px; font-style: italic;
  color: var(--ink); line-height: 1.7; margin: 0 0 12px;
}
.t-card cite {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--brass-deep); font-style: normal;
}

@media (max-width: 860px) {
  .t-home-layout { grid-template-columns: 1fr; }
  .t-home-carousel-wrap { height: 380px; }
}

/* ===== SECTION SUBHEAD — sits under h2 on section pages ===== */
.section-sub {
  font-size: 17px; color: #4a5058; line-height: 1.7;
  max-width: 680px; margin: 12px 0 0;
}

/* ===== TICKER EYEBROW — fix left alignment to match all other sections ===== */
.ticker-wrap--light .ticker-head,
.ticker-wrap .ticker-head {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px;
  margin-bottom: 24px;
}
.ticker-wrap--light .ticker-head .eyebrow--dark,
.ticker-wrap .ticker-head .eyebrow--dark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 0;
}
.ticker-wrap--light .ticker-head .eyebrow--dark::before,
.ticker-wrap .ticker-head .eyebrow--dark::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass-deep);
  display: block;
  flex-shrink: 0;
}

/* ===== NAV PARENT LINKS — prevent dropdown from eating first click ===== */
.has-dropdown > a {
  pointer-events: auto;
}

/* ===== FINAL TICKER EYEBROW FIX — align with block-inner sections ===== */
.ticker-wrap .ticker-head,
.ticker-wrap--light .ticker-head {
  max-width: 1200px !important;
  margin: 0 auto 24px !important;
  padding: 0 !important;
  /* Sections use block-inner with no padding — ticker must match */
  /* The outer ticker-wrap has overflow:hidden so we need side padding on wrap instead */
}
.ticker-wrap,
.ticker-wrap--light {
  padding-left: 32px;
  padding-right: 32px;
}

/* ===== HERO PLAY BUTTON — positioned on bottom-right green diagonal band ===== */
.play-btn {
  position: absolute !important;
  bottom: 52px;
  right: 28px;
  left: auto !important;
  z-index: 4;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.play-btn span {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.play-circle {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50%;
  background: #fff !important;
  color: var(--brass) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  padding-left: 4px;
  animation: pulse-hero 1.8s infinite !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* White circle with green play icon — pops on green band */
@keyframes pulse-hero {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7), 0 4px 20px rgba(0,0,0,0.3); transform: scale(1); }
  50%  { box-shadow: 0 0 0 20px rgba(255,255,255,0), 0 4px 20px rgba(0,0,0,0.3); transform: scale(1.05); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0), 0 4px 20px rgba(0,0,0,0.3); transform: scale(1); }
}

/* Delivery formats green highlight */
.dropdown-highlight { color: var(--brass) !important; font-weight: 700 !important; }
.dropdown-highlight:hover { color: var(--brass-deep) !important; background: #f0faf6 !important; }

/* Vimeo channel play button in section-sub */
.vimeo-play-sm { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:50%; background:var(--brass); color:#fff; font-size:10px; margin-right:4px; padding-left:2px; vertical-align:middle; }
.vimeo-channel-link { color:var(--brass-deep) !important; font-weight:600; }

/* ===== BOARD NAV — guaranteed single click ===== */
/* The dropdown should never prevent the parent link from firing */
nav ul li.has-dropdown > a {
  position: relative;
  z-index: 10;
}
/* When hovering the dropdown, the parent link stays clickable */
nav ul li.has-dropdown .dropdown {
  pointer-events: none;
}
nav ul li.has-dropdown:hover .dropdown,
nav ul li.has-dropdown:focus-within .dropdown {
  pointer-events: all;
}


/* ===== ON STAGE: head with hero video ===== */
.gallery-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.gallery-head .section-head { max-width: none; margin-bottom: 0; }
.gallery-hero-video { aspect-ratio: 16 / 9; width: 100%; box-shadow: 0 18px 40px rgba(0,0,0,0.25); }
.gallery-hero-video .mg-caption { position: absolute; left: 0; right: 0; bottom: 0; }
#gallery-grid { scroll-margin-top: 74px; }
@media (max-width: 900px) { .gallery-head { grid-template-columns: 1fr; gap: 28px; } }

/* ===== HERO "WATCH TROY ON STAGE" BUTTON — larger ===== */
.play-btn { bottom: 40px !important; right: 24px !important; gap: 12px !important; }
.play-circle { width: 104px !important; height: 104px !important; font-size: 34px !important; padding-left: 6px !important; }
.play-btn span { font-size: 14px !important; letter-spacing: 1.6px !important; }
@media (max-width: 600px) { .play-circle { width: 84px !important; height: 84px !important; font-size: 28px !important; } .play-btn span { font-size: 12px !important; } }


/* ===== KEYNOTES: preview video box beside intro ===== */
.kt-head, .kp-head { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.kt-head .section-head { margin-bottom: 56px; }
.kp-head .kp-intro { max-width: none; }
.kt-preview { margin-top: 6px; }
.kt-preview-box { display: block; position: relative; aspect-ratio: 16 / 9; width: 100%; box-shadow: 0 18px 40px rgba(0,0,0,0.22); }
.kt-preview-cap { margin: 14px 0 0; text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brass-deep); }
@media (max-width: 900px) { .kt-head, .kp-head { grid-template-columns: 1fr; gap: 8px; } .kt-preview { max-width: 480px; margin: 0 0 40px; } }
.kt-head .kt-preview { margin-bottom: 40px; }
