/* Refined janeyoubradley.com — type-driven, mint accent, breathing room. */

:root {
  --bg: rgb(251, 251, 251);
  --bg-elev: #ffffff;
  --bg-dim: #f4f4f4;
  --text: #4a4a4a;
  --text-strong: #2a2a2a;
  --text-muted: #999;
  --text-faint: #c8c8c8;
  --border: #ececec;
  --accent-mint: #a3e4d7;
  --accent-mint-soft: #e8f8f5;
  --accent-amber: #c47a2a;
  --accent-amber-soft: #f6e8d4;
  --shadow-card: 0 14px 32px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 22px 48px rgba(0, 0, 0, 0.09);
  --bridge-tint: rgba(60, 70, 90, 0.55);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --w-display: 300;
  --w-body: 300;

  --density-gap: 64px;
  --density-pad: 30px;

  --max-w: 760px;
}

html.dark {
  --bg: #0e0f13;
  --bg-elev: #16181e;
  --bg-dim: #11131a;
  --text: #c8c8c8;
  --text-strong: #ececec;
  --text-muted: #7a7a7a;
  --text-faint: #4a4a4a;
  --border: #23252d;
  --shadow-card: 0 14px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 22px 48px rgba(0, 0, 0, 0.6);
  --bridge-tint: rgba(220, 230, 245, 0.85);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: var(--w-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  padding: 80px 24px 56px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bridge {
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  z-index: -1;
  color: var(--bridge-tint);
  pointer-events: none;
  opacity: 0.7;
}
html.dark .hero-bridge { opacity: 0.95; }
.hero-bridge svg { width: 100%; height: 100%; display: block; }

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.avatar {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
}
.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 0.5px solid var(--border);
  background: radial-gradient(circle at 30% 30%, var(--accent-mint-soft), transparent 70%);
}
.avatar-glyph {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 48px;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  overflow: hidden;
}
.avatar-glyph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.avatar-photo .avatar-photo-fallback {
  display: none;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.avatar-photo.avatar-photo-missing .avatar-photo-fallback,
.avatar-photo .avatar-glyph:has(img[style*="display: none"]) .avatar-photo-fallback {
  display: inline;
}
.avatar-wordmark .avatar-glyph {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.avatar-wordmark .wm {
  display: inline-flex;
  gap: 1px;
  align-items: baseline;
}
.avatar-wordmark .wm-y {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0 1px;
}
.avatar-hi .avatar-glyph {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}
.avatar-hi .wm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.avatar-hi .hi-wave {
  display: inline-flex;
  color: var(--accent-mint);
  transform-origin: 70% 80%;
  animation: hi-wave 2.4s ease-in-out infinite;
}
@keyframes hi-wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}
.hero-name-prefix {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 0.42em;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-right: 0.22em;
  vertical-align: 0.32em;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  font-size: 44px;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin: 0;
  line-height: 1.08;
}

.hero-role {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.hero-now {
  margin: 36px auto 0;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.65;
}
.hero-now-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.hero-now-line a {
  border-bottom: 1px solid var(--accent-mint);
  padding-bottom: 1px;
}
.hero-now-line a:hover {
  background: var(--accent-mint-soft);
}

.hero-pills {
  margin: 48px auto 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Pills ─────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 80px;
  border-radius: 9999px;
  background: var(--bg-elev);
  color: var(--text-muted);
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 0.5px solid var(--border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
              color 200ms ease;
  position: relative;
  overflow: hidden;
}
.pill:hover {
  color: var(--text-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.pill::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 22px;
  height: 1px;
  background: var(--accent-mint);
  transform: scaleX(0);
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pill:hover::after, .pill-active::after { transform: scaleX(1); }
.pill-active { color: var(--text-strong); }

html.dark .pill { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); }

/* ─── Sticky nav ────────────────────────────────────────────────── */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 0.5px solid var(--border);
  animation: fadeDown 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.sticky-nav-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.sticky-mark {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}
.sticky-pills {
  display: flex;
  gap: 8px;
}
.sticky-pills .pill {
  height: 36px;
  width: auto;
  padding: 0 16px;
  font-size: 12px;
  border-radius: 9999px;
  box-shadow: none;
  border-color: transparent;
  background: transparent;
}
.sticky-pills .pill::after {
  bottom: 8px;
  left: 16px;
  right: 16px;
}
.sticky-pills .pill:hover {
  background: var(--bg-elev);
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ─── Main / sections ───────────────────────────────────────────── */
.main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  margin: 72px 0;
}

.section-label-wrap {
  margin-bottom: 36px;
  text-align: left;
}
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 14px;
  border-bottom: 0.5px solid var(--border);
  width: 100%;
}
.section-intro {
  display: block;
  margin: 14px 0 0;
  font-size: 14.5px;
  color: var(--text-muted);
}
.section-label-wrap { margin-bottom: 36px; }

/* ─── Cards ─────────────────────────────────────────────────────── */
.cards {
  display: grid;
  gap: var(--density-gap);
}

.card {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  background: var(--bg-elev);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.card-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dim);
  color: var(--text-muted);
  padding: 28px;
  min-height: 180px;
  transition: color 400ms ease;
}
.card:hover .card-mark { color: var(--text-strong); }

.card-monogram {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 86px;
  color: var(--text-faint);
  line-height: 1;
  letter-spacing: -0.02em;
}

.card-body {
  position: relative;
  padding: var(--density-pad);
}
.card-status {
  position: absolute;
  top: var(--density-pad);
  right: var(--density-pad);
}
.card-title {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text-strong);
  padding-right: 80px;
}
.card-subtitle {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--text-muted);
  font-style: italic;
}
.card-desc {
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text);
}
.card-tags {
  margin: 22px 0 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.card-link {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-strong);
  border-bottom: 1px solid var(--accent-mint);
  display: inline-block;
  padding-bottom: 1px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.status-dot .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-mint);
}
.status-dot.muted .dot { background: var(--accent-amber); }
.status-dot.muted { color: var(--text-faint); }

/* ─── Notify bell on Building cards ─────────────────────────────── */
.card-bell {
  appearance: none;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 9px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 11.5px;
  font-family: inherit;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.card-bell:hover {
  color: var(--accent-amber);
  border-color: var(--accent-amber);
  background: var(--accent-amber-soft);
}
.card-bell.subscribed {
  color: var(--accent-amber);
  border-color: var(--accent-amber);
  background: var(--accent-amber-soft);
}
.card-bell svg { display: block; }

/* ─── Notify modal ──────────────────────────────────────────────── */
.notify-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.42);
  backdrop-filter: blur(2px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: notify-fade 180ms ease;
}
html.dark .notify-overlay { background: rgba(0, 0, 0, 0.6); }
@keyframes notify-fade { from { opacity: 0; } to { opacity: 1; } }

.notify-modal {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 28px 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  animation: notify-pop 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes notify-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.notify-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}
.notify-close:hover { color: var(--text-strong); }

.notify-eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-amber);
}
.notify-h {
  margin: 6px 0 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--text-strong);
  line-height: 1.25;
}
.notify-sub {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.notify-form {
  display: flex;
  gap: 8px;
}
.notify-form input {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-strong);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 180ms ease;
}
.notify-form input:focus { border-color: var(--accent-amber); }
.notify-form button {
  height: 42px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--accent-amber);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 180ms ease;
}
.notify-form button:hover { background: #c8862e; }

.notify-thanks {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-strong);
  padding: 12px 14px;
  background: var(--accent-amber-soft);
  border-radius: 8px;
}
.notify-thanks .thanks-dot { background: var(--accent-amber); }

.notify-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-faint);
}

/* ─── Quotes ────────────────────────────────────────────────────── */
.quotes {
  display: grid;
  gap: 28px;
}
.quote {
  margin: 0;
  padding: 30px 34px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent-mint);
  border-radius: 0;
  box-shadow:
    0 1px 1px rgba(40, 35, 30, 0.04),
    0 4px 8px rgba(40, 35, 30, 0.05),
    0 16px 28px rgba(40, 35, 30, 0.07);
  transition: box-shadow 260ms ease, transform 260ms ease;
}
.quote:hover {
  box-shadow:
    0 2px 3px rgba(40, 35, 30, 0.05),
    0 8px 16px rgba(40, 35, 30, 0.07),
    0 24px 44px rgba(40, 35, 30, 0.10);
  transform: translateY(-2px);
}
html.dark .quote {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 6px 14px rgba(0, 0, 0, 0.35),
    0 18px 36px rgba(0, 0, 0, 0.3);
}
html.dark .quote:hover {
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 10px 22px rgba(0, 0, 0, 0.42),
    0 28px 50px rgba(0, 0, 0, 0.36);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  letter-spacing: -0.003em;
}
.quote blockquote p { margin: 0; }
.quote figcaption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.quote .q-author { color: var(--text); }
.quote .q-book em { font-style: italic; }

/* ─── Posts ─────────────────────────────────────────────────────── */
.posts {
  display: grid;
  gap: 36px;
}
.post {
  display: block;
  padding: 24px 0;
  border-bottom: 0.5px solid var(--border);
  transition: padding 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.post:last-child { border-bottom: 0; }
.post:hover { padding-left: 8px; }
.post-meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
}
.dotbreak { color: var(--text-faint); }
.post-title {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-weight: var(--w-display);
  font-size: 26px;
  letter-spacing: -0.015em;
  color: var(--text-strong);
}
.post-excerpt {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Footer ────────────────────────────────────────────────────── */
.footer {
  margin-top: 120px;
  padding: 80px 24px 48px;
  border-top: 0.5px solid var(--border);
  background: var(--bg-elev);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.footer-h {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  font-size: 28px;
  color: var(--text-strong);
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-links a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 200ms ease, color 200ms ease;
}
.footer-links a:hover {
  border-bottom-color: var(--accent-mint);
  color: var(--text-strong);
}
.footer-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-meta a {
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
}
.footer-meta a:hover {
  color: var(--text);
  border-bottom-color: var(--accent-mint);
}

/* ─── Responsive ────────────────────────────────────────────────── */
/* ─── Page header (non-home) ────────────────────────────────────── */
.page-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px 24px;
  border-bottom: 0.5px solid var(--border);
  text-align: left;
  display: block;
}
.page-nav { display: flex !important; gap: 24px; flex-wrap: wrap; margin-top: 12px; }
.page-back {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 32px;
  transition: color 200ms ease;
}
.page-back:hover { color: var(--text-strong); }
.page-title {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  font-size: 48px;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin: 0 0 24px;
  line-height: 1.05;
}
.page-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.page-nav-item {
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 14px;
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.page-nav-item:hover { color: var(--text-strong); }
.page-nav-item.active {
  color: var(--text-strong);
  border-bottom-color: var(--accent-mint);
}

.section.first { margin-top: 32px; }

/* ─── Waitlist ─────────────────────────────────────────────────── */
.waitlist {
  margin: 96px auto;
  max-width: var(--max-w);
  padding: 56px 40px;
  background: var(--bg-elev);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.waitlist::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-mint), transparent);
  opacity: 0.7;
}
.waitlist-inner { max-width: 480px; }
.waitlist-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.waitlist-h {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 0 0 14px;
}
.waitlist-sub {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 28px;
}
.waitlist-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.waitlist-form input {
  flex: 1 1 240px;
  height: 44px;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  color: var(--text-strong);
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 200ms ease;
}
.waitlist-form input:focus { border-color: var(--accent-mint); }
.waitlist-form button {
  height: 44px;
  padding: 0 22px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--bg);
  background: var(--text-strong);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 200ms ease, transform 200ms ease;
}
.waitlist-form button:hover { opacity: 0.85; transform: translateY(-1px); }
.waitlist-thanks {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-strong);
  padding: 14px 18px;
  background: var(--accent-mint-soft);
  border-radius: 8px;
}
.thanks-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
}

/* ─── More link ─────────────────────────────────────────────────── */
.more {
  margin-top: 32px;
  text-align: right;
}
.more a {
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 200ms ease, border-color 200ms ease;
}
.more a:hover {
  color: var(--text-strong);
  border-bottom-color: var(--accent-mint);
}

@media (max-width: 640px) {
  .hero { padding: 70px 20px 60px; }
  .hero-name { font-size: 38px; }
  .card { grid-template-columns: 1fr; }
  .card-mark { min-height: 140px; }
  .card-title { padding-right: 0; }
  .card-status { position: static; margin-bottom: 12px; }
  .section { margin: 72px 0; }
  .sticky-pills .pill { padding: 0 10px; font-size: 11px; height: 32px; }
}

/* ─── Compact hero (sub-pages) ───────────────────────────────────── */
.hero-compact { padding: 60px 24px 40px; min-height: 320px; }
.hero-compact .hero-name { font-size: 36px; margin-top: 22px; }
.hero-compact .hero-role { margin-top: 4px; font-size: 13px; }
.hero-compact .avatar { transform: scale(0.7); margin-bottom: -8px; }
.hero-compact .hero-bridge {
  inset: auto 0 0 0;
  height: 70%;
  opacity: 0.5;
}
html.dark .hero-compact .hero-bridge { opacity: 0.75; }
.hero-compact .hero-pills { margin-top: 28px; }
html.dark .hero-compact .hero-bridge { opacity: 0.8; }
.hero-compact .hero-pills { margin-top: 28px; }

/* ─── Theme toggle button ───────────────────────────────────────── */
.hero-corner {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 100;
}
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 20px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
}
.theme-toggle:hover {
  color: var(--text-strong);
  border-color: var(--text-muted);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), 0 12px 28px rgba(0, 0, 0, 0.06);
}
html.dark .theme-toggle {
  background: rgba(20, 20, 20, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ─── Agent card shape variants ──────────────────────────────────── */
.card-shape-circle .card-mark {
  background: radial-gradient(circle at 50% 50%, var(--accent-mint-soft) 0%, transparent 70%);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  margin: 28px auto 0 28px;
  align-self: center;
}
.card-shape-blob .card-mark {
  background: var(--accent-mint-soft);
  border-radius: 62% 38% 56% 44% / 48% 62% 38% 52%;
  width: 200px;
  height: 200px;
  margin: 28px auto 0 28px;
  align-self: center;
  animation: blob-morph 16s ease-in-out infinite;
}
@keyframes blob-morph {
  0%,100% { border-radius: 62% 38% 56% 44% / 48% 62% 38% 52%; }
  33%     { border-radius: 44% 56% 40% 60% / 58% 42% 56% 44%; }
  66%     { border-radius: 56% 44% 60% 40% / 40% 56% 44% 60%; }
}
.card-shape-hex .card-mark {
  background: var(--accent-mint-soft);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  width: 200px;
  height: 200px;
  margin: 28px auto 0 28px;
  align-self: center;
}
@media (max-width: 640px) {
  .card-shape-circle .card-mark,
  .card-shape-blob .card-mark,
  .card-shape-hex .card-mark {
    width: 160px; height: 160px; margin: 28px auto 0;
  }
}
