/* ============================================================
   Odyssey — Surgery Board Review
   Shared stylesheet for all pages ("now" version — no app mention)
   Modern rebuild modeled on a clean institutional aesthetic.
   You normally will not need to edit this file to change WORDS —
   edit the .html pages (look for <!-- EDIT: ... --> markers).
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --navy:        #0b3d62;   /* primary brand color */
  --navy-dark:   #082c48;   /* darker navy for depth */
  --blue:        #2b7cc4;   /* accent / links / buttons */
  --blue-light:  #6fb2e0;   /* soft accent */
  --tint:        #eef5fb;   /* pale blue section background */
  --tint-2:      #f6f9fc;   /* near-white section background */
  --ink:         #1c2b39;   /* main text */
  --muted:       #5a6b7a;   /* secondary text */
  --line:        #dbe4ec;   /* borders / dividers */
  --white:       #ffffff;
  --gold:        #c9a24b;   /* subtle highlight for "most popular" etc. */

  --serif: "Palatino Linotype", "Palatino", "Book Antiqua", Georgia, serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1160px;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(11,61,98,.08), 0 1px 2px rgba(11,61,98,.06);
  --shadow-md: 0 6px 20px rgba(11,61,98,.10);
  --shadow-lg: 0 18px 44px rgba(11,61,98,.16);
  --transition: .2s ease;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
/* Side gutter scales with screen width so text is never flush to the edge (min 20px, up to 48px). */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); text-align: center; line-height: 1.2;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--tint); border-color: var(--tint); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
  flex: 0 0 auto;
}
.brand-name { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.35rem; letter-spacing: .5px; line-height: 1; }
.brand-sub { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; transition: var(--transition); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: flex-start; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .82rem; font-weight: 700; color: var(--blue-light); margin-bottom: 18px; }
.hero p.lead { font-size: 1.2rem; color: #dbe7f1; max-width: 34ch; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: -30px; left: -18px; background: #fff; color: var(--navy);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-md); font-family: var(--serif);
  font-weight: 700; line-height: 1.1;
}
.hero-badge small { display: block; font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 48px; gap: 36px; }
  .hero-badge { left: 16px; bottom: -24px; }
  .hero-figure { max-width: 420px; }
}

/* ---------- Stats strip ---------- */
.stats { background: var(--navy-dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 26px; padding-bottom: 26px; text-align: center; }
.stats .num { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; }
.stats .lbl { font-size: .82rem; letter-spacing: .6px; text-transform: uppercase; color: var(--blue-light); margin-top: 6px; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 8px; } }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-tint { background: var(--tint); }
.section-tint-2 { background: var(--tint-2); }
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head .eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.lead { font-size: 1.12rem; }

/* ---------- Course track cards ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.track {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.track:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.track h3 { font-size: 1.5rem; margin-bottom: 6px; }
.track .track-sub { color: var(--muted); margin-bottom: 18px; }
.track ul { list-style: none; margin: 0 0 24px; padding: 0; }
.track li { position: relative; padding: 6px 0 6px 28px; color: var(--ink); }
.track li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--blue); font-weight: 700; }
@media (max-width: 760px) { .tracks { grid-template-columns: 1fr; } }

/* ---------- Feature grid (Why Odyssey) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.feature .ficon { width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: var(--blue); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Course option cards (courses page) ---------- */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.option {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative;
}
.option.featured { border-color: var(--blue); box-shadow: var(--shadow-md); }
.option .tag { position: absolute; top: -13px; left: 28px; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.option h3 { font-size: 1.3rem; margin-bottom: 4px; }
.option .option-tagline { color: var(--blue); font-weight: 600; font-size: .95rem; margin-bottom: 16px; }
.option ul { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.option li { position: relative; padding: 5px 0 5px 24px; font-size: .96rem; color: var(--ink); }
.option li::before { content: "•"; position: absolute; left: 4px; color: var(--blue); font-weight: 700; }
.option .price { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.option .price small { display: block; font-family: var(--sans); font-size: .8rem; color: var(--muted); font-weight: 500; }
@media (max-width: 900px) { .options { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .options { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--navy); color: #fff; }
.testimonials h2 { color: #fff; }
.tcarousel { max-width: 820px; margin: 0 auto; text-align: center; position: relative; min-height: 200px; }
.tslide { display: none; animation: fade .6s ease; }
.tslide.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none; } }
.tslide blockquote { font-family: var(--serif); font-size: 1.5rem; line-height: 1.5; margin: 0 0 20px; color: #fff; }
.tslide .tauthor { color: var(--blue-light); font-weight: 600; letter-spacing: .5px; }
.tdots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.tdot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); border: 0; cursor: pointer; padding: 0; transition: var(--transition); }
.tdot.active { background: var(--blue-light); transform: scale(1.2); }

/* Testimonials page grid */
.tgrid { columns: 2; column-gap: 26px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 0 0 26px; box-shadow: var(--shadow-sm); break-inside: avoid; }
.tcard p { font-style: italic; color: var(--ink); margin-bottom: 0; }
.tcard .tcard-author { font-style: normal; font-weight: 700; color: var(--navy); }
.tcard .tcard-loc { font-weight: 500; color: var(--muted); font-size: .9rem; }
.tcard-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.tcard-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: var(--shadow-sm); }
.tcard-initials { display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
@media (max-width: 720px) { .tgrid { columns: 1; } }

/* ---------- Book / Demystifying section ---------- */
.book { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.book-cover { background: var(--tint); border-radius: var(--radius); padding: 36px; text-align: center; box-shadow: var(--shadow-sm); }
.book-cover .cover-art { background: linear-gradient(160deg, var(--navy), var(--blue)); color: #fff; border-radius: 8px; padding: 44px 26px; box-shadow: var(--shadow-md); }
.book-cover .cover-art .ct { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.book-cover .cover-art .ca { margin-top: 18px; font-size: .95rem; color: #dbe7f1; }
@media (max-width: 780px) { .book { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e3eef7; max-width: 52ch; margin: 0 auto 26px; font-size: 1.12rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; padding: 66px 0 58px; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #cfe0ee; font-size: 1.15rem; max-width: 60ch; margin: 0 auto; }
.breadcrumb { font-size: .85rem; color: var(--blue-light); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.breadcrumb a { color: var(--blue-light); }

/* ---------- Prose blocks ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: .5em; }
.callout { background: var(--tint); border-left: 4px solid var(--blue); border-radius: 8px; padding: 20px 24px; margin: 24px 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-info p { margin-bottom: 14px; }
.contact-info .ci-label { display: block; font-size: .78rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color var(--transition);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,124,196,.15); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Schedule table ---------- */
.schedule-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.schedule-table th { background: var(--navy); color: #fff; text-align: left; padding: 14px 18px; font-size: .92rem; letter-spacing: .5px; }
.schedule-table td { padding: 14px 18px; border-top: 1px solid var(--line); font-size: .96rem; }
.schedule-table tr:nth-child(even) td { background: var(--tint-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #c6d5e2; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #c6d5e2; display: block; padding: 4px 0; font-size: .96rem; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #9fb4c6; font-size: .95rem; margin-top: 14px; max-width: 32ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #8fa6b8; }
.footer-bottom p { margin: 0; color: #8fa6b8; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Announcement bar ---------- */
.announce { background: var(--gold); color: #3a2c07; text-align: center; font-size: .92rem; font-weight: 600; padding: 9px 16px; }
.announce a { color: #3a2c07; text-decoration: underline; }

/* ---------- Service mark / trademark (small superscript) ---------- */
/* Wrap a ℠ or ™ in <sup class="sm">…</sup> to render it small and raised,
   well under half the height of the surrounding letters. */
.sm { font-size: 0.42em; vertical-align: super; line-height: 0; font-weight: 600; }

/* ---------- Video clips (e.g. Board Basics) ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #06243b; }
.video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-card .vc-body { padding: 18px 20px 22px; }
.video-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.video-card p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 720px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.center-btn { text-align: center; margin-top: 36px; }

/* ===== DrArgy additions (logo, reel) ===== */
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.reel-wrap { max-width: 820px; margin: 0 auto; }
.reel-video { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #000; }
