/* ==========================================================
   mirazhossain.com — shared stylesheet (v2)
   ========================================================== */

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

:root {
  --bg: #f0f2f4;
  --bg2: #e6e9ec;
  --bg3: #dde0e4;
  --surface: #f7f8fa;
  --surface2: #ffffff;
  --text: #111827;
  --text2: #4b5563;
  --text3: #9ca3af;
  --border: rgba(0,0,0,0.09);
  --border2: rgba(0,0,0,0.18);
  --accent-blue: #1e3a5f;
  --accent-amber: #b45309;
  --accent-teal: #0f766e;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --trans: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* System preference default */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1318;
    --bg2: #181e26;
    --bg3: #202833;
    --surface: #151b22;
    --surface2: #1b232d;
    --text: #e8edf2;
    --text2: #94a3b8;
    --text3: #64748b;
    --border: rgba(255,255,255,0.08);
    --border2: rgba(255,255,255,0.16);
    --accent-blue: #93c5fd;
    --accent-amber: #fbbf24;
    --accent-teal: #2dd4bf;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  }
}

/* Explicit dark mode (overrides preference) */
:root[data-theme="dark"] {
  --bg: #0f1318;
  --bg2: #181e26;
  --bg3: #202833;
  --surface: #151b22;
  --surface2: #1b232d;
  --text: #e8edf2;
  --text2: #94a3b8;
  --text3: #64748b;
  --border: rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.16);
  --accent-blue: #93c5fd;
  --accent-amber: #fbbf24;
  --accent-teal: #2dd4bf;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

a { color: var(--accent-teal); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 2.5rem; }
.container-wide { max-width: 1360px; margin: 0 auto; padding: 0 2.5rem; }

/* THEME TOGGLE (nav switch) */
.theme-toggle {
  border: none;
  background: none;
  color: inherit;
  font: inherit;
}

.nav-theme-toggle {
  width: 54px;
  height: 30px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(14, 35, 29, 0.14);
  background: #f7f8f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
  flex-shrink: 0;
}

.nav-theme-toggle:hover {
  transform: scale(1.05);
  border-color: rgba(15, 139, 130, 0.30);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 139, 130, 0.08);
}

.toggle-track {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  position: relative;
  background: rgba(15, 23, 32, 0.08);
  transition: background 0.25s ease;
}

.toggle-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  top: 2px;
  left: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.10);
}

.toggle-thumb svg {
  width: 14px;
  height: 14px;
  stroke: #1b2430;
  fill: none;
}

.toggle-thumb .icon-sun { display: none; }

:root[data-theme="dark"] .nav-theme-toggle {
  border-color: rgba(45, 212, 191, 0.24);
  background: rgba(255,255,255,0.03);
}

:root[data-theme="dark"] .toggle-track {
  background: rgba(45, 212, 191, 0.22);
}

:root[data-theme="dark"] .toggle-thumb {
  transform: translateX(24px);
  background: #182026;
  box-shadow: 0 1px 4px rgba(0,0,0,0.30);
}

:root[data-theme="dark"] .toggle-thumb .icon-moon { display: none; }
:root[data-theme="dark"] .toggle-thumb .icon-sun { display: block; stroke: #2dd4bf; }

/* =========================
   MODERN NAV
   ========================= */

.nav-modern {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 14px 16px 0;
  transition: padding 240ms ease, transform 240ms ease;
}

.nav-modern::before {
  content: "";
  position: absolute;
  inset: 0 16px auto 16px;
  height: calc(100% - 0px);
  border: 1px solid rgba(14, 35, 29, 0.10);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 20, 30, 0.06), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: border-radius 240ms ease, box-shadow 240ms ease, transform 240ms ease;
  z-index: -1;
}

.nav-modern.is-compact { padding-top: 8px; }

.nav-modern.is-compact::before {
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 20, 30, 0.07), 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 12px;
}

.nav-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #16212b;
  flex-shrink: 0;
}

.nav-home-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(14, 35, 29, 0.12);
  background: #f6f8f7;
  color: #0f1720;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
}

.nav-home-icon svg { width: 17px; height: 17px; }

.nav-home:hover .nav-home-icon {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(15, 139, 130, 0.30);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 139, 130, 0.08);
}

.nav-home-text {
  font-family: "Instrument Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.nav-main {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
  padding: 0;
  min-width: 0;
}

.nav-main li { margin: 0; padding: 0; }
.nav-main a, .nav-dropdown a { text-decoration: none; }

.nav-main a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 8px 11px;
  border-radius: 8px;
  color: #41505d;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease, background 220ms ease, transform 220ms ease;
}

.nav-link-icon { display: none; }

.nav-main a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 5px;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f8b82, #1ba39c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.nav-main a:hover {
  color: #0f1720;
  background: rgba(15, 139, 130, 0.07);
}

.nav-main a:hover::after, .nav-main a.is-active::after { transform: scaleX(1); }

.nav-main a.is-active {
  color: #0f1720;
  background: rgba(15, 139, 130, 0.09);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-more { position: relative; }

.nav-more-btn {
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(14, 35, 29, 0.12);
  background: #f7f8f7;
  color: #18222c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 0 14px;
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
}

.nav-more-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 139, 130, 0.30);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 139, 130, 0.08);
}

.nav-more-grid { font-size: 18px; line-height: 1; transform: translateY(-1px); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(14, 35, 29, 0.10);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(15, 20, 30, 0.10);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  display: grid;
  gap: 4px;
}

.nav-more.is-open .nav-dropdown, .nav-more:hover .nav-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  color: #41505d;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-dd-icon {
  width: 18px;
  text-align: center;
  color: #0f8b82;
  opacity: 0.95;
  flex-shrink: 0;
}

.nav-dropdown a:hover, .nav-dropdown a.is-active {
  background: rgba(15, 139, 130, 0.09);
  color: #0f1720;
  transform: translateX(1px);
}

.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .nav-inner { min-height: 68px; gap: 10px; flex-wrap: nowrap; }
  .nav-panel {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 10px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .nav-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
  }
  .nav-main::-webkit-scrollbar { display: none; }
  .nav-main a { white-space: nowrap; padding: 7px 9px; font-size: 0.64rem; flex-shrink: 0; }
  .nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
  .nav-theme-toggle { width: 48px; height: 28px; }
  .toggle-thumb { width: 22px; height: 22px; }
  :root[data-theme="dark"] .toggle-thumb { transform: translateX(20px); }
  .nav-dropdown { top: calc(100% + 10px); right: 0; min-width: 180px; }
}

@media (max-width: 560px) {
  .nav-modern { padding-left: 10px; padding-right: 10px; }
  .nav-modern::before { inset: 0 10px auto 10px; }
  .nav-inner { gap: 8px; padding: 0 8px; }
  .nav-home-text { display: none; }
  .nav-home-icon { width: 38px; height: 38px; }
  .nav-main a { padding: 7px 8px; font-size: 0.62rem; }
}

/* dark mode nav overrides — teal border + charcoal panel */
:root[data-theme="dark"] .nav-modern::before {
  border: 1px solid rgba(45, 212, 191, 0.24);
  background: rgba(24, 30, 38, 0.94);
  box-shadow: 0 14px 34px rgba(0,0,0,0.34);
}

:root[data-theme="dark"] .nav-home { color: #eef4f8; }

:root[data-theme="dark"] .nav-home-icon,
:root[data-theme="dark"] .nav-more-btn,
:root[data-theme="dark"] .nav-theme-toggle {
  background: rgba(255,255,255,0.03);
  border-color: rgba(45, 212, 191, 0.22);
  color: #eef4f8;
}

:root[data-theme="dark"] .nav-main a,
:root[data-theme="dark"] .nav-dropdown a { color: #eef4f8; }

:root[data-theme="dark"] .nav-main a:hover,
:root[data-theme="dark"] .nav-main a.is-active,
:root[data-theme="dark"] .nav-dropdown a:hover,
:root[data-theme="dark"] .nav-dropdown a.is-active {
  background: rgba(45, 212, 191, 0.10);
  color: #ffffff;
}

:root[data-theme="dark"] .nav-dropdown {
  border: 1px solid rgba(45, 212, 191, 0.22);
  background: rgba(24, 30, 38, 0.98);
}

:root[data-theme="dark"] .nav-link-icon,
:root[data-theme="dark"] .nav-dd-icon { color: #2dd4bf; }

:root[data-theme="dark"] .nav-main a::after { background: linear-gradient(90deg, #2dd4bf, #14b8a6); }

/* HERO (NEW — creative) */
.hero-new { padding: 4.4rem 0 3.2rem; position: relative; }
.hero-identity {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 3.25rem;
  align-items: center;
  position: relative;
}
.hero-photo-creative {
  position: relative;
  width: 210px; height: 210px;
  animation: slowRotate 32s linear infinite;
}
.hero-photo-creative::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed var(--border2);
  animation: slowRotateReverse 40s linear infinite;
}
.hero-photo-creative::after {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 12px var(--accent-teal);
}
.hero-photo-creative img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%);
  border: 3px solid var(--bg2);
  outline: 0.5px solid var(--border);
  display: block;
  animation: slowRotateReverse 32s linear infinite;
}
.hero-photo-placeholder {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 64px;
  color: white;
  border: 3px solid var(--bg2);
  animation: slowRotateReverse 32s linear infinite;
}
@keyframes slowRotate { to { transform: rotate(360deg); } }
@keyframes slowRotateReverse { to { transform: rotate(-360deg); } }

.hero-identity-right { padding: 0.5rem 0; }
.hero-name-big {
  font-family: 'Cormorant Garamond', 'DM Serif Display', serif;
  font-size: 104px;
  font-weight: 300;
  line-height: 0.86;
  color: var(--text);
  margin-bottom: 0.7rem;
  letter-spacing: 0;
  animation: fadeUp 0.8s ease-out both;
}
.hero-name-big .first { display: block; }
.hero-name-big .last {
  display: block;
  font-weight: 300;
  font-style: italic;
  color: var(--accent-teal);
  position: relative;
}
.hero-name-big .last::after {
  content: '';
  display: inline-block;
  width: 0.5em;
  height: 0.08em;
  background: var(--accent-amber);
  margin-left: 0.25em;
  vertical-align: middle;
  animation: expandLine 1.2s ease-out 0.5s both;
}
@keyframes expandLine { from { width: 0; } to { width: 0.5em; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.hero-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1rem;
  animation: fadeUp 0.8s ease-out 0.2s both;
}
.hero-tagline a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans), border-color var(--trans);
  border-bottom: 1px solid transparent;
}
.hero-tagline a:hover {
  color: var(--accent-teal);
  border-bottom-color: color-mix(in srgb, var(--accent-teal) 55%, transparent);
}
.hero-bio-new {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text2);
  margin-top: 1.5rem;
  max-width: 44ch;
  animation: fadeUp 0.8s ease-out 0.3s both;
}
.hero-statement {
  max-width: 44ch;
  width: fit-content;
  padding: 0.85rem 1rem;
  border-left: 2px solid color-mix(in srgb, var(--accent-teal) 45%, transparent);
  background: color-mix(in srgb, var(--bg2) 46%, transparent);
  border-radius: 0 8px 8px 0;
  text-wrap: pretty;
}

/* ROTATING TAG WIDGET */
.rotating-tag-wrap {
  margin: 2rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: fadeUp 0.8s ease-out 0.5s both;
}
.rotating-tag-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rotating-tag-box {
  position: relative;
  height: 36px;
  min-width: 240px;
  overflow: hidden;
  border: 0.5px solid var(--border2);
  border-radius: 2px;
  background: var(--bg2);
  display: flex;
  align-items: center;
}
.rotating-tag-track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}
.rotating-tag-item {
  position: absolute;
  left: 1rem; right: 1rem;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--accent-teal);
  letter-spacing: 0.05em;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s;
  white-space: nowrap;
}
.rotating-tag-item.is-active { transform: translateX(0); opacity: 1; }
.rotating-tag-item.is-leaving { transform: translateX(-120%); opacity: 0; }

/* STATUS BOX (Currently) */
.currently-box, .learning-box {
  flex: 1;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.currently-box:hover, .learning-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border2);
}
.currently-box::before, .learning-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent-teal);
}
.learning-box::before { background: var(--accent-amber); }
.box-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.box-label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-teal);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
.learning-box .box-label .dot { background: var(--accent-amber); }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.box-title { font-size: 15px; color: var(--text); line-height: 1.55; margin-bottom: 0.25rem; font-weight: 500; }
.box-sub { font-size: 13px; color: var(--text2); }
.status-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* PAGE HEADER */
.page-header { padding: 4rem 0 2rem; border-bottom: 0.5px solid var(--border); margin-bottom: 3rem; }
.page-eyebrow { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text3); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem; }
.page-title { font-family: 'DM Serif Display', serif; font-size: 44px; color: var(--text); line-height: 1.1; margin-bottom: 1rem; letter-spacing: -0.01em; }
.page-title em { font-style: italic; color: var(--accent-teal); }
.page-subtitle { font-size: 16px; color: var(--text2); line-height: 1.82; max-width: 840px; }

/* SECTIONS + REVEAL ANIMATION */
section { margin-bottom: 4rem; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 0.5px solid var(--border); }
.section-title { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--accent-blue); letter-spacing: -0.01em; }
.section-meta { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text3); }

/* TIMELINE (Education + Work Experience) */
.timeline { list-style: none; position: relative; padding-left: 1.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 5px; top: 4px; bottom: 4px;
  width: 1px;
  background: var(--border2);
}
.timeline-item {
  position: relative;
  padding-bottom: 1.75rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 6px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent-teal);
  transition: transform var(--trans), background var(--trans);
}
.timeline-item:hover::before { transform: scale(1.3); background: var(--accent-teal); }
.timeline-item-date {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.timeline-item-title { font-size: 15px; color: var(--text); font-weight: 500; line-height: 1.5; margin-bottom: 0.2rem; }
a.timeline-item-title {
  display: inline-flex;
  text-decoration: none;
  border-bottom: 0.5px solid transparent;
}
a.timeline-item-title:hover {
  color: var(--accent-teal);
  border-bottom-color: color-mix(in srgb, var(--accent-teal) 50%, transparent);
}
.timeline-item-sub { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text2); margin-bottom: 0.4rem; }
.timeline-item-sub a,
.timeline-item-desc a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0.5px dotted color-mix(in srgb, var(--accent-teal) 52%, transparent);
}
.timeline-item-sub a:hover,
.timeline-item-desc a:hover {
  color: var(--accent-teal);
}
.timeline-item-desc { font-size: 13px; color: var(--text2); line-height: 1.65; }

.section-action-row {
  margin-top: 1.1rem;
}

.toggle-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0.5px solid var(--border2);
  border-radius: 999px;
  background: var(--bg);
  color: var(--accent-teal);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.72rem 1.05rem;
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans), transform var(--trans), color var(--trans);
}

.toggle-more-btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent-teal);
  background: color-mix(in srgb, var(--accent-teal) 4%, transparent);
}

.timeline-item.is-featured {
  padding: 1.25rem 1.35rem 1.35rem;
  border: 0.5px solid var(--border);
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-teal) 8%, transparent), transparent 40%),
    var(--bg);
}

.timeline-item.is-featured::before {
  left: -1.85rem;
}

.timeline-item.is-inline-card {
  padding: 1.1rem 1.2rem 1.2rem;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  margin-top: 0.9rem;
}

.timeline-item[hidden] {
  display: none !important;
}

.timeline-chipline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.timeline-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text2);
  border: 0.5px solid var(--border);
  border-radius: 999px;
  padding: 0.26rem 0.56rem;
  background: color-mix(in srgb, var(--bg2) 74%, transparent);
}

.education-stack {
  display: grid;
  gap: 1rem;
}

.education-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
  border: 0.5px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem;
  background: var(--bg);
}

.education-card[hidden] {
  display: none !important;
}

.education-card.is-current {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-blue) 8%, transparent), transparent 34%),
    var(--bg);
}

.education-logo-wrap {
  border: 0.5px solid var(--border);
  border-radius: 16px;
  min-height: 110px;
  padding: 0.9rem;
  background: color-mix(in srgb, var(--bg2) 82%, transparent);
  display: grid;
  place-items: center;
}

.education-logo {
  max-width: 100%;
  max-height: 76px;
  display: block;
  object-fit: contain;
}

.education-body {
  min-width: 0;
}

.education-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 0.55rem;
}

.education-title {
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  line-height: 1.06;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.education-subtitle {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 0.7rem;
}

.education-date {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--accent-teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.education-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
  max-width: 74ch;
}

.education-note-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.education-note-list li {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  padding-left: 1rem;
  position: relative;
}

.education-note-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
}

/* RESEARCH / PROJECT CARDS */
.research-card, .project-card, .academic-card, .service-card {
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--bg);
  transition: border-color var(--trans), background var(--trans), transform var(--trans), box-shadow var(--trans);
  margin-bottom: 1rem;
}
.research-card:hover, .project-card:hover, .academic-card:hover, .service-card:hover {
  background: var(--bg2);
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.research-top, .project-top, .service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; gap: 1rem; }
.research-type, .project-type { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--text3); letter-spacing: 0.07em; text-transform: uppercase; }
.badge { font-family: 'DM Mono', monospace; font-size: 10px; padding: 3px 8px; border-radius: 2px; background: #fef3c7; color: #b45309; }
.badge.done { background: #d1fae5; color: #065f46; }
.badge.planned { background: #e0e7ff; color: #3730a3; }
:root[data-theme="dark"] .badge { background: #292007; color: #fbbf24; }
:root[data-theme="dark"] .badge.done { background: #052e16; color: #34d399; }
:root[data-theme="dark"] .badge.planned { background: #1e1b4b; color: #a5b4fc; }
.research-title, .project-title { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--text); line-height: 1.35; margin-bottom: 0.75rem; }
.research-desc, .project-desc { font-size: 14px; color: var(--text2); line-height: 1.65; margin-bottom: 1rem; }
.research-tags, .project-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.research-tag, .project-tag { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--text3); border: 0.5px solid var(--border); padding: 3px 8px; border-radius: 2px; }

/* WRITING LIST */
.writing-list { list-style: none; }
.writing-item { display: flex; justify-content: space-between; align-items: baseline; padding: 0.85rem 0; border-bottom: 0.5px solid var(--border); gap: 1rem; }
.writing-item:last-child { border-bottom: none; }
.writing-item a { text-decoration: none; color: inherit; display: flex; flex: 1; justify-content: space-between; gap: 1rem; align-items: baseline; }
.writing-item a:hover .writing-title-text { color: var(--accent-teal); }
.writing-outlet { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--text3); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.2rem; }
.writing-title-text { font-size: 14px; color: var(--text); line-height: 1.5; transition: color var(--trans); }
.writing-arrow { font-size: 13px; color: var(--accent-teal); flex-shrink: 0; transition: transform var(--trans); }
.writing-item a:hover .writing-arrow { transform: translateX(3px); }
.writing-date { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text3); flex-shrink: 0; min-width: 80px; text-align: right; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.about-text { font-size: 14px; color: var(--text2); line-height: 1.75; }
.about-text p { margin-bottom: 1rem; }
.about-text p:last-child { margin-bottom: 0; }
.sidebar-block { margin-bottom: 1.5rem; }
.sidebar-label { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--text3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.sidebar-items { list-style: none; }
.sidebar-items li { font-size: 13px; color: var(--text2); padding: 0.2rem 0; }

/* BEYOND — linkable grid */
.beyond-banner {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  height: 220px;
  background:
    linear-gradient(90deg, rgba(11, 17, 22, 0.18), rgba(11, 17, 22, 0.58)),
    linear-gradient(135deg, #6b5b3a 0%, #2b2318 60%, #1a1a1a 100%);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.beyond-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.18)),
    radial-gradient(circle at 72% 48%, rgba(240, 166, 84, 0.18), transparent 22%);
  z-index: 0;
}
.beyond-caption {
  position: absolute;
  bottom: 1.25rem; left: 1.5rem;
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  max-width: 320px;
  line-height: 1.4;
  z-index: 1;
}

.interests-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.interest-card {
  display: block;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1.4rem 1rem;
  background: var(--bg2);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.interest-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.08), transparent);
  transition: left 0.6s;
}
.interest-card:hover::before { left: 100%; }
.interest-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-teal);
}
.interest-icon { font-size: 26px; margin-bottom: 0.6rem; display: block; transition: transform var(--trans); }
.interest-card:hover .interest-icon { transform: scale(1.2) rotate(-5deg); }
.interest-label { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text2); letter-spacing: 0.03em; line-height: 1.4; }
.interest-card.has-photo { position: relative; overflow: hidden; min-height: 168px; }
.interest-card.has-photo .interest-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: var(--interest-photo-position, center 18%);
  opacity: 0;
  transform: scale(var(--interest-photo-scale, 1.08));
  filter: saturate(0.92) contrast(1.02);
  transition: opacity 320ms ease, transform 620ms ease, filter 320ms ease;
}
.interest-card.has-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(10,16,20,0.08));
}
.interest-card.has-photo .interest-icon,
.interest-card.has-photo .interest-label {
  position: relative;
  z-index: 1;
}
.interest-card.has-photo:hover .interest-photo { opacity: 0.96; transform: scale(var(--interest-photo-hover-scale, 1.01)); filter: saturate(1); }
[data-theme="dark"] .interest-card.has-photo:hover .interest-photo { opacity: 0.82; }

.interventions-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.interventions-note {
  border: 0.5px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem 1.45rem;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-teal) 9%, transparent), transparent 42%),
    var(--bg);
}

.interventions-note p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.82;
}

.intervention-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.intervention-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 0.5px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem 1.2rem 1.15rem;
  background: var(--bg);
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans), background var(--trans);
}

.intervention-card-link:hover {
  transform: translateY(-3px);
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-md);
  background: var(--bg2);
}

.intervention-card-date {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.intervention-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.intervention-card-meta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.intervention-card-brief {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
}

.intervention-detail-list {
  display: grid;
  gap: 1rem;
}

.intervention-detail {
  scroll-margin-top: 5.5rem;
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 1.35rem;
  background: var(--bg);
}

.intervention-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.intervention-detail .workshop-tags {
  margin-top: 0.9rem;
}

.intervention-anchor {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-teal);
  text-decoration: none;
}

.intervention-anchor:hover {
  text-decoration: underline;
}

/* ARCHIVE CONTROLS */
.controls { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; align-items: center; }
.search-input {
  flex: 1;
  min-width: 240px;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  padding: 10px 14px;
  background: var(--bg);
  border: 0.5px solid var(--border2);
  border-radius: 2px;
  color: var(--text);
  transition: border-color var(--trans);
}
.search-input:focus { outline: none; border-color: var(--accent-teal); }
.select-input {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  padding: 10px 12px;
  background: var(--bg);
  border: 0.5px solid var(--border2);
  border-radius: 2px;
  color: var(--text);
  cursor: pointer;
}
.result-count { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text3); margin-bottom: 1rem; }

/* CREDENTIALS GROUPS */
/* Credential showcase strip (top of credentials.html) */
.cred-showcase {
  margin: 0 0 2.5rem;
  padding: 1.75rem 0 1.75rem;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.cred-showcase-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text3);
  margin: 0 0 1.1rem;
}
.cred-showcase-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.cred-showcase-card {
  margin: 0;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg2);
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.cred-showcase-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-teal);
  box-shadow: 0 14px 30px -18px rgba(0,0,0,0.4);
}
.cred-showcase-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--accent-teal) 18%, transparent), transparent 55%),
    radial-gradient(circle at 75% 80%, color-mix(in srgb, var(--accent-blue) 16%, transparent), transparent 55%),
    var(--bg2);
  overflow: hidden;
}
.cred-showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cred-showcase-thumb.is-placeholder::after {
  content: 'scan pending';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text3);
}
.cred-showcase-card figcaption {
  padding: 0.75rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.cred-showcase-issuer {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-teal);
}
.cred-showcase-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--text);
  font-weight: 500;
}
.cred-showcase-date {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.08em;
}
.cred-showcase-note {
  margin: 1.1rem 0 0;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.04em;
}

.cred-group { margin-bottom: 2.5rem; }
.cred-group-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 0.5rem; border-bottom: 0.5px solid var(--border); margin-bottom: 1rem; }
.cred-group-title { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--accent-blue); }
.cred-group-count { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--text3); letter-spacing: 0.05em; }
.cred-list { list-style: none; }
.cred-item { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 0.65rem 0; border-bottom: 0.5px solid var(--border); align-items: baseline; }
.cred-item:last-child { border-bottom: none; }
.cred-title { font-size: 14px; color: var(--text); line-height: 1.5; }
.cred-title-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 0.5px solid color-mix(in srgb, var(--accent-teal) 48%, transparent);
}
.cred-title-link:hover {
  color: var(--accent-teal);
  border-bottom-color: var(--accent-teal);
}
.cred-issuer { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--text3); letter-spacing: 0.04em; margin-top: 0.2rem; }
.cred-date { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text3); white-space: nowrap; }

.credential-lean-subtitle {
  max-width: 620px;
}

.credential-verify-panel {
  position: relative;
  margin: 3.5rem 0 1rem;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-teal) 10%, transparent), transparent 46%),
    var(--bg2);
  overflow: hidden;
}

.credential-verify-stamp {
  position: absolute;
  top: 1.45rem;
  right: 1.45rem;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 2px solid var(--accent-teal);
  border-radius: 50%;
  color: var(--accent-teal);
  font-family: 'DM Serif Display', serif;
  font-size: 13px;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(-8deg);
}

.credential-verify-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

.credential-verify-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.credential-verify-panel h2 {
  max-width: 720px;
  margin-bottom: 0.6rem;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.credential-verify-panel h2 em {
  color: var(--accent-teal);
}

.credential-verify-panel p {
  max-width: 640px;
  color: var(--text2);
  line-height: 1.75;
}

.credential-verify-panel p a {
  color: var(--accent-teal);
  text-decoration: none;
  border-bottom: 0.5px solid currentColor;
}

.credential-verify-form {
  display: grid;
  gap: 0.85rem;
  max-width: 620px;
  margin-top: 1.35rem;
}

.credential-verify-form input,
.credential-verify-form textarea {
  width: 100%;
  border: 0.5px solid var(--border2);
  border-radius: 5px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  padding: 0.9rem 0.95rem;
  resize: vertical;
}

.credential-verify-form input:focus,
.credential-verify-form textarea:focus {
  outline: 1px solid var(--accent-teal);
  border-color: var(--accent-teal);
}

.credential-verify-button {
  border: 0;
  border-radius: 999px;
  background: var(--accent-teal);
  color: #fff;
  font: 600 14px/1 'Instrument Sans', sans-serif;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: transform var(--trans), opacity var(--trans);
}

.credential-verify-button:hover {
  transform: translateY(-2px);
}

.credential-verify-foot {
  margin-top: 1.2rem;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text3);
}

/* SERVICES */
.service-title { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--text); }
.service-price { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--accent-amber); }
.service-desc { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 1rem; }
.service-list { list-style: none; font-size: 13px; color: var(--text2); }
.service-list li { padding: 0.3rem 0; padding-left: 1rem; position: relative; }
.service-list li::before { content: '—'; position: absolute; left: 0; color: var(--text3); }

/* ACADEMIC */
.academic-course { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--text3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.academic-title { font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--text); line-height: 1.35; margin-bottom: 0.5rem; }
.academic-desc { font-size: 14px; color: var(--text2); line-height: 1.65; margin-bottom: 0.75rem; }
.academic-meta { display: flex; gap: 1rem; font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text3); }
.academic-meta a { color: var(--accent-teal); text-decoration: none; }
.academic-meta a:hover { text-decoration: underline; }

/* CTA */
.cta-box {
  border: 0.5px solid var(--border2);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  background: var(--bg2);
  margin-top: 2rem;
}
.cta-box h3 { font-family: 'DM Serif Display', serif; font-size: 22px; margin-bottom: 0.75rem; color: var(--text); }
.cta-box p { font-size: 14px; color: var(--text2); margin-bottom: 1.25rem; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--text);
  text-decoration: none;
  border: 0.5px solid var(--border2);
  padding: 8px 16px;
  border-radius: 2px;
  transition: background var(--trans), border-color var(--trans), transform var(--trans);
  margin-right: 0.75rem;
}
.hero-cta:hover { background: var(--bg2); transform: translateY(-1px); border-color: var(--accent-teal); }

/* QUICKBLOG */
.blog-post {
  padding: 1.5rem 0;
  border-bottom: 0.5px solid var(--border);
  transition: transform var(--trans);
}
.blog-post:hover { transform: translateX(4px); }
.blog-post:last-child { border-bottom: none; }
.blog-post-date { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--text3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
.blog-post-title { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--text); margin-bottom: 0.5rem; line-height: 1.25; }
.blog-post-title a { color: inherit; text-decoration: none; transition: color var(--trans); }
.blog-post-title a:hover { color: var(--accent-teal); }
.blog-post-excerpt { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 0.4rem; }
.blog-post-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 0.5rem; }

/* PROJECT INTERACTIVE CHART */
.chart-card {
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--bg);
  margin-bottom: 1.5rem;
}
.chart-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background: var(--bg2);
  text-align: left;
  transition: transform var(--trans), border-color var(--trans);
}
.stat-card:hover { transform: translateY(-2px); border-color: var(--accent-teal); }
.stat-value { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--accent-teal); line-height: 1; margin-bottom: 0.25rem; }
.stat-label { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--text3); letter-spacing: 0.08em; text-transform: uppercase; }

.chart-wrap { position: relative; height: 280px; margin-bottom: 1rem; }
#chart-svg { width: 100%; height: 100%; display: block; }
.chart-tooltip {
  position: absolute;
  background: var(--bg);
  border: 0.5px solid var(--border2);
  border-radius: 4px;
  padding: 8px 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--trans);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  z-index: 10;
}
.chart-tooltip.is-visible { opacity: 1; }
.chart-legend { display: flex; gap: 1.2rem; flex-wrap: wrap; font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text2); margin-top: 0.5rem; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }

/* CV STRIP (About page) */
.cv-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0 3rem;
  padding: 1.75rem 2rem;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  background:
    radial-gradient(ellipse at top right, color-mix(in srgb, var(--accent-teal) 8%, transparent), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.cv-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-teal), var(--accent-amber));
}
.cv-strip-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin: 0 0 0.4rem;
}
.cv-strip-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--text);
  margin: 0 0 0.35rem;
}
.cv-strip-sub {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  color: var(--text2);
  margin: 0;
  line-height: 1.5;
}
.cv-strip-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-cta-secondary {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border: 0.5px solid var(--border2);
  border-radius: 4px;
  color: var(--text2);
  text-decoration: none;
  transition: border-color var(--trans), color var(--trans), background var(--trans);
}
.hero-cta-secondary:hover { color: var(--text); border-color: var(--accent-teal); background: color-mix(in srgb, var(--accent-teal) 4%, transparent); }
@media (max-width: 720px) {
  .cv-strip { grid-template-columns: 1fr; padding: 1.25rem 1.25rem; }
}

/* BEYOND FOLDER PAGES */
.breadcrumb {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}
.breadcrumb a { color: var(--text2); text-decoration: none; border-bottom: 0.5px dotted var(--border2); transition: color var(--trans); }
.breadcrumb a:hover { color: var(--accent-teal); }
.breadcrumb span { margin: 0 0.45rem; color: var(--text3); }

.beyond-header { padding-top: 1rem; }
.beyond-emoji {
  display: inline-block;
  font-size: 16px;
  margin-right: 0.35rem;
  transform: translateY(1px);
  animation: floaty 3.2s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(1px); }
  50%      { transform: translateY(-3px); }
}

.beyond-intro {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text2);
  font-family: 'Instrument Sans', sans-serif;
  margin-bottom: 3rem;
  border-left: 2px solid var(--accent-teal);
  padding-left: 1.25rem;
}

.beyond-page {
  position: relative;
  padding-bottom: 1rem;
}

.beyond-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 2rem;
}

.beyond-hero {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  margin: 1.2rem 0 2rem;
  border: 0.5px solid var(--border);
  background:
    linear-gradient(110deg, rgba(8, 15, 20, 0.12), rgba(8, 15, 20, 0.62)),
    radial-gradient(circle at 78% 22%, rgba(255, 188, 84, 0.30), transparent 18%),
    var(--bg2);
}

.beyond-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(0.9) contrast(1.03);
}

.beyond-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 14, 20, 0.10), rgba(7, 14, 20, 0.50)),
    linear-gradient(90deg, rgba(7, 14, 20, 0.52), rgba(7, 14, 20, 0.18));
}

.beyond-hero-copy {
  position: relative;
  z-index: 1;
  padding: 2rem 2rem 2.1rem;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 360px;
}

.beyond-hero .breadcrumb {
  color: rgba(255,255,255,0.72);
  margin-bottom: 1rem;
}

.beyond-hero .breadcrumb a {
  color: rgba(255,255,255,0.82);
  border-bottom-color: rgba(255,255,255,0.34);
}

.beyond-hero .breadcrumb a:hover {
  color: #ffffff;
}

.beyond-hero .page-eyebrow,
.beyond-hero .page-title,
.beyond-hero .page-subtitle {
  color: #fff;
}

.beyond-hero .page-eyebrow {
  color: rgba(255,255,255,0.72);
}

.beyond-hero .page-title {
  margin-bottom: 0.85rem;
}

.beyond-hero .page-title em {
  color: #f8cf92;
}

.beyond-hero .page-subtitle {
  max-width: 52ch;
  color: rgba(255,255,255,0.85);
}

.beyond-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.beyond-meta-chip {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

.beyond-sections { display: flex; flex-direction: column; gap: 3rem; margin-bottom: 2rem; }
.beyond-list { }
.section-subtitle {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--text);
  margin: 0 0 1.25rem;
  font-style: italic;
  letter-spacing: -0.01em;
}

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

.beyond-memory {
  position: relative;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-amber) 14%, transparent), transparent 48%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent-amber) 5%, transparent), transparent);
  border: 0.5px solid var(--border);
  border-left: 3px solid var(--accent-amber);
  border-radius: 16px;
  padding: 1.6rem 1.8rem;
}
.beyond-memory-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--accent-amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.beyond-memory-body {
  margin: 0;
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
}

.folder-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem 1rem;
  align-items: center;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg2) 38%, transparent), transparent),
    var(--bg);
  margin-bottom: 0;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans), background var(--trans);
}
.folder-entry:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-teal) 28%, var(--border2));
  box-shadow: var(--shadow-md);
  background: var(--bg2);
}
.folder-entry-text { font-family: 'Instrument Sans', sans-serif; font-size: 15px; color: var(--text); line-height: 1.6; flex: 1; }
.folder-entry-meta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  white-space: nowrap;
  padding-left: 0.75rem;
}
.folder-entry-kind { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--text3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
.folder-entry-title { font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--text); margin-bottom: 0.4rem; line-height: 1.35; }
.folder-entry-title a { color: inherit; text-decoration: none; }
.folder-entry-title a:hover { color: var(--accent-teal); }
.folder-entry-note { font-size: 14px; color: var(--text2); line-height: 1.65; }

.beyond-return {
  margin-top: 2.5rem;
}

.beyond-return .cta-box {
  margin-top: 0;
}

.beyond-page-hero {
  padding: clamp(3.2rem, 7vw, 6.5rem) 0 2rem;
  max-width: 820px;
}

.beyond-page-hero .page-title {
  margin-bottom: 1rem;
}

.beyond-page-banner {
  min-height: clamp(220px, 31vw, 420px);
  margin: 0 0 1rem;
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center 42%;
  display: flex;
  align-items: end;
  padding: clamp(1rem, 3vw, 2rem);
}

.beyond-page-banner p {
  margin: 0;
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 5vw, 58px);
  line-height: 0.98;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.38);
}

.beyond-page-grid {
  margin-bottom: 4rem;
}

/* ==========================================================
   RECOGNITION / HIGHLIGHTS SECTION + LIGHTBOX
   ========================================================== */
.recog-lead {
  margin: 0 0 1.75rem;
  padding: 1.5rem 1.75rem;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent-amber) 10%, transparent), transparent 55%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.recog-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
.recog-feature-grid .recog-lead,
.recog-feature-grid .award-fan-section {
  margin-bottom: 0;
}
.recog-feature-grid .award-fan-section {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
  padding: 0.65rem;
  min-height: 100%;
}
.recog-lead::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-amber), var(--accent-teal));
}
.recog-lead-title {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.recog-multiplier {
  display: inline-block;
  color: var(--accent-amber);
  font-style: italic;
  margin-left: 0.3rem;
}
.recog-lead-sub {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text2);
  margin: 0;
  max-width: 640px;
}

.recog-photo-strip {
  margin: 0 0 1.4rem;
}

.recog-photo-card {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 0.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
}

.recog-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  object-position: center 48%;
  filter: grayscale(0.16) contrast(1.02);
}

.recog-photo-card figcaption {
  padding: 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  color: var(--text2);
  line-height: 1.6;
  font-size: 14px;
}

.recog-photo-card figcaption span {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

.recog-photo-strip-compact {
  max-width: none;
  margin: 0.35rem 0 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.recog-photo-card-mini {
  grid-template-columns: 132px minmax(0, 1fr);
  border-radius: 10px;
}

.recog-photo-button {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 112px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.recog-photo-card-mini .recog-photo-button img {
  display: block;
  min-height: 112px;
  aspect-ratio: 4 / 3;
  object-position: center 45%;
  transition: filter 260ms ease, transform 260ms ease;
}

.recog-photo-card-mini:hover .recog-photo-button img {
  filter: grayscale(0) contrast(1.04);
  transform: scale(1.015);
}

.recog-photo-card-mini figcaption {
  padding: 0.85rem 1rem;
  font-size: 13px;
  line-height: 1.55;
}

.recognition-triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.6rem;
}

.recognition-column-card {
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.recognition-deans-card {
  overflow: visible;
}

.recognition-deans-card .award-fan-section {
  margin: 0;
  padding: 0.65rem 0.35rem 0;
}

.recognition-deans-card .award-fan-wrap {
  height: 286px;
}

.recognition-deans-card .award-fan-cover {
  background: transparent;
}

.recognition-deans-card .award-fan-cover .award-thumb {
  border-radius: 8px;
}

.recognition-deans-card .award-fan-card {
  width: 176px;
}

.recognition-count {
  font-family: 'DM Serif Display', serif;
  font-size: 1.7em;
  line-height: 0;
  color: var(--accent-amber);
  font-style: italic;
  margin-right: 0.12em;
}

.recognition-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  border: 0;
  padding: 0;
  background: var(--bg2);
  overflow: hidden;
  cursor: zoom-in;
}

.recognition-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  filter: grayscale(0.18) contrast(1.03);
  transition: transform 260ms ease, filter 260ms ease;
}

.recognition-media:hover img {
  transform: scale(1.025);
  filter: grayscale(0) contrast(1.05);
}

.recognition-column-copy {
  padding: 1rem 1.05rem 1.1rem;
  display: grid;
  gap: 0.65rem;
}

.recognition-kicker {
  margin: 0;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

.recognition-column-copy h3 {
  margin: 0;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 2.3vw, 31px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: 0;
}

.recognition-column-copy h3 span {
  color: var(--accent-amber);
  font-style: italic;
}

.recognition-column-copy p {
  margin: 0;
  color: var(--text2);
  font-size: 14px;
  line-height: 1.62;
}

.recognition-column-copy a {
  color: var(--accent-teal);
}

.recognition-mini-awards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-top: 0.1rem;
}

.recognition-mini-awards img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--bg2);
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.award-card {
  margin: 0;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  cursor: pointer;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.award-card:hover,
.award-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-md);
  outline: none;
}
.award-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a5f 0%, #2a4a7a 60%, #1e3a5f 100%);
}
.award-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.award-card:hover .award-thumb img { transform: scale(1.04); }
.award-thumb.is-placeholder::before {
  content: "Dean's List";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  letter-spacing: 0.02em;
  z-index: 1;
}
.award-thumb.is-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(180, 137, 9, 0.35), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(15, 118, 110, 0.28), transparent 55%);
  mix-blend-mode: screen;
}
.award-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(20, 30, 50, 0.85);
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 3px;
  z-index: 2;
}
.award-cap {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.award-dept {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-teal);
}
.award-note {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text2);
}

.recog-more {
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}
.recog-more-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text3);
  margin: 0 0 1rem;
}
.recog-more-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.recog-more-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 0.5px dotted var(--border);
}
.recog-more-list li:last-child { border-bottom: none; }
.recog-more-year {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.02em;
}
.recog-more-item {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
}
.recog-more-item a {
  color: var(--accent-teal);
  text-decoration: none;
  border-bottom: 0.5px solid color-mix(in srgb, var(--accent-teal) 50%, transparent);
}
.recog-more-item a:hover {
  color: var(--accent-amber);
  border-bottom-color: var(--accent-amber);
}

.recog-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.recog-stat {
  text-align: center;
  padding: 1rem 0.5rem;
  border: 0.5px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  transition: border-color var(--trans);
}
.recog-stat:hover { border-color: var(--accent-teal); }
.recog-stat-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--accent-blue);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.recog-stat-label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
}
.recog-link { text-align: right; margin: 0; }
.recog-link a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--accent-teal);
  text-decoration: none;
  border-bottom: 0.5px dotted currentColor;
  padding-bottom: 1px;
  transition: color var(--trans);
}
.recog-link a:hover { color: var(--accent-amber); }

.credential-glimmer {
  display: flex;
  justify-content: flex-end;
}

.credential-glimmer a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  overflow: hidden;
  border: 0.5px solid color-mix(in srgb, var(--accent-teal) 46%, var(--border));
  border-radius: 999px;
  background:
    radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--accent-teal) 12%, transparent), transparent 40%),
    color-mix(in srgb, var(--bg2) 74%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent-teal) 10%, transparent),
    0 12px 28px color-mix(in srgb, var(--accent-teal) 10%, transparent);
}

.credential-glimmer a::before {
  content: "";
  position: absolute;
  top: -80%;
  bottom: -80%;
  width: 34px;
  left: -42px;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.76), transparent);
  animation: credentialRay 3.2s ease-in-out infinite;
}

.credential-glimmer a:hover {
  color: var(--accent-teal);
  border-color: var(--accent-teal);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent-teal) 24%, transparent),
    0 18px 34px color-mix(in srgb, var(--accent-teal) 18%, transparent);
}

@keyframes credentialRay {
  0%, 28% { left: -42px; opacity: 0; }
  42% { opacity: 0.9; }
  66%, 100% { left: calc(100% + 42px); opacity: 0; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 22, 0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  flex-direction: column;
  gap: 1rem;
}
.lightbox.is-open { display: flex; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: lbIn 0.3s ease;
}
@keyframes lbIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.lightbox-cap {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  margin: 0;
  text-align: center;
  letter-spacing: 0.04em;
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 38px;
  height: 38px;
  border: 0.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
  transform: rotate(90deg);
}

/* PROJECT SHOWCASE */
.projects-shell {
  display: grid;
  gap: 1.5rem;
}

.projects-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.projects-note {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-teal) 10%, transparent), transparent 46%),
    var(--bg);
}

.projects-note p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
}

.projects-keyline {
  display: grid;
  gap: 0.85rem;
}

.projects-key-stat {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: var(--bg2);
}

.projects-key-stat strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  line-height: 1;
  color: var(--accent-blue);
  margin-bottom: 0.3rem;
}

.projects-key-stat span {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projects-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.intervention-projects {
  padding: clamp(2.5rem, 6vw, 5rem) 0 0;
}

.intervention-projects .projects-shell {
  margin-top: 1.25rem;
}

.intervention-project-intro {
  color: var(--text2);
  max-width: 760px;
  font-size: 16px;
  line-height: 1.72;
  margin: 0 0 1.4rem;
}

@media (max-width: 720px) {
  .projects-stats-row {
    grid-template-columns: 1fr;
  }
}

.project-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  text-decoration: none;
  color: inherit;
  border: 0.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans), background var(--trans);
}

.project-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(15, 20, 30, 0.10);
  border-color: var(--border2);
  background: var(--bg2);
}

.project-banner-media {
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.project-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}

.project-banner:hover .project-banner-media img {
  transform: scale(1.035);
}

.project-banner-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.6rem 1.7rem 1.5rem;
  min-height: 300px;
}

.project-banner-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-banner-type {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-banner-title {
  font-family: 'DM Serif Display', serif;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.85rem;
}

.project-banner-brief {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.8;
  max-width: 44ch;
}

.project-banner-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-top: 1.6rem;
}

.project-banner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.project-banner-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--text2);
  border: 0.5px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: color-mix(in srgb, var(--bg2) 78%, transparent);
}

.project-banner-cta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--accent-teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}

.project-banner-poster {
  align-items: start;
}

.project-banner-poster:hover .project-banner-media img {
  transform: none;
}

.poster-reveal-frame {
  height: var(--poster-window, 340px);
  min-height: 280px;
  max-height: 1180px;
  background: #f6f4ed;
  transition: height 220ms ease;
}

.poster-reveal-frame img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center top;
}

.poster-reveal-shadow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 116px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.48));
  pointer-events: none;
}

.poster-reveal-frame.is-expanded .poster-reveal-shadow {
  opacity: 0.22;
}

.poster-reveal-handle {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;
  width: min(76%, 360px);
  min-height: 38px;
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(12, 18, 24, 0.72);
  color: rgba(255, 255, 255, 0.88);
  cursor: ns-resize;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

.poster-reveal-handle span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.poster-reveal-handle span::before,
.poster-reveal-handle span::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
}

.poster-reveal-handle:hover,
.poster-reveal-handle:focus-visible {
  outline: none;
  border-color: rgba(45, 212, 191, 0.9);
  color: #fff;
}

.project-hero {
  margin-top: 2rem;
  margin-bottom: 2.75rem;
}

.project-hero-card {
  border: 0.5px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.project-hero-image {
  aspect-ratio: 16 / 8.6;
  width: 100%;
  object-fit: cover;
  display: block;
}

.project-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 1.4rem;
  padding: 1.8rem;
}

.project-hero-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.project-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.project-hero-title em {
  color: var(--accent-teal);
  font-style: italic;
}

.project-hero-desc {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.8;
  max-width: 58ch;
}

.project-meta-list {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.project-meta-item {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: var(--bg2);
}

.project-meta-item span {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.project-meta-item strong {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
}

.project-content-grid {
  display: grid;
  gap: 1.5rem;
}

.story-card {
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  background: var(--bg);
}

.story-card h2,
.story-card h3 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.story-card h2 { font-size: 28px; }
.story-card h3 { font-size: 22px; }

.story-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.story-card p:last-child { margin-bottom: 0; }

.story-pullquote {
  border-left: 3px solid var(--accent-teal);
  padding-left: 1rem;
  margin: 1.2rem 0;
  font-family: 'DM Serif Display', serif;
  font-size: 23px;
  line-height: 1.4;
  color: var(--text);
}

.story-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.story-kpi {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  background: var(--bg2);
}

.story-kpi strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--accent-teal);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.story-kpi span {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.interactive-panel {
  border: 0.5px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-teal) 9%, transparent), transparent 42%),
    var(--bg);
}

.interactive-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.interactive-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.interactive-head h3 { margin-bottom: 0; }

.interactive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1rem;
}

.interactive-stage {
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  background: color-mix(in srgb, var(--bg2) 65%, transparent);
}

.interactive-controls {
  display: grid;
  gap: 1rem;
}

.interactive-slider label,
.interactive-copy strong {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.interactive-slider input[type="range"] {
  width: 100%;
  margin-top: 0.65rem;
  accent-color: var(--accent-teal);
}

.interactive-copy {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  background: var(--bg2);
}

.interactive-copy p {
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 1.75;
}

.comparison-bars {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.comparison-row {
  display: grid;
  gap: 0.4rem;
}

.comparison-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 13px;
  color: var(--text2);
}

.comparison-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg3) 80%, transparent);
}

.comparison-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
}

.comparison-fill.family {
  background: linear-gradient(90deg, var(--accent-blue), color-mix(in srgb, var(--accent-blue) 55%, white));
}

.comparison-fill.bachelor {
  background: linear-gradient(90deg, var(--accent-amber), #f59e0b);
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.toggle-chip {
  border: 0.5px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text2);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans), color var(--trans), transform var(--trans);
}

.toggle-chip:hover,
.toggle-chip.is-active {
  border-color: var(--accent-teal);
  background: color-mix(in srgb, var(--accent-teal) 10%, var(--bg));
  color: var(--text);
  transform: translateY(-1px);
}

.mini-note {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  line-height: 1.7;
}

.project-backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text2);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-backlink:hover { color: var(--accent-teal); }

.method-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.method-list li {
  border-top: 0.5px solid var(--border);
  padding-top: 0.8rem;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
}

.method-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.prompt-card {
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: var(--bg2);
}

.prompt-card strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 19px;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.prompt-card p {
  font-size: 13px;
  margin-bottom: 0;
}

.report-grid {
  display: grid;
  gap: 1.5rem;
}

.story-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0.6rem 0 1.1rem;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text3);
}

.story-lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}

.story-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1rem;
}

.story-stat-stack {
  display: grid;
  gap: 0.8rem;
}

.story-note-card {
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  background: var(--bg2);
}

.story-note-card strong {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text3);
  margin-bottom: 0.45rem;
}

.story-note-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.budget-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.budget-bars {
  display: grid;
  gap: 0.9rem;
}

.budget-row {
  display: grid;
  gap: 0.42rem;
}

.budget-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 13px;
  color: var(--text2);
}

.budget-track {
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg3) 80%, transparent);
}

.budget-fill {
  height: 100%;
  border-radius: 999px;
}

.budget-fill.rent { background: linear-gradient(90deg, var(--accent-blue), #6ea8ff); }
.budget-fill.food { background: linear-gradient(90deg, var(--accent-amber), #f6b453); }
.budget-fill.transport { background: linear-gradient(90deg, var(--accent-teal), #58d5cb); }
.budget-fill.other { background: linear-gradient(90deg, #64748b, #94a3b8); }

.story-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.story-quote-card {
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem;
  background: var(--bg2);
}

.story-quote-card p {
  margin-bottom: 0.75rem;
}

.story-quote-card span {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
}

/* FOOTER */
footer { border-top: 0.5px solid var(--border); padding: 2rem 0; margin-top: 2rem; }
footer .container,
footer .container-wide { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-text { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text3); }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text2); text-decoration: none; transition: color var(--trans); }
.footer-links a:hover { color: var(--accent-blue); }

/* UTILITIES */
.text-mono { font-family: 'DM Mono', monospace; }
.text-serif { font-family: 'DM Serif Display', serif; }
.text-muted { color: var(--text2); }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.divider { height: 0.5px; background: var(--border); margin: 2.5rem 0; border: none; }

/* RESPONSIVE */
@media (max-width: 720px) {
  .hero-new { padding: 4rem 0 3rem; }
  .hero-identity { grid-template-columns: 110px 1fr; gap: 1.25rem; }
  .hero-photo-creative { width: 110px; height: 110px; }
  .hero-photo-placeholder { font-size: 40px; }
  .hero-name-big { font-size: 52px; }
  .page-title { font-size: 32px; }
  .status-pair { grid-template-columns: 1fr; }
  .chart-summary { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .interests-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 0.9rem; margin-right: 2.5rem; }
  .controls { flex-direction: column; align-items: stretch; }
  .writing-date { display: none; }
  .cred-item { grid-template-columns: 1fr; gap: 0.25rem; }
  .cred-date { text-align: left; }
  .rotating-tag-box { min-width: 0; width: 100%; }
  .folder-entry { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .folder-entry-meta { white-space: normal; }
  .beyond-memory { padding: 1.25rem; }
  .beyond-memory-body { font-size: 16px; }
  .beyond-intro { font-size: 16px; padding-left: 1rem; }
  .projects-intro-grid,
  .project-banner,
  .project-hero-copy,
  .interactive-grid,
  .prompt-grid,
  .story-split,
  .story-quote-grid { grid-template-columns: 1fr; }
  .project-banner-title { font-size: 28px; }
  .project-banner-content,
  .project-hero-copy,
  .story-card,
  .interactive-panel { padding: 1.2rem; }
  .project-hero-title { font-size: 32px; }
  .story-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-banner-media { min-height: 230px; }
  .beyond-shell { padding: 0 1rem; }
  .beyond-hero-copy { min-height: 320px; padding: 1.4rem 1.25rem 1.4rem; }
  .beyond-hero { min-height: 320px; border-radius: 18px; }
  .beyond-hero .page-title { font-size: 34px; }
}

@media (max-width: 560px) {
  .story-kpis,
  .prompt-grid { grid-template-columns: 1fr; }
  .beyond-meta-row { gap: 0.45rem; }
  .folder-entry {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .folder-entry-meta { padding-left: 0; white-space: normal; }
}

/* ==========================================================
   v3 additions: FactWatch upcoming, workshops, photo cards
   ========================================================== */

/* "new" chip on the upcoming FactWatch timeline entry */
.tl-chip {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 8px;
  margin-left: 0.5rem;
  border-radius: 999px;
  background: var(--accent-teal);
  color: #fff;
  vertical-align: middle;
  animation: chipPulse 2.2s ease-in-out infinite;
}
@keyframes chipPulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-teal) 55%, transparent); }
  70%      { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent-teal) 0%, transparent); }
}
.timeline-item.is-upcoming { position: relative; }
.timeline-item.is-upcoming::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-teal) 18%, transparent);
  animation: chipPulse 2.2s ease-in-out infinite;
}

/* section lede (small paragraph under a section title) */
.section-lede {
  max-width: 680px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin: -0.5rem 0 1.75rem;
}

.workshop-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 1rem;
  margin-bottom: 1.6rem;
  border: 0.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-teal) 10%, transparent), transparent 38%),
    var(--bg);
}

.workshop-spotlight-copy {
  padding: 1.5rem 1.5rem 1.55rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workshop-spotlight-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin: 0 0 0.55rem;
}

.workshop-spotlight-title {
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  line-height: 1.08;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.workshop-spotlight-sub {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  line-height: 1.7;
  margin: 0 0 0.85rem;
}

.workshop-spotlight-note {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
  margin: 0;
}

.workshop-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.5rem;
  background: color-mix(in srgb, var(--bg2) 72%, transparent);
}
.workshop-photo-grid.single {
  grid-template-columns: 1fr;
}

.workshop-photo-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  min-height: 210px;
  background: var(--bg2);
  border: 0.5px solid var(--border);
}

.workshop-photo-card.tall {
  min-height: 100%;
}
.workshop-photo-card.wide {
  min-height: 360px;
}

.workshop-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.workshop-photo-card.wide img {
  object-position: center 44%;
}

/* WORKSHOPS & TRAINING */
.workshop-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 0.5px solid var(--border);
}
.workshop-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 0.5px solid var(--border);
  transition: background var(--trans);
}
.workshop-item:hover { background: color-mix(in srgb, var(--accent-teal) 3%, transparent); }
.workshop-meta { display: flex; flex-direction: column; gap: 0.4rem; }
.workshop-date {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.04em;
}
.workshop-format {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--accent-amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-self: flex-start;
  padding: 2px 8px;
  border: 0.5px solid color-mix(in srgb, var(--accent-amber) 35%, transparent);
  border-radius: 3px;
}
.workshop-title {
  font-family: 'DM Serif Display', serif;
  font-size: 19px;
  color: var(--text);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}
.workshop-host {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--text2);
  margin: 0 0 0.6rem;
}
.workshop-note {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  margin: 0.5rem 0;
  max-width: 640px;
}
.workshop-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.workshop-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text3);
  padding: 3px 9px;
  border: 0.5px solid var(--border);
  border-radius: 3px;
  background: var(--bg);
}
.workshop-cta {
  margin-top: 1.5rem;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  color: var(--text2);
}
.workshop-cta a {
  color: var(--accent-teal);
  text-decoration: none;
  border-bottom: 0.5px solid color-mix(in srgb, var(--accent-teal) 50%, transparent);
  transition: border-color var(--trans);
}
.workshop-cta a:hover { border-bottom-color: var(--accent-teal); }

@media (max-width: 720px) {
  .workshop-spotlight,
  .workshop-photo-grid { grid-template-columns: 1fr; }
  .workshop-item { grid-template-columns: 1fr; gap: 0.75rem; }
  .workshop-spotlight-copy { padding: 1.2rem; }
  .workshop-spotlight-title { font-size: 26px; }
  .interventions-intro-grid,
  .intervention-card-grid,
  .education-card { grid-template-columns: 1fr; }
  .education-logo-wrap { min-height: 88px; }
  .education-title { font-size: 24px; }
}

/* About-page portrait */
.about-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-alt, var(--bg));
  margin-bottom: 1.25rem;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }

/* ═══════════════════════════════════════════
   HOME HERO — text and portrait in one calm field
═══════════════════════════════════════════ */
.hero-identity {
  grid-template-columns: minmax(0, 0.84fr) minmax(330px, 0.42fr) !important;
  gap: clamp(1.8rem, 5vw, 5.5rem);
  min-height: min(62vh, 620px);
}
.hero-identity .hero-identity-right {
  order: 1;
  max-width: 640px;
}
.hero-identity .hero-photo-creative {
  order: 2;
  width: clamp(320px, 26vw, 390px) !important;
  height: clamp(320px, 26vw, 390px) !important;
  justify-self: start;
}
@media (max-width: 1080px) {
  .hero-identity {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) !important;
    gap: clamp(2rem, 5vw, 4rem);
  }
}
@media (max-width: 820px) {
  .hero-identity {
    grid-template-columns: 1fr !important;
    min-height: 0;
  }
  .hero-identity .hero-photo-creative {
    order: 1;
    justify-self: start;
    width: 150px !important;
    height: 150px !important;
  }
  .hero-identity .hero-identity-right {
    order: 2;
  }
}

/* ═══════════════════════════════════════════
   STATUS TRINITY LAYOUT
═══════════════════════════════════════════ */
.status-trinity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
  align-items: stretch;
}
.status-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.status-stats-col {
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.status-stats-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent-amber);
}
.status-stats-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.sh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.sh-item {
  text-align: center;
  padding: 0.85rem 0.5rem;
  border: 0.5px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  transition: border-color 0.25s;
}
.sh-item:hover { border-color: var(--accent-amber); }
.sh-n {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  color: var(--accent-amber);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.sh-l {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
  line-height: 1.4;
}
.sh-item.accent-teal .sh-n { color: var(--accent-teal); }
.sh-item.accent-teal:hover { border-color: var(--accent-teal); }
@media (max-width: 720px) {
  .status-trinity { grid-template-columns: 1fr; }
  .sh-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════
   AWARD FAN GALLERY
═══════════════════════════════════════════ */
.award-fan-section {
  margin-bottom: 1.4rem;
}
.award-fan-wrap {
  position: relative;
  height: 246px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}
.award-fan-card {
  position: absolute;
  width: 146px;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-md);
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.4s ease,
              box-shadow 0.3s ease;
  will-change: transform, opacity;
}
.award-fan-card.is-front {
  z-index: 10;
  transform: translateX(0) rotate(0deg) scale(1);
}
.award-fan-card.is-front:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}
.award-fan-cover .award-thumb img {
  object-position: center 18%;
}
.award-fan-wrap.is-open .award-fan-cover {
  opacity: 0;
  transform: translateY(-8px) rotate(0deg) scale(0.84);
  pointer-events: none;
}
.award-fan-card[data-wing] {
  opacity: 0;
  transform: translateX(0) rotate(0deg) scale(0.88);
  z-index: 1;
  pointer-events: none;
}
/* Opened state — cards fan sideways */
.award-fan-wrap.is-open .award-fan-card[data-wing="1"] {
  opacity: 1;
  transform: translateX(-196px) rotate(-15deg) scale(0.78);
  z-index: 7;
  pointer-events: auto;
}
.award-fan-wrap.is-open .award-fan-card[data-wing="2"] {
  opacity: 1;
  transform: translateX(-66px) rotate(-5deg) scale(0.84);
  z-index: 6;
  pointer-events: auto;
}
.award-fan-wrap.is-open .award-fan-card[data-wing="3"] {
  opacity: 1;
  transform: translateX(66px) rotate(5deg) scale(0.84);
  z-index: 5;
  pointer-events: auto;
}
.award-fan-wrap.is-open .award-fan-card[data-wing="4"] {
  opacity: 1;
  transform: translateX(196px) rotate(15deg) scale(0.78);
  z-index: 4;
  pointer-events: auto;
}
.award-fan-hint {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.02em;
  text-transform: none;
  transition: opacity 0.3s;
  white-space: nowrap;
  z-index: 16;
  pointer-events: none;
}
.award-fan-wrap.is-open .award-fan-hint { opacity: 0.4; }

/* ═══════════════════════════════════════════
   TESTIMONIALS SECTION
═══════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0;
}
.tcard {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem 1.75rem 1.5rem;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.tcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border2);
}
.tcard::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  left: 1.5rem;
  font-family: 'DM Serif Display', serif;
  font-size: 64px;
  color: var(--accent-teal);
  opacity: 0.18;
  line-height: 1;
  pointer-events: none;
}
.tcard-quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 1.25rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.tcard-byline {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  color: var(--text3);
  letter-spacing: 0.05em;
  border-top: 0.5px solid var(--border);
  padding-top: 0.85rem;
}
.tcard-byline strong { color: var(--text2); }
@media (max-width: 980px) {
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   PUBLIC PRESENCE / PANEL FEATURE
═══════════════════════════════════════════ */
.panel-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 1.25rem;
  align-items: stretch;
  border: 0.5px solid var(--border);
  border-radius: 18px;
  background: var(--bg2);
  padding: clamp(1rem, 2vw, 1.4rem);
  overflow: hidden;
}
.panel-feature-card-compact {
  margin: 2rem 0 3rem;
}
.panel-feature-copy {
  align-self: center;
  padding: clamp(0.2rem, 1vw, 0.6rem);
}
.panel-feature-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 0.75rem;
}
.panel-feature-copy h2,
.panel-feature-copy h3 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 0.9rem;
}
.panel-feature-copy p:not(.panel-feature-kicker) {
  color: var(--text2);
  line-height: 1.8;
  max-width: 56ch;
}
.panel-feature-copy .hero-cta {
  margin-top: 1.2rem;
}
.panel-feature-media {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, 0.55fr);
  gap: 0.75rem;
  min-height: 320px;
}
.panel-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: grayscale(1);
  border-radius: 12px;
  border: 0.5px solid var(--border);
  transition: filter 360ms ease, transform 360ms ease;
}
.panel-feature-media img:first-child {
  object-position: center center;
}
.panel-feature-media img:last-child {
  object-position: center top;
}
.panel-feature-card:hover .panel-feature-media img {
  filter: grayscale(0);
}
.panel-feature-card:hover .panel-feature-media img:first-child {
  transform: scale(1.01);
}

/* ═══════════════════════════════════════════
   INTERVENTION FOCUS CARDS
═══════════════════════════════════════════ */
.intervention-focus-grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 4rem;
}

.intervention-focus-card {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(0.85rem, 2vw, 1.25rem);
  align-items: stretch;
  border: 0.5px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent-teal) 6%, transparent), transparent 44%),
    var(--bg2);
  padding: clamp(0.9rem, 2vw, 1.25rem);
  overflow: hidden;
}

.intervention-focus-card:nth-child(even) {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-amber) 6%, transparent), transparent 46%),
    var(--bg2);
}

.intervention-focus-copy {
  align-self: center;
  padding: clamp(0.25rem, 1vw, 0.7rem);
}

.intervention-focus-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 0.75rem;
}

.intervention-focus-copy h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 0.9rem;
}

.intervention-focus-copy h2 a {
  color: inherit;
  text-decoration-color: var(--accent-teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.intervention-focus-copy h2 a:hover {
  color: var(--accent-teal);
}

.intervention-focus-copy p:not(.intervention-focus-kicker) {
  color: var(--text2);
  line-height: 1.8;
  max-width: 58ch;
}

.intervention-program-note {
  margin-top: 1rem;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
}

.intervention-focus-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 0.65rem;
  min-height: 300px;
}

.intervention-focus-media:has(img[style*="display: none"]),
.intervention-focus-media.is-single {
  grid-template-columns: 1fr;
}

.intervention-focus-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.85);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  transition: filter 320ms ease, transform 320ms ease;
}

.intervention-focus-card:hover .intervention-focus-media img {
  filter: grayscale(0);
}

.intervention-focus-card:hover .intervention-focus-media img:first-child {
  transform: scale(1.01);
}

.intervention-focus-card:nth-child(1) .intervention-focus-media img:first-child {
  object-position: center 42%;
}

/* Cure with Facts (2nd card) — banner is the smaller intro, session photo is the
   visual centrepiece, so the second image gets the larger share of the row. */
.intervention-focus-card:nth-child(2) .intervention-focus-media {
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
}
.intervention-focus-card:nth-child(2) .intervention-focus-media img:first-child {
  object-position: center 30%;
}
.intervention-focus-card:nth-child(2) .intervention-focus-media img:last-child {
  object-position: center 40%;
}

/* HPL (3rd card now) — first image is a logo-style cover, needs contain + dark bg */
.intervention-focus-card:nth-child(3) .intervention-focus-media img:first-child {
  object-fit: contain;
  padding: 0.35rem;
  background: #05070a;
  object-position: center;
}
.intervention-focus-card:nth-child(3) .intervention-focus-media img:last-child {
  object-position: left center;
}

/* CLS Instructor (5th card now) */
.intervention-focus-card:nth-child(5) .intervention-focus-media img {
  object-position: center 36%;
}

/* ═══════════════════════════════════════════
   HISTORY INTEREST CARD
═══════════════════════════════════════════ */
.interest-card.history-card .interest-photo {
  background-image: url('/assets/images/beyond-literature.jpg');
}

/* ═══════════════════════════════════════════
   FUTURE GOALS GRID — interventions page
═══════════════════════════════════════════ */
.future-goals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.future-goal-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  position: relative;
}
.future-goal-num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--accent-amber);
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}
.future-goal-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  color: var(--text1);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}
.future-goal-body {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 720px) {
  .future-goals-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   v4 UX refresh: mobile nav, writing cards, services, academic
   ========================================================== */

.nav-menu-toggle {
  display: none;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(14, 35, 29, 0.12);
  background: #f7f8f7;
  color: #16212b;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans), color var(--trans), transform var(--trans);
}
.nav-menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 139, 130, 0.30);
  background: #fff;
}
.nav-mobile-panel {
  display: none;
}
:root[data-theme="dark"] .nav-menu-toggle {
  background: rgba(255,255,255,0.03);
  border-color: rgba(45, 212, 191, 0.22);
  color: #eef4f8;
}

.hero-action-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  animation: fadeUp 0.8s ease-out 0.62s both;
}

.writing-hero-header,
.academic-hero-header,
.archive-header {
  max-width: 920px;
}
.archive-header .page-eyebrow a {
  color: var(--text3);
  text-decoration: none;
}
.archive-header .page-eyebrow a:hover {
  color: var(--accent-teal);
}
.compact-page-header {
  padding-bottom: 1.2rem;
  margin-bottom: 2rem;
}
.academic-shortline,
.intervention-hero-line,
.research-hero-line {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text2);
  max-width: 780px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.research-hero-modern {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.72fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: 4rem 0 2rem;
}
.research-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 360px;
  border-bottom: 0.5px solid var(--border);
  padding-bottom: 2rem;
}
.research-hero-media {
  position: relative;
  min-height: 360px;
  border: 0.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg2);
}
.research-hero-media img,
.research-visual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
  transition: filter 360ms ease, transform 360ms ease;
}
.research-hero-media::after,
.research-visual-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.28));
  pointer-events: none;
}
.research-hero-media:hover img,
.research-visual-card:hover .research-visual-media img {
  filter: grayscale(0);
  transform: scale(1.02);
}
.research-signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0 0 3rem;
}
.research-signal-grid div {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
  padding: 1rem;
}
.research-signal-grid strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-teal);
}
.research-signal-grid span {
  display: block;
  margin-top: 0.35rem;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
}
.research-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.research-visual-card {
  border: 0.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg2);
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.research-visual-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-teal) 40%, var(--border2));
  box-shadow: var(--shadow-md);
}
.research-visual-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--bg3);
}
.research-visual-copy {
  padding: 1.2rem 1.25rem 1.3rem;
}
.research-deck {
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  margin: -0.25rem 0 0.6rem;
}
.research-method-line,
.research-file-link {
  display: block;
  margin-top: 0.85rem;
  color: var(--text3);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.research-file-link {
  width: fit-content;
  color: var(--accent-teal);
  text-decoration: none;
  border-bottom: 0.5px dotted currentColor;
}

.academic-tools {
  border: 0.5px solid var(--border);
  border-radius: 16px;
  background: var(--bg2);
  padding: 1rem;
  margin-bottom: 1.3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
}
.academic-search {
  width: 100%;
  border: 0.5px solid var(--border2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  padding: 0.9rem 1rem;
  outline: none;
}
.academic-search:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-teal) 10%, transparent);
}
.academic-filter-wrap {
  position: relative;
  min-width: 180px;
}
.academic-filter-toggle {
  width: 100%;
  min-height: 58px;
  border: 0.5px solid var(--border2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  text-align: left;
}
.academic-filter-toggle span {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 0.25rem;
}
.academic-filter-toggle strong {
  display: block;
  max-width: 18ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}
.academic-filter-toggle::after {
  content: "↓";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-teal);
  font-family: 'DM Mono', monospace;
}
.academic-filter-toggle[aria-expanded="true"]::after {
  content: "↑";
}
.academic-filter-menu {
  position: absolute;
  z-index: 20;
  right: 0;
  top: calc(100% + 0.45rem);
  width: min(320px, calc(100vw - 3rem));
  max-height: 330px;
  overflow: auto;
  border: 0.5px solid var(--border2);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  padding: 0.45rem;
}
.academic-filter {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text2);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  text-align: left;
}
.academic-filter.is-active,
.academic-filter:hover {
  color: var(--accent-teal);
  background: color-mix(in srgb, var(--accent-teal) 8%, transparent);
}
@media (max-width: 720px) {
  .academic-tools {
    grid-template-columns: 1fr;
  }
  .academic-filter-wrap {
    min-width: 0;
  }
  .academic-filter-menu {
    left: 0;
    right: auto;
    width: 100%;
  }
}
.academic-course-map {
  display: grid;
  gap: 1.4rem;
}
.academic-course-group {
  margin: 0;
}
.academic-course-group-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 0.7rem;
  padding-bottom: 0.6rem;
  border-bottom: 0.5px solid var(--border);
}
.academic-course-group-head p,
.academic-course-group-head span {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
}
.academic-course-group-head h3 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--accent-blue);
}
.course-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.course-slot {
  position: relative;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  background: var(--bg2);
  padding: 1rem;
  min-height: 220px;
  overflow: hidden;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.course-slot:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-teal) 34%, var(--border2));
  box-shadow: var(--shadow-md);
}
.course-slot.is-aplus {
  border-color: color-mix(in srgb, var(--accent-amber) 58%, var(--border2));
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-amber) 16%, transparent), transparent 46%),
    var(--bg2);
}
.course-slot.is-aplus::after {
  content: "A+";
  position: absolute;
  right: 0.7rem;
  bottom: 0.5rem;
  font-family: 'DM Serif Display', serif;
  font-size: 3.8rem;
  line-height: 1;
  color: color-mix(in srgb, var(--accent-amber) 22%, transparent);
  pointer-events: none;
}
.course-slot-top,
.course-slot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: space-between;
}
.course-code,
.course-grade,
.course-slot-meta span,
.course-slot-meta a,
.course-category {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.course-code {
  color: var(--accent-teal);
}
.course-grade {
  border: 0.5px solid var(--border);
  border-radius: 999px;
  padding: 0.24rem 0.48rem;
  color: var(--text2);
}
.is-aplus .course-grade {
  border-color: color-mix(in srgb, var(--accent-amber) 52%, var(--border));
  color: var(--accent-amber);
}
.course-category {
  margin-top: 0.8rem;
  color: var(--text3);
}
.course-slot h4 {
  margin-top: 0.35rem;
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.course-project-title {
  margin-top: 0.7rem;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.45;
}
.course-desc {
  margin-top: 0.45rem;
  color: var(--text2);
  font-size: 13px;
  line-height: 1.62;
}
.course-slot-meta {
  justify-content: flex-start;
  margin-top: 0.9rem;
}
.course-slot-meta span,
.course-slot-meta a {
  color: var(--text3);
  text-decoration: none;
  border: 0.5px solid var(--border);
  border-radius: 999px;
  padding: 0.28rem 0.5rem;
}
.course-slot-meta a {
  color: var(--accent-teal);
}
.course-resource-placeholder {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--accent-teal) 34%, var(--border2));
  color: color-mix(in srgb, var(--text3) 82%, var(--accent-teal));
}
.course-resource-link {
  border-bottom: 0.5px dotted currentColor;
}

.selected-writing-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.selected-article-card {
  min-height: 100%;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  background: var(--bg2);
  overflow: hidden;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans), background var(--trans);
}
.selected-article-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-teal) 42%, var(--border2));
  box-shadow: var(--shadow-md);
}
.selected-article-card a {
  color: inherit;
  text-decoration: none;
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1fr);
  min-height: 100%;
}
.selected-article-media,
.academic-media-placeholder {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15,118,110,0.88), rgba(180,83,9,0.80)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.18) 0 1px, transparent 1px 14px);
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  transition: filter 360ms ease, transform 360ms ease;
}
.selected-article-media.has-image {
  background: var(--bg);
}
.selected-article-media img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--article-image-position, center);
  display: block;
}
.selected-article-card:hover .selected-article-media,
.academic-showcase-card:hover .academic-media-placeholder {
  filter: grayscale(0);
  transform: scale(1.015);
}
.selected-article-media::after,
.academic-media-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 76% 22%, rgba(255,255,255,0.35), transparent 0 17%, rgba(0,0,0,0.18) 62%, rgba(0,0,0,0.32));
  mix-blend-mode: overlay;
  z-index: 1;
  pointer-events: none;
}
.media-slot-index,
.academic-media-placeholder > span {
  position: absolute;
  left: 1rem;
  top: 0.85rem;
  z-index: 2;
  font-family: 'DM Serif Display', serif;
  font-size: 52px;
  line-height: 1;
  color: rgba(255,255,255,0.82);
  text-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.media-slot-label,
.academic-media-placeholder small {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.selected-article-media.has-image .media-slot-label {
  display: none;
}
.selected-article-copy {
  padding: 1.3rem 1.35rem 1.2rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.selected-article-meta {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 0.6rem;
}
.selected-article-copy h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.selected-article-copy p:not(.selected-article-meta) {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.75;
}
.selected-article-link {
  margin-top: auto;
  padding-top: 1rem;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-teal);
}
.writing-archive-cta {
  margin-top: 2rem;
}
.byline-list .writing-item a {
  align-items: center;
}
.july-movement-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: end;
  border: 0.5px solid color-mix(in srgb, var(--accent-amber) 38%, var(--border));
  border-radius: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-amber) 9%, transparent), transparent 58%),
    var(--bg2);
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
  margin: -1.3rem 0 2rem;
}
.july-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 0.45rem;
}
.july-movement-callout h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}
.july-movement-callout p:not(.july-kicker) {
  color: var(--text2);
  max-width: 78ch;
  line-height: 1.75;
}
.july-movement-callout .hero-cta {
  white-space: nowrap;
}

.archive-panel {
  border: 0.5px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg2) 78%, transparent);
  padding: 1.25rem;
}
.archive-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(150px, 0.18fr) minmax(170px, 0.24fr) minmax(130px, 0.15fr) minmax(150px, 0.17fr);
  align-items: stretch;
}
.archive-list {
  margin-top: 1rem;
}
.archive-item a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11ch 24px;
  align-items: center;
  gap: 1rem;
}
.archive-item-copy {
  min-width: 0;
}
.archive-item .writing-outlet span {
  color: var(--accent-teal);
}
.archive-item .writing-date {
  min-width: 0;
  width: 11ch;
  justify-self: end;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.service-hire-page {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-teal) 8%, transparent), transparent 28rem),
    var(--bg);
}
.services-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding-top: 3.4rem;
}
.services-rail {
  position: sticky;
  top: 104px;
  min-height: calc(100vh - 124px);
  border: 0.5px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg2) 86%, transparent);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.service-rail-eyebrow,
.service-hero-tag,
.service-block-head > span,
.service-jump-nav a,
.service-availability,
.service-rail-contact,
.service-pill-wrap > span,
.service-price-table th,
.service-fine-print span {
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.service-rail-eyebrow,
.service-hero-tag {
  font-size: 10px;
  color: var(--text3);
}
.services-rail h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.services-rail h2 span,
.service-hero h1 em {
  color: var(--accent-teal);
}
.service-availability {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border: 0.5px solid var(--border2);
  border-radius: 999px;
  font-size: 9px;
  color: var(--text2);
}
.service-availability span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-amber);
  box-shadow: 0 0 12px var(--accent-amber);
}
.service-jump-nav {
  display: grid;
  gap: 0;
}
.service-jump-nav a {
  display: flex;
  justify-content: space-between;
  color: var(--text2);
  text-decoration: none;
  font-size: 10px;
  padding: 0.85rem 0;
  border-top: 0.5px solid var(--border);
}
.service-jump-nav a:last-child {
  border-bottom: 0.5px solid var(--border);
}
.service-jump-nav a:hover {
  color: var(--accent-teal);
}
.service-jump-nav span {
  color: var(--text3);
}
.service-rail-contact {
  margin-top: auto;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--text3);
  line-height: 1.8;
}
.service-rail-contact a {
  display: block;
  color: var(--text2);
  text-decoration: none;
}
.service-rail-contact a:hover {
  color: var(--accent-teal);
}
.service-hero {
  min-height: 420px;
  border: 0.5px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--bg2) 92%, transparent), color-mix(in srgb, var(--bg3) 70%, transparent));
  padding: clamp(2rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.service-ghost {
  position: absolute;
  right: -0.2em;
  bottom: -0.18em;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(8rem, 20vw, 15rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--text) 12%, transparent);
  pointer-events: none;
}
.service-hero h1 {
  max-width: 690px;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 1.3rem 0 1.2rem;
  position: relative;
}
.service-hero p:not(.service-hero-tag) {
  max-width: 520px;
  color: var(--text2);
  font-size: 17px;
  line-height: 1.8;
  position: relative;
}
.service-pill-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  position: relative;
}
.service-pill-wrap > span {
  font-size: 10px;
  color: var(--text3);
}
.service-pill {
  min-width: min(280px, 100%);
  min-height: 40px;
  border: 0.5px solid var(--border2);
  border-radius: 999px;
  background: var(--bg);
  color: var(--accent-teal);
  display: inline-grid;
  place-items: center;
  padding: 0.5rem 1rem;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 160ms ease, transform 160ms ease;
}
.service-pill.is-switching {
  opacity: 0.25;
  transform: translateY(3px);
}
.service-block {
  border: 0.5px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg2) 84%, transparent);
  padding: clamp(1.1rem, 3vw, 1.7rem);
  margin-bottom: 1.5rem;
}
.service-block-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.service-block-head > span {
  color: var(--accent-amber);
  font-size: 10px;
}
.service-block-head h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}
.service-block-head::after {
  content: "";
  flex: 1;
  height: 0.5px;
  background: var(--border);
}
.service-table-wrap {
  overflow-x: auto;
}
.service-price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.service-price-table th {
  color: var(--text3);
  font-size: 10px;
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 0.5px solid var(--border2);
}
.service-price-table th:last-child,
.service-price-table td:last-child {
  text-align: right;
}
.service-price-table td {
  padding: 1.15rem 1rem;
  border-bottom: 0.5px solid var(--border);
  color: var(--text2);
  vertical-align: middle;
}
.service-price-table tr:last-child td {
  border-bottom: none;
}
.service-price-table tr:hover td {
  background: color-mix(in srgb, var(--accent-teal) 7%, transparent);
}
.service-price-table td strong {
  display: block;
  color: var(--text);
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.service-price-table td span {
  display: block;
  margin-top: 0.22rem;
  color: var(--text3);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
}
.service-price-table td:last-child {
  color: var(--accent-teal);
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.service-price-table mark {
  display: inline-flex;
  margin-top: 0.55rem;
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-amber) 18%, transparent);
  color: var(--accent-amber);
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-addons,
.service-process-grid,
.service-contact-grid,
.service-fine-print {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}
.service-addons div,
.service-process-card,
.service-contact-grid a,
.service-fine-print div {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  padding: 1rem;
}
.service-addons strong {
  display: block;
  color: var(--accent-amber);
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 0.45rem;
}
.service-addons span,
.service-process-card p {
  color: var(--text2);
  font-size: 13px;
  line-height: 1.65;
}
.service-process-grid,
.service-contact-grid,
.service-fine-print {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.service-process-card > span {
  display: block;
  color: color-mix(in srgb, var(--text3) 55%, transparent);
  font-family: 'DM Serif Display', serif;
  font-size: 46px;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.service-process-card h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}
.service-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}
.service-contact-grid a {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 1.4rem;
  transition: transform var(--trans), border-color var(--trans), background var(--trans);
}
.service-contact-grid a:hover {
  transform: translateY(-2px);
  border-color: var(--accent-teal);
  background: color-mix(in srgb, var(--accent-teal) 8%, var(--bg));
}
.service-contact-grid span,
.service-contact-grid em {
  display: block;
  color: var(--text3);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: normal;
}
.service-contact-grid strong {
  display: block;
  margin: 0.45rem 0 1.4rem;
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--text);
  line-height: 1.12;
}
.service-fine-print {
  margin-bottom: 1.5rem;
}
.service-fine-print span {
  display: block;
  color: var(--text3);
  font-size: 9px;
  margin-bottom: 0.45rem;
}
.service-fine-print p {
  color: var(--text2);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.academic-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.8rem;
}
.academic-stat-strip div {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
  padding: 1rem;
}
.academic-stat-strip strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 34px;
  line-height: 1;
  color: var(--accent-teal);
}
.academic-stat-strip span {
  display: block;
  margin-top: 0.35rem;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
}
.academic-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.academic-showcase-card {
  border: 0.5px solid var(--border);
  border-radius: 14px;
  background: var(--bg2);
  overflow: hidden;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.academic-showcase-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-teal) 38%, var(--border2));
  box-shadow: var(--shadow-md);
}
.academic-media-placeholder {
  min-height: 210px;
}
.academic-media-placeholder.is-video {
  background:
    linear-gradient(135deg, rgba(30,58,95,0.88), rgba(180,83,9,0.78)),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.18) 0 1px, transparent 1px 16px);
}
.academic-media-placeholder.is-video > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  font-size: 24px;
}
.academic-card-copy {
  padding: 1.15rem 1.2rem 1.2rem;
}
.academic-course {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 0.6rem;
}
.academic-card-copy h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.academic-card-copy > p:not(.academic-course) {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.72;
}
.academic-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}
.academic-card-meta span,
.academic-card-meta a {
  border: 0.5px solid var(--border);
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  color: var(--text2);
  text-decoration: none;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.academic-card-meta a {
  color: var(--accent-teal);
}
.academic-more-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 0.5px solid var(--border);
}
.academic-more-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 0.5px solid var(--border);
}
.academic-more-list li:nth-child(odd) {
  padding-right: 1.25rem;
}
.academic-more-list li:nth-child(even) {
  padding-left: 1.25rem;
}
.academic-more-list span {
  font-weight: 500;
}
.academic-more-list em {
  color: var(--text3);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  font-style: normal;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .recog-feature-grid,
  .research-hero-modern {
    grid-template-columns: 1fr;
  }
  .recognition-triad {
    grid-template-columns: 1fr;
  }
  .research-signal-grid,
  .course-slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-shell {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }
  .services-rail {
    position: static;
    min-height: auto;
  }
  .service-jump-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .service-jump-nav a {
    border: 0.5px solid var(--border);
    border-radius: 999px;
    padding: 0.55rem 0.65rem;
  }
  .service-rail-contact {
    display: none;
  }
  .selected-article-card a {
    grid-template-columns: 1fr;
  }
  .selected-article-media {
    min-height: 220px;
  }
  .archive-controls {
    grid-template-columns: 1fr 1fr;
  }
  .panel-feature-card {
    grid-template-columns: 1fr;
  }
  .intervention-focus-card {
    grid-template-columns: 1fr;
  }
  .panel-feature-media {
    min-height: 260px;
  }
  .intervention-focus-media {
    min-height: 260px;
  }
  .recog-photo-card {
    grid-template-columns: 1fr;
  }
  .recog-photo-card-mini {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .container,
  .container-wide {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .nav-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-main a:nth-child(n+4) {
    display: none;
  }
  .nav-mobile-panel {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    z-index: 130;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.75rem;
    border: 1px solid rgba(14, 35, 29, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(15, 20, 30, 0.10);
  }
  .nav-mobile-panel[hidden] {
    display: none;
  }
  .nav-mobile-panel a {
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    color: #41505d;
    text-decoration: none;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .nav-mobile-panel a.is-active,
  .nav-mobile-panel a:hover {
    color: #0f1720;
    background: rgba(15, 139, 130, 0.09);
  }
  :root[data-theme="dark"] .nav-mobile-panel {
    border-color: rgba(45, 212, 191, 0.22);
    background: rgba(24, 30, 38, 0.98);
  }
  :root[data-theme="dark"] .nav-mobile-panel a {
    color: #eef4f8;
  }
  :root[data-theme="dark"] .nav-mobile-panel a.is-active,
  :root[data-theme="dark"] .nav-mobile-panel a:hover {
    color: #fff;
    background: rgba(45, 212, 191, 0.10);
  }
  .hero-new {
    padding-top: 3.25rem;
  }
  .hero-identity {
    grid-template-columns: 1fr !important;
    gap: 1.15rem;
  }
  .hero-identity .hero-photo-creative {
    order: 1;
    width: 132px !important;
    height: 132px !important;
    justify-self: start;
  }
  .hero-identity .hero-identity-right {
    order: 2;
  }
  .hero-name-big {
    font-size: 66px;
  }
  .hero-bio-new {
    max-width: 100%;
  }
  .rotating-tag-wrap {
    align-items: flex-start;
  }
  .hero-action-row .hero-cta {
    width: 100%;
    justify-content: center;
  }
  .workshop-photo-card.wide {
    min-height: 240px;
  }
  .award-fan-wrap {
    height: 420px;
    overflow: visible;
  }
  .award-fan-card {
    width: 136px;
  }
  .award-fan-wrap.is-open .award-fan-card[data-wing="1"] {
    transform: translateX(-78px) translateY(-46px) rotate(-8deg) scale(0.92);
  }
  .award-fan-wrap.is-open .award-fan-card[data-wing="2"] {
    transform: translateX(78px) translateY(-46px) rotate(8deg) scale(0.92);
  }
  .award-fan-wrap.is-open .award-fan-card[data-wing="3"] {
    transform: translateX(-78px) translateY(132px) rotate(-5deg) scale(0.88);
  }
  .award-fan-wrap.is-open .award-fan-card[data-wing="4"] {
    transform: translateX(78px) translateY(132px) rotate(5deg) scale(0.88);
  }
  .research-hero-modern {
    padding-top: 2.4rem;
  }
  .research-hero-copy,
  .research-hero-media {
    min-height: 280px;
  }
  .research-signal-grid,
  .research-visual-grid,
  .course-slot-grid {
    grid-template-columns: 1fr;
  }
  .academic-course-group-head {
    align-items: start;
    flex-direction: column;
  }
  .selected-writing-showcase,
  .academic-showcase-grid,
  .academic-more-list,
  .academic-stat-strip {
    grid-template-columns: 1fr;
  }
  .selected-article-media,
  .academic-media-placeholder {
    min-height: 210px;
  }
  .archive-panel {
    padding: 1rem;
  }
  .july-movement-callout {
    grid-template-columns: 1fr;
    align-items: start;
    margin-top: -1rem;
  }
  .july-movement-callout .hero-cta {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
  .archive-item a {
    grid-template-columns: minmax(0, 1fr) 24px;
  }
  .archive-item .writing-date {
    display: none;
  }
  .archive-controls,
  .service-addons,
  .service-process-grid,
  .service-contact-grid,
  .service-fine-print {
    grid-template-columns: 1fr;
  }
  .service-jump-nav {
    grid-template-columns: 1fr 1fr;
  }
  .service-hero {
    min-height: 360px;
    padding: 1.5rem;
  }
  .service-hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.3rem);
  }
  .service-pill-wrap {
    align-items: flex-start;
    flex-direction: column;
  }
  .service-pill {
    width: 100%;
  }
  .service-price-table {
    min-width: 0;
  }
  .service-table-wrap {
    overflow-x: visible;
  }
  .service-price-table,
  .service-price-table thead,
  .service-price-table tbody,
  .service-price-table tr,
  .service-price-table th,
  .service-price-table td {
    display: block;
    width: 100%;
  }
  .service-price-table thead {
    display: none;
  }
  .service-price-table tr {
    border: 0.5px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    margin-bottom: 0.75rem;
    overflow: hidden;
  }
  .service-price-table td,
  .service-price-table td:last-child {
    text-align: left;
    border-bottom: 0.5px solid var(--border);
    padding: 0.9rem 1rem;
  }
  .service-price-table td:last-child {
    border-bottom: none;
    font-size: 24px;
  }
  .academic-more-list li,
  .academic-more-list li:nth-child(odd),
  .academic-more-list li:nth-child(even) {
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-right: 0;
    gap: 0.35rem;
  }
  .panel-feature-media {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .intervention-focus-card {
    border-radius: 14px;
    padding: 0.85rem;
  }
  .intervention-focus-media {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .panel-feature-media img {
    min-height: 230px;
  }
  .intervention-focus-media img {
    min-height: 230px;
  }
  .panel-feature-media img:last-child {
    display: none;
  }
  .recog-photo-strip-compact {
    max-width: none;
  }
  .recog-photo-card-mini {
    grid-template-columns: 104px minmax(0, 1fr);
  }
  .recog-photo-button,
  .recog-photo-card-mini .recog-photo-button img {
    min-height: 96px;
  }
  .recog-photo-card-mini figcaption {
    padding: 0.7rem 0.85rem;
  }
  .credential-verify-stamp {
    position: static;
    width: 78px;
    height: 78px;
    margin-bottom: 1rem;
    font-size: 11px;
  }
}

@media (max-width: 440px) {
  .nav-main a:nth-child(n+3) {
    display: none;
  }
  .nav-menu-toggle {
    width: 42px;
    padding: 0;
    font-size: 0;
  }
  .nav-menu-toggle::before {
    content: "•••";
    font-size: 13px;
    letter-spacing: 0.08em;
  }
  .nav-mobile-panel {
    left: 10px;
    right: 10px;
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   HOME HERO — FULL-BLEED EDITORIAL (Option B)
   Subject portrait on left, text on dark canvas right.
═══════════════════════════════════════════ */
.hero-new.hero-fullbleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: clamp(640px, 92vh, 920px);
  padding: 0;
  background:
    radial-gradient(circle at 72% 16%, rgba(45, 212, 191, 0.12), transparent 32%),
    linear-gradient(96deg, #030608 0%, #071014 50%, #050a0d 100%);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  color: #eef5f6;
}

.hero-fullbleed-portrait {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(48vw, 720px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.86;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 100%);
}

.hero-fullbleed-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
  display: block;
  filter: grayscale(10%) contrast(1.08) brightness(0.72) saturate(0.85);
}

.hero-fullbleed-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(5rem, 8vw, 7rem) clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.hero-fullbleed-inner .hero-identity-right {
  grid-column: 2;
  max-width: 640px;
}

/* dark-canvas typography overrides */
.hero-fullbleed .hero-name-big {
  color: #f4f7f6;
  font-size: clamp(56px, 8.4vw, 116px);
  line-height: 0.88;
}
.hero-fullbleed .hero-name-big .last {
  color: var(--accent-teal);
}
.hero-fullbleed .hero-name-big .last::after {
  background: var(--accent-amber);
}

.hero-fullbleed .hero-tagline {
  color: rgba(238, 245, 246, 0.6);
}
.hero-fullbleed .hero-tagline a {
  color: rgba(238, 245, 246, 0.86);
}
.hero-fullbleed .hero-tagline a:hover {
  color: var(--accent-teal);
  border-bottom-color: color-mix(in srgb, var(--accent-teal) 55%, transparent);
}

.hero-fullbleed .hero-bio-new {
  color: rgba(238, 245, 246, 0.82);
}
.hero-fullbleed .hero-statement {
  background: rgba(8, 14, 18, 0.5);
  border-left: 2px solid rgba(45, 212, 191, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-fullbleed .rotating-tag-label {
  color: rgba(238, 245, 246, 0.55);
}
.hero-fullbleed .rotating-tag-box {
  background: rgba(8, 14, 18, 0.55);
  border-color: rgba(45, 212, 191, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-fullbleed .rotating-tag-item {
  color: var(--accent-teal);
}

.hero-fullbleed .hero-action-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.hero-fullbleed .hero-cta {
  color: #f4f7f6;
  border-color: rgba(238, 245, 246, 0.28);
  background: rgba(4, 8, 11, 0.45);
  margin-right: 0;
  padding: 10px 18px;
  transition: transform var(--trans), border-color var(--trans), background var(--trans);
}
.hero-fullbleed .hero-cta:first-child {
  border-color: rgba(45, 212, 191, 0.6);
  background: rgba(45, 212, 191, 0.14);
}
.hero-fullbleed .hero-cta:hover {
  transform: translateY(-1px);
  border-color: var(--accent-teal);
  background: rgba(45, 212, 191, 0.18);
}

/* MOBILE: portrait stacks above, text below on the dark canvas */
@media (max-width: 820px) {
  .hero-new.hero-fullbleed {
    min-height: auto;
    align-items: stretch;
  }
  .hero-fullbleed-portrait {
    width: 100%;
    height: 52%;
    inset: 0 0 auto 0;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
  }
  .hero-fullbleed-portrait img {
    object-position: 48% 16%;
  }
  .hero-fullbleed-inner {
    grid-template-columns: 1fr;
    padding-top: clamp(15rem, 50vw, 22rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
    align-items: end;
    min-height: 92vh;
  }
  .hero-fullbleed-inner .hero-identity-right {
    grid-column: 1;
    max-width: none;
  }
  .hero-fullbleed .hero-name-big {
    font-size: clamp(52px, 14vw, 76px);
  }
}
