/* ══════════════════════════════════════
   Editorial skin
   ══════════════════════════════════════ */

:root {
  --paper:    #f3f3f3;
  --ink:      #1a1a18;
  --mid:      #5a5a52;
  --dim:      #9a9a8e;
  --rule:     rgba(26, 26, 24, 0.12);
  --green:    #1e3d2f;
  --green-l:  #e6ede8;
  --green-m:  rgba(30, 61, 47, 0.15);

  --serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --masthead-h:   56px;
  --side-tl-w:   68px;
  --sticky-top:  var(--masthead-h);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html  { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-right: var(--side-tl-w);
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }


/* ══════════════════════════════════════
   MASTHEAD
   ══════════════════════════════════════ */

.masthead {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--masthead-h);
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "nav name controls";
  align-items: center;
  padding: 0 32px;
  border-bottom: 1px solid var(--rule);
}

.masthead-name {
  grid-area: name;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  white-space: nowrap;
  text-align: center;
}

.masthead-nav {
  grid-area: nav;
  display: flex;
  gap: 24px;
  align-items: center;
  min-width: 0;
}

.masthead-nav a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color 0.15s;
}

.masthead-nav a:hover { color: var(--green); text-decoration: none; }

.theme-toggle {
  background: none;
  border: 1px solid var(--rule);
  color: var(--dim);
  font-size: 1rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
}

.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--mid);
}


/* ══════════════════════════════════════
   TIMELINE ASIDE (fixed right-side vertical nav)
   ══════════════════════════════════════ */

.tl-aside {
  position: fixed;
  top: var(--masthead-h);
  right: 0;
  width: var(--side-tl-w);
  bottom: 0;
  z-index: 190;
  pointer-events: none;
}

.tl-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--rule);
  transform: translateX(-50%);
}

.tl-rail-fill {
  width: 100%;
  background: var(--green);
  height: 0%;
  transition: height 0.1s linear;
}


/* ══════════════════════════════════════
   INTRO
   ══════════════════════════════════════ */

.intro {
  padding: 36px 32px 10px;
  max-width: 1100px;
  margin: 0 auto;
}

.intro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: center;
}

.intro-copy {
  min-width: 0;
}

.intro-meta {
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--dim);
}

.intro-deck {
  font-family: var(--sans);
  font-size: clamp(1.08rem, 1.9vw, 1.34rem);
  color: var(--mid);
  line-height: 1.65;
  max-width: 620px;
}

.intro-photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  justify-self: end;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--green-l);
  box-shadow: 0 10px 28px rgba(15, 20, 15, 0.05);
}

.intro-photo-asset {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ══════════════════════════════════════
   TICKER STRIP
   ══════════════════════════════════════ */

.proof-strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 32px 6px;
}

.proof-strip-inner {
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.ticker-track {
  display: inline-flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  contain: layout paint style;
  animation: ticker-scroll 22s linear infinite;
}

.ticker-track[data-paused="true"] {
  animation-play-state: paused;
}

.proof-strip:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-line {
  flex-shrink: 0;
  padding: 14px 0;
  white-space: nowrap;
}

.ticker-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--mid);
  display: inline-block;
  padding-right: 12px;
}

@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--ticker-shift, -50%), 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    width: auto;
    min-width: 0;
  }

  .proof-strip-inner {
    overflow-x: auto;
  }
}

.ed-section {
  display: block;
  padding: 36px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Section content */
.section-head {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 16px;
}

/* ══════════════════════════════════════
   SKILLS TABLE
   ══════════════════════════════════════ */

.skill-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skill-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--mid);
}

.skill-row--no-cat {
  gap: 0;
}

.skill-cat {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: var(--dim);
  flex-shrink: 0;
}

.skill-items {
  min-width: 0;
}

.ed-section--projects { max-width: 1100px; }

.filter-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--mid);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.46rem 0.72rem;
  cursor: pointer;
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.filter-btn:hover {
  color: var(--ink);
  border-color: var(--mid);
}

.filter-btn.active {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-m);
}

.filter-btn--toggle {
  color: var(--dim);
}

/* ══════════════════════════════════════
   FEATURE SECTIONS — scan, then drill down
   ══════════════════════════════════════ */

.feature-shell {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.feature-rail {
  min-width: 0;
}

.feature-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.feature-filters-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-filters-extra[hidden] {
  display: none;
}

.feature-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 28px;
}

.feature-nav::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--rule);
}

.feature-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  padding: 2px 0 8px 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--mid);
  cursor: pointer;
  transition: color 0.14s ease, transform 0.14s ease;
}

.feature-option::before {
  content: '';
  position: absolute;
  top: 8px;
  left: -24px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--paper);
  transition: border-color 0.14s ease, background 0.14s ease, transform 0.14s ease;
}

.feature-option:hover {
  color: var(--ink);
}

.feature-option:hover::before {
  border-color: var(--mid);
}

.feature-option.active {
  color: var(--ink);
  transform: translateX(2px);
}

.feature-option.active::before {
  border-color: var(--green);
  background: var(--green);
  transform: scale(1.05);
}

.feature-option[hidden],
.feature-panel[hidden] {
  display: none;
}

.feature-option-label {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
}

.feature-option-sub,
.feature-option-meta {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--dim);
}

.feature-option-sub {
  max-width: 24ch;
}

.feature-panels {
  min-width: 0;
}

.feature-panel {
  border: 1px solid var(--rule);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(15, 20, 15, 0.04);
  padding: 24px 26px;
}

.feature-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.feature-panel-org {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.14s ease, border-color 0.14s ease;
}

.feature-panel-org:hover {
  color: var(--green);
  border-color: var(--green);
}

.feature-panel-title {
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--ink);
}

.feature-panel-meta {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dim);
  white-space: nowrap;
}

.feature-panel-summary,
.feature-panel-copy {
  max-width: 68ch;
  font-size: 0.94rem;
  color: var(--mid);
  line-height: 1.75;
}

.feature-panel-copy p + p {
  margin-top: 12px;
}

.feature-panel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 24px;
  align-items: start;
}

.feature-panel--no-media .feature-panel-layout {
  grid-template-columns: minmax(0, 1fr);
}

.feature-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--green-l);
}

.feature-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.feature-visual--project {
  padding: 14px;
  background: color-mix(in srgb, var(--green-l) 78%, white 22%);
}

.feature-visual--project img {
  object-fit: contain;
  object-position: center;
}

.feature-visual--empty {
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background:
    radial-gradient(circle at top, rgba(0, 0, 0, 0.04), transparent 55%),
    linear-gradient(160deg, var(--green-m), transparent 60%),
    var(--green-l);
}

.feature-visual-title {
  display: block;
  max-width: 14ch;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.73rem;
  line-height: 1;
  color: var(--mid);
  background: transparent;
}

.feature-tag--muted {
  color: var(--dim);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
}

.feature-link:hover {
  opacity: 0.7;
  text-decoration: none;
}

.feature-link--muted {
  color: var(--dim);
  border-bottom-color: var(--rule);
  cursor: default;
}

.feature-subroles {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}

.feature-subrole {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.feature-subrole:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.feature-subrole-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.feature-subrole-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.feature-subrole-meta {
  flex-shrink: 0;
  font-size: 0.76rem;
  color: var(--dim);
  white-space: nowrap;
}

.feature-subrole-points {
  margin: 8px 0 0;
  padding-left: 1.1em;
  color: var(--mid);
  font-size: 0.85rem;
  line-height: 1.7;
}

[data-theme="dark"] .feature-panel {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

/* ══════════════════════════════════════
   DARK MODE
   ══════════════════════════════════════ */

[data-theme="dark"] {
  --paper:    #161614;
  --ink:      #dedad3;
  --mid:      #888480;
  --dim:      #555250;
  --rule:     rgba(220, 218, 211, 0.09);
  --green:    #bfb9b0;       /* warm neutral off-white */
  --green-l:  #201f1c;
  --green-m:  rgba(191, 185, 176, 0.10);

}

/* ══════════════════════════════════════
   CUSTOMIZER
   ══════════════════════════════════════ */

.masthead-controls {
  grid-area: controls;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  justify-self: end;
}

.customize-toggle {
  background: none;
  border: 1px solid var(--rule);
  color: var(--dim);
  font-size: 0.85rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.15s, border-color 0.15s;
}
.customize-toggle:hover { color: var(--ink); border-color: var(--mid); }
.customize-toggle.active { color: var(--green); border-color: var(--green); }

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  color: var(--dim);
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
}
.contact-link:hover { color: var(--ink); border-color: var(--mid); text-decoration: none; }

.customizer {
  position: absolute;
  top: calc(var(--masthead-h) + 8px);
  right: 32px;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 16px 18px;
  min-width: 220px;
  z-index: 300;
  display: none;
}
.customizer.open { display: block; }

.customizer-section {
  margin-bottom: 14px;
}
.customizer-section:last-child { margin-bottom: 0; }

.customizer-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  color: var(--dim);
  margin-bottom: 8px;
}

.customizer-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.customizer-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
  outline: 1px solid rgba(0,0,0,0.08);
}
.customizer-swatch:hover { transform: scale(1.15); }
.customizer-swatch.active { border-color: var(--green); }

.customizer-fonts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}


.customizer-font-btn {
  background: none;
  border: 1px solid var(--rule);
  color: var(--mid);
  font-size: 0.82rem;
  padding: 5px 10px;
  text-align: left;
  cursor: pointer;
  border-radius: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.customizer-font-btn:hover { color: var(--ink); border-color: var(--mid); }
.customizer-font-btn.active { color: var(--green); border-color: var(--green); }

/* ══════════════════════════════════════
   PHOTOS — teaser grid + CTA
   ══════════════════════════════════════ */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.photo-tile {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-l);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-tile:hover img { transform: scale(1.03); }

.photo-view-all {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  transition: opacity 0.15s;
  text-decoration: none;
}

.photo-view-all:hover { opacity: 0.65; text-decoration: none; }


/* ── External nav link (Photos ↗) ── */
.masthead-nav-ext {
  color: var(--dim) !important;
  letter-spacing: 0.02em;
}

.masthead-nav-ext:hover { color: var(--green) !important; }


/* ══════════════════════════════════════
   MINOR PROJECTS — compact sub-grid
   ══════════════════════════════════════ */

.minor-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 16px;
}

.minor-divider::before,
.minor-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.minor-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  color: var(--dim);
  white-space: nowrap;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.minor-more-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
}

.minor-more-link:hover {
  text-decoration: underline;
}

.mini-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.mini-tile:hover { box-shadow: 0 3px 14px rgba(0,0,0,0.06); }

.mini-tile-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-l);
}

.mini-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(0.08) contrast(1.04);
  transition: transform 0.4s ease;
}

.mini-tile:hover .mini-tile-img img { transform: scale(1.05); }

.mini-tile-img--empty { background: var(--green-l); }

.mini-tile-body {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mini-tile-title {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.mini-tile-meta {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: var(--dim);
}

/* ══════════════════════════════════════
   IN PROGRESS / FUTURE
   ══════════════════════════════════════ */

.ed-section--notes {
  padding-top: 0;
  padding-bottom: 56px;
}

.section-head--minor {
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.notes-shell {
  max-width: 580px;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}

.notes-item {
  color: var(--dim);
  font-size: 0.84rem;
  line-height: 1.6;
}

.notes-item + .notes-item {
  margin-top: 0.32rem;
}

/* Smooth theme transition on key surfaces */
body,
.masthead {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}


/* ══════════════════════════════════════
   MASTHEAD SKIN DOTS
   ══════════════════════════════════════ */

.skin-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.skin-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px var(--paper), 0 0 0 2.5px transparent;
  transition: box-shadow 0.15s, transform 0.15s;
  outline: none;
}

.skin-dot:hover { transform: scale(1.25); }

.skin-dot.active {
  box-shadow: 0 0 0 1.5px var(--paper), 0 0 0 3px var(--dot-ring, currentColor);
}


/* ══════════════════════════════════════
   SKIN PICKER (in customizer panel)
   ══════════════════════════════════════ */

.skin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.skin-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--rule);
  cursor: pointer;
  padding: 5px 4px 6px;
  border-radius: 2px;
  transition: border-color 0.15s;
}

.skin-btn:hover { border-color: var(--mid); }
.skin-btn.active { border-color: var(--green); outline: 1px solid var(--green); }

.skin-btn-preview {
  width: 100%;
  height: 36px;
  border-radius: 1px;
  overflow: hidden;
  pointer-events: none;
}

.skin-btn-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.01em;
  color: var(--dim);
  white-space: nowrap;
  line-height: 1;
}

.skin-btn.active .skin-btn-label { color: var(--green); }

/* Dim paper/font sections when a non-editorial skin is active */
.customizer-section--disabled {
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

/* ── 880px: tighten spacing, hide side-nav label text (dots only) ── */
@media (max-width: 880px) {
  :root { --side-tl-w: 52px; }

  .masthead { padding: 0 20px; }
  .masthead-nav { gap: 14px; }

  .intro { padding: 36px 20px 28px; }
  .intro-hero {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 22px;
  }
  .proof-strip { padding: 4px 20px 8px; }
  .ed-section { padding: 28px 20px; }

  .feature-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-nav {
    padding-left: 24px;
  }

  .feature-panel-layout {
    grid-template-columns: 1fr;
  }

}

/* ── 700px: hide masthead nav links before they overlap the name ── */
@media (max-width: 700px) {
  .masthead {
    grid-template-columns: auto 1fr;
    grid-template-areas: "name controls";
  }
  .masthead-nav { display: none; }
  .masthead-name { text-align: left; font-size: 1.4rem; }
}

/* ── 600px: hide side nav, mobile map, tighten everything ── */
@media (max-width: 600px) {
  :root { --side-tl-w: 0px; }

  body { padding-right: 0; }
  .tl-aside { display: none; }

  .masthead { padding: 0 16px; }
  .masthead-name { font-size: 1.25rem; }

  .intro { padding: 24px 16px 20px; }
  .intro-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro-deck { font-size: 1rem; max-width: 100%; }

  .intro-photo {
    max-width: 220px;
    justify-self: start;
  }

  .proof-strip { padding: 0 16px 8px; }

  .proof-strip-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .ed-section { padding: 20px 16px; }
  .feature-nav {
    gap: 12px;
    padding-left: 18px;
  }

  .feature-nav::before {
    left: 5px;
  }

  .feature-option::before {
    left: -16px;
  }

  .feature-panel {
    padding: 18px;
  }

  .feature-panel-head,
  .feature-subrole-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
