/* Bomber-L · YNMT shared base CSS — multi-page (28 pages) port from Squarespace mirror
 * Per [[pen-name-canon]] HOLD-SEPARATION: this file is YNMT-only.
 * Builds on Bomber-C base — extended with folder-dropdown nav + subpage layouts.
 */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body, 'Lexend', system-ui, -apple-system, sans-serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg, #2a2520);
  background: var(--bg, #f5ecd9);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent, #4dc8e8);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---- Layout primitives ---- */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
}

section {
  padding: 80px 0;
  width: 100%;
}

@media (max-width: 768px) {
  section {
    padding: 48px 0;
  }
}

/* ---- Site header (sticky + folder dropdowns) ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg, rgba(245, 236, 217, 0.92));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border, #d4c8a8);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.site-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-bright, #14110d);
  flex-shrink: 0;
}

.site-logo:hover {
  opacity: 1;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--fg, #2a2520);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  display: inline-block;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--ynmt-brick, #a85a3a);
  opacity: 1;
}

.nav-link[aria-current="page"] {
  color: var(--ynmt-brick, #a85a3a);
  font-weight: 700;
}

/* Folder dropdown */
.nav-folder > .nav-link::after {
  content: " \25BE";
  font-size: 10px;
  opacity: 0.7;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border, #d4c8a8);
  border-radius: 4px;
  padding: 8px 0;
  display: none;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(20, 17, 13, 0.08);
  z-index: 200;
}

.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
  display: flex;
}

.nav-dropdown a {
  padding: 8px 16px;
  color: var(--fg, #2a2520);
  font-size: 14px;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: var(--bg-warm, #ede0c4);
  color: var(--ynmt-brick, #a85a3a);
  opacity: 1;
}

.nav-dropdown a[aria-current="page"] {
  color: var(--ynmt-brick, #a85a3a);
  font-weight: 700;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  background: none;
  border: none;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  position: absolute;
  height: 2px;
  width: 24px;
  background: var(--fg-bright, #14110d);
  border-radius: 1px;
  transition: transform 0.2s ease;
  left: 4px;
}

.nav-toggle span {
  top: 15px;
}

.nav-toggle span::before {
  content: "";
  top: -8px;
}

.nav-toggle span::after {
  content: "";
  top: 8px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card, #ffffff);
    border-bottom: 1px solid var(--border, #d4c8a8);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px;
    box-shadow: 0 4px 12px rgba(20, 17, 13, 0.08);
  }
  .site-nav.is-open {
    display: flex;
  }
  .nav-item {
    border-bottom: 1px solid var(--border-lo, #e6daba);
  }
  .nav-item:last-child {
    border-bottom: none;
  }
  .nav-link {
    padding: 12px 0;
    width: 100%;
    text-align: left;
  }
  .nav-folder > .nav-link::after {
    float: right;
  }
  .nav-dropdown {
    position: static;
    display: flex;
    flex-direction: column;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 8px 16px;
  }
  .nav-dropdown a {
    padding: 8px 0;
    border-bottom: 1px dotted var(--border-lo, #e6daba);
  }
  .nav-dropdown a:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .site-logo {
    font-size: 18px;
  }
}

/* ---- Hero section ---- */

.hero {
  padding: 120px 0 80px;
  text-align: left;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--fg-bright, #14110d);
}

.hero-text p {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--fg, #2a2520);
  margin-bottom: 16px;
}

.hero-text .quote-attribution {
  font-size: 14px;
  color: var(--fg-muted, #6b5f4d);
  margin-top: 16px;
  font-style: italic;
}

.hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mark img,
.hero-mark svg {
  max-width: 320px;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero {
    padding: 64px 0 48px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-mark {
    order: -1;
  }
  .hero-mark img,
  .hero-mark svg {
    max-width: 200px;
  }
}

/* ---- Marquee / tagline banner ---- */

.marquee-banner {
  background: var(--ynmt-brick, #a85a3a);
  color: var(--bg, #f5ecd9);
  padding: 32px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-text {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}

/* ---- Pillar sections (home) ---- */

.pillar {
  border-top: 1px solid var(--border-lo, #e6daba);
}

.pillar.theme-light {
  background: var(--bg-card, #ffffff);
}

.pillar.theme-warm {
  background: var(--bg-warm, #ede0c4);
}

.pillar-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

.pillar-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.pillar-icon img,
.pillar-icon svg {
  width: 160px;
  height: auto;
  opacity: 0.92;
}

.pillar-text h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--fg-bright, #14110d);
  letter-spacing: -0.02em;
}

.pillar-text p {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--fg, #2a2520);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pillar-icon img,
  .pillar-icon svg {
    width: 120px;
  }
}

/* ---- Subpage layout (mission, outreach, skills, knowledge subpages) ---- */

.subpage-hero {
  padding: 96px 0 48px;
  background: var(--bg-warm, #ede0c4);
  border-bottom: 1px solid var(--border, #d4c8a8);
}

.subpage-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-bright, #14110d);
  margin-bottom: 16px;
}

.subpage-hero .breadcrumb {
  font-size: 13px;
  color: var(--fg-muted, #6b5f4d);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.subpage-hero .breadcrumb a {
  color: var(--ynmt-brick, #a85a3a);
}

.subpage-hero .lede {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--fg, #2a2520);
  max-width: 720px;
  line-height: 1.5;
}

.subpage-body {
  padding: 64px 0 96px;
  background: var(--bg, #f5ecd9);
}

.subpage-body h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--fg-bright, #14110d);
  letter-spacing: -0.01em;
}

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

.subpage-body h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--fg-bright, #14110d);
}

.subpage-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg, #2a2520);
  margin-bottom: 16px;
  max-width: 720px;
}

.subpage-body ul,
.subpage-body ol {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg, #2a2520);
  margin: 0 0 16px 24px;
  max-width: 720px;
}

.subpage-body li {
  margin-bottom: 8px;
}

/* Numbered goal blocks (mission page) */
.goal-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  margin: 48px 0;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-lo, #e6daba);
}

.goal-block:last-of-type {
  border-bottom: none;
}

.goal-number {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  color: var(--ynmt-brick, #a85a3a);
  letter-spacing: -0.02em;
  line-height: 1;
}

.goal-content h3 {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--fg-bright, #14110d);
}

@media (max-width: 600px) {
  .goal-block {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }
}

/* ---- Folder index pages (Outreach, Skills, Knowledge) ---- */

.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.folder-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border, #d4c8a8);
  border-radius: 8px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.folder-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 17, 13, 0.08);
  border-color: var(--ynmt-brick, #a85a3a);
  opacity: 1;
}

.folder-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-bright, #14110d);
  margin: 0 0 8px;
}

.folder-card p {
  font-size: 14px;
  color: var(--fg-muted, #6b5f4d);
  line-height: 1.5;
  margin: 0;
}

.folder-card .read-more {
  font-size: 13px;
  color: var(--ynmt-brick, #a85a3a);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 12px;
  font-weight: 500;
}

/* ---- Stub / placeholder marker ---- */

.placeholder-callout {
  background: var(--bg-card, #ffffff);
  border: 1px dashed var(--border-hi, #b8a578);
  border-radius: 8px;
  padding: 24px;
  margin: 32px 0;
  font-size: 14px;
  color: var(--fg-muted, #6b5f4d);
}

.placeholder-callout strong {
  color: var(--fg-bright, #14110d);
}

/* ---- Blog ---- */

.blog-list {
  margin-top: 32px;
}

.blog-post-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border, #d4c8a8);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 17, 13, 0.08);
}

.blog-post-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.blog-post-card h2 a {
  color: var(--fg-bright, #14110d);
}

.blog-post-card h2 a:hover {
  color: var(--ynmt-brick, #a85a3a);
  opacity: 1;
}

.blog-meta {
  font-size: 13px;
  color: var(--fg-muted, #6b5f4d);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.blog-meta .tag {
  display: inline-block;
  background: var(--bg-warm, #ede0c4);
  color: var(--ynmt-brick, #a85a3a);
  font-size: 11px;
  padding: 2px 8px;
  margin-left: 4px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-excerpt {
  color: var(--fg, #2a2520);
  font-size: 16px;
  line-height: 1.6;
}

/* Single blog post */
.blog-post-body {
  max-width: 760px;
  margin: 0 auto;
}

.blog-post-body p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-post-body p:first-of-type::first-letter {
  font-size: 3em;
  font-weight: 700;
  float: left;
  line-height: 1;
  margin: 6px 12px 0 0;
  color: var(--ynmt-brick, #a85a3a);
}

/* ---- Footer ---- */

.site-footer {
  padding: 64px 0 48px;
  background: var(--ynmt-sand, #f5ecd9);
  border-top: 1px solid var(--border, #d4c8a8);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-mark img,
.footer-mark svg {
  width: 80px;
  height: auto;
  opacity: 0.85;
}

.footer-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--fg-bright, #14110d);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted, #6b5f4d);
  max-width: 480px;
}

.footer-status {
  font-size: 12px;
  color: var(--fg-dim, #9a8c75);
  margin-top: 16px;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 13px;
}

.footer-links a {
  color: var(--ynmt-brick, #a85a3a);
}

/* ---- Accessibility / motion ---- */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ynmt-brick, #a85a3a);
  color: var(--bg, #f5ecd9);
  padding: 8px 16px;
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- 404 ---- */
.not-found {
  text-align: center;
  padding: 120px 24px;
}

.not-found h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  color: var(--ynmt-brick, #a85a3a);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.not-found p {
  font-size: 18px;
  color: var(--fg-muted, #6b5f4d);
  max-width: 480px;
  margin: 0 auto 32px;
}

.not-found .home-link {
  display: inline-block;
  padding: 12px 24px;
  background: var(--ynmt-brick, #a85a3a);
  color: var(--bg, #f5ecd9);
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.not-found .home-link:hover {
  opacity: 0.85;
}
</content>
</invoke>