:root {
  --paper: #f6f1e1; --ink: #1c2340; --margin: #d9594c; --stamp: #c8372d;
  --sky: #8ec5ec; --pink: #f2a1b8; --butter: #f3d36b; --mint: #9fd9b8;

  --bg: #12261f; --fg: #f1ecda; --muted: rgba(241, 236, 218, .72); --shadow: rgba(0, 0, 0, .38);

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --type: "Courier Prime", "Courier New", monospace;
}
:root[data-theme="light"] {
  --bg: #d6e2da; --fg: #14201b; --muted: rgba(20, 32, 27, .72); --shadow: rgba(20, 32, 27, .28);
}
.tone-sky { --tab: var(--sky); } .tone-pink { --tab: var(--pink); }
.tone-butter { --tab: var(--butter); } .tone-mint { --tab: var(--mint); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--display); font-size: 1.0625rem; line-height: 1.6;
  transition: background-color .25s, color .25s;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--butter); outline-offset: 3px; }
.wrap { width: min(1200px, 100% - 2 * clamp(20px, 5vw, 64px)); margin-inline: auto; }

/* Header Outer Crystal-Clear Liquid Shell */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  margin-top: 14px;
  margin-bottom: 24px;

  /* Keeps left edge aligned with your .wrap container at all times */
  margin-left: max(clamp(20px, 5vw, 64px), calc((100% - 1200px) / 2));
  margin-right: auto;
  width: calc(100% - 2 * clamp(20px, 5vw, 64px));
  max-width: 1200px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px; /* Even 6px crystal-clear glass ring around both dark frosted capsules */

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.02) 48%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.25),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.7),
    inset 0 -1.5px 2px rgba(255, 255, 255, 0.22),
    inset 0 0 16px rgba(255, 255, 255, 0.1);

  transition:
    max-width 0.6s cubic-bezier(0.32, 0.72, 0, 1),
    padding 0.6s cubic-bezier(0.32, 0.72, 0, 1),
    gap 0.6s cubic-bezier(0.32, 0.72, 0, 1),
    background 0.25s ease,
    border-color 0.25s ease;
}

:root[data-theme="light"] .site-header {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.06) 48%,
    rgba(255, 255, 255, 0.24) 100%
  );
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 10px 26px rgba(20, 32, 27, 0.12),
    inset 0 1.5px 1px rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px rgba(20, 32, 27, 0.12),
    inset 0 0 16px rgba(255, 255, 255, 0.35);
}

/* Shared Dark Frosted Blur Style for Name Capsule & Nav Capsule */
.logo,
.nav-links {
  border-radius: 999px;
  background: rgba(18, 38, 31, 0.52);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: background 0.25s ease, border-color 0.25s ease;
}

:root[data-theme="light"] .logo,
:root[data-theme="light"] .nav-links {
  background: rgba(20, 32, 27, 0.18);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-color: rgba(20, 32, 27, 0.14);
  box-shadow: 0 4px 12px rgba(20, 32, 27, 0.08);
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -.01em;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  padding: 6px 18px;
}

.nav {
  display: flex;
  align-items: center;
  font-family: var(--type);
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
  padding: 6px 18px;
  max-width: 400px;
  opacity: 1;
  overflow: hidden;
  white-space: nowrap;
  transform: translateX(0);
  transition:
    max-width 0.55s cubic-bezier(0.32, 0.72, 0, 1),
    padding 0.55s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.3s ease,
    transform 0.55s cubic-bezier(0.32, 0.72, 0, 1),
    border-color 0.3s ease;
}

.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Collapsed State: Right dark capsule slides into left dark capsule inside a concentric oval */
.site-header.is-collapsed {
  max-width: 184px;
  gap: 0;
  padding: 6px;
}

.site-header.is-collapsed .nav-links {
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  border-color: transparent;
  opacity: 0;
  transform: translateX(-28px);
  pointer-events: none;
}

.theme-toggle {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 2px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }

/* Mobile / Narrow Window Fix */
@media (max-width: 600px) {
  .site-header {
    top: 10px;
    gap: 8px;
    padding: 5px;
  }
  .site-header.is-collapsed {
    max-width: 132px;
    padding: 5px;
  }
  .logo {
    font-size: 0.88rem;
    padding: 5px 12px;
  }
  .nav {
    font-size: 0.78rem;
  }
  .nav-links {
    gap: 8px;
    padding: 5px 12px;
    max-width: 260px;
  }
  .theme-toggle svg {
    width: 17px;
    height: 17px;
  }
}

/* Hero */
.hero { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; padding-block: clamp(28px, 5vw, 72px) clamp(40px, 6vw, 80px); }
.hero h1 {
  font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75;
  font-size: clamp(3.2rem, 9.5vw, 8.6rem); line-height: .94; letter-spacing: -.025em; margin: 0 0 .4em;
}
.intro { max-width: 34em; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.5; margin: 0 0 1.5rem; color: var(--muted); }
.topics { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 1.6rem; }
.topics li {
  border-style: solid;
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
}
.elsewhere {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-family: var(--type);
  margin: 0;
}

.elsewhere a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.elsewhere a span {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.elsewhere a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
}

.plate {
  display: flex; flex-direction: column; gap: 2px; min-width: 220px; padding: 18px 22px;
  background: var(--butter); color: var(--ink); border: 3px double var(--ink); border-radius: 4px;
  font-family: var(--type); transform: rotate(2.5deg); box-shadow: 5px 6px 0 var(--shadow);
}
.plate b { font-family: var(--display); font-size: 1.4rem; line-height: 1.1; }


/* Tabs + rail */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; }
.tab {
  font-family: var(--display); font-weight: 700; font-size: .98rem; color: var(--ink); background: var(--tab);
  border: 0; border-radius: 12px 12px 0 0; padding: 10px 22px 8px; cursor: pointer; transition: transform .15s;
}
.tab[aria-pressed="true"] { transform: translateY(-8px); padding-top: 16px; }
.sort-btn {
  position: relative;
  margin-left: auto; align-self: flex-end; margin-bottom: 8px;
  font-family: var(--type); font-weight: 700; font-size: .9rem; color: var(--ink);
  background: var(--butter); border: 2px solid var(--ink);
  border-radius: 6px 18px 18px 6px;
  padding: 7px 18px 7px 38px; cursor: pointer;
  box-shadow: 3px 4px 0 var(--shadow);
  transform: rotate(-1.5deg);
  transition: transform .15s, box-shadow .15s;
}
.sort-btn::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--ink);
}
.sort-btn:hover { transform: rotate(0) translateY(-2px); box-shadow: 4px 6px 0 var(--shadow); }
.sort-btn:active { transform: rotate(0) translateY(1px); box-shadow: 1px 2px 0 var(--shadow); }
.sort-btn:hover { background: var(--butter); color: var(--ink); border-style: solid; border-color: var(--ink); }
.rail { height: 8px; background: var(--fg); opacity: .9; margin-bottom: 44px; border-radius: 0 4px 4px 4px; }
.list-title { font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; font-size: clamp(2.6rem, 7vw, 5rem); margin: 0 0 20px; line-height: 1; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 44px 36px; margin-bottom: 110px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 360px;
  padding: 24px 22px 62px; text-decoration: none; color: var(--ink);
  background:
    linear-gradient(var(--margin), var(--margin)) 0 52px / 100% 2px no-repeat,
    repeating-linear-gradient(to bottom, transparent 0 27px, rgba(110, 150, 205, .28) 27px 28px),
    var(--paper);
  box-shadow: 6px 8px 0 var(--shadow);
  transition: transform .15s;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: var(--tab); }
.card[hidden] { display: none; }
.card:nth-child(3n+1) { transform: rotate(-.6deg); }
.card:nth-child(3n+2) { transform: rotate(.5deg); }
.card:hover { transform: translateY(-8px) rotate(0); }
.card-head { display: flex; justify-content: space-between; margin-top: 4px; margin-bottom: 14px; font-family: var(--type); font-size: .85rem; }
.card-photo { position: relative; display: block; background: #fff; padding: 6px 6px 20px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transform: rotate(-1.2deg); margin-bottom: 6px; }
.card-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-photo::after { content: ""; position: absolute; top: -10px; left: 50%; width: 76px; height: 20px; background: rgba(243, 211, 107, .75); transform: translateX(-50%) rotate(3deg); }
.card h3 { font-weight: 800; font-size: 1.7rem; line-height: 1.05; letter-spacing: -.01em; margin: 0; }
.card p { font-family: var(--type); font-size: .95rem; line-height: 1.5; margin: 0; }
.hole { position: absolute; left: 50%; bottom: 16px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .5); }
.stamp {
  position: absolute; right: 16px; bottom: 30px; transform: rotate(-8deg);
  font-family: var(--type); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--stamp); border: 2px solid var(--stamp); border-radius: 4px; padding: 2px 8px; opacity: .88;
}
.empty { font-family: var(--type); color: var(--muted); }
code { font-family: var(--type); }

/* Post sheet */
.sheet {
  position: relative; max-width: 820px; margin: 24px auto 110px; padding: clamp(28px, 5vw, 64px) clamp(22px, 5vw, 64px) clamp(36px, 5vw, 64px) clamp(46px, 8vw, 108px);
  background: var(--paper); color: var(--ink); box-shadow: 8px 10px 0 var(--shadow);
}
.sheet::before {  
  content: ""; position: absolute; top: 0; bottom: 0; left: clamp(32px, 6vw, 76px);
  width: 6px; background: var(--margin); box-shadow: 0 0 8px rgba(0, 0, 0, .3);}
.sheet-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-family: var(--type); font-size: .9rem; margin: 0 0 14px; }
.sheet-head h1 { font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; font-size: clamp(2.6rem, 7vw, 5rem); line-height: .98; letter-spacing: -.02em; margin: 0 0 28px; }
.stamp-lg { position: static; display: inline-block; margin: 0 0 24px; font-size: .9rem; }
.sheet-cover { display: block; width: 100%; margin: 0 0 36px; border: 6px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.prose { font-size: 1.12rem; line-height: 1.75; max-width: 40em; }
.prose h2, .prose h3 { font-weight: 800; line-height: 1.1; margin: 2em 0 .5em; }
.prose h2 { font-size: 1.9rem; } .prose h3 { font-size: 1.4rem; }
.prose a { text-decoration-color: var(--margin); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.prose img { max-width: 100%; height: auto; }
.prose blockquote { margin: 1.5em 0; padding: 2px 0 2px 18px; border-left: 4px solid var(--margin); font-style: italic; }
.prose code { background: rgba(28, 35, 64, .09); padding: .1em .35em; border-radius: 3px; font-size: .92em; }
.prose pre { background: var(--ink); color: #f6f1e1; padding: 16px 18px; overflow-x: auto; line-height: 1.5; border-radius: 4px; }
.prose pre code { background: none; padding: 0; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 20px; border-top: 2px dashed var(--ink); }
.post-nav a { text-decoration: none; max-width: 47%; font-weight: 700; }
.post-nav a small { display: block; font-family: var(--type); font-weight: 400; opacity: .7; }
.post-nav .next { margin-left: auto; text-align: right; }
.post-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* About page */
.about-hero { padding-block: clamp(24px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.about-kicker { font-family: var(--type); margin: 0 0 12px; color: var(--muted); }
.about-hero h1 {
  font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75;
  font-size: clamp(3.4rem, 12vw, 9.5rem); line-height: .92; letter-spacing: -.025em; margin: 0 0 .35em;
}
.lab-tab {
  font-family: var(--display); font-weight: 700; font-size: .98rem; color: var(--ink); background: var(--tab);
  border: 0; border-radius: 12px 12px 0 0; padding: 10px 22px 8px; cursor: pointer; transition: transform .15s;
}
.lab-tab[aria-pressed="true"] { transform: translateY(-8px); padding-top: 16px; }
.lab-card {
  position: relative; max-width: 760px; min-height: 260px; padding: 44px 36px 74px; color: var(--ink);
  background:
    linear-gradient(var(--margin), var(--margin)) 0 52px / 100% 2px no-repeat,
    repeating-linear-gradient(to bottom, transparent 0 27px, rgba(110, 150, 205, .28) 27px 28px),
    var(--paper);
  box-shadow: 6px 8px 0 var(--shadow); transform: rotate(-.4deg);
  animation: lab-in .35s cubic-bezier(.2, .9, .3, 1.1);
}
.lab-card[hidden] { display: none; }
.lab-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: var(--tab); }
@keyframes lab-in { from { opacity: 0; transform: translateY(18px) rotate(-1.5deg); } }
.lab-no { display: block; font-family: var(--type); font-size: .85rem; margin-bottom: 26px; }
.lab-card h2 { font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; font-size: clamp(2.6rem, 8vw, 4.4rem); line-height: 1; margin: 0 0 12px; }
.lab-card p { font-family: var(--type); font-size: 1.1rem; line-height: 1.6; margin: 0; max-width: 28em; }
.about-why { padding-block: 72px 36px; }
.about-why p { max-width: 24em; font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.2; margin: 0; }
.about-colo { padding-bottom: 100px; }
.about-colo h2 { font-family: var(--type); font-size: .95rem; font-weight: 700; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 3px solid var(--fg); }
.colo { margin: 0 0 28px; max-width: 640px; }
.colo div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; padding: 10px 0; border-bottom: 1px dashed var(--muted); }
.colo dt { font-family: var(--type); color: var(--muted); }
.colo dd { margin: 0; font-weight: 700; }
.colo dd a { text-decoration-color: var(--margin); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.colo dd a:hover { background: var(--butter); color: var(--ink); }
.about-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--type); margin: 0; }
.about-links a { text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (prefers-reduced-motion: reduce) { .lab-card { animation: none; } .lab-tab { transition: none; } }

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  margin-bottom: 36px;
  font-family: var(--type);
  font-size: 0.9rem;

  /* Apple Liquid Glass */
  background: rgba(18, 38, 31, 0.62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(241, 236, 218, 0.16);
  border-radius: 999px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);

  transition: background-color 0.25s ease, border-color 0.25s ease;
}

:root[data-theme="light"] .site-footer {
  background: rgba(246, 241, 225, 0.72);
  border-color: rgba(20, 32, 27, 0.12);
  box-shadow:
    0 10px 30px rgba(20, 32, 27, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.bmac-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px dashed currentColor;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bmac-link:hover {
  transform: translateY(-2px);
  background: var(--butter);
  color: var(--ink);
  border-style: solid;
  border-color: var(--ink);
}

@media (max-width: 600px) {
  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 24px;
    font-size: 0.85rem;
    margin-bottom: 24px;
  }

  .bmac-link {
    padding: 7px 14px;
    gap: 6px;
    font-size: 0.82rem;
  }
}

@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } .plate { justify-self: start; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } body, .card, .tab { transition: none; } }




/* Easter egg */
.egg-stamp {
  position: fixed; left: 50%; top: 50%; z-index: 100; pointer-events: none;
  font-family: var(--type); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
  font-size: clamp(2rem, 9vw, 6rem); color: var(--stamp);
  border: .14em solid var(--stamp); border-radius: .18em; padding: .1em .35em;
  background: rgba(246, 241, 225, .9);
  transform: translate(-50%, -50%) rotate(-9deg);
  animation: egg-stamp 1.8s cubic-bezier(.2, .9, .3, 1.1) forwards;
}
@keyframes egg-stamp {
  0%   { opacity: 0; transform: translate(-50%, -50%) rotate(-22deg) scale(3.4); }
  18%  { opacity: 1; transform: translate(-50%, -50%) rotate(-9deg) scale(1); }
  24%  { transform: translate(-50%, -50%) rotate(-9deg) scale(1.07); }
  32%  { transform: translate(-50%, -50%) rotate(-9deg) scale(1); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(-9deg) scale(1); }
}
.egg-coffee {
  position: fixed; top: -80px; z-index: 99; pointer-events: none; font-size: var(--s);
  animation: egg-fall 2s ease-in var(--d) forwards;
}
@keyframes egg-fall {
  to { transform: translateY(115vh) rotate(var(--r)); }
}
.egg-shake main, .egg-shake .site-header, .egg-shake .site-footer { animation: egg-shake .4s; }
@keyframes egg-shake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-6px, 3px); } 40% { transform: translate(5px, -3px); }
  60% { transform: translate(-3px, 2px); } 80% { transform: translate(2px, -1px); }
}
@media (prefers-reduced-motion: reduce) {
  .egg-stamp { animation: egg-fade 1.8s forwards; }
  .egg-coffee { display: none; }
  @keyframes egg-fade { 0% { opacity: 0; } 15%, 80% { opacity: 1; } 100% { opacity: 0; } }
}

/* Mobile polish (phones) */
@media (max-width: 600px) {
  html { -webkit-text-size-adjust: 100%; }

  /* Home hero */
  .hero { padding-block: 20px 36px; gap: 24px; }
  .hero h1 { text-wrap: balance; }
  .intro { font-size: 1.05rem; }
  .topics li { font-size: .85rem; padding: .3rem .9rem; }
  .plate { min-width: 0; padding: 14px 18px; transform: rotate(1.5deg); }
  .plate b { font-size: 1.2rem; }

  /* Tabs and sort tag */
  .tabs { gap: 4px; }
  .tab, .lab-tab { font-size: .88rem; padding: 9px 14px 7px; }
  .tab[aria-pressed="true"], .lab-tab[aria-pressed="true"] { padding-top: 14px; }
  .sort-btn { font-size: .82rem; padding: 6px 14px 6px 32px; }
  .rail { margin-bottom: 32px; }

  /* Cards */
  .grid { gap: 36px; margin-bottom: 70px; }
  .card { min-height: 0; padding: 22px 18px 58px; }
  .card h3 { font-size: 1.5rem; }
  .card p { font-size: .9rem; }

  /* Post pages */
  .sheet { margin: 12px auto 70px; padding: 26px 18px 34px 40px; }
  .sheet::before { left: 26px; }
  .sheet-head h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .prose { font-size: 1.02rem; line-height: 1.7; }
  .prose h2 { font-size: 1.5rem; }
  .prose h3 { font-size: 1.25rem; }

  /* About page */
  .about-hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .lab-card { padding: 38px 20px 64px; min-height: 220px; }
  .lab-card h2 { font-size: 2.6rem; }
  .lab-card p { font-size: 1rem; }
  .about-why { padding-block: 44px 24px; }
  .colo div { grid-template-columns: 1fr; padding: 8px 0; }
}