/* Stock Market Classroom — navy / gold classroom */
:root {
  --bg: #F4F1EA;
  --paper: #FFFCF6;
  --ink: #1A2230;
  --muted: #5A6270;
  --brand: #1B365D;
  --accent: #C4A35A;
  --line: #D9D1C3;
  --hero: #13243F;
  --font-d: "Playfair Display", Georgia, serif;
  --font-b: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: 1080px;
  --radius: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 18px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #111; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 20;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; }
.brand { display: flex; flex-direction: column; gap: .1rem; }
.site-title {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  display: flex; align-items: center; gap: .45rem;
}
.mark {
  display: inline-block;
  width: 11px;
  height: 16px;
  background: var(--accent);
  border-radius: 2px 3px 3px 2px;
  box-shadow: inset -3px 0 0 var(--hero);
  flex-shrink: 0;
}
.site-tag { margin: 0; font-size: .78rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav-toggle { display: none; background: var(--brand); color: var(--paper); border: 0; padding: .55rem .9rem; border-radius: 999px; font: inherit; min-height: 44px; }
.menu { display: flex; flex-wrap: wrap; gap: .15rem 1.15rem; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.menu a:hover, .menu .current-menu-item > a { color: var(--accent); }

.hero { background: var(--hero); color: #F6F1E6; padding: 3rem 0 3.2rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.2rem; align-items: center; }
.kicker {
  margin: 0 0 .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
}
.hero h1, .section-head h2, .page-head h1 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 .8rem;
  text-wrap: balance;
}
.section-head h2, .page-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lede { font-size: 1.08rem; opacity: .92; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.hero-photo img {
  width: 100%; height: 340px; object-fit: cover;
  border-radius: var(--radius);
  outline: 1px solid rgba(0,0,0,.12); outline-offset: -1px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #1A1408; font-weight: 700;
  padding: .72rem 1.15rem; border-radius: 999px; text-decoration: none;
  min-height: 44px;
}
.btn:hover { filter: brightness(1.06); color: #1A1408; }
.btn-ghost { background: transparent; color: #F6F1E6; border: 1px solid rgba(246,241,230,.4); }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn-sm { padding: .45rem .85rem; font-size: .88rem; }
.btn-ghost-widget { background: transparent; color: var(--brand); border: 1px solid var(--line); }

.band { padding: 3rem 0; }
.section-head { margin-bottom: 1.5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; text-decoration: none; color: inherit;
}
.feature h3 { font-family: var(--font-d); margin: 0 0 .4rem; }
.feature p { margin: 0; color: var(--muted); }
.feature:hover { border-color: var(--accent); }

.layout-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.2rem; align-items: start; }
.no-sidebar .layout-main { grid-template-columns: 1fr; }
.cards { display: grid; gap: 1.2rem; }
.card {
  display: grid; grid-template-columns: 220px 1fr; gap: 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.card-media img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.card-body { padding: .9rem 1rem 1rem 0; }
.card-title { font-family: var(--font-d); font-size: 1.25rem; margin: .2rem 0 .4rem; }
.card-title a { color: inherit; text-decoration: none; }
.meta, .excerpt { color: var(--muted); font-size: .92rem; }
.more { font-weight: 700; font-size: .9rem; }

.sidebar .widget {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem; margin-bottom: 1rem;
}
.widget-title { font-family: var(--font-d); font-size: 1.15rem; margin: 0 0 .6rem; }
.smc-path { margin: 0 0 1rem 1.1rem; padding: 0; }
.smc-path li { margin: .35rem 0; }
.smc-table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.smc-table th, .smc-table td { border-bottom: 1px solid var(--line); padding: .4rem 0; text-align: left; }
.smc-disc { font-size: .9rem; color: var(--muted); }
.offer-price { font-family: var(--font-d); font-size: 1.35rem; margin: .2rem 0 .6rem; }

.prose .entry { font-size: 1.05rem; }
.lead-img img { width: 100%; border-radius: var(--radius); margin: 0 0 1.2rem; max-height: 420px; object-fit: cover; }
.page-head { margin: 1.6rem 0 1.1rem; }

.cta-box {
  background: var(--brand); color: #F6F1E6;
  border-radius: calc(var(--radius) + 6px);
  padding: 1.6rem 1.8rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.cta-box h2 { font-family: var(--font-d); margin: 0 0 .4rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-box .btn { background: var(--accent); }

.faq { display: grid; gap: .6rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; }
.faq summary { cursor: pointer; font-weight: 700; min-height: 32px; }
.faq p { margin: .6rem 0 0; color: var(--muted); }
.paid-note { font-size: 1.02rem; max-width: 46rem; }
.paid-note .kicker { margin-bottom: .4rem; }

.site-footer { border-top: 1px solid var(--line); padding: 2.2rem 0 1.4rem; margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 1.4rem; }
.footer-base { border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); font-size: .88rem; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin: .4rem 0 0; }
.search-form { display: flex; gap: .4rem; }
.search-form input { flex: 1; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; }
.search-form button { background: var(--brand); color: #fff; border: 0; border-radius: 8px; padding: .55rem .8rem; font: inherit; min-height: 44px; }
.no-results { padding: 3rem 0; text-align: center; }
.empty-note { color: var(--muted); }
.comments { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
h1, h2, h3 { text-wrap: balance; }
p, .lede, .excerpt { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }


.layout-folio .site-header { border-bottom: 3px double var(--brand); }
.layout-folio .site-title { letter-spacing: .06em; text-transform: uppercase; font-size: 1.05rem; }
.layout-folio .hero { background: var(--hero); }
.layout-folio .cards { display: grid; grid-template-columns: 1fr 1fr; }
.layout-folio .card { grid-template-columns: 1fr; }
.layout-folio .card-media img { height: 180px; }
.offer-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.offer { background: var(--paper); border: 1px solid var(--line); padding: 1.2rem; text-decoration: none; color: inherit; border-radius: var(--radius); }
.offer-featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.offer-kicker { margin: 0 0 .4rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.offer h3 { font-family: var(--font-d); margin: 0 0 .35rem; }
.offer p { margin: 0; color: var(--muted); }


@media (max-width: 900px) {
  .hero-grid, .layout-main, .footer-grid, .feature-grid, .feature-grid.two,
  .offer-row, .atelier-offers, .tracks, .layout-harbor .sidebar, .layout-folio .cards {
    grid-template-columns: 1fr;
  }
  .card, .layout-harbor .card { grid-template-columns: 1fr; }
  .card-body { padding: 0 1rem 1rem; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; right: 1rem; top: 64px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; z-index: 30; }
  .site-nav.is-open { display: block; }
  .menu { flex-direction: column; }
  .header-inner { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.smc-crumbs { font-size: .88rem; margin: 1rem auto 0; color: var(--muted); }
.smc-crumbs ol { display: flex; flex-wrap: wrap; gap: .2rem 0; list-style: none; padding: 0; margin: 0; }
.smc-crumbs li { display: inline-flex; align-items: center; }
.smc-crumbs li:not(:last-child)::after { content: "/"; margin: 0 .5rem; opacity: .45; }
.smc-crumbs a { color: var(--muted); text-decoration: none; }
.smc-crumbs a:hover { color: var(--brand); }
.smc-crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }
.smc-author { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; margin-top: 2rem; padding: 1.1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.smc-author img { width: 72px; height: 72px; object-fit: cover; border-radius: 999px; }
.smc-author-name { font-family: var(--font-d); font-size: 1.2rem; margin: 0 0 .35rem; }
.smc-author .kicker { margin-bottom: .2rem; }
@media (max-width: 600px) { .smc-author { grid-template-columns: 1fr; } }
