:root {
  --bg: #ffffff;
  --bg-paper: #fafaf9;
  --bg-tint: #f0fdfa;
  --bg-warm: #fffbeb;
  --border: #e7e5e4;
  --border-strong: #d6d3d1;
  --text: #111827;
  --text-body: #27272a;
  --text-muted: #57534e;
  --text-soft: #78716c;
  --brand: #0f766e;
  --brand-hover: #115e59;
  --brand-subtle: #ccfbf1;
  --radius: 12px;
  --radius-sm: 8px;
  --font-serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', Cambria, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --container: 1080px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--brand-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 0.65rem 1rem;
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Minimal Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.89rem;
  font-weight: 500;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.desktop-nav a:hover {
  color: var(--text);
  background: var(--bg-paper);
}

.desktop-nav a[aria-current="page"] {
  color: var(--brand-hover);
  background: var(--bg-tint);
  font-weight: 600;
}

/* Mobile Nav (pure HTML <details>) */
.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  user-select: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-panel {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.1);
  padding: 0.75rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 99;
}

.mobile-nav-panel a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 500;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
}

.mobile-nav-panel a[aria-current="page"] {
  background: var(--bg-tint);
  color: var(--brand-hover);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-hover);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--text);
  color: var(--text);
}

/* Home Editorial Split Hero */
.hero-editorial {
  background: var(--bg-paper);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 0 4.25rem;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 3.25rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1.1rem;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1.9rem;
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07);
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

.section-paper {
  background: var(--bg-paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 620px;
  margin-bottom: 2.25rem;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.5rem;
}

.section-heading {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.8vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--text);
}

.section-intro {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Core Concept Cards */
.concepts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.concept-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.concept-card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.concept-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 0.55rem;
}

.concept-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  color: var(--text);
}

.concept-card p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.concept-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.concept-cta {
  color: var(--brand);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Clean Typographic Curriculum Pillars (No Heavy Boxes) */
.editorial-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem 2.5rem;
}

.editorial-feature {
  border-top: 2px solid var(--border);
  padding-top: 1.15rem;
}

.editorial-feature h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
}

.editorial-feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.62;
}

/* Contributors Section */
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.person-card {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.45rem;
}

.person-card.person-featured {
  background: var(--bg-paper);
  border-color: var(--border-strong);
}

.team-photo {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg-paper);
}

.person-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
}

.person-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

.person-card p + p {
  margin-top: 0.55rem;
}

.person-now {
  color: var(--text-body);
}

.contributors-divider {
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
}

.contributors-subhead {
  margin: 0 0 0.3rem;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: var(--text);
}

.contributors-note {
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

/* Concept / Inner Page Banner */
.page-banner {
  background: var(--bg-paper);
  border-bottom: 1px solid var(--border);
  padding: 2.75rem 0 2.4rem;
}

.breadcrumb {
  font-size: 0.84rem;
  color: var(--text-soft);
  margin-bottom: 0.7rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.page-banner h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--text);
}

.page-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 66ch;
}

/* Concept Layout: Prose + Sticky Materials Sidebar */
.concept-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3.25rem;
  align-items: start;
  padding: 3rem 0 4.5rem;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.48rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.9rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.04rem;
  font-weight: 700;
  margin: 1.35rem 0 0.4rem;
  color: var(--text);
}

.prose p {
  margin: 0 0 1.05rem;
  color: var(--text-body);
}

.prose ul, .prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

/* Materials Sidebar */
.materials-card {
  position: sticky;
  top: 82px;
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.materials-title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text);
}

.materials-group {
  padding-top: 0.95rem;
  margin-top: 0.95rem;
  border-top: 1px solid var(--border);
}

.materials-group:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.materials-group-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  margin: 0 0 0.55rem;
}

.materials-case-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.55rem;
  line-height: 1.35;
}

.material-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.material-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.52rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  font-size: 0.89rem;
  font-weight: 500;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.material-link:hover {
  border-color: var(--brand);
  background: var(--bg-tint);
  color: var(--brand-hover);
}

.badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.42rem;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.badge-pdf { background: #fee2e2; color: #991b1b; }
.badge-pptx { background: #ffedd5; color: #9a3412; }
.badge-docx { background: #dbeafe; color: #1e40af; }
.badge-ext { background: #f5f5f4; color: #44403c; }

/* Structured Teaching Callouts */
.callout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.25rem 0 1.5rem;
}

.callout-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

.callout-stack {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 1.5rem;
}

.callout-box {
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.2rem;
}

.callout-box h3 {
  margin: 0 0 0.4rem;
  font-size: 0.97rem;
  color: var(--brand-hover);
}

.callout-box p, .callout-box ul, .callout-box ol {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.callout-box ul, .callout-box ol {
  padding-left: 1.15rem;
}

.case-vignette {
  background: var(--bg-paper);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.3rem;
  margin: 1.1rem 0 1.4rem;
  font-style: italic;
  color: var(--text);
}

.compare-stack {
  display: grid;
  gap: 0.9rem;
  margin: 1.15rem 0 1.4rem;
}

.compare-card {
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.25rem;
  border: 1px solid var(--border);
}

.compare-card.less-succinct {
  background: var(--bg-warm);
  border-color: #fde68a;
}

.compare-card.concise {
  background: var(--bg-tint);
  border-color: #99f6e4;
}

.compare-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.35rem;
}

.compare-card.less-succinct .compare-label { color: #92400e; }
.compare-card.concise .compare-label { color: var(--brand-hover); }

.compare-card p {
  margin: 0;
  font-size: 0.95rem;
}

.example-pair {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 1rem 0;
}

.example-pair-quote {
  background: var(--bg-paper);
  padding: 0.85rem 1.15rem;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.example-pair-body {
  padding: 0.95rem 1.15rem;
}

.example-pair-body h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--brand-hover);
}

.example-pair-body p {
  margin: 0;
  font-size: 0.94rem;
}

/* References */
.references-list {
  padding-left: 1.35rem;
  font-size: 0.91rem;
  color: var(--text-muted);
}

.references-list li {
  margin-bottom: 0.55rem;
}

/* Concept Prev/Next */
.concept-pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.pager-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 0.75rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 190px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.pager-link:hover {
  border-color: var(--brand);
  background: var(--bg-tint);
}

.pager-link.next {
  margin-left: auto;
  text-align: right;
}

.pager-dir {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-soft);
  font-weight: 600;
}

.pager-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
}

/* About Page */
.about-content {
  padding: 3rem 0 4.5rem;
  max-width: 68ch;
}

/* Minimal Footer */
.site-footer {
  background: var(--bg-paper);
  border-top: 1px solid var(--border);
  padding: 2.25rem 0;
  color: var(--text-soft);
  font-size: 0.87rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.83rem;
  color: var(--text-soft);
}

.footer-meta p {
  margin: 0;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .header-inner {
    justify-content: flex-end;
    min-height: 56px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .concept-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0 3.5rem;
  }

  .materials-card {
    position: static;
    order: -1;
  }

  .editorial-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .people-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-editorial {
    padding: 2.75rem 0 2.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .concepts-grid,
  .editorial-features,
  .callout-grid,
  .callout-grid-2 {
    grid-template-columns: 1fr;
  }

  .person-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-photo {
    width: 68px;
    height: 68px;
  }

  .concept-pager {
    flex-direction: column;
  }

  .pager-link.next {
    margin-left: 0;
    text-align: left;
  }
}
