/* ============================================================
   mikeminogue.ca: shared stylesheet
   Brand tokens and components follow troven.ca (assets/css/brand.css):
   dark slate, amber #C17F3A, Barlow and Barlow Condensed.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;700&family=Barlow+Condensed:wght@500;600;700&display=swap');

/* TOKENS */
:root {
  --black:       #1C1F24;
  --black-deep:  #13151A;
  --slate:       #2C3038;
  --amber:       #C17F3A;
  --amber-dark:  #A06830;
  --grey:        #8A8F99;
  --grey-light:  #B4B8C0;
  --white:       #FFFFFF;

  --font-sans:   'Barlow', sans-serif;
  --font-cond:   'Barlow Condensed', sans-serif;
  --radius:      4px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--black-deep);
  color: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* NAV */
.mm-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(19,21,26,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 0.5px solid rgba(138,143,153,0.15);
}
.mm-nav-logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; flex-shrink: 0; }
.mm-nav-name {
  font-size: 17px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--white);
}
.mm-nav-sub {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--amber); margin-top: 4px;
}
.mm-nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.mm-nav-links a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--grey); text-decoration: none;
  transition: color 0.2s; white-space: nowrap;
}
.mm-nav-links a:hover, .mm-nav-links a.active { color: var(--white); }
.mm-nav-cta {
  color: var(--amber) !important;
  border: 1px solid var(--amber);
  padding: 7px 18px; border-radius: var(--radius);
  transition: background 0.2s !important;
}
.mm-nav-cta:hover { background: var(--amber) !important; color: var(--black) !important; }
.mm-nav-toggle { display: none; }

/* FOOTER */
.mm-footer {
  border-top: 0.5px solid rgba(138,143,153,0.15);
  padding: 2rem 4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.mm-footer-brand {
  font-size: 14px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--grey);
}
.mm-footer-brand span { color: var(--amber); }
.mm-footer-copy { font-size: 13px; color: rgba(138,143,153,0.75); }
.mm-footer-link { color: rgba(138,143,153,0.9); text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s; }
.mm-footer-link:hover, .mm-footer-link:focus-visible { color: var(--amber); }
.mm-footer-location { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(138,143,153,0.75); }

/* BUTTONS */
.btn-primary, .btn-secondary {
  font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 28px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; display: inline-block; text-align: center;
}
.btn-primary {
  color: var(--black); background: var(--amber); border: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-secondary {
  color: var(--white); background: transparent;
  border: 1px solid rgba(138,143,153,0.4);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--grey); background: rgba(44,48,56,0.4); }

/* SECTION TYPOGRAPHY */
.section-label {
  font-size: 16px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--amber); flex-shrink: 0; }
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }
.section-h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; line-height: 1.05; margin-bottom: 1.25rem;
  overflow-wrap: break-word;
}
.body-text { font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--grey-light); max-width: 760px; }
.body-text p + p { margin-top: 1.25rem; }
.body-text a { color: var(--amber); }

/* LAYOUT */
.section { padding: 5rem 4rem; }
.section-alt { padding: 5rem 4rem; background: var(--slate); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.tv-divider, .mm-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138,143,153,0.2) 30%, rgba(193,127,58,0.4) 50%, rgba(138,143,153,0.2) 70%, transparent);
  margin: 0 4rem;
}
.grid-bg {
  position: absolute; inset: 0; opacity: 0.03; pointer-events: none;
  background-image: linear-gradient(var(--grey) 1px, transparent 1px), linear-gradient(90deg, var(--grey) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* HERO (shared) */
.hero { position: relative; padding: 10rem 4rem 5rem; overflow: hidden; }
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--amber); flex-shrink: 0; }
.hero-h1 {
  font-size: clamp(36px, 6vw, 70px); font-weight: 700; line-height: 1;
  letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 1.25rem;
  overflow-wrap: break-word;
}
.hero-h1 em { font-style: normal; color: var(--amber); }
.hero-sub {
  font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1.5rem;
}
.hero-body { font-size: 17px; font-weight: 300; line-height: 1.8; color: var(--grey-light); max-width: 600px; margin-bottom: 2.25rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* PROFILE HERO WITH PHOTO */
.profile-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 4rem; align-items: center; position: relative; z-index: 2; }
.profile-photo {
  display: block; width: 100%; max-width: 400px; height: auto; justify-self: end;
  border-radius: var(--radius); border-left: 3px solid var(--amber);
}
.profile-links { margin-top: 1.5rem; font-size: 15px; color: var(--grey); }
.profile-links a { color: var(--amber); text-decoration: none; }
.profile-links a:hover { text-decoration: underline; }

/* CHIPS */
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.cred {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(28,31,36,0.8); color: var(--grey-light); padding: 4px 10px;
  border-radius: 3px; border: 0.5px solid rgba(138,143,153,0.25);
}

/* TIMELINE (working history) */
.timeline { list-style: none; margin-top: 2.5rem; max-width: 860px; }
.timeline li { border-left: 2px solid rgba(138,143,153,0.3); padding: 0.25rem 0 1.75rem 1.5rem; position: relative; }
.timeline li::before {
  content: ''; position: absolute; left: -6px; top: 0.55rem; width: 10px; height: 10px;
  border-radius: 50%; background: var(--amber);
}
.tl-meta { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.tl-org { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.tl-role { font-size: 15px; font-weight: 500; color: var(--white); margin-bottom: 6px; }
.tl-body { font-size: 16px; font-weight: 300; color: var(--grey-light); line-height: 1.7; }

/* CREDENTIAL LIST */
.cred-list { list-style: none; margin-top: 1rem; }
.cred-list li { font-size: 16px; font-weight: 300; color: var(--grey-light); line-height: 1.6; padding: 0.5rem 0; border-bottom: 0.5px solid rgba(138,143,153,0.15); }
.cred-list li strong { color: var(--white); font-weight: 500; }

/* CARDS (ventures, teasers) */
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(138,143,153,0.12); margin-top: 2.5rem; }
.card { background: var(--black); padding: 2.25rem 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.card-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.card-title { font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.15; }
.card-body { font-size: 16px; font-weight: 300; color: var(--grey-light); line-height: 1.7; flex-grow: 1; }
.card-link { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); text-decoration: none; overflow-wrap: anywhere; }
.card-link:hover { text-decoration: underline; }
.card-note { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }

/* SPEAKING */
.cred-strip { background: var(--slate); border-top: 0.5px solid rgba(138,143,153,0.1); display: grid; grid-template-columns: repeat(3, 1fr); }
.cred-item { padding: 2.5rem 3rem; border-right: 0.5px solid rgba(138,143,153,0.15); display: flex; flex-direction: column; gap: 6px; }
.cred-item:last-child { border-right: none; }
.cred-num { font-size: 42px; font-weight: 700; color: var(--amber); line-height: 1; letter-spacing: -0.02em; }
.cred-num.word { font-size: 32px; letter-spacing: 0; }
.cred-num small { font-size: 22px; color: var(--grey); }
.cred-label { font-size: 15px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.topics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(138,143,153,0.1); margin-top: 3rem; }
.topic { background: var(--black); padding: 2.25rem 2rem; transition: background 0.2s; }
.topic:hover { background: var(--slate); }
.topic-num { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.9rem; }
.topic-title { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.7rem; line-height: 1.15; }
.topic-body { font-size: 16px; font-weight: 300; color: var(--grey-light); line-height: 1.7; }
.format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(138,143,153,0.1); margin-top: 3rem; }
.format-card { background: var(--black-deep); padding: 2rem; }
.format-label { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.format-list { list-style: none; }
.format-list li { font-size: 16px; font-weight: 300; color: var(--grey-light); line-height: 1.6; padding: 0.35rem 0; display: flex; gap: 10px; align-items: baseline; }
.format-list li::before { content: ''; display: block; width: 10px; height: 2px; background: var(--amber); flex-shrink: 0; transform: translateY(-4px); }
.speaker-bio { display: grid; gap: 1.75rem; }
.speaker-photo { display: block; width: 100%; max-width: 280px; height: auto; border-radius: var(--radius); border-left: 3px solid var(--amber); }
.bio-card { background: var(--black); border: 0.5px solid rgba(138,143,153,0.2); border-top: 2px solid var(--amber); border-radius: 6px; padding: 2.5rem; }
.bio-name { font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.bio-role { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.25rem; }
.bio-text { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--grey-light); }
.bio-text p + p { margin-top: 1rem; }
.kit-card { background: var(--slate); border: 0.5px solid rgba(193,127,58,0.3); border-radius: 6px; padding: 2.5rem; }
.kit-label { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.kit-h3 { font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 1rem; }
.kit-block { background: rgba(19,21,26,0.6); border-left: 2px solid var(--amber); border-radius: 0 3px 3px 0; padding: 1.25rem 1.5rem; margin: 1.25rem 0; }
.kit-block-label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.6rem; }
.kit-block p { font-size: 16px; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,0.85); }
.kit-block a { color: var(--amber); text-decoration: none; }
.kit-block a:hover { text-decoration: underline; }
.appearance { border-left: 2px solid var(--black); padding: 0.75rem 0 0.75rem 1.25rem; margin-bottom: 1.5rem; transition: border-color 0.2s; }
.appearance:hover { border-color: var(--amber); }
.app-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.app-meta { font-size: 15px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.app-body { font-size: 16px; font-weight: 300; color: var(--grey-light); line-height: 1.65; }
.app-note { font-size: 16px; font-weight: 300; color: var(--grey-light); line-height: 1.7; margin-top: 2rem; font-style: italic; }

/* CTA */
.cta-section { padding: 6rem 4rem; text-align: center; }
.cta-h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.05; margin-bottom: 1.25rem; }
.cta-body { font-size: 16px; font-weight: 300; color: var(--grey-light); max-width: 560px; margin: 0 auto 2rem; line-height: 1.75; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.contact-detail { margin-top: 2rem; font-size: 16px; font-weight: 300; color: var(--grey-light); line-height: 1.8; }
.contact-detail a { color: var(--amber); text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }

/* 404 */
.nf-hero { min-height: 80vh; display: flex; align-items: center; }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp 0.55s ease both; }
.fade-up-1 { animation: fadeUp 0.55s 0.1s ease both; }
.fade-up-2 { animation: fadeUp 0.55s 0.2s ease both; }
.fade-up-3 { animation: fadeUp 0.55s 0.3s ease both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up, .fade-up-1, .fade-up-2, .fade-up-3 { animation: none; }
}

/* RESPONSIVE: burger menu below 1024px, like troven.ca */
@media (max-width: 1023px) {
  .mm-nav { padding: 1rem 1.5rem; }
  .mm-nav-links { display: none; }
  .mm-nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; margin-right: -10px;
    background: transparent; border: 0; border-radius: var(--radius);
    cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .mm-nav-toggle-bar {
    display: block; width: 100%; height: 2px; border-radius: 1px;
    background: var(--white); transition: transform 0.2s, opacity 0.2s;
  }
  .mm-nav-open .mm-nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mm-nav-open .mm-nav-toggle-bar:nth-child(2) { opacity: 0; }
  .mm-nav-open .mm-nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mm-nav-open .mm-nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - 100%); max-height: calc(100dvh - 100%); overflow-y: auto;
    padding: 0.25rem 1.5rem 1.5rem;
    background: var(--black-deep);
    border-bottom: 0.5px solid rgba(138,143,153,0.15);
  }
  .mm-nav-open .mm-nav-links li { border-top: 0.5px solid rgba(138,143,153,0.12); }
  .mm-nav-open .mm-nav-links li:first-child,
  .mm-nav-open .mm-nav-links li:last-child { border-top: 0; }
  .mm-nav-open .mm-nav-links a { display: block; padding: 14px 0; font-size: 15px; }
  .mm-nav-open .mm-nav-links a.mm-nav-cta { margin-top: 1rem; padding: 12px 18px; text-align: center; }

  .hero { padding: 8rem 1.5rem 4rem; }
  .profile-hero { grid-template-columns: 1fr; gap: 2.5rem; }
  .profile-photo { justify-self: start; max-width: 320px; }
  .section, .section-alt { padding: 3.5rem 1.5rem; }
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .card-grid, .topics-grid, .format-grid { grid-template-columns: 1fr; }
  .cred-strip { grid-template-columns: 1fr; }
  .cred-item { border-right: none; border-bottom: 0.5px solid rgba(138,143,153,0.15); padding: 2rem 1.5rem; }
  .cred-item:last-child { border-bottom: none; }
  .cta-section { padding: 4rem 1.5rem; }
  .tv-divider, .mm-divider { margin: 0 1.5rem; }
  .mm-footer { flex-direction: column; gap: 1rem; padding: 1.5rem; text-align: center; }
}
@media (max-width: 420px) {
  .card, .topic, .format-card { padding: 1.75rem 1.25rem; }
  .bio-card, .kit-card { padding: 1.75rem 1.25rem; }
  .kit-block { padding: 1rem 1rem; }
  .btn-primary, .btn-secondary { padding: 13px 20px; }
}
