/* Mermaid Universe shared styles for the founders page and member pages (20 Oct 2026).
   Same tokens and components as the home page, which keeps its own inline copy. */
:root {
  --sea: #7FFFD4; --sea-light: #CFFFF1; --bg: #F1FBF8; --surface: #FFFFFF;
  --ink: #062E33; --muted: #45696A; --line: #BDE4DA; --link: #0A5F5B; --conch: #C63D65;
  --hero-bg: #7FFFD4; --hero-light: #D4FFF3; --hero-fg: #062E33;
  --btn-bg: #062E33; --btn-fg: #F1FBF8; --tint: #DDF7EF;
  --deep-bg: #062E33; --deep-fg: #EAF9F4; --deep-muted: #A9D3CB; --deep-accent: #7FFFD4;
  --display: "Bodoni Moda", "Didot", "Bodoni MT", "Playfair Display", Georgia, serif;
  --body: "Hanken Grotesk", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sea-light: #1A6E69; --bg: #052227; --surface: #0A3238; --ink: #E6F7F2;
    --muted: #9CC4BE; --line: #1D4D52; --link: #7FFFD4; --conch: #FF8FA8;
    --hero-bg: #0B4A4A; --hero-light: #14706A; --hero-fg: #EAFFF8;
    --btn-bg: #7FFFD4; --btn-fg: #052227; --tint: #0A3238; --deep-bg: #021518;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sea-light: #1A6E69; --bg: #052227; --surface: #0A3238; --ink: #E6F7F2;
  --muted: #9CC4BE; --line: #1D4D52; --link: #7FFFD4; --conch: #FF8FA8;
  --hero-bg: #0B4A4A; --hero-light: #14706A; --hero-fg: #EAFFF8;
  --btn-bg: #7FFFD4; --btn-fg: #052227; --tint: #0A3238; --deep-bg: #021518;
  color-scheme: dark;
}
html { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--conch); outline-offset: 2px; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-family: var(--display); font-weight: 500; line-height: 1.05; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.band { padding-block: clamp(40px, 7vw, 84px); }
.band--tint { background: var(--tint); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack--lg { gap: 36px; }
.lede { font-size: 1.15rem; max-width: 62ch; }
.measure { max-width: 64ch; }
.label { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }
.muted { color: var(--muted); }
.hint { font-size: 0.88rem; color: var(--muted); }

.btn {
  display: inline-block; font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: 999px; border: 2px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-fg);
}
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn:hover { filter: brightness(1.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.masthead { background: var(--hero-bg); color: var(--hero-fg); }
.masthead .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 28px;
  padding-block: 18px; border-bottom: 1px solid color-mix(in srgb, var(--hero-fg) 25%, transparent);
}
.brand { font-family: var(--display); font-style: italic; font-size: 1.6rem; font-weight: 600; color: inherit; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { text-decoration: underline; }

.hero {
  color: var(--hero-fg);
  background:
    radial-gradient(ellipse 70% 55% at 12% 0%, var(--hero-light), transparent 70%),
    radial-gradient(ellipse 50% 40% at 88% 18%, var(--hero-light), transparent 70%),
    var(--hero-bg);
  padding-block: clamp(36px, 6vw, 72px);
}
.hero__deck { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2.8vw, 1.8rem); line-height: 1.25; }

.ticks { display: flex; flex-direction: column; gap: 9px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--sea); border: 1px solid var(--link); }
.rows { display: flex; flex-direction: column; }
.rows li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.rows li > span:first-child { min-width: 0; }
.rows .when { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.split { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.split > * { min-width: 0; }
.note { border-left: 4px solid var(--sea); padding-left: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 3vw, 28px); }
.card--strong { border: 2px solid var(--ink); }

.chip {
  display: inline-block; font: 500 0.68rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}
.chip--member { border-color: var(--conch); color: var(--conch); }
.chip--solid { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Numbered steps (founders page) */
.steps { counter-reset: step; display: grid; gap: 22px 32px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 500 0.8rem var(--mono); letter-spacing: 0.1em; color: var(--muted); }

/* Directory entry (as on the home page) */
.entry { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding-block: 13px; }
.entry__thumb {
  grid-row: span 2; width: 52px; height: 52px; border-radius: 50%;
  background: conic-gradient(from 30deg, #BFF3E6, #E9DDF8, #FCE6DC, #CFEFF7, #BFF3E6);
}
.entry__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 600; line-height: 1.3; }
.entry__meta { font: 400 0.8rem/1.5 var(--mono); color: var(--muted); }

/* Member page */
.sample-bar { background: var(--deep-bg); color: var(--deep-fg); }
.sample-bar .wrap { padding-block: 12px; font-size: 0.95rem; }
.sample-bar a { color: var(--deep-accent); }
.profile { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 820px) { .profile { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.profile > * { min-width: 0; }
.photo {
  position: relative; border-radius: 6px; overflow: hidden; background: var(--surface);
  background-image:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.75) 0 6%, transparent 30%),
    linear-gradient(160deg, #BFF3E6, #CFEFF7 45%, #E9DDF8 80%, #FCE6DC);
  display: grid; place-items: center; color: #062E33;
  font: 500 0.75rem var(--mono); text-transform: uppercase; letter-spacing: 0.1em; text-align: center;
}
.photo--main { aspect-ratio: 4 / 5; }
.photo--more { aspect-ratio: 1 / 1; }
.photos { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 820px) { .photos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.photos figure { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
figcaption { font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
.facts { display: grid; gap: 4px 18px; grid-template-columns: auto minmax(0, 1fr); font-size: 0.98rem; }
.facts dt { font: 500 0.74rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.facts dd { min-width: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.reel {
  aspect-ratio: 16 / 9; border-radius: 6px; background: var(--deep-bg); color: var(--deep-fg);
  display: grid; place-items: center; text-align: center; padding: 16px;
}
.reel span { font: 500 0.8rem var(--mono); text-transform: uppercase; letter-spacing: 0.1em; }

/* Sample-only tags: show what is included and what is an add-on */
.tag {
  display: inline-block; font: 500 0.66rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 8px; border-radius: 4px; background: var(--tint); color: var(--link); white-space: nowrap;
}
.tag--add { background: transparent; border: 1px dashed var(--conch); color: var(--conch); }

.foot { border-top: 1px solid var(--line); padding-block: 32px; font-size: 0.92rem; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }
