:root {
  --bg: #f8f9f7;
  --surface: #ffffff;
  --border: #e8eae5;
  --border-strong: #d4d8d0;
  --text: #1a2420;
  --text-muted: #5f6f66;
  --text-dim: #8a9690;

  --accent: #be185d;
  --accent-soft: #fdf2f8;
  --accent-dark: #9d174d;

  --radius: 14px;
  --maxw: 1200px;
  --gap: 22px;

  --shadow-sm: 0 1px 2px rgba(20, 30, 25, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 30, 25, 0.06);
  --shadow-lg: 0 16px 40px rgba(20, 30, 25, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Arial,
    sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px 24px 80px;
}
@media (max-width: 640px) {
  .wrap {
    padding: 24px 16px 56px;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
}
.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.breadcrumbs a:hover {
  color: var(--accent);
  text-decoration: none;
}
.breadcrumbs .sep,
.breadcrumbs span {
  color: var(--text-dim);
  margin: 0 4px;
}
.breadcrumbs strong {
  font-weight: 600;
  color: var(--text);
}

/* Page Header */
.page-header {
  margin-bottom: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.page-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 14px 0 18px;
}
h1 {
  margin: 0 0 18px;
  font-family: 'DojowellBasic', 'Charter', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
}
.page-subtitle {
  margin: 0;
  color: var(--text-muted);
  max-width: 68ch;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
}
.page-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.page-stats span {
  position: relative;
  padding-left: 16px;
}
.page-stats span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}
.page-stats span:first-child {
  padding-left: 0;
}
.page-stats span:first-child::before {
  display: none;
}

.pill {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-top: 18px;
}

/* Bands (parallel to blog's .section) */
.band {
  margin-top: 64px;
}
.band-head {
  margin-bottom: 28px;
}
.band-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.band-num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--accent);
}
.band-eyebrow::after {
  content: '';
  flex: 0 0 64px;
  height: 1px;
  background: var(--accent);
  opacity: 0.45;
}
h2 {
  margin: 0 0 10px;
  font-family: 'DojowellBasic', 'Charter', Georgia, serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
.band-subtitle {
  margin: 0;
  color: var(--text-muted);
  max-width: 80ch;
  font-size: 15px;
  line-height: 1.55;
}
.section-divider {
  display: none;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  margin-top: 28px;
}
.card {
  grid-column: span 4;
}
@media (max-width: 1024px) {
  .card {
    grid-column: span 6;
  }
}
@media (max-width: 640px) {
  .card {
    grid-column: span 12;
  }
}

/* Card */
.card a {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  position: relative;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.card a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}
.card a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.card a:hover::before {
  opacity: 1;
}

.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #eef0ec;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.card a:hover .card-image img {
  transform: scale(1.04);
}

.card-body {
  padding: 22px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.2s ease;
}
.card a:hover .card-title {
  color: var(--accent);
}
.card-subtitle,
.meta {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
.meta strong {
  color: var(--text);
  font-weight: 600;
}
.card-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin-top: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.card a:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}
.card-arrow::after {
  content: ' →';
  margin-left: 4px;
  transition: transform 0.25s ease;
}
.card a:hover .card-arrow::after {
  transform: translateX(2px);
}

/* Footer */
.dojo-footer {
  width: 100%;
  padding: 36px 24px 8px;
  margin-top: 80px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dim);
}
.dojo-footer .copyright-main {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.dojo-footer .footer-subtext {
  font-size: 12px;
  opacity: 0.85;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}
