:root {
  --radius: 12px;
  --background: oklch(0.13 0.01 240);
  --foreground: oklch(0.93 0.01 240);
  --card: oklch(0.16 0.012 240 / 0.92);
  --muted-foreground: oklch(0.67 0.02 240);
  --border: oklch(0.25 0.015 240);
  --primary: oklch(0.75 0.15 180);
  --amber: oklch(0.75 0.12 85);
  --header: oklch(0.10 0.015 240 / 0.80);
}
html[data-theme='light'] {
  --background: oklch(0.98 0.004 240);
  --foreground: oklch(0.17 0.02 240);
  --card: oklch(0.99 0.003 240 / 0.94);
  --muted-foreground: oklch(0.45 0.02 240);
  --border: oklch(0.89 0.012 240);
  --primary: oklch(0.56 0.14 195);
  --amber: oklch(0.62 0.12 82);
  --header: oklch(0.98 0.004 240 / 0.86);
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 0% 0%, oklch(0.2 0.03 240 / 0.5), transparent 36%), var(--background); color: var(--foreground); font-family: 'Space Grotesk', system-ui, sans-serif; }
body { overflow-wrap: break-word; }
h1, h2, h3, h4 { overflow-wrap: anywhere; hyphens: auto; }
img, video, iframe { max-width: 100%; }
img, video { height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.icon { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.icon-inline { width: 15px; height: 15px; margin-right: .25rem; }
.card-icon { width: 30px; height: 30px; color: var(--primary); margin-bottom: .6rem; }
.icon-amber { color: var(--amber); }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
.nav-wrap { position: sticky; top: 0; z-index: 50; background: var(--header); backdrop-filter: blur(16px); border-bottom: 1px solid oklch(0.75 0.15 180 / 0.12); transition: all .25s ease; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
@media (min-width: 1024px) { .nav { min-height: 80px; } }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; min-width: 0; }
.brand > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 359px) { .brand > span { display: none; } }
.brand-logo { width: 40px; height: 40px; border-radius: 999px; box-shadow: 0 0 18px oklch(0.75 0.15 180 / 0.35); }
.footer-brand-logo { width: 100px; height: 100px; }
.footer-brand { flex-wrap: wrap; }
.footer-brand > p { min-width: 0; overflow-wrap: anywhere; }
.brand-cyan { color: var(--primary); }
.lead-centered { text-align: center; margin: 0 10%; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nav-links { display: none; gap: .25rem; }
.nav-links a { padding: .4rem .58rem; border-radius: .45rem; color: var(--muted-foreground); font-size: .9rem; }
.nav-links a:hover { color: var(--foreground); background: oklch(0.75 0.15 180 / 0.08); text-decoration: none; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.menu-toggle { border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--foreground); width: 38px; height: 34px; display: grid; place-items: center; position: relative; }
.menu-icon-close { display: none; }
.menu-toggle.open .menu-icon-open { display: none; }
.menu-toggle.open .menu-icon-close { display: block; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.controls { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.theme-switch { display: inline-flex; align-items: center; cursor: pointer; }
.theme-switch input { position: absolute; opacity: 0; pointer-events: none; }
.theme-track { width: 48px; height: 28px; border-radius: 999px; border: 1px solid var(--border); background: oklch(0.26 0.02 240); display: inline-flex; align-items: center; padding: 2px; transition: .2s; }
.theme-thumb { width: 22px; height: 22px; border-radius: 50%; background: oklch(0.96 0.003 240); transition: transform .2s; }
.theme-switch input:checked ~ .theme-track { background: var(--primary); border-color: var(--primary); }
.theme-switch input:checked ~ .theme-track .theme-thumb { transform: translateX(20px); }
.theme-icon { display: none; width: 15px; height: 15px; flex: 0 0 auto; pointer-events: none; color: var(--muted-foreground); transition: color .2s; }
@media (min-width: 640px) { .theme-icon { display: inline-block; } }
.theme-icon-sun { margin-right: .4rem; }
.theme-icon-moon { margin-left: .4rem; }
.theme-switch input:not(:checked) ~ .theme-icon-sun { color: var(--amber); }
.theme-switch input:checked ~ .theme-icon-moon { color: var(--primary); }
.lang-menu { position: relative; }
.lang-menu > summary { display: inline-flex; align-items: center; gap: .4rem; height: 34px; padding: 0 .55rem; background: var(--card); color: var(--foreground); border: 1px solid var(--border); border-radius: 8px; font-size: 13px; cursor: pointer; list-style: none; user-select: none; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:hover { border-color: var(--primary); }
.lang-menu[open] > summary { border-color: var(--primary); }
.lang-caret { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .15s; }
.lang-menu[open] .lang-caret { transform: rotate(180deg); }
.lang-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; flex: 0 0 auto; box-shadow: 0 0 0 1px oklch(0 0 0 / .18); }
.lang-label { white-space: nowrap; }
@media (max-width: 639px) {
  .lang-menu > summary .lang-label {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .nav { gap: .5rem; }
}
.lang-list { position: absolute; top: calc(100% + .35rem); right: 0; z-index: 60; display: flex; flex-direction: column; min-width: 100%; padding: .25rem; background: var(--card); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 30px oklch(0 0 0 / .35); }
.lang-option { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .4rem .5rem; background: none; color: var(--foreground); border: 0; border-radius: 6px; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.lang-option:hover, .lang-option:focus-visible { background: oklch(0.5 0.02 240 / .18); }
.lang-option[aria-current="true"] { color: var(--primary); }
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: .35; z-index: 0; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, oklch(0.13 0.01 240 / 0.55), oklch(0.13 0.01 240 / 0.35), var(--background)); }
.hero-content { position: relative; z-index: 2; padding-top: 4.5rem; text-align: center; max-width: 1050px; }
.hero-logo { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 0 26px oklch(0.75 0.15 180 / 0.45)); }
.section-overline { font-family: 'JetBrains Mono', monospace; font-size: clamp(.78rem, 2.4vw, 1.75rem); letter-spacing: .16em; text-transform: uppercase; color: var(--primary); overflow-wrap: anywhere; }
.hero h1 { margin: 1rem auto; font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.15; max-width: 980px; text-wrap: balance; }
.lead { max-width: 760px; color: var(--muted-foreground); font-size: 1.1rem; line-height: 1.65; }
.mission-lead { max-width: 920px; font-size: 1.28rem; line-height: 1.6; }
.mission-copy { max-width: 980px; margin: 1rem auto 0; color: var(--foreground); font-size: 1.08rem; line-height: 1.8; }
.gradient-text { background: linear-gradient(135deg, oklch(0.75 0.15 180), oklch(0.65 0.18 260)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gradient-amber { background: linear-gradient(135deg, oklch(0.75 0.12 85), oklch(0.60 0.22 25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { margin-top: 1.2rem; display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.btn { border-radius: 10px; padding: .72rem 1.05rem; font-weight: 600; border: 1px solid transparent; display: inline-flex; align-items: center; }
.btn-primary { background: var(--primary); color: oklch(0.13 0.01 240); }
.btn-ghost { border-color: var(--border); color: var(--foreground); background: transparent; }
.page-head { padding: 7.8rem 0 1.2rem; }
.page-head h1 { font-size: clamp(1.75rem, 4.2vw, 3.05rem); margin: .2rem 0 .55rem; letter-spacing: -.01em; }
.page-head p { color: var(--muted-foreground); max-width: 830px; font-size: 1.02rem; }
.mission-page-head { padding-bottom: 2rem; }
.mission-page-head h1 { font-size: clamp(3rem, 8vw, 6.6rem); max-width: 780px; line-height: .96; margin-bottom: .85rem; }
.mission-page-head .section-overline { font-size: .9rem; }
.mission-page-head .mission-lead { margin-left: 0; max-width: 860px; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.55; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-bottom: .6rem; color: var(--muted-foreground); font-size: .88rem; }
.breadcrumbs a { color: var(--muted-foreground); }
.breadcrumbs a:hover { color: var(--foreground); }
.breadcrumbs [aria-current="page"] { color: var(--foreground); }
.section { padding: 1.4rem 0 4.7rem; }
.home-story-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 980px) { .home-story-grid { grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); align-items: start; gap: 1rem; } }
.home-prose-panel { padding: 1.6rem 1.5rem; }
.home-prose-panel h3 { font-size: clamp(1.5rem, 2.5vw, 2.4rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: .8rem; }
.home-prose-panel p { font-size: 1.08rem; line-height: 1.95; }
.home-side-panel { padding: 1.4rem; display: grid; gap: .8rem; align-content: start; }
.home-side-panel p { font-size: 1rem; line-height: 1.7; }
.home-fact-list { list-style: none; padding: 0; margin: .35rem 0 0; display: grid; gap: .65rem; }
.home-fact-list li { padding-left: 1rem; position: relative; color: var(--foreground); line-height: 1.6; }
.home-fact-list li::before { content: ''; position: absolute; left: 0; top: .65em; width: .4rem; height: .4rem; border-radius: 999px; background: var(--primary); box-shadow: 0 0 0 3px oklch(0.75 0.15 180 / 0.08); }
.home-wide-copy { max-width: 1120px; }
.home-wide-copy h2 { margin: .2rem 0 .85rem; font-size: clamp(2.1rem, 4vw, 4rem); line-height: .98; letter-spacing: -.04em; }
.home-body-copy { max-width: 980px; margin: 0 0 1rem; color: var(--foreground); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.95; }
.home-why-proteins-grid { display: flex; gap: 1.75rem; align-items: flex-start; }
.home-wide-copy { flex: 1 1 auto; min-width: 0; }
.partner-logo-column { flex: 0 0 124px; display: flex; flex-direction: column; align-items: flex-end; gap: .95rem; padding-top: 3.3rem; }
.partner-logo-badge,
.partner-logo-fallback { width: 96px; height: 96px; border-radius: 10px; }
.partner-logo-badge { display: grid; place-items: center; overflow: hidden; border: 1px solid var(--border); background: var(--card); box-shadow: 0 12px 24px oklch(0.08 0.01 240 / 0.18); }
.partner-logo-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.partner-logo-badge .logo-theme-light { display: none; }
html[data-theme='light'] .partner-logo-badge .logo-theme-dark { display: none; }
html[data-theme='light'] .partner-logo-badge img.logo-theme-light { display: block; }
html[data-theme='light'] .partner-logo-badge .partner-logo-fallback.logo-theme-light { display: flex; }
.partner-logo-fallback { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--border); color: var(--muted-foreground); font-family: 'JetBrains Mono', monospace; font-size: .72rem; text-align: center; padding: .4rem; }
html[data-theme='light'] .partner-logo-badge { background: oklch(0.99 0.003 240); }
@media (max-width: 979px) {
  .home-why-proteins-grid { flex-direction: column; gap: 1rem; }
  .partner-logo-column {
    flex: 1 1 auto;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding-top: 0;
  }
}
.home-inline-metrics { display: grid; grid-template-columns: 1fr; gap: .75rem; margin: 1.2rem 0 1.15rem; }
@media (min-width: 780px) { .home-inline-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home-inline-metrics > div { padding: 1rem 1rem .95rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, oklch(0.75 0.15 180 / 0.04), transparent); }
.home-inline-metrics p { margin: .35rem 0 0; color: var(--foreground); line-height: 1.6; font-size: .98rem; }
.cards { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1160px) { .cards.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.glass-panel, .card { background: var(--card); border: 1px solid oklch(0.75 0.15 180 / 0.1); border-radius: 16px; backdrop-filter: blur(16px); box-shadow: 0 12px 26px oklch(0.08 0.01 240 / 0.32); padding: 1.2rem; }
.blog-content { line-height: 1.7; }
.blog-content p { margin: .7rem 0; }
.blog-content ul, .blog-content ol { margin: .7rem 0 .7rem 1.2rem; color: var(--muted-foreground); }
.blog-content a { text-decoration: underline; overflow-wrap: anywhere; }
.blog-content pre, .blog-content code { white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: auto; max-width: 100%; font-size: .9rem; }
.publication-citation { margin: .4rem 0 0; line-height: 1.7; overflow-wrap: anywhere; }
.post-images { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 800px) { .post-images { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.post-figure { margin: 0; }
.post-image { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--border); background: var(--background); }
.post-figure figcaption { margin-top: .45rem; color: var(--muted-foreground); font-size: .9rem; line-height: 1.5; }
.attachment-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.attachment-item { padding-top: .9rem; border-top: 1px solid var(--border); }
.attachment-item:first-child { padding-top: 0; border-top: 0; }
.attachment-link { font-weight: 600; }
.card h3, .glass-panel h3 { margin: 0.75rem 0; font-size: 1.08rem; }
.card p, .glass-panel p { color: var(--muted-foreground); line-height: 1.58; margin: .35rem 0; }
.prose-stack { display: grid; gap: 1rem; }
.prose-panel h2 { margin-bottom: .65rem; font-size: 1.6rem; }
.prose-panel p { font-size: 1.05rem; line-height: 1.85; }
.prose-panel { padding: 1.5rem 1.4rem; }
.prose-panel + .prose-panel { margin-top: .25rem; }
.mission-hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1100px) { .mission-hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); gap: 3rem; } }
.mission-story { display: grid; gap: 1.35rem; max-width: 900px; }
.mission-story-wide { max-width: 1120px; }
.mission-section-title { margin: 0; font-size: clamp(2.1rem, 4vw, 4.2rem); line-height: .98; letter-spacing: -.04em; max-width: 12ch; }
.mission-story .mission-copy { margin: 0; max-width: none; font-size: clamp(1.2rem, 1.75vw, 1.55rem); line-height: 1.95; color: var(--foreground); }
.mission-figure { align-self: start; border: 1px solid var(--border); border-radius: 22px; padding: 1.4rem; background: radial-gradient(circle at top, oklch(0.75 0.15 180 / 0.12), transparent 58%), var(--card); box-shadow: 0 12px 26px oklch(0.08 0.01 240 / 0.32); }
.mission-figure-logo { display: block; width: min(240px, 100%); margin: 0 auto 1rem; }
.mission-facts { align-items: stretch; }
.mission-facts .glass-panel { padding: 1.4rem; }
.mission-facts .glass-panel p { font-size: 1rem; line-height: 1.68; }
.keyword-panel { padding-top: 1.1rem; max-width: 1120px; }
.kicker { font-family: 'JetBrains Mono', monospace; font-size: .76rem; color: var(--primary); text-transform: uppercase; letter-spacing: .13em; }
.pill { display: inline-block; border-radius: 999px; padding: .2rem .48rem; font-size: .7rem; font-family: 'JetBrains Mono', monospace; border: 1px solid var(--border); }
.pill-cyan { color: var(--primary); background: oklch(0.75 0.15 180 / 0.1); }
.pill-amber { color: var(--amber); background: oklch(0.75 0.12 85 / 0.1); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .66rem .7rem; border-bottom: 1px solid var(--border); text-align: left; font-size: .92rem; }
th { color: var(--foreground); }
.footer { margin-top: auto; background: oklch(0.10 0.015 240); border-top: 1px solid var(--border); }
.banner-wrap { padding: 2.8rem 0 1.6rem; }
.consortium-banner { width: 100%; border-radius: 14px; border: 1px solid var(--border); display: block; box-shadow: 0 10px 24px oklch(0.07 0.01 240 / 0.35); }
.footer-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1rem; padding: 1rem 0 2.2rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-grid-4 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 700px) { .footer-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1160px) { .footer-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-card { background: oklch(0.16 0.012 240 / 0.7); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; }
.footer-card h4 { margin: 0 0 .55rem; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-card p { margin: .36rem 0; color: var(--muted-foreground); font-size: .9rem; }
.small { font-size: .82rem; }
@media (max-width: 1023px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--card); backdrop-filter: blur(16px); border-bottom: 1px solid oklch(0.75 0.15 180 / 0.10); padding: .7rem 1rem; }
  .nav-links.open { display: flex; flex-direction: column; }
  .nav-links a { padding: .7rem .4rem; }
  .brand { margin-right: auto; }
  .menu-toggle { order: 1; }
}
.contact-grid{display:grid;grid-template-columns:1fr;gap:1rem}
@media(min-width:1100px){.contact-grid{grid-template-columns:1.2fr .8fr}}
.contact-stack{display:grid;gap:1rem}
.contact-card h3{margin-bottom:.45rem}
.contact-side{min-height:220px}
.contact-map-card{display:grid;gap:.75rem;align-content:start}
.contact-map{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:14px;min-height:320px;background:var(--background)}
.contact-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.partner-head{display:flex;align-items:center;gap:.8rem;margin-bottom:.5rem}
.partner-logo{width:48px;height:48px;object-fit:contain;border-radius:6px;background:#fff}
.partner-profile-card{display:grid;gap:1rem;align-content:start}
.partner-profile-logo{display:flex;justify-content:flex-start}
.partner-logo-lg{width:156px;height:156px;border-radius:24px;padding:.8rem;border:1px solid var(--border);box-shadow:0 16px 36px oklch(0.08 0.01 240 / 0.25)}
.member-head{display:flex;align-items:center;gap:.8rem;margin-bottom:.75rem}
.member-photo,.member-avatar{width:72px;height:72px;border-radius:18px;flex:0 0 auto}
.member-photo{object-fit:cover;border:1px solid var(--border);background:var(--card)}
.member-avatar{display:grid;place-items:center;background:linear-gradient(135deg, oklch(0.75 0.15 180 / 0.2), oklch(0.75 0.12 85 / 0.2));color:var(--foreground);font-family:'JetBrains Mono',monospace;font-size:1rem;font-weight:700;letter-spacing:.1em;border:1px solid var(--border)}
.team-profile-card{display:grid;gap:1rem;align-content:start}
.team-profile-portrait{display:flex;justify-content:flex-start}
.member-photo-lg{width:156px;height:156px;border-radius:24px;box-shadow:0 16px 36px oklch(0.08 0.01 240 / 0.25)}
.team-profile-card h2{margin:0;font-size:clamp(2rem,3vw,3rem);line-height:1.02;letter-spacing:-.03em}
.team-role{margin:.15rem 0 0;color:var(--muted-foreground);font-size:1.1rem}
.team-about{margin:.5rem 0 0;color:var(--foreground);font-size:1.05rem;line-height:1.75;max-width:72ch}
.team-work-packages{margin:.7rem 0 0;color:var(--muted-foreground);font-size:.96rem;line-height:1.7;white-space:normal}
.card-actions{margin-top:.9rem;display:flex;gap:.5rem;flex-wrap:wrap}
.btn-small{padding:.48rem .8rem;font-size:.88rem}
.email-obfuscated{font-family:'JetBrains Mono',monospace;font-size:.88rem;color:var(--foreground);white-space:normal;overflow-wrap:anywhere}
.email-obfuscated > span{white-space:nowrap}
.partners-core{grid-template-columns:repeat(1,minmax(0,1fr))}
@media(min-width:900px){.partners-core{grid-template-columns:repeat(2,minmax(0,1fr))}}
.partners-roles{grid-template-columns:repeat(1,minmax(0,1fr))}
@media(min-width:900px){.partners-roles{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tag-list{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.8rem}
.tag{font-family:'JetBrains Mono',monospace;font-size:.8rem;padding:.3rem .55rem;border-radius:6px;background:oklch(0.22 0.015 240);color:var(--muted-foreground)}
.profile-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
@media(min-width:900px){.profile-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}}
.detail-link{font-weight:600}
.detail-meta{font-size:.86rem;color:var(--muted-foreground)}
.detail-list{list-style:none;padding:0;margin:.6rem 0 0;display:grid;gap:.6rem}
.detail-list li{padding-top:.6rem;border-top:1px solid var(--border)}
.footer-flat .footer-top{display:grid;grid-template-columns:1fr;gap:1.2rem;padding:2.4rem 1.6rem}
@media(min-width:900px){.footer-flat .footer-top{grid-template-columns:1.5fr 1fr 1fr 1fr}}
.footer-flat h4{font-size:1.05rem;letter-spacing:.04em;text-transform:uppercase;margin:0 0 .7rem}
.footer-flat p{color:var(--muted-foreground);margin:.38rem 0}
.footer-brand{margin-bottom:.7rem}
.footer-bottom,.footer-meta{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 0;border-top:1px solid var(--border)}
@media(min-width:640px){.footer-pad{padding-inline:1.5rem}}
@media(max-width:900px){.footer-bottom,.footer-meta{flex-direction:column}}
@media(max-width:639px){
  .footer .container{padding-left:1.5rem;padding-right:1.5rem}
  .footer-pad{padding-left:1.5rem;padding-right:1.5rem}
  .footer-flat .footer-top{padding-top:2rem}
  .footer-bottom,.footer-meta{padding-top:.9rem;padding-bottom:.9rem}
}
html[data-theme='light'] .footer {
  background: oklch(0.965 0.006 240);
  border-top-color: oklch(0.86 0.012 240);
}
html[data-theme='light'] .footer .footer-card {
  background: oklch(0.985 0.004 240);
  border-color: oklch(0.86 0.012 240);
  box-shadow: none;
}
html[data-theme='light'] .footer p,
html[data-theme='light'] .footer .small,
html[data-theme='light'] .footer a {
  color: oklch(0.36 0.02 240);
}
html[data-theme='light'] .footer h4,
html[data-theme='light'] .footer .brand-white,
html[data-theme='light'] .footer .brand-cyan {
  color: oklch(0.2 0.02 240);
}
html[data-theme='light'] .footer .brand-cyan {
  color: oklch(0.56 0.14 195);
}
html[data-theme='light'] .footer-bottom,
html[data-theme='light'] .footer-meta {
  border-top-color: oklch(0.86 0.012 240);
}
html[data-theme='light'] .hero {
  background: transparent;
}
html[data-theme='light'] .hero-bg,
html[data-theme='light'] .hero::before {
  filter: invert();
}
html[data-theme='light'] .hero-content {
  padding-top: 7rem;
}
html[data-theme='light'] .pill{border-color:oklch(0.78 0.02 240);font-weight:600}
html[data-theme='light'] .pill-cyan{color:oklch(0.38 0.12 195);background:oklch(0.92 0.03 195)}
html[data-theme='light'] .pill-amber{color:oklch(0.42 0.1 82);background:oklch(0.93 0.03 82)}
html[data-theme='light'] .tag{background:oklch(0.18 0.01 240);color:oklch(0.78 0.02 240)}
html[data-theme='light'] .home-inline-metrics > div { background: linear-gradient(180deg, oklch(0.92 0.02 240 / 0.65), transparent); }
.hero + .section{padding-top:3.2rem}
@media(min-width:1024px){.hero + .section{padding-top:4.2rem}}
html[data-theme='light'] .hero-content h1{margin-bottom:1.4rem}
html[data-theme='light'] .lead{max-width:940px}
html[data-theme='light'] .mission-lead{font-size:1.3rem}
.section .lead{margin-bottom:1.7rem}
