/* Design Tokens - Altaloma-inspired */
:root{
  --bg-primary:#111416;
  --bg-secondary:#f7f5f2;
  --panel:#ffffff;
  --card-bg:#f4f3ef;
  --text-primary:#181818;
  --text-muted:#4b4f54;
  --accent:#0f4c3a;
  --accent-soft:#1e6b53;
  --accent-light:#dfe8e2;
  --border-color:#e5e0d8;
  --radius:14px;
  --radius-sm:10px;
  --shadow-sm:0 6px 18px rgba(0,0,0,0.06);
  --shadow-md:0 14px 32px rgba(0,0,0,0.12);
  --shadow-lg:0 24px 48px rgba(0,0,0,0.16);
  --space-1:10px;
  --space-2:16px;
  --space-3:24px;
  --space-4:32px;
  --space-5:48px;
  --space-6:64px;
}
/* Reset & Base Styles */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:"Segoe UI","Helvetica Neue",Arial,sans-serif;
  background-color:var(--bg-primary);
  color:var(--text-primary);
  margin:0;
  padding:0;
  line-height:1.6;
}
html{scroll-behavior:auto}
.container{max-width:1080px;margin:0 auto;padding:var(--space-3)}

/* Header & Navigation */
.site-header{
  background:linear-gradient(120deg,rgba(17,20,22,0.92),rgba(17,20,22,0.8));
  border-bottom:1px solid rgba(255,255,255,0.06);
  position:sticky;
  top:0;
  z-index:100;
  box-shadow:var(--shadow-sm);
}
.header-inner{
  max-width:1080px;
  margin:0 auto;
  padding:var(--space-2) var(--space-3);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  font-size:1.4rem;
  font-weight:700;
  color:#f5f3f0;
  text-decoration:none;
  letter-spacing:-0.4px;
}
.brand:hover{color:#fff}

/* Navigation Menu */
.site-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:8px;
  align-items:center;
}
.site-nav a,
.site-nav button{
  display:flex;
  align-items:center;
  gap:4px;
  color:#f5f3f0;
  text-decoration:none;
  padding:10px 14px;
  border-radius:999px;
  background:transparent;
  border:none;
  font-size:0.95rem;
  font-weight:600;
  cursor:pointer;
  transition:all 0.2s ease;
}
.site-nav a:hover,
.site-nav button:hover{
  background-color:rgba(255,255,255,0.15);
  color:#fff;
}

/* Dropdown Container */
.has-dropdown{
  position:relative;
}

/* Dropdown Button */
.drop-btn{
  display:flex;
  align-items:center;
  gap:4px;
  padding:8px 12px;
  background:transparent;
  border:none;
  color:#f5f3f0;
  font-size:0.95rem;
  font-weight:600;
  cursor:pointer;
  transition:all 0.2s ease;
}
.drop-btn::after{
  content:"▼";
  font-size:0.78em;
  line-height:1;
}
.drop-btn:hover{
  background-color:rgba(255,255,255,0.15);
  color:#fff;
}

/* Dropdown Menu - FORCE HIDDEN BY DEFAULT */
.dropdown-menu{
  display:none !important;
  position:absolute;
  top:100%;
  left:0;
  background-color:var(--card-bg);
  border:1px solid var(--border-color);
  border-radius:var(--radius);
  box-shadow:var(--shadow-md);
  margin-top:4px;
  min-width:220px;
  z-index:999;
  overflow:hidden;
  visibility:visible;
  opacity:1;
}

/* Dropdown Menu - SHOW ONLY WHEN OPEN */
.has-dropdown.is-open .dropdown-menu{
  display:block !important;
  visibility:visible;
  opacity:1;
}

/* Dropdown Items */
.dropdown-menu li{
  list-style:none;
  margin:0;
  padding:0;
}
.dropdown-menu a{
  display:block;
  padding:10px 16px;
  color:var(--text-primary);
  text-decoration:none;
  transition:all 0.15s ease;
}
.dropdown-menu a:hover{
  background-color:#e8e5e0;
  color:var(--accent);
  padding-left:20px;
}

/* Mobile Menu Toggle */
.nav-toggle{
  display:none;
  background:transparent;
  border:none;
  font-size:1.5rem;
  color:#f5f3f0;
  cursor:pointer;
  padding:4px;
}

/* Hero Section */
.hero{
  position:relative;
  padding:var(--space-6) var(--space-4);
  background:linear-gradient(120deg, rgba(17,20,22,0.96) 0%, rgba(17,20,22,0.9) 45%, rgba(15,76,58,0.35) 100%);
  border-radius:24px;
  margin:var(--space-4) 0;
  overflow:hidden;
  box-shadow:var(--shadow-lg);
}
.hero::before{
  content:none;
}
.hero::after{
  content:none;
}
.hero .badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  color:#f5f5f5;
  font-size:0.85rem;
  letter-spacing:0.4px;
}
.hero h1{
  font-size:2.4rem;
  font-weight:800;
  color:#ffffff;
  margin:var(--space-3) 0 var(--space-2);
  line-height:1.1;
  letter-spacing:-1px;
  max-width:540px;
}
.hero-signature{
  position:absolute;
  left:58%;
  right:8%;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:"Pacifico","Segoe Script","Brush Script MT",cursive;
  font-size:5rem;
  color:var(--accent);
  opacity:0.9;
  pointer-events:none;
}
.hero .lede{
  font-size:1.12rem;
  color:rgba(245,245,245,0.85);
  margin:0;
  max-width:640px;
  display:none;
}
.hero .meta-line{
  margin-top:var(--space-2);
  color:rgba(245,245,245,0.7);
  font-size:0.95rem;
  display:none;
}

/* Card Grid */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:var(--space-3);
  margin:var(--space-4) 0;
}
.card{
  background:linear-gradient(135deg,#d5d8d6 0%,#f0efeb 65%,#e7eae7 100%);
  padding:var(--space-3);
  border-radius:var(--radius);
  border:1px solid #d6d1c7;
  box-shadow:var(--shadow-sm);
  transition:all 0.3s ease;
  cursor:pointer;
  position:relative;
  overflow:hidden;
}
.card::after{
  content:"";
  position:absolute;
  top:-20%;
  right:-10%;
  width:120px;
  height:120px;
  background:radial-gradient(circle at center,rgba(15,76,58,0.12),rgba(15,76,58,0));
  pointer-events:none;
}
.content-panel{
  background-color:#f0efeb;
  padding:var(--space-4);
  border-radius:var(--radius);
  border:1px solid #d6d1c7;
  box-shadow:var(--shadow-sm);
  margin-top:var(--space-3);
}
.card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-md);
  border-color:var(--accent-light);
}
.card h3{
  margin-top:0;
  font-size:1.25rem;
  font-weight:700;
  color:var(--text-primary);
}
.card p{
  color:var(--text-muted);
  margin:8px 0 12px;
}
.card .descriptor{color:var(--text-muted);font-size:0.95rem;margin:0 0 8px}
.card .card-icon{
  width:46px;height:46px;border-radius:14px;
  background:var(--accent-light);
  display:inline-flex;align-items:center;justify-content:center;
  color:var(--accent);font-weight:700;
  box-shadow:var(--shadow-sm);
  margin-bottom:var(--space-2);
}
.card .card-icon svg{width:22px;height:22px;fill:var(--accent);}

/* Buttons */
.btn,
.btn:link,
.btn:visited{
  display:inline-block;
  padding:12px 24px;
  margin-top:12px;
  background-color:var(--accent);
  color:#f5f3f0;
  text-decoration:none;
  border:none;
  border-radius:6px;
  font-size:0.95rem;
  font-weight:600;
  cursor:pointer;
  transition:all 0.2s ease;
  box-shadow:0 2px 6px rgba(45,74,52,0.2);
}
.btn:hover{
  background-color:var(--accent-soft);
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
}
.btn:active{
  transform:translateY(0);
}

/* Utility Classes */
.narrow{max-width:760px}
.placeholder{
  min-height:120px;
  background-color:#e8e5e0;
  border:1px solid var(--border-color);
  padding:20px;
  border-radius:var(--radius);
  color:var(--text-muted);
}
.note{color:var(--text-muted);font-size:0.9rem}
.muted{color:var(--text-muted)}
.active-link{
  font-weight:600;
  color:var(--accent);
  background-color:rgba(15,76,58,0.12);
  border-radius:8px;
}

/* Footer */
.site-footer{
  display:none;
}

/* Reveal base (disabled to restore static view) */
.reveal{
  opacity:1;
  transform:none;
  transition:none;
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}

/* Page Hero / Section Header */
.page-hero{
  padding:var(--space-4);
  background:linear-gradient(120deg,rgba(223,232,226,0.7),rgba(255,255,255,0.9));
  border:1px solid var(--border-color);
  border-radius:20px;
  position:relative;
  overflow:hidden;
  margin:var(--space-3) 0;
  box-shadow:var(--shadow-sm);
}
.page-hero::before{
  content:"";
  position:absolute;
  width:160px;height:160px;
  background:radial-gradient(circle at center,rgba(15,76,58,0.14),rgba(15,76,58,0));
  top:-60px;right:-40px;
}
.page-hero .eyebrow{
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:0.78rem;
  color:#2e3438;
  margin:0 0 8px;
  font-weight:700;
}
.page-hero h1{
  margin:0 0 10px;
  font-size:2.3rem;
  letter-spacing:-0.5px;
}
.page-hero p{
  margin:0;
  color:var(--text-muted);
}
.page-hero .btn{margin-top:var(--space-3);}

/* Thin Divider */
.divider{
  height:1px;
  width:100%;
  background:linear-gradient(90deg,rgba(0,0,0,0),rgba(0,0,0,0.08),rgba(0,0,0,0));
  margin:var(--space-4) 0 var(--space-3);
}

/* Callout */
.callout{
  padding:var(--space-3);
  border-radius:var(--radius);
  background:var(--accent-light);
  border:1px solid var(--border-color);
  color:var(--text-primary);
  box-shadow:var(--shadow-sm);
}

/* Scroll progress bar (disabled) */
.scroll-progress{display:none;}
.scroll-progress__bar{display:none;}

/* Project Navigation */
.project-nav{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:20px 0;
}
.project-nav a{
  padding:8px 14px;
  background-color:#e8e5e0;
  border:1px solid var(--border-color);
  border-radius:6px;
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
  transition:all 0.15s ease;
}
.project-nav a:hover{
  background-color:#ddd9d0;
  border-color:var(--accent);
}

.project-hero{
  padding:24px;
  background-color:#e8e5e0;
  border:1px solid var(--border-color);
  border-radius:var(--radius);
  margin-bottom:24px;
}

/* Project Page Sections */
.project-intro,
.project-section,
.project-reflection {
  margin:32px 0;
  padding:20px;
  background-color:var(--card-bg);
  border:1px solid var(--border-color);
  border-radius:var(--radius);
}

.project-intro h3,
.project-section h3,
.project-section h4 {
  color:var(--accent);
  margin-top:20px;
  margin-bottom:12px;
  font-weight:600;
}

.project-intro h3:first-of-type {
  margin-top:12px;
}

.project-section h2 {
  color:var(--accent);
  margin-top:0;
  margin-bottom:16px;
  font-size:1.5rem;
  font-weight:700;
}

.project-nav {
  margin:24px 0;
  padding:16px;
  background-color:#e8e5e0;
  border:1px solid var(--border-color);
  border-radius:var(--radius);
}

.project-nav h2 {
  margin-top:0;
  font-size:1.2rem;
  color:var(--accent);
}

.project-nav nav {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.project-nav a {
  display:inline-block;
  padding:10px 18px;
  background-color:var(--card-bg);
  border:1px solid var(--border-color);
  color:var(--accent);
  text-decoration:none;
  border-radius:6px;
  font-weight:600;
  transition:all 0.2s ease;
}

.project-nav a:hover {
  background-color:var(--accent);
  color:#f5f3f0;
  border-color:var(--accent);
  transform:translateY(-2px);
  box-shadow:var(--shadow-sm);
}

/* Definition List Styling */
.terms-list {
  margin:16px 0;
}

.terms-list dt {
  margin-top:16px;
  margin-bottom:8px;
  color:var(--accent);
  font-weight:600;
}

.terms-list dt:first-child {
  margin-top:0;
}

.terms-list dd {
  margin:0 0 12px 20px;
  color:var(--text-muted);
  line-height:1.6;
}

/* Sources & Resources Lists */
.sources-list,
.resources-list {
  list-style:none;
  padding:0;
  margin:16px 0;
}

.sources-list li,
.resources-list li {
  margin:20px 0;
  padding:16px;
  background-color:#f5f3f0;
  border-left:4px solid var(--accent);
  border-radius:4px;
}

.sources-list li:first-child,
.resources-list li:first-child {
  margin-top:0;
}

.sources-list strong,
.resources-list strong {
  color:var(--accent);
  display:block;
  margin-bottom:8px;
  font-size:0.95rem;
}

.sources-list p,
.resources-list p {
  margin:8px 0 0 0;
  color:var(--text-muted);
  font-size:0.9rem;
  line-height:1.6;
}

.resources-list a {
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
}

.resources-list a:hover {
  text-decoration:underline;
}

/* Project 2 Multi-Page Styles */
.project2-article {
  max-width:900px;
}

.project2-nav {
  margin:24px 0;
  padding:16px;
  background-color:#e8e5e0;
  border:1px solid var(--border-color);
  border-radius:var(--radius);
}

.subnav {
  list-style:none;
  padding:0;
  margin:0;
}

.subnav ul {
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  align-items:center;
}

.subnav li {
  margin:0;
  padding:0;
}

.subnav strong {
  color:var(--accent);
  font-weight:600;
}

.subnav a {
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
  transition:all 0.2s ease;
}

.subnav a:hover {
  color:var(--accent);
  text-decoration:underline;
}

.project2-hero {
  margin:32px 0;
  padding:24px;
  background-color:var(--card-bg);
  border:1px solid var(--border-color);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
}
.project2-hero h1{
  color:var(--accent);
}

.project2-content {
  margin:32px 0;
  padding:24px;
  background-color:var(--card-bg);
  border:1px solid var(--border-color);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
}

.project2-reflection {
  margin:32px 0;
  padding:24px;
  background-color:#f5f3f0;
  border:1px solid var(--border-color);
  border-radius:var(--radius);
}

.project2-content h2,
.project2-hero h2 {
  color:var(--accent);
  margin-top:0;
  font-size:1.5rem;
}

.project2-content h3,
.project2-hero h3 {
  color:var(--accent);
  margin-top:24px;
  font-weight:600;
}

.project2-content h4 {
  color:var(--accent);
  margin-top:20px;
  font-weight:600;
  font-size:1rem;
}

.photo-placeholder {
  margin:20px 0;
  padding:0;
}

.placeholder-image {
  background-color:#e8e5e0;
  border:2px dashed var(--border-color);
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:200px;
  margin:20px 0;
}

.placeholder-image p {
  color:var(--text-muted);
  margin:0;
  font-style:italic;
}

figcaption {
  text-align:center;
  color:var(--text-muted);
  font-size:0.9rem;
  font-style:italic;
  margin-top:8px;
}

/* Term Definition List */
.terms-list {
  margin:16px 0;
}

.terms-list dt {
  margin-top:16px;
  margin-bottom:8px;
  color:var(--accent);
  font-weight:600;
}

.terms-list dt:first-child {
  margin-top:0;
}

.terms-list dd {
  margin:0 0 12px 20px;
  color:var(--text-muted);
  line-height:1.6;
}

/* Source Lists */
.sources-list,
.resources-list {
  list-style:none;
  padding:0;
  margin:16px 0;
}

.sources-list li,
.resources-list li {
  margin:16px 0;
  padding:16px;
  background-color:#f5f3f0;
  border-left:4px solid var(--accent);
  border-radius:4px;
}

.sources-list li:first-child,
.resources-list li:first-child {
  margin-top:0;
}

.sources-list strong,
.resources-list strong {
  color:var(--accent);
  display:block;
  margin-bottom:8px;
  font-size:0.95rem;
}

.sources-list p,
.resources-list p {
  margin:8px 0 0 0;
  color:var(--text-muted);
  font-size:0.9rem;
  line-height:1.6;
}

.resources-list a {
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
}

.resources-list a:hover {
  text-decoration:underline;
}

/* Bottom Navigation */
.project2-bottom-nav {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:32px 0;
  justify-content:center;
}

.project2-bottom-nav .btn {
  margin-top:0;
}

/* Photography Project Styles */
.photography-article{
  max-width:900px;
  margin:0 auto;
}

.photography-nav{
  background-color:var(--bg-secondary);
  border:1px solid var(--border-color);
  border-radius:var(--radius);
  padding:0;
  margin:24px 0;
  overflow:hidden;
}

.photography-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  grid-auto-rows:1fr;
  gap:0;
}

.photography-nav li{
  min-width:140px;
  padding:0;
  display:flex;
  min-height:74px;
}

.photography-nav li:last-child{
  grid-column:1/-1;
}

.photography-nav li a,
.photography-nav li strong{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px 12px;
  width:100%;
  height:100%;
  text-align:center;
  text-decoration:none;
  border-right:1px solid var(--border-color);
  font-weight:600;
  transition:all 0.15s ease;
  background-color:var(--bg-secondary);
}

.photography-nav li:last-child a,
.photography-nav li:last-child strong{
  border-right:none;
}

.photography-nav a{
  color:var(--text-primary);
  background-color:var(--bg-secondary);
}

.photography-nav a:hover,
.photography-nav li:last-child a:hover{
  background-color:#f0ebe5;
  color:var(--accent);
}

.photography-nav strong{
  color:var(--accent);
  background-color:#eae5de;
  cursor:default;
}

.photography-hero{
  margin:32px 0;
}

.photography-hero h1{
  font-size:2.2rem;
  font-weight:700;
  color:var(--accent);
  margin:0 0 24px 0;
  line-height:1.2;
}

.photography-image{
  margin:24px 0;
  padding:0;
  text-align:center;
}

.photography-image img{
  max-width:100%;
  height:auto;
  border-radius:var(--radius);
  box-shadow:var(--shadow-md);
  display:block;
  margin:0 auto;
}

.photography-image figcaption{
  font-size:0.95rem;
  color:#fff;
  font-style:italic;
  margin-top:12px;
  text-align:center;
}

.photography-content{
  background-color:var(--card-bg);
  padding:32px;
  border-radius:var(--radius);
  border:1px solid var(--border-color);
  margin:24px 0;
}

.photography-content h2{
  font-size:1.6rem;
  font-weight:700;
  color:var(--accent);
  margin:28px 0 16px 0;
  padding-bottom:12px;
  border-bottom:2px solid var(--accent-light);
}

.photography-content p{
  font-size:1rem;
  line-height:1.8;
  color:var(--text-primary);
  margin:16px 0;
}

.photography-content ul,
.photography-content ol{
  margin:16px 0;
  padding-left:28px;
}

.photography-content li{
  margin:12px 0;
  line-height:1.7;
  color:var(--text-primary);
}

/* Definition Lists (Terms) */
.terms-list{
  margin:24px 0;
  padding:20px;
  background-color:#fff;
  border-left:4px solid var(--accent);
  border-radius:6px;
}

.terms-list dt{
  font-weight:700;
  color:var(--accent);
  margin-top:16px;
  font-size:1.05rem;
}

.terms-list dt:first-child{
  margin-top:0;
}

.terms-list dd{
  margin:8px 0 0 0;
  padding:0;
  color:var(--text-primary);
  font-size:0.95rem;
  line-height:1.6;
}

/* Values List */
.values-list{
  margin:24px 0;
  padding:20px;
  background-color:#fff;
  border-left:4px solid var(--accent);
  border-radius:6px;
}

.values-list dt{
  font-weight:700;
  color:var(--accent);
  margin-top:16px;
  font-size:1.05rem;
}

.values-list dt:first-child{
  margin-top:0;
}

.values-list dd{
  margin:8px 0 0 0;
  padding:0;
  color:var(--text-primary);
  font-size:0.95rem;
  line-height:1.6;
}

/* Sources List */
.sources-list{
  margin:24px 0;
  padding:20px;
  background-color:#fff;
  border-left:4px solid var(--accent);
  border-radius:6px;
  list-style:decimal;
}

.sources-list li{
  margin:16px 0;
  padding-left:8px;
  color:var(--text-primary);
}

.sources-list strong{
  color:var(--accent);
}

.sources-list p{
  margin:8px 0 0 0;
  font-size:0.95rem;
  color:var(--text-muted);
  line-height:1.6;
}

/* Resources List */
.resources-list{
  margin:24px 0;
  padding:20px;
  background-color:#fff;
  border-left:4px solid var(--accent);
  border-radius:6px;
  list-style:decimal;
}

.resources-list li{
  margin:16px 0;
  padding-left:8px;
  color:var(--text-primary);
}

.resources-list a{
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
}

.resources-list a:hover{
  text-decoration:underline;
  color:var(--accent);
}

.resources-list p{
  margin:8px 0 0 0;
  font-size:0.95rem;
  color:var(--text-muted);
  line-height:1.6;
}

/* Callout Boxes */
.terminology-callout,
.inspiration-callout{
  background-color:#f0ebe5;
  border-left:4px solid var(--accent);
  padding:16px 20px;
  border-radius:6px;
  margin:24px 0;
  font-size:0.98rem;
  line-height:1.7;
  color:var(--text-primary);
}

.terminology-callout strong,
.inspiration-callout strong{
  color:var(--accent);
}

/* SLO Boxes */
.slo-box{
  background-color:#fff;
  border:1px solid var(--border-color);
  border-left:4px solid var(--accent);
  padding:20px;
  margin:20px 0;
  border-radius:6px;
}

.slo-box h3{
  font-size:1.2rem;
  font-weight:700;
  color:var(--accent);
  margin:0 0 12px 0;
}

.slo-box p{
  margin:10px 0;
  font-size:0.95rem;
  line-height:1.6;
  color:var(--text-primary);
}

.slo-box strong{
  color:var(--accent);
}

/* Bottom Navigation */
.photography-bottom-nav{
  display:flex;
  gap:16px;
  justify-content:space-between;
  margin:40px 0 24px 0;
  flex-wrap:wrap;
}

.nav-btn{
  flex:1;
  min-width:180px;
  padding:14px 20px;
  background-color:var(--accent);
  color:#f5f3f0;
  text-decoration:none;
  border-radius:var(--radius);
  font-weight:600;
  text-align:center;
  transition:all 0.2s ease;
  border:none;
  cursor:pointer;
}

.nav-btn:hover{
  background-color:var(--accent);
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
}

/* Memoir Article Styles */
.memoir-article {
  max-width:900px;
  margin:0 auto;
  padding:20px;
}

.memoir-article h1 {
  font-size:2.4rem;
  font-weight:700;
  color:var(--text-primary);
  margin:0 0 32px 0;
  padding-bottom:16px;
  border-bottom:3px solid var(--accent);
  line-height:1.2;
}

.memoir-article h2 {
  font-size:1.8rem;
  font-weight:700;
  color:var(--text-primary);
  margin:40px 0 24px 0;
  padding-bottom:12px;
  border-bottom:2px solid var(--accent-light);
}

.memoir-article h3 {
  font-size:1.3rem;
  font-weight:700;
  color:var(--accent);
  margin:24px 0 12px 0;
}

.memoir-section {
  margin:24px 0;
  line-height:1.8;
}

.memoir-section p {
  font-size:1rem;
  color:var(--text-primary);
  margin:16px 0;
  text-align:justify;
}

.memoir-image {
  margin:24px 0;
  padding:0;
  text-align:center;
  background-color:var(--bg-secondary);
  padding:20px;
  border-radius:var(--radius);
  border:1px solid var(--border-color);
}

.memoir-image img {
  max-width:100%;
  height:auto;
  display:block;
  margin:0 auto;
  border-radius:6px;
  box-shadow:var(--shadow-sm);
}

.memoir-image figcaption {
  font-size:0.95rem;
  color:var(--text-muted);
  font-style:italic;
  margin-top:12px;
}

/* Reading Panel - Memoir Readability Enhancement */
.reading-panel,
.content-panel {
  background-color:var(--card-bg);
  padding:32px;
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  max-width:800px;
  margin:0 auto 32px;
  line-height:1.8;
}

.reading-panel p,
.content-panel p {
  margin:16px 0;
  color:var(--text-muted);
  font-size:1.05rem;
  line-height:1.8;
}

.reading-panel h2,
.reading-panel h3,
.content-panel h2,
.content-panel h3 {
  color:var(--accent);
  margin-top:24px;
  margin-bottom:12px;
}

.reading-panel h2:first-child,
.content-panel h2:first-child {
  margin-top:0;
}

.resource-links {
  list-style:none;
  padding:0;
  margin:16px 0;
}

.resource-links li {
  margin:12px 0;
  padding:12px;
  background-color:var(--card-bg);
  border-left:4px solid var(--accent);
  border-radius:4px;
  transition:all 0.2s ease;
}

.resource-links li:hover {
  background-color:#f0ebe5;
  transform:translateX(4px);
}

.resource-links a {
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
  font-size:1.05rem;
}

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

/* Responsive Design */
@media (max-width:768px){
  .site-nav{display:none}
  .nav-toggle{display:block}
  
  .site-nav.mobile-open{
    display:block;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background-color:var(--accent);
    border-bottom:1px solid rgba(255,255,255,0.1);
    padding:12px 0;
  }
  .site-nav.mobile-open ul{
    flex-direction:column;
    gap:0;
  }
  .site-nav.mobile-open a,
  .site-nav.mobile-open button{
    display:block;
    padding:12px 20px;
    text-align:left;
    color:#f5f3f0;
  }
  
  .dropdown-menu{
    position:static;
    border:none;
    box-shadow:none;
    margin:0;
    padding:8px 0 8px 24px;
    background-color:rgba(0,0,0,0.15);
  }
  
  .hero{
    padding:40px 20px;
  }
  .hero h1{
    font-size:2rem;
  }
  
  .grid{
    grid-template-columns:1fr;
  }
}

/* Accessibility */
@media (prefers-reduced-motion:reduce){
  *{transition:none !important;animation:none !important}
  html{scroll-behavior:auto;}
  .reveal{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
  .scroll-progress__bar{
    transition:none !important;
  }
}

/* Print Styles */
@media print{
  .site-header,
  .site-footer,
  .nav-toggle,
  .dropdown-menu{
    display:none;
  }
}


/* Overrides and refinements */
.hero .lede,
.hero .meta-line{display:none;}
.hero h1{max-width:540px;font-size:2.4rem;}

.content-panel,
.reading-panel{
  background-color:#f0efeb;
  border:1px solid #d6d1c7;
  color:var(--text-primary);
}
.content-panel h1,
.content-panel h2,
.content-panel h3{color:var(--text-primary);}
.reading-panel p,
.content-panel p{color:var(--text-muted);}

.eyebrow{color:#2e3438;font-weight:700;letter-spacing:1.6px;}

/* Icon buttons */
.drop-btn::after{content:"▼";}

/* Memoir pages */
.memoir-article h1,
.memoir-article h2,
.memoir-article h3{color:var(--accent);}
.memoir-article p,
.memoir-article li{color:var(--text-muted);}



